Gentoo Archives: gentoo-dev

From: Torsten Veller <ml-en@××××××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] wwwoffle ebuild problem with tar commmand on symbolic links
Date: Wed, 31 Dec 2003 11:10:12
Message-Id: 20031231111942.GAddaf9.tv@veller.net
1 Hi,
2
3 i hope this list is okay, if not,....
4
5 i am trying to write a wwwoffle ebuild. At the moment i am having
6 problems with src_install. src_install calls
7 "make DESTDIR=${D} install || die"
8
9 # ebuild wwwoffle-2.8a.ebuild install
10 stops at the tar command with the following output:
11
12 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
13 tar: html/de/search/htdig/index.html: Cannot change ownership to uid 0, gid 0: No such file or directory
14 tar: html/en/search/htdig/index.html: Cannot change ownership to uid 0, gid 0: No such file or directory
15 [...]
16 tar: Error exit delayed from previous errors
17 make[1]: *** [install-html] Error 2
18 make[1]: Leaving directory `/var/tmp/portage/wwwoffle-2.8a/work/wwwoffle-2.8a/cache'
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 If i run
26 # ebuild wwwoffle-2.8a.ebuild compile
27 # "cd ${S}"
28 # make DESTDIR=/var/tmp/portage/wwwoffle-2.8a/image install
29 there is *no* error.
30
31 So what's the problem here? Is this a portage problem?
32
33
34
35 Versions:
36 sys-apps/portage-2.0.49-r19, app-arch/tar-1.13.92
37 ebuild can be found in bug #35275.
38
39 --
40 .: Torsten | One man's constant is another man's variable. :.
41
42 --
43 gentoo-dev@g.o mailing list

Replies