Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605298 - net-libs/liblockfile-1.10 - install: cannot change owner and permissions of ... Operation not permitted
Summary: net-libs/liblockfile-1.10 - install: cannot change owner and permissions of ....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
: 629540 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-01-10 19:05 UTC by William Throwe
Modified: 2017-09-15 05:45 UTC (History)
2 users (show)

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


Attachments

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