Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 166157

Summary: games-strategy/triplea-0.9.0.2 won't compile
Product: Gentoo Linux Reporter: Dave <dliana>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Dave 2007-02-10 02:43:44 UTC
compile:
    [mkdir] Created dir: /var/tmp/portage/games-strategy/triplea-0.9.0.2/work/triplea_0_9_0_2/classes
     [copy] Copying 21 files to /var/tmp/portage/games-strategy/triplea-0.9.0.2/work/triplea_0_9_0_2/classes
    [javac] Compiling 491 source files to /var/tmp/portage/games-strategy/triplea-0.9.0.2/work/triplea_0_9_0_2/classes
    [javac] /var/tmp/portage/games-strategy/triplea-0.9.0.2/work/triplea_0_9_0_2/src/games/strategy/debug/Console.java:286: getWindows() in games.strategy.debug.Console cannot override getWindows() in java.awt.Window; attempting to use incompatible return type
    [javac] found   : java.lang.String
    [javac] required: java.awt.Window[]
    [javac]     public static String getWindows()
    [javac]                          ^
    [javac] /var/tmp/portage/games-strategy/triplea-0.9.0.2/work/triplea_0_9_0_2/src/util/image/ImageShrinker.java:64: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release
    [javac]         JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
    [javac]         ^
    [javac] /var/tmp/portage/games-strategy/triplea-0.9.0.2/work/triplea_0_9_0_2/src/util/image/ImageShrinker.java:64: warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release
    [javac]         JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
    [javac]                                    ^
    [javac] /var/tmp/portage/games-strategy/triplea-0.9.0.2/work/triplea_0_9_0_2/src/util/image/ImageShrinker.java:65: warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release
    [javac]         JPEGEncodeParam param = encoder.
    [javac]         ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    [javac] 3 warnings

BUILD FAILED
/var/tmp/portage/games-strategy/triplea-0.9.0.2/work/triplea_0_9_0_2/build.xml:68: Compile failed; see the compiler error output for details.

Total time: 7 seconds

!!! ERROR: games-strategy/triplea-0.9.0.2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4737:   Called src_compile
  triplea-0.9.0.2.ebuild, line 51:   Called eant
  java-utils-2.eclass, line 1644:   Called die

!!! eant failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/games-strategy/triplea-0.9.0.2/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
and of course, the output of emerge --info
Comment 1 Dave 2007-02-10 02:44:28 UTC
Created attachment 109693 [details]
emerge --info
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2007-02-11 16:41:41 UTC

*** This bug has been marked as a duplicate of bug 164553 ***