colorpicker version 1.0.0-1 failed to build with openjdk-7

Bug #888928 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
colorpicker (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 colorpicker version 1.0.0-1.

See attached log for full build failure details.

This log snippet might also be of interest:

dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package colorpicker
dpkg-buildpackage: source version 1.0.0-1
dpkg-buildpackage: source changed by Andrew Ross <email address hidden>
 dpkg-source --before-build colorpicker-1.0.0
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --with javahelper
   dh_testdir
   dh_auto_clean
   jh_clean
   dh_clean
 debian/rules build
dh build --with javahelper
   dh_testdir
   dh_auto_configure
   jh_linkjars
   dh_auto_build
   jh_build
grep-dctrl: debian/control:20: expected a colon
.find com -name *.java -and -type f -print0 | xargs -0 /usr/lib/jvm/default-java/bin/javac -cp :debian/_jh_build.ColorPicker -d debian/_jh_build.ColorPicker -source 1.5
warning: [options] bootstrap class path not set in conjunction with -source 1.5
com/bric/swing/DialogFooter.java:76: warning: unmappable character for encoding ASCII
 * action that the user is most likely to perform if that action isn?t
                                                                    ^
com/bric/swing/DialogFooter.java:82: warning: unmappable character for encoding ASCII
 * the user performs when pressing the button?for example, Erase, Save, or Delete."
                                             ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 warnings
find com -name *.java -and -type f -print0 | xargs -0 /usr/lib/jvm/default-java/bin/javadoc -link /usr/share/doc/default-jdk-doc/api -link /usr/share/doc/default-jre-headless/api -classpath :debian/_jh_build.ColorPicker -d debian/_jh_build.javadoc/api -quiet
Creating destination directory: "debian/_jh_build.javadoc/api/"
com/bric/swing/DialogFooter.java:76: error: unmappable character for encoding ASCII
 * action that the user is most likely to perform if that action isn?t
                                                                    ^
com/bric/swing/DialogFooter.java:82: error: unmappable character for encoding ASCII
 * the user performs when pressing the button?for example, Erase, Save, or Delete."
                                             ^
2 errors
make: *** [build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20111110-1435

Finished
────────

E: Build failure (dpkg-buildpackage died)

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
James Page (james-page)
Changed in colorpicker (Ubuntu):
status: New → In Progress
assignee: nobody → James Page (james-page)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package colorpicker - 1.0.0-1ubuntu1

---------------
colorpicker (1.0.0-1ubuntu1) precise; urgency=low

  * Fix FTBFS with OpenJDK 7 (LP: #888928):
    - d/rules: Override jh_build and specify source/target of 1.5 for
      javac and javadoc commands to ensure backwards compatibility and
      work around Java 7 encoding errors.
 -- James Page <email address hidden> Thu, 08 Dec 2011 10:32:56 +0000

Changed in colorpicker (Ubuntu):
status: In Progress → 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.