Gentoo Archives: gentoo-dev

From: Torsten Veller <ml-en@××××××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] wwwoffle ebuild problem with tar commmand on symbolic links
Date: Tue, 06 Jan 2004 14:23:41
Message-Id: 20040106150006.GAea441.tv@veller.net
In Reply to: Re: [gentoo-dev] wwwoffle ebuild problem with tar commmand on symbolic links by Daniel
1 * Daniel <dragonheart@×××××××.au>:
2
3 | tar cf /var/tmp/portage/wwwoffle-2.8a/image//var/spool/wwwoffle/html.tar html && cd
4 +/var/tmp/portage/wwwoffle-2.8a/image//var/spool/wwwoffle && tar xpf html.tar && rm html.tar
5 | tar: html/de/search/htdig/index.html: Cannot change ownership to uid 0, gid 0: No such file or directory
6 | tar: html/en/search/htdig/index.html: Cannot change ownership to uid 0, gid 0: No such file or directory
7 | [...]
8
9
10 > 1. Unpack the tar before the make does using the 'unpack' directive and hope
11 > that the make process detects that it is unpacked.
12
13 Same problem.
14
15 > 2. Hack the make process to change the tar command to "tar
16 > - --no-same-owner" ...
17
18 Yes :)
19
20
21 | All these files are symbolic links to other files in the same directory. These
22 | symbolic links come before the destination file in the html.tar archive. There
23 | are other linked files in this html.tar where it's vice versa with no problem.
24
25 But if the problem is only a change ownership problem, why is there no error
26 message when the destination already exists?
27
28 For example 'html/de/search/htdig/index.html' is a link to search.html which
29 does not exist at the point when index.html is extracted (i think it's the same
30 time when the owner should be changed), so i says 'file not found'. If the file
31 would exist, there won't be an error. (See my other mail.)
32
33 --
34 .: Torsten Veller | 1 + 1 = 3, for large values of 1. :.
35 .: PGP 0x9C67CD96 | :.
36
37 --
38 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] wwwoffle ebuild problem with tar commmand on symbolic links Daniel <dragonheart@×××××××.au>