Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24989 - gawk 3.1.3 "Operation not permitted", set permissions fails
Summary: gawk 3.1.3 "Operation not permitted", set permissions fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-21 12:45 UTC by Tobias Sager
Modified: 2003-07-22 07:51 UTC (History)
0 users

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 Tobias Sager 2003-07-21 12:45:28 UTC
I'm working with FEATURES="fixpackages sandbox ccache userpriv".

gawk-3.1.3 fails here because of the copying of filefuncs fix (bug 24974) and insufficient permissions:
<snip>
>>> emerge (1 of 1) sys-apps/gawk-3.1.3 to /
>>> md5 src_uri ;-) gawk-3.1.3.tar.gz
>>> Unpacking source...
>>> Unpacking gawk-3.1.3.tar.gz to /var/tmp/portage/gawk-3.1.3/work
cp: setting permissions for `/var/tmp/portage/gawk-3.1.3/work/filefuncs/Makefile': Operation not permitted
cp: setting permissions for `/var/tmp/portage/gawk-3.1.3/work/filefuncs/filefuncs.c': Operation not permitted
cp: setting permissions for `/var/tmp/portage/gawk-3.1.3/work/filefuncs': Operation not permitted

!!! ERROR: sys-apps/gawk-3.1.3 failed.
!!! Function src_unpack, Line 25, Exitcode 1
!!! (no error message)
</snip>


This patch fixes the problem.
<snip>
--- gawk-3.1.3.ebuild.org       2003-07-21 21:40:12.000000000 +0200
+++ gawk-3.1.3.ebuild   2003-07-21 21:39:14.000000000 +0200
@@ -22,7 +22,7 @@
        unpack ${A}
 
        # Copy filefuncs module's source over ...
-       cp -a ${FILESDIR}/filefuncs ${WORKDIR}/ || die
+       cp -dR ${FILESDIR}/filefuncs ${WORKDIR}/ || die
 
        cd ${S}
        # support for dec compiler.
</snip>
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-07-22 07:51:45 UTC
Fixed in CVS, thanks.