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

Bug 605298

Summary: net-libs/liblockfile-1.10 - install: cannot change owner and permissions of ... Operation not permitted
Product: Gentoo/Alt Reporter: William Throwe <wtt6>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal CC: didier.colle, gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description William Throwe 2017-01-10 19:05:57 UTC
>>> Install liblockfile-1.10 into /home/supernova/wthrowe/gentoo/var/tmp/portage/net-libs/liblockfile-1.10/image/ category net-libs
make SHELL=/home/supernova/wthrowe/gentoo/bin/bash -j3 ROOT=/home/supernova/wthrowe/gentoo/var/tmp/portage/net-libs/liblockfile-1.10/image/ install 
install -d -m 755 -g root -p /home/supernova/wthrowe/gentoo/var/tmp/portage/net-libs/liblockfile-1.10/image//home/supernova/wthrowe/gentoo/usr/include
install: cannot change owner and permissions of ‘/home/supernova/wthrowe/gentoo/var/tmp/portage/net-libs/liblockfile-1.10/image//home/supernova/wthrowe/gentoo/usr/include’: Operation not permitted
make: *** [Makefile:66: install_common] Error 1

Looks like Makefile.in now (not there in 1.09) tries to create some directories with `install -g root`, which obviously won't work on prefix.
Comment 1 Fabian Groffen gentoo-dev 2017-01-11 20:50:38 UTC
The makefile changed and grew some stuff.
Comment 2 Benda Xu gentoo-dev 2017-09-15 05:38:52 UTC
*** Bug 629540 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2017-09-15 05:45:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87a9ea0654a3c293631ac8eca64611fd942067c6

commit 87a9ea0654a3c293631ac8eca64611fd942067c6
Author:     Benda Xu <heroxbd@gentoo.org>
AuthorDate: 2017-09-15 05:44:12 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2017-09-15 05:45:07 +0000

    net-libs/liblockfile: remove hardcoded group root
    
      In vanilla gentoo, the installed files has group root
      by default.  In Prefix, the hardcoded group usually
      results in "Permission Denied" error.
    
    Credit: William Throwe, Didier Colle
    Closes: https://bugs.gentoo.org/605298
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../liblockfile/files/liblockfile-1.13-makefile.patch    | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)