Bug#814726: cglib: FTBFS with locally rebuilt packages: Missing Build-Depends on ant

Daniel Schepler dschepler at gmail.com
Sun Feb 14 17:37:23 UTC 2016


Source: cglib
Version: 3.2.0-2
Severity: important

>From my pbuilder build log, using a setup with apt pointed to a repository of
locally rebuilt packages:

...
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Code Generation Library
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Code Generation Library ............................ SUCCESS [  0.478 s]
[INFO] cglib .............................................. FAILURE [  0.022 s]
[INFO] cglib-nodep ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.760 s
[INFO] Finished at: 2016-02-12T16:55:21+00:00
[INFO] Final Memory: 11M/150M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cglib: Could not resolve dependencies for project cglib:cglib:jar:3.2.0: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.ant:ant:jar:debian 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 :cglib
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=/build/cglib-3.2.0 -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/cglib-3.2.0/debian -Dmaven.repo.local=/build/cglib-3.2.0/debian/maven-repo package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Upon investigation, the reason apt was pulled in before was because velocity
currently depends on it.  However, a rebuilt velocity package will no longer
have this dependency - and according to the commentary on #814679 the
smaller set of dependencies for velocity is actually the correct one.
-- 
Daniel Schepler



More information about the pkg-java-maintainers mailing list