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
Hi,

emerging apr-util on linux fails with this error:

>>> Merging dev-libs/apr-util-0.9.12-r1 to /
--- /EPREFIX/usr/ --- /EPREFIX/usr/include/ --- /EPREFIX/usr/include/apr-0/ !!! 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 !!! [Errno 13] Permission denied Thing is that 'chown -R root:0' works on linux, while on non-linux it does not. I'm unsure how to do in prefix: 1) avoid chown in prefix (as the patch does currently) 2) chown to "$PORTAGE_INST_USER:$PORTAGE_INST_GID" instead of "root:0" /haubi/ Salomon Automation GmbH - Friesachstra?e 15 - A-8114 Friesach bei Graz Sitz der Gesellschaft: Friesach bei Graz UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K 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>