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

Bug 156568

Summary: glibc-2.5 install programs into wrong path when $bindir is set in host env
Product: Gentoo Linux Reporter: Rob <RaSTuS.Rob>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: output of 'emerge --info =glibc-2.5'
glibc install log

Description Rob 2006-11-28 16:52:09 UTC
glibc-2.5 installs files meant for '/usr/bin' in my home/rob/.bin directory.
/home/rob/.bin/ldd
/home/rob/.bin/lddlibc4
/home/rob/.bin/iconv
/home/rob/.bin/sprof
/home/rob/.bin/getconf
/home/rob/.bin/gencat
/home/rob/.bin/getent
/home/rob/.bin/locale
/home/rob/.bin/mtrace
/home/rob/.bin/pcprofiledump
/home/rob/.bin/rpcgen
/home/rob/.bin/localedef
/home/rob/.bin/catchsegv
/home/rob/.bin/xtrace

I have my paths setup so '/home/rob/.bin' and '/usr/local/bin' occur first so I
can use these directories for testing stuff.  My paths are;
PATH=/home/rob/.bin:/usr/local/bin:/usr/local/sbin:/usr/lib/portage/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/kde/3.5/bin:/usr/kde/3.5/sbin:/usr/qt/3/bin:/usr/X11R6/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/games/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin

ROOTPATH is identical.

SOLUTION:
copied all files to the correct location and edited
'/var/db/pkgs/sys-libs/glibc-2.5{CONTENTS & NEEDED}' to reflect the proper
location, then done 'touch -r PF CONTENTS NEEDED' to reset timestamps.
Comment 1 Rob 2006-11-28 17:02:56 UTC
Created attachment 102959 [details]
output of 'emerge --info =glibc-2.5'
Comment 2 SpanKY gentoo-dev 2006-11-28 20:05:08 UTC
run `emerge glibc >& log` and post the log as an attachment
Comment 3 Rob 2006-11-29 09:46:46 UTC
Created attachment 102996 [details]
glibc install log
Comment 4 SpanKY gentoo-dev 2006-12-02 10:52:00 UTC
you have $bindir set in your environment, dont do that