Bug#869004: wagon2: FTBFS: make[1]: svnadmin: Command not found

Lucas Nussbaum lucas at debian.org
Thu Jul 20 05:42:53 UTC 2017


Source: wagon2
Version: 2.12-2
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170719 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p /<<PKGBUILDDIR>>/wagon-providers/wagon-scm/target/test-classes/
> svnadmin create /<<PKGBUILDDIR>>/wagon-providers/wagon-scm/target/test-classes/test-repo-svn
> make[1]: svnadmin: Command not found
> debian/rules:9: recipe for target 'override_dh_auto_build' failed
> make[1]: [override_dh_auto_build] Error 127 (ignored)
> dh_auto_build
> 	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.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 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.wagon:wagon-provider-api:jar:2.12
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ org.apache.maven.wagon:wagon:2.12, /<<PKGBUILDDIR>>/pom.xml, line 367, column 12
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.maven.wagon:wagon-file:jar:2.12
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ org.apache.maven.wagon:wagon:2.12, /<<PKGBUILDDIR>>/pom.xml, line 367, column 12
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.maven.wagon:wagon-ftp:jar:2.12
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ org.apache.maven.wagon:wagon:2.12, /<<PKGBUILDDIR>>/pom.xml, line 367, column 12
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.maven.wagon:wagon-http:jar:2.12
> [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-surefire-plugin @ line 174, column 12
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 174, column 12
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ org.apache.maven.wagon:wagon:2.12, /<<PKGBUILDDIR>>/pom.xml, line 367, column 12
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.maven.wagon:wagon-http-shared:jar:2.12
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ org.apache.maven.wagon:wagon:2.12, /<<PKGBUILDDIR>>/pom.xml, line 367, column 12
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.maven.wagon:wagon-http-lightweight:jar:2.12
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 81, column 12
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ org.apache.maven.wagon:wagon:2.12, /<<PKGBUILDDIR>>/pom.xml, line 367, column 12
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.maven.wagon:wagon-providers:pom:2.12
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ org.apache.maven.wagon:wagon:2.12, /<<PKGBUILDDIR>>/pom.xml, line 367, column 12
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.maven.wagon:wagon-provider-test:jar:2.12
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ org.apache.maven.wagon:wagon:2.12, /<<PKGBUILDDIR>>/pom.xml, line 367, column 12
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.maven.wagon:wagon-tck-http:jar:2.12
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ org.apache.maven.wagon:wagon:2.12, /<<PKGBUILDDIR>>/pom.xml, line 367, column 12
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.maven.wagon:wagon-tcks:pom:2.12
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ org.apache.maven.wagon:wagon:2.12, /<<PKGBUILDDIR>>/pom.xml, line 367, column 12
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.maven.wagon:wagon:pom:2.12
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ line 367, 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] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] Apache Maven Wagon
> [INFO] Apache Maven Wagon :: API
> [INFO] Apache Maven Wagon :: Provider Test
> [INFO] Apache Maven Wagon :: Providers
> [INFO] Apache Maven Wagon :: Providers :: File Provider
> [INFO] Apache Maven Wagon :: Providers :: FTP Provider
> [INFO] Apache Maven Wagon :: Providers :: HTTP Shared Library
> [INFO] Apache Maven Wagon :: Test Compatibility Kits
> [INFO] Apache Maven Wagon :: HTTP Test Compatibility Kit
> [INFO] Apache Maven Wagon :: Providers :: HTTP Provider
> [INFO] Apache Maven Wagon :: Providers :: Lightweight HTTP Provider
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Maven Wagon 2.12
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- plexus-component-metadata:1.5.5:generate-metadata (generate) @ wagon ---
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Maven Wagon :: API 2.12
> [INFO] ------------------------------------------------------------------------
> [WARNING] The POM for junit:junit:jar:4.x is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Maven Wagon ................................. SUCCESS [  0.138 s]
> [INFO] Apache Maven Wagon :: API .......................... FAILURE [  0.025 s]
> [INFO] Apache Maven Wagon :: Provider Test ................ SKIPPED
> [INFO] Apache Maven Wagon :: Providers .................... SKIPPED
> [INFO] Apache Maven Wagon :: Providers :: File Provider ... SKIPPED
> [INFO] Apache Maven Wagon :: Providers :: FTP Provider .... SKIPPED
> [INFO] Apache Maven Wagon :: Providers :: HTTP Shared Library SKIPPED
> [INFO] Apache Maven Wagon :: Test Compatibility Kits ...... SKIPPED
> [INFO] Apache Maven Wagon :: HTTP Test Compatibility Kit .. SKIPPED
> [INFO] Apache Maven Wagon :: Providers :: HTTP Provider ... SKIPPED
> [INFO] Apache Maven Wagon :: Providers :: Lightweight HTTP Provider SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 0.323 s
> [INFO] Finished at: 2017-07-19T11:55:56Z
> [INFO] Final Memory: 20M/966M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project wagon-provider-api: Could not resolve dependencies for project org.apache.maven.wagon:wagon-provider-api:jar:2.12: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact junit:junit:jar:4.x has not been downloaded from it before. -> [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/DependencyResolutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :wagon-provider-api
> dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.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 package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> debian/rules:9: recipe for target 'override_dh_auto_build' failed
> make[1]: *** [override_dh_auto_build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/07/19/wagon2_2.12-2_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-java-maintainers mailing list