On Thu, Feb 9, 2012 at 19:32, Pandu Poluan <pa...@poluan.info> wrote: > On Thu, Feb 9, 2012 at 18:49, William Kenworthy <bi...@iinet.net.au> wrote: >> >> On Thu, 2012-02-09 at 18:00 +0700, Pandu Poluan wrote: >>> Have anyone been having problems emerging sys-apps/util-linux-2.20-r1 >>> on a chroot-ed environment? >>> >>> In my case, it always fail during the following stage: >>> >>> chmod g+s /var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write >>> >>> Strangely, if I exit chroot, I can do the following with no problem: >>> >>> chmod g+s >>> /mnt/gentoo/var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write >>> >>> Any pointers to any blockers? >>> >>> Rgds, >> >> you might need to bind /proc into the chroot? >> > > Already done that. From outside of chroot: > > # mount | grep /mnt/gentoo/proc > none on /mnt/gentoo/proc type proc (rw) > # > > Note: I just tried keywording util-linux-2.20.1-r1, same error. > > If push comes to shove, I'll emerge util-linux-2.20.1-r1 on another > system and get the binpkg. >
Bah, no joy :( Even grabbing the binpkg from another identical system resulted in "Permission denied" errors: >>> Extracting info * Package: sys-apps/util-linux-2.20.1-r1 * Repository: gentoo * USE: ncurses crypt nls cramfs * FEATURES: preserve-libs sandbox >>> Extracting sys-apps/util-linux-2.20.1-r1 tar: ./bin/mount: Cannot change mode to rws--x--x: Permission denied tar: ./bin/umount: Cannot change mode to rws--x--x: Permission denied tar: ./usr/bin/write: Cannot change mode to rwxr-s--x: Permission denied tar: Exiting with failure status due to previous errors tar failed with status 2 !!! Error Extracting '/usr/portage/packages/sys-apps/util-linux-2.20.1-r1.tbz2' Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan