• Bug#1060960: libslf4j-java: FTBFS: make: *** [debian/rules:4: build] Er

    From Jing Luo@21:1/5 to All on Thu Apr 17 12:40:01 2025
    Source: libslf4j-java
    Version: 1.7.32-1
    Followup-For: Bug #1060960
    Control: tags -1 ftbfs

    Hi,

    In version 1.7.32-1, the test times out (killed by sbuild after 150 min inactivity), and it looks like this:


    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.716 s
    [INFO] Finished at: 2025-04-17T10:24:58Z
    [INFO] ------------------------------------------------------------------------
    dh_auto_test
    /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/reproducible-path/libslf4j-java-1.7.32 -Dclassworlds.conf=/etc/maven/m2-
    debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/reproducible-path/libslf4j-java-1.7.32/debian -Dmaven.repo.local=/build/reproducible-path/libslf4j-java-1.7.32/debian/maven-repo --batch-
    mode test
    OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
    [INFO] Scanning for projects...
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-api:jar:1.7.32
    [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-simple:jar:1.7.32
    [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-nop:jar:1.7.32
    [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-jdk14:jar:1.7.32
    [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-log4j12:jar:1.7.32
    [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-jcl:jar:1.7.32
    [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.slf4j:jcl-over-slf4j:jar:1.7.32
    [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.slf4j:log4j-over-slf4j:jar:1.7.32
    [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.slf4j:jul-to-slf4j:jar:1.7.32
    [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-migrator:jar:1.7.32
    [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-parent:pom:1.7.32
    [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter. @ line 177, column 20
    [WARNING]
    [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
    [WARNING]
    [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
    [WARNING]
    [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order:
    [INFO]
    [INFO] SLF4J [pom] [INFO] SLF4J API Module [jar] [INFO] SLF4J Simple Binding [jar] [INFO] SLF4J NOP Binding [jar] [INFO] SLF4J JDK14 Binding [jar] [INFO] SLF4J LOG4J-12 Binding [jar] [INFO] SLF4J JCL Binding [jar] [INFO] JCL 1.2 implemented over SLF4J [jar] [INFO] Log4j Implemented Over SLF4J [jar] [INFO] JUL to SLF4J bridge [jar] [INFO] SLF4J Migrator [jar] [INFO]
    [INFO] -----------------------< org.slf4j:slf4j-parent >----------------------- [INFO] Building SLF4J 1.7.32 [1/11] [INFO] from pom.xml
    [INFO] --------------------------------[ pom ]--------------------------------- [INFO]
    [INFO] --- build-helper:3.3.0:parse-version (parse-version) @ slf4j-parent --- [INFO]
    [INFO] ------------------------< org.slf4j:slf4j-api >------------------------- [INFO] Building SLF4J API Module 1.7.32 [2/11] [INFO] from slf4j-api/pom.xml
    [INFO] --------------------------------[ jar ]--------------------------------- [INFO]
    [INFO] --- build-helper:3.3.0:parse-version (parse-version) @ slf4j-api --- [INFO]
    [INFO] --- resources:3.3.1:resources (default-resources) @ slf4j-api ---
    [INFO] Copying 1 resource from src/main/resources to target/classes
    [INFO]
    [INFO] --- compiler:3.13.0:compile (default-compile) @ slf4j-api ---
    [INFO] Recompiling the module because of changed source code.
    [INFO] Compiling 32 source files with javac [debug target 1.5] to target/classes
    Use of target 1.5 is no longer supported, switching to 8
    Use of source 1.5 is no longer supported, switching to 8
    [WARNING] bootstrap class path not set in conjunction with -source 8
    [WARNING] source value 8 is obsolete and will be removed in a future release [WARNING] target value 8 is obsolete and will be removed in a future release [WARNING] To suppress warnings about obsolete options, use -Xlint:-options. [WARNING] /build/reproducible-path/libslf4j-java-1.7.32/slf4j-api/src/main/java/org/slf4j/helpers/Util.java:[65,68] java.lang.SecurityManager in java.lang has been deprecated and marked for removal
    [INFO] /build/reproducible-path/libslf4j-java-1.7.32/slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java: /build/reproducible-path/libslf4j-java-1.7.32/slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java uses or overrides a deprecated API.
    [INFO] /build/reproducible-path/libslf4j-java-1.7.32/slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java: Recompile with -Xlint:deprecation for details.
    [INFO]
    [INFO] --- antrun:3.1.0:run (default) @ slf4j-api ---
    [WARNING] Parameter 'tasks' is deprecated: Use target instead. For version 3.0.0, this parameter is only defined to break the build if you use it!
    [WARNING] Parameter tasks is deprecated, use target instead
    [INFO] Executing tasks
    [WARNING] [echo] Removing slf4j-api's dummy StaticLoggerBinder and StaticMarkerBinder
    [INFO] [delete] Deleting directory /build/reproducible-path/libslf4j-java-1.7.32/slf4j-api/target/classes/org/slf4j/impl
    [INFO] Executed tasks
    [INFO]
    [INFO] --- resources:3.3.1:testResources (default-testResources) @ slf4j-api ---
    [INFO] skip non existing resourceDirectory /build/reproducible-path/libslf4j-java-1.7.32/slf4j-api/src/test/resources
    [INFO]
    [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ slf4j-api --- [INFO] Recompiling the module because of changed dependency.
    [INFO] Compiling 16 source files with javac [debug target 1.5] to target/test-classes
    Use of target 1.5 is no longer supported, switching to 8
    Use of source 1.5 is no longer supported, switching to 8
    [WARNING] bootstrap class path not set in conjunction with -source 8
    [WARNING] source value 8 is obsolete and will be removed in a future release [WARNING] target value 8 is obsolete and will be removed in a future release [WARNING] To suppress warnings about obsolete options, use -Xlint:-options. [WARNING] /build/reproducible-path/libslf4j-java-1.7.32/slf4j-api/src/test/java/org/slf4j/helpers/MessageFormatterPerfTest.java:[35,18] Integer(int) in java.lang.Integer has been deprecated and marked for removal
    [WARNING] /build/reproducible-path/libslf4j-java-1.7.32/slf4j-api/src/test/java/org/slf4j/helpers/MessageFormatterPerfTest.java:[36,18] Integer(int) in java.lang.Integer has been deprecated and marked for removal
    [WARNING] /build/reproducible-path/libslf4j-java-1.7.32/slf4j-api/src/test/java/org/slf4j/helpers/MessageFormatterTest.java:[38,18] Integer(int) in java.lang.Integer has been deprecated and marked for removal
    [WARNING] /build/reproducible-path/libslf4j-java-1.7.32/slf4j-api/src/test/java/org/slf4j/helpers/MessageFormatterTest.java:[39,18] Integer(int) in java.lang.Integer has been deprecated and marked for removal
    [WARNING] /build/reproducible-path/libslf4j-java-1.7.32/slf4j-api/src/test/java/org/slf4j/helpers/MessageFormatterTest.java:[40,18] Integer(int) in java.lang.Integer has been deprecated and marked for removal
    [WARNING] /build/reproducible-path/libslf4j-java-1.7.32/slf4j-api/src/test/java/org/slf4j/helpers/MessageFormatterTest.java:[42,37] Integer(int) in java.lang.Integer has been deprecated and marked for removal
    [WARNING] /build/reproducible-path/libslf4j-java-1.7.32/slf4j-api/src/test/java/org/slf4j/helpers/MessageFormatterTest.java:[42,54] Integer(int) in java.lang.Integer has been deprecated and marked for removal
    [WARNING] /build/reproducible-path/libslf4j-java-1.7.32/slf4j-api/src/test/java/org/slf4j/helpers/MessageFormatterTest.java:[42,71] Integer(int) in java.lang.Integer has been deprecated and marked for removal
    [INFO]
    [INFO] --- surefire:2.22.3:test (default-test) @ slf4j-api ---
    [INFO]
    [INFO] -------------------------------------------------------
    [INFO] T E S T S
    [INFO] -------------------------------------------------------


    (killed by sbuild after 150 min)

    Maybe the severity should be upgraded to grave or critical?


    -- System Information:
    Debian Release: trixie/sid
    APT prefers testing
    APT policy: (500, 'testing')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.12.21-amd64 (SMP w/128 CPU threads; PREEMPT)
    Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)