Bug#634574: checkstyle: FTBFS: org.apache.maven.plugins:maven-antrun-plugin:maven-plugin:1.3 missing

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Jul 19 06:34:02 UTC 2011


Source: checkstyle
Version: 5.3-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110718 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> /usr/share/maven-debian-helper/copy-repo.sh /build/checkstyle-sHZljh/checkstyle-5.3/debian
> skip faking of existing gnu-getopt:getopt::debian
> mh_patchpoms -pcheckstyle --debian-build --keep-pom-version --maven-repo=/build/checkstyle-sHZljh/checkstyle-5.3/debian/maven-repo 
> touch debian/stamp-poms-patched
> # before-build target may be used to unpatch the pom files, so we need to check if
> # patching the pom files is needed here, normally not
> if [ ! -f pom.xml.save ]; then \
> 		/usr/bin/make -f debian/rules patch-poms; \
> 	fi
> cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar  -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/build/checkstyle-sHZljh/checkstyle-5.3/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 checkstyle
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: enforce-versions}]
> [INFO] [antlr:generate {execution: default}]
> [INFO] Using Antlr grammar: /build/checkstyle-sHZljh/checkstyle-5.3/src/checkstyle/com/puppycrawl/tools/checkstyle/grammars/java.g
> ANTLR Parser Generator   Version 2.7.7 (20110530)   1989-2005
> /build/checkstyle-sHZljh/checkstyle-5.3/src/checkstyle/com/puppycrawl/tools/checkstyle/grammars/java.g:913: warning:Syntactic predicate superfluous for single alternative
> 
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 113 resources
> [INFO] Copying 1 resource
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 298 source files to /build/checkstyle-sHZljh/checkstyle-5.3/target/classes
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.apache.ant:ant-nodeps:jar:debian
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=org.apache.ant -DartifactId=ant-nodeps -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=org.apache.ant -DartifactId=ant-nodeps -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>   	1) org.apache.maven.plugins:maven-antrun-plugin:maven-plugin:1.3
>   	2) org.apache.ant:ant-nodeps:jar:debian
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact: 
>   org.apache.maven.plugins:maven-antrun-plugin:maven-plugin:1.3
> 
> 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: 5 seconds
> [INFO] Finished at: Mon Jul 18 19:14:07 CEST 2011
> [INFO] Final Memory: 33M/434M
> [INFO] ------------------------------------------------------------------------
> make: *** [mvn-build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/07/18/checkstyle_5.3-2_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