mac-widgets version 0.9.5+svn369-dfsg1-1 failed to build with openjdk-7

Bug #888978 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mac-widgets (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

During a rebuild test on precise with default-jdk switched to openjdk-7, a build failure was detected for mac-widgets version 0.9.5+svn369-dfsg1-1.

See attached log for full build failure details.

This log snippet might also be of interest:

 dpkg-source --before-build mac-widgets-0.9.5+svn369-dfsg1
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --with javahelper
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory `/«BUILDDIR»/mac-widgets-0.9.5+svn369-dfsg1'
dh_auto_clean
rm -f mac_widgets.jar com/explodingpixels/macwidgets/icons com
make[1]: Leaving directory `/«BUILDDIR»/mac-widgets-0.9.5+svn369-dfsg1'
   jh_clean
   dh_clean
 debian/rules build
dh build --with javahelper
   dh_testdir
   dh_auto_configure
   jh_linkjars
   dh_auto_build
   debian/rules override_jh_build
make[1]: Entering directory `/«BUILDDIR»/mac-widgets-0.9.5+svn369-dfsg1'
ln -s source/com com
ln -s /«BUILDDIR»/mac-widgets-0.9.5+svn369-dfsg1/demo/com/explodingpixels/macwidgets/icons com/explodingpixels/macwidgets/icons
JAVA_HOME=/usr/lib/jvm/default-java \
  CLASSPATH=/usr/share/java/forms.jar \
  JH_JAR_EXTRA="com/explodingpixels/macwidgets/images com/explodingpixels/widgets/images com/explodingpixels/macwidgets/icons" \
  jh_build mac_widgets.jar source demo
find source demo -name *.java -and -type f -print0 | xargs -0 /usr/lib/jvm/default-java/bin/javac -cp /usr/share/java/forms.jar:debian/_jh_build.mac_widgets -d debian/_jh_build.mac_widgets -source 1.5
warning: [options] bootstrap class path not set in conjunction with -source 1.5
source/com/explodingpixels/macwidgets/MacButtonFactory.java:43: error: reference to Painter is ambiguous, both interface javax.swing.Painter in javax.swing and interface com.explodingpixels.painter.Painter in com.explodingpixels.painter match
    private static final Painter<Component> PRESSED_AND_SELECTED_GRADIENT_PAINTER =
                         ^
source/com/explodingpixels/macwidgets/MacButtonFactory.java:62: error: reference to Painter is ambiguous, both interface javax.swing.Painter in javax.swing and interface com.explodingpixels.painter.Painter in com.explodingpixels.painter match
    public static Painter<Component> getGradientButtonPainter() {
                  ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
1 warning
make[1]: *** [override_jh_build] Error 123
make[1]: Leaving directory `/«BUILDDIR»/mac-widgets-0.9.5+svn369-dfsg1'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20111110-2357

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: lang
Revision history for this message
James Page (james-page) wrote :

Reconfirmed in Ubuntu Quantal - adding ftbfs tag.

tags: added: ftbfs
Revision history for this message
James Page (james-page) wrote :

Fixed in 0.9.5+svn369-dfsg1-2

Changed in mac-widgets (Ubuntu):
status: New → 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.