pixelmed version 20110928-1 failed to build with openjdk-7

Bug #888993 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pixelmed (Ubuntu)
Fix Released
Undecided
Chris J Arges

Bug Description

During a rebuild test on precise with default-jdk switched to openjdk-7, a build failure was detected for pixelmed version 20110928-1.

See attached log for full build failure details.

This log snippet might also be of interest:

../../../Makefile.common.mk:51: warning: ignoring old commands for target `.java.class'
rm -f *~ *.class core *.bak test.*
make[2]: Leaving directory `/«PKGBUILDDIR»/com/pixelmed/ftp'
Cleaning in apple/dts/samplecode/osxadapter
make[2]: Entering directory `/«PKGBUILDDIR»/apple/dts/samplecode/osxadapter'
rm -f *~ *.class core *.bak test.*
make[2]: Leaving directory `/«PKGBUILDDIR»/apple/dts/samplecode/osxadapter'
rm -f *~ *.class .exclude.list
rm -f DicomImageViewer.app/Contents/Resources/Java/*.jar
rm -f DicomImageViewer.app/Contents/Resources/DicomImageViewer.icns
rm -f DicomCleaner.app/Contents/Resources/Java/*.jar
rm -f DicomCleaner.app/Contents/Resources/DicomCleaner.icns
rm -f DoseUtility.app/Contents/Resources/Java/*.jar
rm -f DoseUtility.app/Contents/Resources/DoseUtility.icns
rm -f ECGViewer.app/Contents/Resources/Java/*.jar
rm -f ECGViewer.app/Contents/Resources/ECGViewer.icns
rm -f webstart/*.jar
rm -f webstart/icons/*.*
rm -f webstart/*.properties
if [ -d windows ]; then \
  (cd windows; make clean); \
 fi
rm -f pixelmed.jar
make[1]: Leaving directory `/«PKGBUILDDIR»'
   jh_clean
   dh_clean
 debian/rules build
dh build --with javahelper
   dh_testdir
   dh_auto_configure
   jh_linkjars
   dh_auto_build
make[1]: Entering directory `/«PKGBUILDDIR»'
(cd com/pixelmed/utils; make all)
make[2]: Entering directory `/«PKGBUILDDIR»/com/pixelmed/utils'
javac -O -target 1.5 -encoding "UTF8" -Xlint:deprecation -classpath ../../.. -sourcepath ../../.. ByteArray.java
javac: target release 1.5 conflicts with default source release 1.7
make[2]: *** [ByteArray.class] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»/com/pixelmed/utils'
make[1]: *** [pixelmed.jar] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20111110-1356

Finished
────────

E: Build failure (dpkg-buildpackage died)

Related branches

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

Reconfirmed in Ubuntu Quantal - adding ftbfs tag.

tags: added: ftbfs
Chris J Arges (arges)
Changed in pixelmed (Ubuntu):
assignee: nobody → Chris J Arges (christopherarges)
status: New → Confirmed
Revision history for this message
Chris J Arges (arges) wrote :

This patch should fix the issue.
I've submitted this to debian as well.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "pixelmed_fix_ftbfs.debdiff" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

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

This bug was fixed in the package pixelmed - 20120508-1ubuntu1

---------------
pixelmed (20120508-1ubuntu1) quantal; urgency=low

  * target_java_1.7.patch: Fixes FTBFS with Java 1.7 (LP: #888993)
 -- Chris J Arges <email address hidden> Wed, 27 Jun 2012 15:50:08 -0500

Changed in pixelmed (Ubuntu):
status: Confirmed → Fix Released
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.