Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Michael Haubenwallner <michael.haubenwallner@...>
Subject: [prefix][linux] permission problem merging apr-util on linux
Date: Wed, 11 Apr 2007 12:05:19 +0200
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

Attachment:
apr-util-linux.patch (Text Data)
Replies:
Re: [prefix][linux] permission problem merging apr-util on linux
-- Armando Di Cianno
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: [prefix][aix] get out of aix dll hell
Next by thread:
Re: [prefix][linux] permission problem merging apr-util on linux
Previous by date:
Re: AIX: emerge gawk fails
Next by date:
Re: [prefix][aix] debianutils succeeded!


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.