Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6468 - emerge less does not install /usr/bin/less
Summary: emerge less does not install /usr/bin/less
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-14 11:29 UTC by Ole Tange
Modified: 2002-08-18 19:15 UTC (History)
2 users (show)

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


Attachments
normal emerge (less-log-normal,7.04 KB, text/plain)
2002-08-17 10:34 UTC, Ole Tange
Details
bad emerge of less (less-log-bad,8.70 KB, text/plain)
2002-08-17 10:35 UTC, Ole Tange
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Tange 2002-08-14 11:29:45 UTC
My /var/tmp resides not on the same partition as /usr/bin (/usr is a symlink to 
a dir on another partition). This makes rename fail. So in the final install 
less is not moved to /usr/bin. 
 
An strace reveals this as the cause.
Comment 1 Nick Hadaway 2002-08-15 14:42:40 UTC
The ebuild for less if very simple.  The only install operation 
on /usr/bin/less is via this line...

dobin less lessecho lesskey

dobin is a function of the ebuild system so I am passing this bug on to 
drobbins.
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-08-16 23:33:34 UTC
Ole, sounds like you have a messed-up system. The reason you give for dobin
failing doesn't make any sense, and should work even if /usr is a symbolic link.
Comment 3 Ole Tange 2002-08-17 10:34:35 UTC
Created attachment 3162 [details]
normal emerge
Comment 4 Ole Tange 2002-08-17 10:35:03 UTC
Created attachment 3163 [details]
bad emerge of less
Comment 5 Ole Tange 2002-08-17 10:37:25 UTC
It seems the bug is reproduceable:

If /var/tmp is bind-mounted the emerge fails. If it is not bind-mounted it does
not. See the attached logfiles for an example of good and bad.
 
Comment 6 Daniel Robbins (RETIRED) gentoo-dev 2002-08-18 19:02:34 UTC
Bind mounted from where to where? I really need more detailed bug reports than this.
Comment 7 Daniel Robbins (RETIRED) gentoo-dev 2002-08-18 19:15:27 UTC
OK, I figured this out.  For some reason Linux doesn't let you rename between
the same filesystem if you are going from one mount to another bind-mount. Boo!
Will be fixed in 2.0.29.