Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 367047

Summary: dev-java/ant-eclipse-ecj-3.5.2 fails build due to absent package
Product: Gentoo Linux Reporter: Ian Delaney (RETIRED) <idella4>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: 10.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: my emerge --info
build log

Description Ian Delaney (RETIRED) gentoo-dev 2011-05-13 03:30:27 UTC
In testing for an unrelated bug, emerging dev-java/ant-eclipse-ecj-3.5.2 fails build due to absent package.
Strange thing is, the absent package had just been effectively emerged.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-java/eclipse-ecj-3.5.2 fails build due to absent package
2. emerge dev-java/ant-eclipse-ecj-3.5.2 fails build due to absent package
3.
Actual Results:  
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (et_EE.UTF-8 UTF-8)
>>> Compiling source in /mnt/gen2/tmpdir/portage/dev-java/ant-eclipse-ecj-3.5.2/work ...
!!! ERROR: Package eclipse-ecj-3.5 was not found!
 * ERROR: dev-java/ant-eclipse-ecj-3.5.2 failed (compile phase):
 *   java-config --classpath=ant-core,eclipse-ecj-3.5 failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4003:  Called java-pkg_getjars 'ant-core,eclipse-ecj-3.5'
 *   environment, line 2759:  Called die


Expected Results:  
effective emerge

>>> Emerging (1 of 2) dev-java/eclipse-ecj-3.5.2
>>> Installing (1 of 2) dev-java/eclipse-ecj-3.5.2
>>> Recording dev-java/eclipse-ecj:3.5 in "world" favorites file...
>>> Emerging (2 of 2) dev-java/ant-eclipse-ecj-3.5.2
>>> Failed to emerge dev-java/ant-eclipse-ecj-3.5.2, Log file:
>>>  '/mnt/gen2/tmpdir/portage/dev-java/ant-eclipse-ecj-3.5.2/temp/build.log'


From a long list, the package eclipse-ecj-3.5 was emerged with ant-eclipse-ecj to follow.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-05-13 03:32:06 UTC
Created attachment 273019 [details]
my emerge --info
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2011-05-13 03:32:31 UTC
Created attachment 273021 [details]
build log
Comment 3 Ralph Sennhauser (RETIRED) gentoo-dev 2012-07-02 20:17:53 UTC
Works for me. If you still can reproduce this issue after you fixed the setlocale issue please reaopen. ssh, vm, missing locale?

Also at that time the eclass forced LC_ALL=C in pkg_setup and as such any attempt to override that would have been unsupported.