colorpicker version 1.0.0-1 failed to build with openjdk-7
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=
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-
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_
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/
warning: [options] bootstrap class path not set in conjunction with -source 1.5
com/bric/
* action that the user is most likely to perform if that action isn?t
com/bric/
* 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/
Creating destination directory: "debian/
com/bric/
* action that the user is most likely to perform if that action isn?t
com/bric/
* 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)
tags: | added: encoding |
Changed in colorpicker (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → James Page (james-page) |
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