king version 2.21.120420-1build1 failed to build with openjdk-7 as default-jdk

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

Bug Description

During a rebuild test with default-jdk switched to openjdk-7 (as it is in quantal), a build failure was detected for king version 2.21.120420-1build1.

See attached log for full build failure details.

https://wiki.ubuntu.com/JavaTeam/Java7Default contains more details of how to diagnose and resolve these types of issues.

This log snippet might also be of interest:

    [mkdir] Created dir: /«PKGBUILDDIR»/driftwood/build
    [javac] /«PKGBUILDDIR»/driftwood/build.xml:47: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 118 source files to /«PKGBUILDDIR»/driftwood/build
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning
     [copy] Copying 1 file to /«PKGBUILDDIR»/king
    [mkdir] Created dir: /«PKGBUILDDIR»/king/build
    [javac] /«PKGBUILDDIR»/king/build.xml:73: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 75 source files to /«PKGBUILDDIR»/king/build
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] /«PKGBUILDDIR»/king/src/king/ToolBox.java:747: error: reference to Painter is ambiguous, both interface javax.swing.Painter in javax.swing and interface king.core.Painter in king.core match
    [javac] public void overpaintCanvas(Painter painter)
    [javac] ^
    [javac] /«PKGBUILDDIR»/king/src/king/ToolServices.java:594: error: reference to Painter is ambiguous, both interface javax.swing.Painter in javax.swing and interface king.core.Painter in king.core match
    [javac] public void overpaintCanvas(Painter painter)
    [javac] ^
    [javac] /«PKGBUILDDIR»/king/src/king/BasicTool.java:471: error: reference to Painter is ambiguous, both interface javax.swing.Painter in javax.swing and interface king.core.Painter in king.core match
    [javac] public void overpaintCanvas(Painter painter)
    [javac] ^
    [javac] /«PKGBUILDDIR»/king/src/king/tool/draw/DrawingTool.java:1338: error: reference to Painter is ambiguous, both interface javax.swing.Painter in javax.swing and interface king.core.Painter in king.core match
    [javac] public void overpaintCanvas(Painter painter)
    [javac] ^
    [javac] /«PKGBUILDDIR»/king/src/king/KinCanvas.java:238: error: reference to Painter is ambiguous, both interface javax.swing.Painter in javax.swing and interface king.core.Painter in king.core match
    [javac] Painter painter = null;
    [javac] ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 5 errors
    [javac] 1 warning

BUILD FAILED
/«PKGBUILDDIR»/king/build.xml:73: Compile failed; see the compiler error output for details.

Total time: 6 seconds
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20120602-0918

Finished
────────

E: Build failure (dpkg-buildpackage died)

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

Uploaded to Debian unstable - 2.21.120420-2

Changed in king (Ubuntu):
status: New → Fix Committed
Revision history for this message
James Page (james-page) wrote :

This bug was fixed in the package king - 2.21.120420-2

---------------
king (2.21.120420-2) unstable; urgency=low

  [ Niels Thykier ]
  * Fix FTBFS with Java7
    Closes: #678654

 -- Andreas Tille <email address hidden> Mon, 25 Jun 2012 09:40:44 +0200

Changed in king (Ubuntu):
status: Fix Committed → 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.