| Summary: | Charva build fails - "uses or overrides a deprecated API" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Duke <duke> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
sun-jdk-1.5 is package.masked for a reason. |
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