Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389671 - dev-java/gnu-classpath-0.98-r3 failed (configure phase)
Summary: dev-java/gnu-classpath-0.98-r3 failed (configure phase)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-05 19:08 UTC by Alexandr Tiurin
Modified: 2011-11-12 16:47 UTC (History)
0 users

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


Attachments
full build log (log,18.54 KB, text/plain)
2011-11-05 19:09 UTC, Alexandr Tiurin
Details
emerge --info dev-java/gnu-classpath (emergeinfo,14.66 KB, text/plain)
2011-11-05 19:12 UTC, Alexandr Tiurin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Tiurin 2011-11-05 19:08:13 UTC
checking for gjar... no
checking for jar... /opt/sun-jdk-1.6.0.29/bin/jar
checking whether to regenerate parsers with jay... no
checking for stdint types... stdint.h (shortcircuit)
make use of stdint.h in include/config-int.h (assuming C99 compatible system)
checking for uudecode... no
configure: WARNING: I have to compile Test.class from scratch
checking if /usr/bin/ecj is a version of gcj... ./configure: line 34938: /usr/bin/ecj: No such file or directory

checking if /usr/bin/ecj works... configure: error: The Java compiler /usr/bin/ecj failed (see config.log, check the CLASSPATH?)
 * ERROR: dev-java/gnu-classpath-0.98-r3 failed (configure phase):
 *   configure failed


Reproducible: Always

Steps to Reproduce:
1.  emerge --rebuild-if-new-ver=y --rebuild-if-new-rev=y -u1 dev-java/sun-jdk (up to 1.6.0.29)
Comment 1 Alexandr Tiurin 2011-11-05 19:09:47 UTC
Created attachment 291769 [details]
full build log

full build log
Comment 2 Alexandr Tiurin 2011-11-05 19:12:29 UTC
Created attachment 291771 [details]
emerge --info dev-java/gnu-classpath
Comment 3 Ralph Sennhauser (RETIRED) gentoo-dev 2011-11-08 22:05:51 UTC
/usr/bin/ecj is normally a symlink managed by eselect ecj.

What is the output of "eselect ecj list"?
Comment 4 Alexandr Tiurin 2011-11-12 16:47:58 UTC
# eselect ecj list
Available ECJ targets:
  [1]   ecj-3.5

# eselect ecj set 1
!!! Warning: Can't set a new ecj provider. There's a file in the way at /usr/share/eclipse-ecj/ecj.jar. You can try removing it manually, and then re-running this command.

# rm /usr/share/eclipse-ecj/ecj.jar

# eselect ecj set 1

# eselect ecj list 
Available ECJ targets:
  [1]   ecj-3.5 *

And now emerge dev-java/gnu-classpath works for me. Thank you!