Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156568 - glibc-2.5 install programs into wrong path when $bindir is set in host env
Summary: glibc-2.5 install programs into wrong path when $bindir is set in host env
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-28 16:52 UTC by Rob
Modified: 2006-12-02 10:58 UTC (History)
0 users

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


Attachments
output of 'emerge --info =glibc-2.5' (glibc-2.5emerge.info,11.79 KB, text/plain)
2006-11-28 17:02 UTC, Rob
Details
glibc install log (sys-libs:glibc-2.5:20061128-222710.log.bz2,207.46 KB, application/x-bzip2)
2006-11-29 09:46 UTC, Rob
Details

Note You need to log in before you can comment on or make changes to this bug.
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