Bug#678766: jetty8: FTBFS: 1 required artifact is missing

Lucas Nussbaum lucas at lucas-nussbaum.net
Sun Jun 24 09:29:11 UTC 2012


Source: jetty8
Version: 8.1.3-3
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120624 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 /«PKGBUILDDIR»/debian
> mh_patchpoms -plibjetty8-java --debian-build --keep-pom-version --maven-repo=/«PKGBUILDDIR»/debian/maven-repo 
> touch debian/stamp-poms-patched
> jh_linkjars
> jh_build -J   
> touch debian/jh_build_stamp
> # 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 -Dproperties.file.manual=/«PKGBUILDDIR»/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/«PKGBUILDDIR»/debian/maven-repo -P-aggregates -P-osgi 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] Reactor build order: 
> [INFO]   Jetty :: Project
> [INFO]   Jetty :: Utilities
> [INFO]   Jetty :: JMX Management
> [INFO]   Jetty :: IO Utility
> [INFO]   Jetty :: Http Utility
> [INFO]   Jetty :: Continuation
> [INFO]   Jetty :: Server Core
> [INFO]   Jetty :: Security
> [INFO]   Jetty :: Servlet Handling
> [INFO]   Jetty :: Websocket
> [INFO]   Jetty :: Asynchronous HTTP Client
> [INFO]   Jetty :: XML utilities
> [INFO]   Jetty :: JASPI Security
> [INFO]   Jetty :: Webapp Application Support
> [INFO]   Jetty :: Utility Servlets and Filters
> [INFO]   Jetty :: Deployers
> [INFO]   Jetty :: AJP
> [INFO]   Jetty :: JNDI Naming
> [INFO]   Jetty :: Plus
> [INFO]   Jetty :: Servlet Annotations
> [INFO]   Jetty :: Rewrite Handler
> [INFO]   Jetty :: Policy Tool
> [INFO]   Jetty :: Monitoring
> [INFO]   Jetty :: Start
> [INFO]   Jetty :: Nested
> [INFO]   Jetty :: Overlay Deployer
> [INFO]   Jetty :: JSP dependencies
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Jetty :: Project
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [INFO] [build-helper:parse-version {execution: set-osgi-version}]
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Jetty :: Utilities
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [INFO] [build-helper:parse-version {execution: set-osgi-version}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.apache.tomcat:tomcat-servlet-api:jar:debian
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=org.apache.tomcat -DartifactId=tomcat-servlet-api -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.tomcat -DartifactId=tomcat-servlet-api -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>   	1) org.eclipse.jetty:jetty-util:jar:8.1.3.v20120416
>   	2) org.apache.tomcat:tomcat-servlet-api:jar:debian
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact: 
>   org.eclipse.jetty:jetty-util:jar:8.1.3.v20120416
> 
> 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: 4 seconds
> [INFO] Finished at: Sat Jun 23 16:08:05 UTC 2012
> [INFO] Final Memory: 13M/58M
> [INFO] ------------------------------------------------------------------------
> make: *** [mvn-build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/06/24/jetty8_8.1.3-3_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