dicomscope version 3.6.0-6.1 failed to build with openjdk-7

Bug #888932 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dicomscope (Ubuntu)
Fix Released
Undecided
James Page

Bug Description

During a rebuild test on precise with default-jdk switched to openjdk-7, a build failure was detected for dicomscope version 3.6.0-6.1.

See attached log for full build failure details.

This log snippet might also be of interest:

/«PKGBUILDDIR»/interface/libsrc/DSRImageValue.cpp:279:12: note: 'fnValue' was declared here
[ 33%] Building CXX object interface/libsrc/CMakeFiles/jInterface.dir/DSRNumericValue.cpp.o
[ 38%] Building CXX object interface/libsrc/CMakeFiles/jInterface.dir/DSRSCoordValue.cpp.o
[ 44%] Building CXX object interface/libsrc/CMakeFiles/jInterface.dir/DSRTCoordValue.cpp.o
[ 50%] Building CXX object interface/libsrc/CMakeFiles/jInterface.dir/DSRWaveformValue.cpp.o
[ 55%] Building CXX object interface/libsrc/CMakeFiles/jInterface.dir/DVInterface.cpp.o
/«PKGBUILDDIR»/interface/libsrc/DVInterface.cpp: In function 'void Java_J2Ci_jDVInterface_setLogFilter(JNIEnv*, jobject, jint)':
/«PKGBUILDDIR»/interface/libsrc/DVInterface.cpp:2829:18: warning: unused variable 'dvi' [-Wunused-variable]
/«PKGBUILDDIR»/interface/libsrc/DVInterface.cpp: In function 'jint Java_J2Ci_jDVInterface_writeLogMessage(JNIEnv*, jobject, jint, jstring, jstring)':
/«PKGBUILDDIR»/interface/libsrc/DVInterface.cpp:2843:18: warning: unused variable 'dvi' [-Wunused-variable]
[ 61%] Building CXX object interface/libsrc/CMakeFiles/jInterface.dir/DVPresentationState.cpp.o
[ 66%] Building CXX object interface/libsrc/CMakeFiles/jInterface.dir/DVPSCurve.cpp.o
[ 72%] Building CXX object interface/libsrc/CMakeFiles/jInterface.dir/DVPSGraphicObject.cpp.o
[ 77%] Building CXX object interface/libsrc/CMakeFiles/jInterface.dir/DVPSStoredPrint.cpp.o
[ 83%] Building CXX object interface/libsrc/CMakeFiles/jInterface.dir/DVPSTextObject.cpp.o
Linking CXX shared library ../../bin/libjInterface.so
make[3]: Leaving directory `/«PKGBUILDDIR»/debian/build'
[ 83%] Built target jInterface
make[3]: Entering directory `/«PKGBUILDDIR»/debian/build'
Scanning dependencies of target dummy
make[3]: Leaving directory `/«PKGBUILDDIR»/debian/build'
make[3]: Entering directory `/«PKGBUILDDIR»/debian/build'
[ 83%] javac *.java
dicomscope/DICOMscope.java:221: error: unmappable character for encoding ASCII
            if (mc.highQualitySystem) // doppelte Gr????e als Minimum
                                                    ^
dicomscope/DICOMscope.java:221: error: unmappable character for encoding ASCII
            if (mc.highQualitySystem) // doppelte Gr????e als Minimum
                                                     ^
dicomscope/DICOMscope.java:221: error: unmappable character for encoding ASCII
            if (mc.highQualitySystem) // doppelte Gr????e als Minimum
                                                      ^
dicomscope/DICOMscope.java:221: error: unmappable character for encoding ASCII
            if (mc.highQualitySystem) // doppelte Gr????e als Minimum
                                                       ^
4 errors
make[3]: *** [../../DICOMscope/DICOMscope.class] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/debian/build'
make[2]: *** [tkgui/CMakeFiles/dummy.dir/all] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»/debian/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»/debian/build'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20111110-2329

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: encoding
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dicomscope - 3.6.0-7ubuntu1

---------------
dicomscope (3.6.0-7ubuntu1) precise; urgency=low

  * Fix FTBFS with OpenJDK7 (LP: #888932):
    - d/patches/java7-compat.patch: Patch build to specify source/target
      as 1.5 to ensure backwards compatibility and work around Java 7
      encoding errors.
 -- James Page <email address hidden> Thu, 08 Dec 2011 11:06:07 +0000

Changed in dicomscope (Ubuntu):
status: New → Fix Released
James Page (james-page)
Changed in dicomscope (Ubuntu):
assignee: nobody → James Page (james-page)
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.