Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112943 - Charva build fails - "uses or overrides a deprecated API"
Summary: Charva build fails - "uses or overrides a deprecated API"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-18 11:37 UTC by Duke
Modified: 2005-11-18 11:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duke 2005-11-18 11:37:31 UTC
I get this right off the bat when the ebuild starts the compile process:

gcc -fpic -shared -I/opt/sun-jdk-1.5.0.05/include
-I/opt/sun-jdk-1.5.0.05/include/linux Toolkit.c -lncurses -o libTerminal.so
/opt/sun-jdk-1.5.0.05/bin/javac -d ../classes \
charva/awt/*.java \
charva/awt/event/*.java \
charva/awt/util/*.java \
charvax/swing/*.java \
charvax/swing/table/*.java \
charvax/swing/text/*.java \
charvax/swing/tree/*.java \
charvax/swing/border/*.java
charvax/swing/JFileChooser.java:750: compareTo(java.lang.String) in
java.lang.String cannot be applied to (java.lang.Object)
                    if (matchstring.compareTo(listmodel.getElementAt(i)) <= 0) {
                                   ^
Note: * uses or overrides 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.
1 error
make: *** [all] Error 1


emerge -p lists no dependencies.  Not sure what else I can say, please let me
know what additional details may be necessary.

Reproducible: Always
Steps to Reproduce:




USE="3dnow sse apache2 berkdb crypt curl -fdftk gd gd-external gdbm gif gmp
hardenedphp imap ipv6 jpeg libwww maildir mcal memlimit mmx ncurses nls odbc pam
pdflib perl png postgres python readline snmp spell ssl tcpd tiff vhost xml xml2
xsl zlib -apm -arts -cups -encode -gtk -imlib -java -kde -libg++ -mikmod -motif
-nls -opengl -qt -sdl -slang -svga -X -xv -mysql -gnome -gtk2 -mad -tcltk -alsa"

Gentoo Base System version 1.6.12
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-18 11:46:43 UTC
sun-jdk-1.5 is package.masked for a reason.