tomcat-maven-plugin version 1.1-1 failed to build in oneiric

Bug #835769 reported by Matthias Klose
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ecj (Ubuntu)
Fix Released
High
James Page
Oneiric
Fix Released
High
James Page
tomcat-maven-plugin (Ubuntu)
Fix Released
High
James Page
Oneiric
Fix Released
High
James Page

Bug Description

tomcat-maven-plugin version 1.1-1 failed to build in oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110816/+build/2713191

Details about the rebuild:
http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20110816-oneiric.html

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110816/+build/2713191/+files/buildlog_ubuntu-oneiric-i386.tomcat-maven-plugin_1.1-1_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 1476 lines into the build log:

   dh_testroot
   dh_prep
   dh_installdirs
   debian/rules override_dh_auto_install
make[1]: Entering directory `/build/buildd/tomcat-maven-plugin-1.1'
dh_auto_install
mh_installpoms -plibtomcat-maven-plugin-java -e1.1
mh_installjar -plibtomcat-maven-plugin-java -l pom.xml \
  -i1.1 -e1.1 \
  target/tomcat-maven-plugin-1.1.jar
Cannot find the jar to install: target/tomcat-maven-plugin-1.1.jar
make[1]: *** [override_dh_auto_install] Error 2
make[1]: Leaving directory `/build/buildd/tomcat-maven-plugin-1.1'
make: *** [binary] Error 2
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary gave error exit status 2
******************************************************************************
Build finished at 20110827-0105
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/tomcat-maven-plugin-1.1

Tags: ftbfs oneiric

Related branches

Matthias Klose (doko)
Changed in tomcat-maven-plugin (Ubuntu):
status: New → Confirmed
importance: Undecided → High
tags: removed: arm-porting-queue
James Page (james-page)
Changed in tomcat-maven-plugin (Ubuntu Oneiric):
assignee: nobody → James Page (james-page)
status: Confirmed → In Progress
Revision history for this message
James Page (james-page) wrote :

Actual error:

[INFO] Failed to resolve artifact.

Missing:
----------
1) org.eclipse.jdt.core.compiler:ecj:jar:debian

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.eclipse.jdt.core.compiler -DartifactId=ecj -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.eclipse.jdt.core.compiler -DartifactId=ecj -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
   1) org.codehaus.mojo:tomcat-maven-plugin:maven-plugin:1.1
   2) org.apache.tomcat:jasper:jar:debian
   3) org.eclipse.jdt.core.compiler:ecj:jar:debian

----------
1 required artifact is missing.

for artifact:
  org.codehaus.mojo:tomcat-maven-plugin:maven-plugin:1.1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

Revision history for this message
James Page (james-page) wrote :

tomcat6 switched a maven build dependency to ecj - however libecj-java does not deploy maven artifacts hence the FTBFS.

Raising a task for ecj to resolve this.

Changed in ecj (Ubuntu Oneiric):
assignee: nobody → James Page (james-page)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Matthias Klose (doko) wrote :

please note that ecj still should be bootstrappable/buildable just using gcj.

Revision history for this message
James Page (james-page) wrote :

change for ecj only uses maven-repo-helper so does not pull in any extra java deps i.e. still builds just using gcj.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ecj - 3.5.1-2.1ubuntu1

---------------
ecj (3.5.1-2.1ubuntu1) oneiric; urgency=low

  * Add maven artifact deployment to resolve FTBFS for
    tomcat-maven-plugin (LP: #835769):
    - debian/control: added maven-repo-helper to Build-Depends-Indep
    - debian/rules: install maven artifacts, added get-orig-poms target
      to retrieve original pom files
    - debian/libecj-java.poms: POM file locator.
    - debian/poms/ecj.pom: Upstream POM file from Maven repo1.
    - debian/libecj-java.install: removed - install handled by m-r-h.
 -- James Page <email address hidden> Mon, 12 Sep 2011 22:47:00 +0100

Changed in ecj (Ubuntu Oneiric):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tomcat-maven-plugin - 1.1-1ubuntu1

---------------
tomcat-maven-plugin (1.1-1ubuntu1) oneiric; urgency=low

  * Fix FTBFS (LP: #835769):
    - d/control: Add Build-Depends on libmaven-plugin-tools-java (>= 2.8)
    - d/control: Add Build-Depends-Indep on libecj-java (>> 3.5.1-2.1).
 -- James Page <email address hidden> Tue, 13 Sep 2011 09:19:34 +0100

Changed in tomcat-maven-plugin (Ubuntu Oneiric):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.