Bug#1013611: surefire: FTBFS: [ERROR] /<<PKGBUILDDIR>>/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/DefaultReporterFactory.java:[476, 36] error: cannot find symbol
Lucas Nussbaum
lucas at debian.org
Fri Jun 24 12:29:55 BST 2022
Source: surefire
Version: 2.22.3-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220624 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure
> mh_patchpoms -plibsurefire-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
> dh_auto_build
> /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=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.apache.maven.surefire:surefire-api:jar:2.22.3
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.google.code.findbugs:jsr305:jar -> version (?) vs debian @ line 56, column 15
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.apache.maven.surefire:surefire-junit47:jar:2.22.3
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 120, column 12
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.22.3
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-plugin-plugin is missing. @ line 55, column 12
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.apache.maven.plugins:maven-surefire-report-plugin:maven-plugin:2.22.3
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-plugin-plugin is missing. @ line 112, column 12
> [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]
> [WARNING] The project org.apache.maven.surefire:surefire-grouper:jar:2.22.3 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
> [WARNING] The project org.apache.maven.surefire:maven-surefire-common:jar:2.22.3 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
> [WARNING] The project org.apache.maven.surefire:surefire-report-parser:jar:2.22.3 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] Apache Maven Surefire [pom]
> [INFO] SureFire Logger API [jar]
> [INFO] SureFire API [jar]
> [INFO] SureFire Booter [jar]
> [INFO] Maven Surefire Test-Grouping Support [jar]
> [INFO] SureFire Providers [pom]
> [INFO] Shared JUnit3 Provider Code [jar]
> [INFO] Shared Java 5 Provider Base [jar]
> [INFO] Shared JUnit4 Provider Code [jar]
> [INFO] Shared JUnit48 Provider Code [jar]
> [INFO] SureFire JUnit Runner [jar]
> [INFO] SureFire JUnit4 Runner [jar]
> [INFO] Maven Surefire Common [jar]
> [INFO] SureFire JUnitCore Runner [jar]
> [INFO] SureFire JUnit Platform Runner [jar]
> [INFO] SureFire TestNG Utils [jar]
> [INFO] SureFire TestNG Runner [jar]
> [INFO] Surefire Report Parser [jar]
> [INFO] Maven Surefire Plugin [maven-plugin]
> [INFO] Maven Surefire Report Plugin [maven-plugin]
> [INFO]
> [INFO] -----------------< org.apache.maven.surefire:surefire >-----------------
> [INFO] Building Apache Maven Surefire 2.22.3 [1/20]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO]
> [INFO] -----------< org.apache.maven.surefire:surefire-logger-api >------------
> [INFO] Building SureFire Logger API 2.22.3 [2/20]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (compile-generated) @ surefire-logger-api ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ surefire-logger-api ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/surefire-logger-api/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ surefire-logger-api ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 6 source files to /<<PKGBUILDDIR>>/surefire-logger-api/target/classes
> [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ surefire-logger-api ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ surefire-logger-api ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ surefire-logger-api ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ surefire-logger-api ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/surefire-logger-api/target/surefire-logger-api-2.22.3.jar
> [INFO]
> [INFO] ---------------< org.apache.maven.surefire:surefire-api >---------------
> [INFO] Building SureFire API 2.22.3 [3/20]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (compile-generated) @ surefire-api ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ surefire-api ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ surefire-api ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 80 source files to /<<PKGBUILDDIR>>/surefire-api/target/classes
> [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ surefire-api ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ surefire-api ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ surefire-api ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ surefire-api ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/surefire-api/target/surefire-api-2.22.3.jar
> [INFO]
> [INFO] --- maven-shade-plugin:3.1.1:shade (default) @ surefire-api ---
> [INFO] Excluding org.apache.maven.surefire:surefire-logger-api:jar:2.22.3 from the shaded jar.
> [INFO] Including org.apache.maven.shared:maven-shared-utils:jar:debian in the shaded jar.
> [INFO] Excluding commons-io:commons-io:jar:debian from the shaded jar.
> [INFO] Minimizing jar org.apache.maven.surefire:surefire-api:jar:2.22.3
> [INFO] Minimized 196 -> 125 (63%)
> [INFO] Replacing original artifact with shaded artifact.
> [INFO] Replacing /<<PKGBUILDDIR>>/surefire-api/target/surefire-api-2.22.3.jar with /<<PKGBUILDDIR>>/surefire-api/target/surefire-api-2.22.3-shaded.jar
> [INFO] Dependency-reduced POM written at: /<<PKGBUILDDIR>>/surefire-api/dependency-reduced-pom.xml
> [INFO]
> [INFO] -------------< org.apache.maven.surefire:surefire-booter >--------------
> [INFO] Building SureFire Booter 2.22.3 [4/20]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-dependency-plugin:3.1.1:build-classpath (build-test-classpath) @ surefire-booter ---
> [INFO] Wrote classpath file '/<<PKGBUILDDIR>>/surefire-booter/target/test-classpath/cp.txt'.
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (compile-generated) @ surefire-booter ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ surefire-booter ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/surefire-booter/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ surefire-booter ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 23 source files to /<<PKGBUILDDIR>>/surefire-booter/target/classes
> [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ surefire-booter ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ surefire-booter ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ surefire-booter ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ surefire-booter ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/surefire-booter/target/surefire-booter-2.22.3.jar
> [INFO]
> [INFO] --- maven-shade-plugin:3.1.1:shade (default) @ surefire-booter ---
> [INFO] Excluding org.apache.maven.surefire:surefire-api:jar:2.22.3 from the shaded jar.
> [INFO] Excluding org.apache.maven.surefire:surefire-logger-api:jar:2.22.3 from the shaded jar.
> [INFO] Including org.apache.commons:commons-lang3:jar:debian in the shaded jar.
> [INFO] Including commons-io:commons-io:jar:debian in the shaded jar.
> [INFO] Minimizing jar org.apache.maven.surefire:surefire-booter:jar:2.22.3
> [INFO] Minimized 597 -> 147 (24%)
> [INFO] Replacing original artifact with shaded artifact.
> [INFO] Replacing /<<PKGBUILDDIR>>/surefire-booter/target/surefire-booter-2.22.3.jar with /<<PKGBUILDDIR>>/surefire-booter/target/surefire-booter-2.22.3-shaded.jar
> [INFO] Dependency-reduced POM written at: /<<PKGBUILDDIR>>/surefire-booter/dependency-reduced-pom.xml
> [INFO]
> [INFO] -------------< org.apache.maven.surefire:surefire-grouper >-------------
> [INFO] Building Maven Surefire Test-Grouping Support 2.22.3 [5/20]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- javacc-maven-plugin:2.6:javacc (javacc) @ surefire-grouper ---
> Java Compiler Compiler Version 7.0.11 (Parser Generator)
> (type "javacc" with no arguments for help)
> Reading from file /<<PKGBUILDDIR>>/surefire-grouper/src/main/javacc/category-expression.jj . . .
> Warning: Choice conflict involving two expansions at
> line 105, column 3 and line 106, column 3 respectively.
> A common prefix is: "NOT"
> Consider using a lookahead of 2 for earlier expansion.
> Warning: Choice conflict in [...] construct at line 118, column 16.
> Expansion nested within construct and expansion following construct
> have common prefixes, one of which is: <AND>
> Consider using a lookahead of 2 or more for nested expansion.
> Warning: ".class" cannot be matched as a string literal token at line 87, column 3. It will be matched as <STRING>.
> File "TokenMgrError.java" does not exist. Will create one.
> File "ParseException.java" does not exist. Will create one.
> File "Token.java" does not exist. Will create one.
> File "SimpleCharStream.java" does not exist. Will create one.
> Parser generated with 0 errors and 3 warnings.
> [INFO] Processed 1 grammar
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (compile-generated) @ surefire-grouper ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ surefire-grouper ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/surefire-grouper/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ surefire-grouper ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 13 source files to /<<PKGBUILDDIR>>/surefire-grouper/target/classes
> [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ surefire-grouper ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ surefire-grouper ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ surefire-grouper ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ surefire-grouper ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/surefire-grouper/target/surefire-grouper-2.22.3.jar
> [INFO]
> [INFO] ------------< org.apache.maven.surefire:surefire-providers >------------
> [INFO] Building SureFire Providers 2.22.3 [6/20]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO]
> [INFO] --------------< org.apache.maven.surefire:common-junit3 >---------------
> [INFO] Building Shared JUnit3 Provider Code 2.22.3 [7/20]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (compile-generated) @ common-junit3 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ common-junit3 ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/surefire-providers/common-junit3/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ common-junit3 ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 2 source files to /<<PKGBUILDDIR>>/surefire-providers/common-junit3/target/classes
> [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ common-junit3 ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ common-junit3 ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ common-junit3 ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ common-junit3 ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/surefire-providers/common-junit3/target/common-junit3-2.22.3.jar
> [INFO]
> [INFO] ---------------< org.apache.maven.surefire:common-java5 >---------------
> [INFO] Building Shared Java 5 Provider Base 2.22.3 [8/20]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (compile-generated) @ common-java5 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ common-java5 ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/surefire-providers/common-java5/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ common-java5 ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 5 source files to /<<PKGBUILDDIR>>/surefire-providers/common-java5/target/classes
> [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ common-java5 ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ common-java5 ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ common-java5 ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ common-java5 ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/surefire-providers/common-java5/target/common-java5-2.22.3.jar
> [INFO]
> [INFO] --- maven-shade-plugin:3.1.1:shade (default) @ common-java5 ---
> [INFO] Including org.apache.maven.shared:maven-shared-utils:jar:debian in the shaded jar.
> [INFO] Including commons-io:commons-io:jar:debian in the shaded jar.
> [INFO] Including org.apache.maven.surefire:surefire-api:jar:2.22.3 in the shaded jar.
> [INFO] Including org.apache.maven.surefire:surefire-logger-api:jar:2.22.3 in the shaded jar.
> [INFO] Minimizing jar org.apache.maven.surefire:common-java5:jar:2.22.3
> [INFO] Minimized 431 -> 35 (8%)
> [INFO] Replacing original artifact with shaded artifact.
> [INFO] Replacing /<<PKGBUILDDIR>>/surefire-providers/common-java5/target/common-java5-2.22.3.jar with /<<PKGBUILDDIR>>/surefire-providers/common-java5/target/common-java5-2.22.3-shaded.jar
> [INFO] Dependency-reduced POM written at: /<<PKGBUILDDIR>>/surefire-providers/common-java5/dependency-reduced-pom.xml
> [INFO]
> [INFO] --------------< org.apache.maven.surefire:common-junit4 >---------------
> [INFO] Building Shared JUnit4 Provider Code 2.22.3 [9/20]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (compile-generated) @ common-junit4 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ common-junit4 ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/surefire-providers/common-junit4/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ common-junit4 ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 11 source files to /<<PKGBUILDDIR>>/surefire-providers/common-junit4/target/classes
> [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ common-junit4 ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ common-junit4 ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ common-junit4 ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ common-junit4 ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/surefire-providers/common-junit4/target/common-junit4-2.22.3.jar
> [INFO]
> [INFO] --------------< org.apache.maven.surefire:common-junit48 >--------------
> [INFO] Building Shared JUnit48 Provider Code 2.22.3 [10/20]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (compile-generated) @ common-junit48 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ common-junit48 ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/surefire-providers/common-junit48/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ common-junit48 ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 11 source files to /<<PKGBUILDDIR>>/surefire-providers/common-junit48/target/classes
> [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ common-junit48 ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ common-junit48 ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ common-junit48 ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ common-junit48 ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/surefire-providers/common-junit48/target/common-junit48-2.22.3.jar
> [INFO]
> [INFO] --- maven-shade-plugin:3.1.1:shade (default) @ common-junit48 ---
> [INFO] Excluding org.apache.maven.surefire:common-junit4:jar:2.22.3 from the shaded jar.
> [INFO] Excluding org.apache.maven.surefire:common-junit3:jar:2.22.3 from the shaded jar.
> [INFO] Excluding org.apache.maven.surefire:common-java5:jar:2.22.3 from the shaded jar.
> [INFO] Excluding org.apache.maven.shared:maven-shared-utils:jar:debian from the shaded jar.
> [INFO] Excluding commons-io:commons-io:jar:debian from the shaded jar.
> [INFO] Excluding org.apache.maven.surefire:surefire-grouper:jar:2.22.3 from the shaded jar.
> [INFO] Excluding org.apache.maven.surefire:surefire-api:jar:2.22.3 from the shaded jar.
> [INFO] Excluding org.apache.maven.surefire:surefire-logger-api:jar:2.22.3 from the shaded jar.
> [INFO] Minimizing jar org.apache.maven.surefire:common-junit48:jar:2.22.3
> [INFO] Minimized 14 -> 14 (100%)
> [INFO] Replacing original artifact with shaded artifact.
> [INFO] Replacing /<<PKGBUILDDIR>>/surefire-providers/common-junit48/target/common-junit48-2.22.3.jar with /<<PKGBUILDDIR>>/surefire-providers/common-junit48/target/common-junit48-2.22.3-shaded.jar
> [INFO]
> [INFO] -------------< org.apache.maven.surefire:surefire-junit3 >--------------
> [INFO] Building SureFire JUnit Runner 2.22.3 [11/20]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (compile-generated) @ surefire-junit3 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ surefire-junit3 ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource to META-INF
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ surefire-junit3 ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 6 source files to /<<PKGBUILDDIR>>/surefire-providers/surefire-junit3/target/classes
> [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ surefire-junit3 ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ surefire-junit3 ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ surefire-junit3 ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ surefire-junit3 ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/surefire-providers/surefire-junit3/target/surefire-junit3-2.22.3.jar
> [INFO]
> [INFO] --- maven-shade-plugin:3.1.1:shade (default) @ surefire-junit3 ---
> [INFO] Including org.apache.maven.surefire:common-junit3:jar:2.22.3 in the shaded jar.
> [INFO] Excluding org.apache.maven.surefire:surefire-api:jar:2.22.3 from the shaded jar.
> [INFO] Excluding org.apache.maven.surefire:surefire-logger-api:jar:2.22.3 from the shaded jar.
> [INFO] Excluding org.apache.maven.shared:maven-shared-utils:jar:debian from the shaded jar.
> [INFO] Excluding commons-io:commons-io:jar:debian from the shaded jar.
> [INFO] Replacing original artifact with shaded artifact.
> [INFO] Replacing /<<PKGBUILDDIR>>/surefire-providers/surefire-junit3/target/surefire-junit3-2.22.3.jar with /<<PKGBUILDDIR>>/surefire-providers/surefire-junit3/target/surefire-junit3-2.22.3-shaded.jar
> [INFO] Dependency-reduced POM written at: /<<PKGBUILDDIR>>/surefire-providers/surefire-junit3/dependency-reduced-pom.xml
> [INFO]
> [INFO] -------------< org.apache.maven.surefire:surefire-junit4 >--------------
> [INFO] Building SureFire JUnit4 Runner 2.22.3 [12/20]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (compile-generated) @ surefire-junit4 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ surefire-junit4 ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource to META-INF
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ surefire-junit4 ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 2 source files to /<<PKGBUILDDIR>>/surefire-providers/surefire-junit4/target/classes
> [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ surefire-junit4 ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ surefire-junit4 ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ surefire-junit4 ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ surefire-junit4 ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/surefire-providers/surefire-junit4/target/surefire-junit4-2.22.3.jar
> [INFO]
> [INFO] --- maven-shade-plugin:3.1.1:shade (default) @ surefire-junit4 ---
> [INFO] Including org.apache.maven.surefire:common-junit4:jar:2.22.3 in the shaded jar.
> [INFO] Including org.apache.maven.surefire:common-junit3:jar:2.22.3 in the shaded jar.
> [INFO] Including org.apache.maven.surefire:common-java5:jar:2.22.3 in the shaded jar.
> [INFO] Including org.apache.maven.shared:maven-shared-utils:jar:debian in the shaded jar.
> [INFO] Excluding commons-io:commons-io:jar:debian from the shaded jar.
> [INFO] Excluding org.apache.maven.surefire:surefire-api:jar:2.22.3 from the shaded jar.
> [INFO] Excluding org.apache.maven.surefire:surefire-logger-api:jar:2.22.3 from the shaded jar.
> [INFO] Minimizing jar org.apache.maven.surefire:surefire-junit4:jar:2.22.3
> [WARNING] common-java5-2.22.3.jar, maven-shared-utils-debian.jar define 1 overlapping classes:
> [WARNING] - org.apache.maven.shared.utils.StringUtils
> [WARNING] maven-shade-plugin has detected that some class files are
> [WARNING] present in two or more JARs. When this happens, only one
> [WARNING] single version of the class is copied to the uber jar.
> [WARNING] Usually this is not harmful and you can skip these warnings,
> [WARNING] otherwise try to manually exclude artifacts based on
> [WARNING] mvn dependency:tree -Ddetail=true and the above output.
> [WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/
> [INFO] Minimized 142 -> 61 (42%)
> [INFO] Replacing original artifact with shaded artifact.
> [INFO] Replacing /<<PKGBUILDDIR>>/surefire-providers/surefire-junit4/target/surefire-junit4-2.22.3.jar with /<<PKGBUILDDIR>>/surefire-providers/surefire-junit4/target/surefire-junit4-2.22.3-shaded.jar
> [INFO] Dependency-reduced POM written at: /<<PKGBUILDDIR>>/surefire-providers/surefire-junit4/dependency-reduced-pom.xml
> [INFO]
> [INFO] ----------< org.apache.maven.surefire:maven-surefire-common >-----------
> [INFO] Building Maven Surefire Common 2.22.3 [13/20]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- build-helper-maven-plugin:3.0.0:add-source (add-source) @ maven-surefire-common ---
> [INFO] Source directory: /<<PKGBUILDDIR>>/maven-surefire-common/target/generated-sources added.
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (compile-generated) @ maven-surefire-common ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ maven-surefire-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/maven-surefire-common/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ maven-surefire-common ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 69 source files to /<<PKGBUILDDIR>>/maven-surefire-common/target/classes
> [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/DefaultReporterFactory.java:[470,35] error: cannot find symbol
> symbol: method info(String)
> location: variable builder of type MessageBuilder
> [ERROR] /<<PKGBUILDDIR>>/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/DefaultReporterFactory.java:[476,36] error: cannot find symbol
> symbol: method error(String)
> location: variable builder of type MessageBuilder
> [INFO] 2 errors
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache Maven Surefire 2.22.3:
> [INFO]
> [INFO] Apache Maven Surefire .............................. SUCCESS [ 0.053 s]
> [INFO] SureFire Logger API ................................ SUCCESS [ 1.317 s]
> [INFO] SureFire API ....................................... SUCCESS [ 2.074 s]
> [INFO] SureFire Booter .................................... SUCCESS [ 2.005 s]
> [INFO] Maven Surefire Test-Grouping Support ............... SUCCESS [ 1.593 s]
> [INFO] SureFire Providers ................................. SUCCESS [ 0.002 s]
> [INFO] Shared JUnit3 Provider Code ........................ SUCCESS [ 0.710 s]
> [INFO] Shared Java 5 Provider Base ........................ SUCCESS [ 0.982 s]
> [INFO] Shared JUnit4 Provider Code ........................ SUCCESS [ 0.998 s]
> [INFO] Shared JUnit48 Provider Code ....................... SUCCESS [ 0.984 s]
> [INFO] SureFire JUnit Runner .............................. SUCCESS [ 0.949 s]
> [INFO] SureFire JUnit4 Runner ............................. SUCCESS [ 0.937 s]
> [INFO] Maven Surefire Common .............................. FAILURE [ 2.182 s]
> [INFO] SureFire JUnitCore Runner .......................... SKIPPED
> [INFO] SureFire JUnit Platform Runner ..................... SKIPPED
> [INFO] SureFire TestNG Utils .............................. SKIPPED
> [INFO] SureFire TestNG Runner ............................. SKIPPED
> [INFO] Surefire Report Parser ............................. SKIPPED
> [INFO] Maven Surefire Plugin .............................. SKIPPED
> [INFO] Maven Surefire Report Plugin ....................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 14.962 s
> [INFO] Finished at: 2022-06-24T05:56:48Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project maven-surefire-common: Compilation failure: Compilation failure:
> [ERROR] /<<PKGBUILDDIR>>/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/DefaultReporterFactory.java:[470,35] error: cannot find symbol
> [ERROR] symbol: method info(String)
> [ERROR] location: variable builder of type MessageBuilder
> [ERROR] /<<PKGBUILDDIR>>/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/DefaultReporterFactory.java:[476,36] error: cannot find symbol
> [ERROR] symbol: method error(String)
> [ERROR] location: variable builder of type MessageBuilder
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <args> -rf :maven-surefire-common
> dh_auto_build: error: /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=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make: *** [debian/rules:4: build] Error 25
The full build log is available from:
http://qa-logs.debian.net/2022/06/24/surefire_2.22.3-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the pkg-java-maintainers
mailing list