doxia version 1.1.4-1ubuntu4 failed to build with openjdk-7 as default-jdk

Bug #1009451 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
doxia (Ubuntu)
New
Undecided
Unassigned

Bug Description

During a rebuild test with default-jdk switched to openjdk-7 (as it is in quantal), a build failure was detected for doxia version 1.1.4-1ubuntu4.

See attached log for full build failure details.

https://wiki.ubuntu.com/JavaTeam/Java7Default contains more details of how to diagnose and resolve these types of issues.

This log snippet might also be of interest:

[INFO] Final Memory: 8M/73M
[INFO] ------------------------------------------------------------------------
--- doxia-test-docs ---
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Doxia
[INFO] Doxia :: Logging API
[INFO] Doxia :: Sink API
[INFO] Doxia :: Test Documents
[INFO] Doxia :: Core
[INFO] Doxia :: Modules
[INFO] Doxia :: APT Module
[INFO] Doxia :: Confluence Module
[INFO] Doxia :: Simplified DocBook Module
[INFO] Doxia :: FML Module
[INFO] Doxia :: FO Module
[INFO] Doxia :: iText Module
[INFO] Doxia :: Latex Module
[INFO] Doxia :: RTF Module
[INFO] Doxia :: TWiki Module
[INFO] Doxia :: XDoc Module
[INFO] Doxia :: XHTML Module
[INFO] Doxia :: Book Component
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Doxia
[INFO] task-segment: [install:install-file] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [install:install-file {execution: default-cli}]
[INFO] Installing /«PKGBUILDDIR»/doxia-test-docs/target/doxia-test-docs-1.1.4.jar to /«PKGBUILDDIR»/debian/maven-repo/org/apache/maven/doxia/doxia-test-docs/1.1.4/doxia-test-docs-1.1.4.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact 'org.apache.maven.doxia:doxia-test-docs:jar': Error installing artifact: Unable to open file /«PKGBUILDDIR»/debian/maven-repo/org/apache/maven/doxia/doxia-test-docs/1.1.4/doxia-test-docs-1.1.4.jar for writing.

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Jun 01 23:08:10 BST 2012
[INFO] Final Memory: 8M/73M
[INFO] ------------------------------------------------------------------------
make: *** [binary-jars] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20120601-2308

Finished
────────

E: Build failure (dpkg-buildpackage died)

Revision history for this message
James Page (james-page) wrote : Build log
tags: added: amd64 auto ftbfs java7-ftbfs
Revision history for this message
James Page (james-page) wrote :

This is not technically a Java 7 FTBFS - due to a circular dependency the Maven install phase fails as the artifacts are installed already and are R/O.

This can be resolved by purging the relevant artifacts from the repository before the build starts - they are actually symbolic links so can be RM'ed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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