Gentoo Archives: gentoo-alt

From: Michael Haubenwallner <michael.haubenwallner@×××××××.at>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] [prefix][linux] permission problem merging apr-util on linux
Date: Wed, 11 Apr 2007 10:06:06
Message-Id: 1176285919.11181.13.camel@sapc154
1 Hi,
2
3 emerging apr-util on linux fails with this error:
4
5 >>> Merging dev-libs/apr-util-0.9.12-r1 to /
6 --- /EPREFIX/usr/
7 --- /EPREFIX/usr/include/
8 --- /EPREFIX/usr/include/apr-0/
9 !!! Failed to move /EPREFIX/var/tmp/portage/dev-libs/apr-util-0.9.12-r1/image/EPREFIX/usr/include/apr-0/apr_anylock.h to /EPREFIX/usr/include/apr-0/apr_anylock.h
10 !!! [Errno 13] Permission denied
11
12
13 Thing is that 'chown -R root:0' works on linux, while on non-linux it
14 does not.
15
16 I'm unsure how to do in prefix:
17 1) avoid chown in prefix (as the patch does currently)
18 2) chown to "$PORTAGE_INST_USER:$PORTAGE_INST_GID" instead of "root:0"
19
20 /haubi/
21
22 Salomon Automation GmbH - Friesachstra?e 15 - A-8114 Friesach bei Graz
23 Sitz der Gesellschaft: Friesach bei Graz
24 UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
25 Firmenbuchgericht: Landesgericht fur Zivilrechtssachen Graz

Attachments

File name MIME type
apr-util-linux.patch text/x-patch

Replies

Subject Author
Re: [gentoo-alt] [prefix][linux] permission problem merging apr-util on linux Armando Di Cianno <armando@××××××××.net>