-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 31 Dec 2003 08:40 pm, Torsten Veller wrote:
> Hi,
>
> i hope this list is okay, if not,....
>
> i am trying to write a wwwoffle ebuild. At the moment i am having
> problems with src_install. src_install calls
> "make DESTDIR=${D} install || die"
>
> # ebuild wwwoffle-2.8a.ebuild install
> stops at the tar command with the following output:
>
> tar cf /var/tmp/portage/wwwoffle-2.8a/image//var/spool/wwwoffle/html.tar
> html && cd /var/tmp/portage/wwwoffle-2.8a/image//var/spool/wwwoffle && tar
> xpf html.tar && rm html.tar tar: html/de/search/htdig/index.html: Cannot
> change ownership to uid 0, gid 0: No such file or directory tar:
> html/en/search/htdig/index.html: Cannot change ownership to uid 0, gid 0:
> No such file or directory [...]
>
> So what's the problem here? Is this a portage problem?
>
Portage is being run as the portage user (FEATURES userpriv) and cannot create
uid 0 files. Options to fix this are:
1. Unpack the tar before the make does using the 'unpack' directive and hope
that the make process detects that it is unpacked.
2. Hack the make process to change the tar command to "tar
- --no-same-owner" ...
Could use:
sed -i -e 's#tar #tar --no-same-owner #' Makefile
or some variation of it.
- --
Daniel Black
- --
Proudly a Gentoo Linux User.
GnuPG/PGP signed and encrypted email preferred
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x32A64DC8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/96FkTDSbtjKmTcgRAmZEAKDEdb51ryuxiO+Sam+u1ZuNqzKLwACg3D66
1m1PNpRV/Wi8Lwd3keLOUoo=
=IeNE
-----END PGP SIGNATURE-----
--
[EMAIL PROTECTED] mailing list