[paludis-user] unpaxinate failes to extract environment on some pbins

Andrej Filipcic andrej.filipcic at ijs.si
Mon Jan 31 13:32:29 UTC 2011


On Monday, January 31, 2011 14:09:33 Ciaran McCreesh wrote:
> On Mon, 31 Jan 2011 14:06:55 +0100
> 
> Andrej Filipcic <andrej.filipcic at ijs.si> wrote:
> > Could not extract 'environment' from
> > '/net/brenta/d0/nfs/gentoo/paludis/packages/amd64.paludis/f9bin--x11-them
> > es--gtk-engines-qtcurve-1.8.5--C.8819.1296463061.758927.C.pax.bz2':
> > libarchive returned -20, archive_errno 0: Can't set UID=0
> 
> Ah, now that's interesting. Can you compare the things in the PBIN
> directory in a paxball that fails with the things in the PBIN directory
> in a paxball that works (you can use 'app-arch/pax')?
> 
> I'm guessing maybe we're writing PBIN/environment in the paxball with
> different permissions in different situations...

Nothing obvious in permissions:
brenta ~ # ls -l *pbin
failed.pbin:
total 0
drwxr-xr-x 3 root root 40 Jan 31 14:19 PBIN
drwxr-xr-x 4 root root 30 Jan 31 14:19 usr

good.pbin:
total 0
drwxr-xr-x 3 root root 40 Jan 31 14:19 PBIN
drwxr-xr-x 4 root root 30 Jan 31 14:19 usr

brenta ~ # ls -l *pbin/PBIN
failed.pbin/PBIN:
total 208
drwxr-xr-x 2 root root     24 Jan 31 14:19 PaxHeader
-rw-r--r-- 1 root root 212893 Jan 31 09:37 environment

good.pbin/PBIN:
total 204
drwxr-xr-x 2 root root     24 Jan 31 14:19 PaxHeader
-rw-r--r-- 1 root root 207495 Jan 26 11:16 environment



However, for both packages that failed (app-editors/emacs-23.2-r3 x11-themes/gtk-engines-qtcurve-1.8.5)
I have noticed EAPI=4 in the environment.

diff -ur emacs-23.2-r2.ebuild emacs-23.2-r3.ebuild
--- emacs-23.2-r2.ebuild        2010-12-29 14:35:27.000000000 +0100
+++ emacs-23.2-r3.ebuild        2011-01-30 09:42:03.000000000 +0100
@@ -1,8 +1,9 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.2-r2.ebuild,v 1.12
 2010/12/29 13:09:01 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.2-r3.ebuild,v 1.1 
2011/01/30 08:42:03 ulm Exp $
 
-EAPI=2
+EAPI=4
+WANT_AUTOMAKE="none"
...

Does this make sense? emacs-23.2-r2 worked fine.

Cheers,
Andrej

-- 
_____________________________________________________________
   prof. dr. Andrej Filipcic,   E-mail: Andrej.Filipcic at ijs.si
   Department of Experimental High Energy Physics - F9
   Jozef Stefan Institute, Jamova 39, P.o.Box 3000
   SI-1001 Ljubljana, Slovenia
   Tel.: +386-1-477-3674    Fax: +386-1-477-3166
-------------------------------------------------------------



More information about the paludis-user mailing list