Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170367 - net-p2p/azureus-2.5.0.0-r3 compile fails with ecj-3.2
Summary: net-p2p/azureus-2.5.0.0-r3 compile fails with ecj-3.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-11 05:35 UTC by Mark Brown
Modified: 2007-05-04 17:20 UTC (History)
2 users (show)

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


Attachments
emerge --info (emergeinfo.txt,3.37 KB, text/plain)
2007-03-11 05:37 UTC, Mark Brown
Details
The build log output by emerge (build.log,4.20 KB, text/plain)
2007-03-11 05:37 UTC, Mark Brown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Brown 2007-03-11 05:35:16 UTC
emerging azureus with all prerequisites installed fails. A compiler error occures, and the process bombs out.

Reproducible: Always

Steps to Reproduce:
1.emerge azureus
2.
3.
Actual Results:  
compilation failure, package not installed

Expected Results:  
Azareus should have been built and installed correctly.

GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="ecj-3.2"

!!! ERROR: net-p2p/azureus-2.5.0.0-r3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4647:   Called src_compile
  azureus-2.5.0.0-r3.ebuild, line 66:   Called eant 'jar'
  java-utils-2.eclass, line 1694:   Called die
Comment 1 Mark Brown 2007-03-11 05:37:11 UTC
Created attachment 112892 [details]
emerge --info
Comment 2 Mark Brown 2007-03-11 05:37:52 UTC
Created attachment 112893 [details]
The build log output by emerge
Comment 3 Mark Brown 2007-03-11 05:39:47 UTC
I use a hybrid English/Japanese environment - note the "cjk" use flag.
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-04-25 09:27:58 UTC
Sorry for not responding earlier. Were you able to workaround it somehow? Like temporarily changing LANG/LC_* variables, or using ecj-3.1? I don't have access to such environment to test.
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-04-25 09:28:39 UTC
CCing cjk, maybe they have some ideas.
Comment 6 MATSUU Takuto (RETIRED) gentoo-dev 2007-04-25 12:07:00 UTC
exactly it failed to compile with LC_ALL=ja_JP.

Steps to Reproduce:
1.LC_ALL=ja_JP emerge azureus
2.
3.

I think that it should be fixed in eclass.

--- java-utils-2.eclass 24 Apr 2007 21:11:41 -0000      1.78
+++ java-utils-2.eclass 25 Apr 2007 11:55:23 -0000
@@ -2212,13 +2212,14 @@
 java-pkg_setup-vm() {
        debug-print-function ${FUNCNAME} $*

+       export LANG="C" LC_ALL="C"
+
        local vendor="$(java-pkg_get-vm-vendor)"
        if [[ "${vendor}" == "sun" ]] && java-pkg_is-vm-version-ge "1.5" ; then
                addpredict "/dev/random"
        elif [[ "${vendor}" == "ibm" ]]; then
                addpredict "/proc/self/maps"
                addpredict "/proc/cpuinfo"
-               export LANG="C" LC_ALL="C"
        elif [[ "${vendor}" == "jrockit" ]]; then
                addpredict "/proc/cpuinfo"
        fi
Comment 7 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-04-27 23:20:47 UTC
Hmm, kinda broad solution, wouldn't personally mind if this was done by portage for everything, so why not, but what do others think? :)
Comment 8 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-05-04 17:20:38 UTC
Done, thanks.