Re: GIT 0.99.9
- From
- Wolfgang Denk <wd@denx.de>
- Date
- Oct 30, 2005, 20:38 UTC
- Message-ID
- <20051030203808.A535B353E3E@atlas.denx.de>
- In-Reply-To
- <7vvezesyhi.fsf@assigned-by-dhcp.cox.net>
In message <7vvezesyhi.fsf@assigned-by-dhcp.cox.net> you wrote:
Show 6 quoted lines
> > > "make rpm" does not work for me: > > I hate it when somebody tells me "it works for me", but I cannot > help you here, sorry. I'm no rpm expert and the "make rpm" rule > seems to work for me.
OK, I found the problem. The key part is this:
[current directory: .../usr/share/git-core/templates/]
(cd blt && tar cf - .) | \
(cd '/var/tmp/git-core-0.99.9-1-root-wd/usr/share/git-core/templates/' && tar xf -)
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Error exit delayed from previous errorsI have CDPATH set in my shell environment, and bash outputs the pathname of the new working directory on stdout; this gets piped together with the tarball to the "tar xf -", and the second tar complains that the directory name comes unexpected. Test:
-> cd /usr/local/BUILD/git-core-0.99.9/templates -> cd blt /usr/local/BUILD/git-core-0.99.9/templates/blt ->
As a workaround I can simply unset CDPATH, and the build works fine. A more robust build script woul make sure that CDPATH is not set.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Testing can show the presense of bugs, but not their absence.
-- Edsger Dijkstra