Upgrading from [1.2.1-r2] to [1.4.13]. Error message: ... >>> Source compiled. >>> Test phase [not enabled]: dev-libs/klibc-1.4.13 >>> Install klibc-1.4.13 into /var/tmp/portage/dev-libs/klibc-1.4.13/image/ category dev-libs INSTALL headers + man pages to /var/tmp/portage/dev-libs/klibc-1.4.13/image//usr/lib/klibc INSTALL binaries to /var/tmp/portage/dev-libs/klibc-1.4.13/image//usr/lib/klibc/bin INSTALL usr/dash/sh.shared INSTALL usr/gzip/gzip usr/gzip/gunzip usr/gzip/zcat INSTALL usr/kinit/fstype/shared/fstype INSTALL usr/kinit/ipconfig/shared/ipconfig INSTALL usr/kinit/nfsmount/shared/nfsmount INSTALL usr/kinit/resume/shared/resume INSTALL usr/kinit/run-init/shared/run-init INSTALL usr/kinit/kinit usr/kinit/kinit.shared INSTALL klibc to /var/tmp/portage/dev-libs/klibc-1.4.13/image//usr/lib/klibc/lib INSTALL usr/utils/shared/chroot usr/utils/shared/dd usr/utils/shared/mkdir usr/utils/shared/mkfifo usr/utils/shared/mknod usr/utils/shared/mount usr/utils/shared/pivot_root usr/utils/shared/umount usr/utils/shared/true usr/utils/shared/false usr/utils/shared/sleep usr/utils/shared/ln usr/utils/shared/nuke usr/utils/shared/minips usr/utils/shared/cat usr/utils/shared/insmod usr/utils/shared/uname usr/utils/shared/halt usr/utils/shared/kill usr/utils/shared/reboot usr/utils/shared/poweroff ACCESS DENIED chmod: /usr/lib/klibc/include/linux/dvb/ca.h chmod: changing permissions of `/usr/lib/klibc/include/linux/dvb/ca.h': Permission denied ACCESS DENIED chmod: /usr/lib/klibc/include/linux/dvb/Kbuild chmod: changing permissions of `/usr/lib/klibc/include/linux/dvb/Kbuild': Permission denied ... /var/log/sandbox/sandbox-dev-libs_-_klibc-1.4.13-31841.log Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge -uD world
http://ialgo.com/~loge/sandbox-dev-libs_-_klibc-1.4.13-31841.log
Same problem here. Looks like a result of this (from the install-section of the ebuild): # Fix the permissions (bug #178053) on /usr/$(get_libdir)/klibc/include/linux # Actually I have no idea, why the includes have those weird-ass permissions # or a particular system, might be due to inherited permissions from parent # directory find /usr/$(get_libdir)/klibc/include/linux -type f | xargs chmod 0644
Ebuild compiles fine without this find-Command. I guess bug #178053 should be opened again.
Just committed a fix for this, I introduced w/ fixing #178053 (note to self: always use ${D} as prefix in src_install).
*** Bug 178363 has been marked as a duplicate of this bug. ***
(In reply to comment #5) > *** Bug 178363 has been marked as a duplicate of this bug. *** > Hello, I'm sorry for the duplicate. Search engine didn't show any result about it, so I opened a new bug report. Anyway.. I tried to do find /usr/$(get_libdir)/klibc/include/linux -type f | xargs chmod 0644 No way to solve my problem.. What's the real solution to that bug?
(In reply to comment #6) > (In reply to comment #5) > > *** Bug 178363 has been marked as a duplicate of this bug. *** > > > > Hello, I'm sorry for the duplicate. Search engine didn't show any result about > it, so I opened a new bug report. > > Anyway.. I tried to do find /usr/$(get_libdir)/klibc/include/linux -type f | > xargs chmod 0644 > > No way to solve my problem.. What's the real solution to that bug? > I also tried to do find /usr/$(get_libdir)/klibc/include | xargs chmod o+rX but, I can't fix it as you say.
The find command is not the solution but the problem. You don't have to execute it, it is inside the dev-libs/klibc/klibc-1.4.13.ebuild. Comment #4 said a fix is commited, so it should be sufficient to sync your portage again.