Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692132 - net-libs/liblockfile-1.16: fails to build on prefix, trying to change ownership of installed files
Summary: net-libs/liblockfile-1.16: fails to build on prefix, trying to change ownersh...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-14 12:05 UTC by Guilherme Amadio
Modified: 2019-08-14 12:15 UTC (History)
1 user (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 Guilherme Amadio gentoo-dev 2019-08-14 12:05:54 UTC
Relevant part of the build log:

>>> Install net-libs/liblockfile-1.16 into /cvmfs/portage/net-libs/liblockfile-1.16/image
make -j4 -l4 DESTDIR=/cvmfs/portage/net-libs/liblockfile-1.16/image install 
install -d -m 755 -g root -p /cvmfs/portage/net-libs/liblockfile-1.16/image/cvmfs/sft.cern.ch/lcg/contrib/gentoo/linux/x86_64/usr/include
install: cannot change owner and permissions of '/cvmfs/portage/net-libs/liblockfile-1.16/image/cvmfs/sft.cern.ch/lcg/contrib/gentoo/linux/x86_64/usr/include': Operation not permitted
make: *** [Makefile:72: install_common] Error 1


To fix, one needs to remove -g root from the install commands in the Makefile patch (done for 1.15, but not for 1.16). This is the same bug as #605298, but for version 1.16.
Comment 1 Larry the Git Cow gentoo-dev 2019-08-14 12:15:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a7a47eb486af8ef1b3a1e87e87e9c4784075132

commit 6a7a47eb486af8ef1b3a1e87e87e9c4784075132
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2019-08-14 12:11:41 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2019-08-14 12:13:54 +0000

    net-libs/liblockfile: fix Makefile patch for prefix
    
    Closes: https://bugs.gentoo.org/692132
    
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

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