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

Bug 291103

Summary: sys-apps/sandbox fails with gold linker: configure: error: Unable to determine LIBC PATH ()
Product: Gentoo Linux Reporter: Franz Trischberger <franz.trischberger>
Component: [OLD] Core systemAssignee: Sandbox Maintainers <sandbox>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 269315    
Attachments: build-log
emerge --info
config.log
patch for the configure script

Description Franz Trischberger 2009-10-30 05:17:25 UTC
sandbox fails with the mentioned error during ./configure.

###
[...]
checking for symlinkat... yes                                                                                                                                           
checking for truncate64... yes                                                                                                                                          
checking for unlinkat... yes                                                                                                                                            
checking for utime... yes                                                                                                                                               
checking for utimensat... yes                                                                                                                                           
checking for utimes... yes                                                                                                                                              
checking for stackoverflow_install_handler in -lsigsegv... (cached) false                                                                                               
checking for __sync_lock_test_and_set... yes                                                                                                                            
checking for va_copy... va_copy                                                                                                                                         
checking for dlopen in -ldl... yes                                                                                                                                      
checking for dlvsym in -ldl... yes                                                                                                                                      
checking truncate argument type... off_t                                                                                                                                
checking for RTLD_NEXT... yes                                                                                                                                           
checking libc path... configure: error: Unable to determine LIBC PATH () 
###

I tested current stable (1.6-r2), as well as 2.1 and 2.2. I am using binutils[gold], though that should not be the problem...

Reproducible: Always
Comment 1 Franz Trischberger 2009-10-30 05:21:12 UTC
Created attachment 208691 [details]
build-log
Comment 2 Franz Trischberger 2009-10-30 05:22:06 UTC
Created attachment 208692 [details]
emerge --info
Comment 3 Sebastian Luther (few) 2009-10-30 07:33:52 UTC
There should be a /var/tmp/paludis/sys-apps-sandbox-1.6-r2/work/sys-apps-sandbox-1.6-r2/config.log. Attach it please.
Comment 4 Franz Trischberger 2009-10-30 07:40:45 UTC
Created attachment 208699 [details]
config.log

config.log
Comment 5 Sebastian Luther (few) 2009-10-30 07:59:40 UTC
Does revdep-rebuild fix it?
Comment 6 Franz Trischberger 2009-10-30 09:17:48 UTC
(In reply to comment #5)
> Does revdep-rebuild fix it?

No, it doesn't. But building binutils-2.20 without gold built sandbox quite fine...
No I will make an update to glibc-2.10.1 without gold, and switch back to gold. I will look if sandbox still fails...
Comment 7 Franz Trischberger 2009-10-30 10:03:09 UTC
Damn, again failure, so this is another binutils[gold]-Blocker...
Comment 8 Lóránt Farkas 2009-11-09 20:27:26 UTC
Created attachment 209766 [details, diff]
patch for the configure script

Here is a patch for configure. Please contact the developers.
Comment 9 SpanKY gentoo-dev 2010-08-15 05:38:18 UTC
that patch is overly verbose ... you can use NF to count from the end

fixed in git now:
http://git.overlays.gentoo.org/gitweb/?p=proj/sandbox.git;a=commitdiff;h=95aaa83ba6df1a2eaba4e1d42d39b1e1c438c063