public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Torsten Veller <ml-en@veller.net>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] wwwoffle ebuild problem with tar commmand on symbolic links
Date: Tue, 6 Jan 2004 15:16:46 +0100	[thread overview]
Message-ID: <20040106150006.GAea441.tv@veller.net> (raw)
In-Reply-To: <200401041445.32329.dragonheart@tpg.com.au>

* Daniel <dragonheart@tpg.com.au>:

| 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
| [...]


> 1. Unpack the tar before the make does using the 'unpack' directive and hope 
> that the make process detects that it is unpacked.

Same problem.

> 2. Hack the make process to change the tar command to "tar 
> - --no-same-owner" ...

Yes :)


| All these files are symbolic links to other files in the same directory. These
| symbolic links come before the destination file in the html.tar archive.  There
| are other linked files in this html.tar where it's vice versa with no problem.

But if the problem is only a change ownership problem, why is there no error
message when the destination already exists?

For example 'html/de/search/htdig/index.html' is a link to search.html which
does not exist at the point when index.html is extracted (i think it's the same
time when the owner should be changed), so i says 'file not found'. If the file
would exist, there won't be an error. (See my other mail.)

-- 
.:      Torsten Veller       |       1 + 1 = 3, for large values of 1.       :.
.:      PGP 0x9C67CD96       |                                               :.

--
gentoo-dev@gentoo.org mailing list


  reply	other threads:[~2004-01-06 14:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-31 11:10 [gentoo-dev] wwwoffle ebuild problem with tar commmand on symbolic links Torsten Veller
2004-01-02 16:37 ` Torsten Veller
2004-01-04  5:15 ` Daniel
2004-01-06 14:16   ` Torsten Veller [this message]
2004-01-09  3:18     ` Daniel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040106150006.GAea441.tv@veller.net \
    --to=ml-en@veller.net \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox