Bug#573666: plexus-active-collections: FTBFS: missing junit:junit:jar:debian

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Mar 13 08:21:18 UTC 2010


Source: plexus-active-collections
Version: 1.0~beta2-1
Severity: serious
Tags: squeeze sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20100312 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> make[1]: Entering directory `/build/user-plexus-active-collections_1.0~beta2-1-amd64-942AQ1/plexus-active-collections-1.0~beta2'
> mh_unpatchpoms -plibplexus-active-collections-java
> rm -f -f debian/stamp-poms-patched
> make[1]: Leaving directory `/build/user-plexus-active-collections_1.0~beta2-1-amd64-942AQ1/plexus-active-collections-1.0~beta2'
> dh_clean 
> mh_unpatchpoms -plibplexus-active-collections-java
> rm -f -f debian/stamp-poms-patched
> rm -f debian/stamp-maven-doc
>  dpkg-source -b plexus-active-collections-1.0~beta2
> dpkg-source: info: using source format `1.0'
> dpkg-source: info: building plexus-active-collections using existing plexus-active-collections_1.0~beta2.orig.tar.gz
> dpkg-source: info: building plexus-active-collections in plexus-active-collections_1.0~beta2-1.diff.gz
> dpkg-source: info: building plexus-active-collections in plexus-active-collections_1.0~beta2-1.dsc
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> mh_lspoms -plibplexus-active-collections-java --force
> Tests are turned off. Ignore this test dependency?
>   junit:junit:jar:3.8.1
> Exception in thread "main" java.lang.NullPointerException
> 	at org.debian.maven.packager.DependenciesSolver.askIgnoreDependency(DependenciesSolver.java:212)
> 	at org.debian.maven.packager.DependenciesSolver.resolveDependencies(DependenciesSolver.java:647)
> 	at org.debian.maven.packager.DependenciesSolver.access$000(DependenciesSolver.java:56)
> 	at org.debian.maven.packager.DependenciesSolver$ToResolve.resolve(DependenciesSolver.java:240)
> 	at org.debian.maven.packager.DependenciesSolver.resolveDependenciesNow(DependenciesSolver.java:616)
> 	at org.debian.maven.packager.DependenciesSolver.solveDependencies(DependenciesSolver.java:525)
> 	at org.debian.maven.packager.DependenciesSolver.main(DependenciesSolver.java:922)
> rm: cannot remove `debian/libplexus-active-collections-java.substvars': No such file or directory
> [y]/n > The list of POM files is now in debian/libplexus-active-collections-java.poms
> /usr/share/maven-debian-helper/copy-repo.sh /build/user-plexus-active-collections_1.0~beta2-1-amd64-942AQ1/plexus-active-collections-1.0~beta2/debian
> mh_patchpoms -plibplexus-active-collections-java --debian-build --keep-pom-version --maven-repo=/build/user-plexus-active-collections_1.0~beta2-1-amd64-942AQ1/plexus-active-collections-1.0~beta2/debian/maven-repo 
> No rules file
> touch debian/stamp-poms-patched
> cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/build/user-plexus-active-collections_1.0~beta2-1-amd64-942AQ1/plexus-active-collections-1.0~beta2/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher  -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/build/user-plexus-active-collections_1.0~beta2-1-amd64-942AQ1/plexus-active-collections-1.0~beta2/debian/maven-repo  package
> [INFO] 
> NOTE: Maven is executing in offline mode. Any artifacts not already in your local
> repository will be inaccessible.
> 
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Plexus Container-Backed Active Collections
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /build/user-plexus-active-collections_1.0~beta2-1-amd64-942AQ1/plexus-active-collections-1.0~beta2/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 14 source files to /build/user-plexus-active-collections_1.0~beta2-1-amd64-942AQ1/plexus-active-collections-1.0~beta2/target/classes
> [INFO] [plexus:descriptor {execution: create-component-descriptor}]
> [INFO] Discovered 1 component descriptors(s)
> [INFO] [resources:testResources {execution: default-testResources}]
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) junit:junit:jar:debian
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=junit -DartifactId=junit -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file there: 
>       mvn deploy:deploy-file -DgroupId=junit -DartifactId=junit -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>   	1) org.codehaus.plexus:plexus-active-collections:jar:1.0-beta-2
>   	2) junit:junit:jar:debian
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact: 
>   org.codehaus.plexus:plexus-active-collections:jar:1.0-beta-2
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
> 
> 
> NOTE: Maven is executing in offline mode. Any artifacts not already in your local
> repository will be inaccessible.
> 
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Sat Mar 13 00:38:24 CET 2010
> [INFO] Final Memory: 19M/608M
> [INFO] ------------------------------------------------------------------------
> make: *** [debian/stamp-maven-build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2010/03/12/plexus-active-collections_1.0~beta2-1_lsid64.buildlog

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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the pkg-java-maintainers mailing list