Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89741 - can't emerge commons-net
Summary: can't emerge commons-net
Status: RESOLVED DUPLICATE of bug 79206
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-19 18:31 UTC by Kurt L Vanderwater
Modified: 2005-07-17 13:06 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 Kurt L Vanderwater 2005-04-19 18:31:39 UTC
trying to emerge commons-net.
Failing because javac is at 1.5 and enum is now a reserved word.
Following files affected.
src/java/org/apache/commons/net/ftp/FTP.java
src/java/org/apache/commons/net/pop3/POP3Client.java
src/java/org/apache/commons/net/pop3/POP3.java
src/java/org/apache/commons/net/smtp/SMTP.java
src/java/org/apache/commons/net/ProtocolCommandSupport.java
src/java/examples/mail.java


Reproducible: Always
Steps to Reproduce:
1.emerge -av commons-net 

Actual Results:  
...
    [javac]
/var/tmp/portage/commons-net-1.2.2-r1/work/commons-net-1.2.2/src/java/examples/mail.java:51:
as of release 1.5,'enum' is a keyword, and may not be used as an identifier
    [javac] (try -source 1.4 or lower to use 'enum' as an identifier)
...

Expected Results:  
the emerge should work.

tried 
alias javac="javac -source 1.4 "

that didn't do the trick.
I don't know emerge deep enough to get in and override javac.
When I tried to fix the source... the checksum failed.
Again... a lack of knowledge of how an emerge is built and executed.
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-20 07:29:39 UTC

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