threads / discuss / 13153

Problem with tar while installing git

Subject: Problem with tar while installing git

## tl;dr

3 messages between Apr 17, 2008 and Apr 17, 2008.

replies: 2people: 3as markdown or json

Miguel Vaz· Apr 17, 2008, 11:35 UTC · lore
Hi all,

I've already googled around to see if this is a known issue, but found nothing. When installing git, after

   ./configure --prefix=$HOME/local
   make
   make install
I get the the following error message:

install git-daemon git-fast-import git-fetch-pack git-hash-object git-imap-send git-index-pack git-merge-index git-merge-tree git-mktag git-mktree git-pac k-redundant git-patch-id git-receive-pack git-send-pack git-shell git-show-index git-unpack-file git-update-server-info git-upload-pack git-var git-http-pu sh git-am git-bisect git-clone git-filter-branch git-lost-found git-merge-octopus git-merge-one-file git-merge-resolve git-merge git-merge-stupid git-merge tool git-parse-remote git-pull git-quiltimport git-rebase--interactive git-rebase git-repack git-request-pull git-sh-setup git-stash git-submodule git-web- -browse git-add--interactive git-archimport git-cvsexportcommit git-cvsimport git-cvsserver git-relink git-send-email git-svn git-instaweb '/home/mvaz/loca l/bin' install git '/home/mvaz/local/bin' make -C templates DESTDIR='' install make[1]: Entering directory `/home/mvaz/git-1.5.5/templates' install -d -m 755 '/home/mvaz/local/share/git-core/templates/' (cd blt && tar cf - .) | \ (cd '/home/mvaz/local/share/git-core/templates/' && umask 022 && tar xf -) tar: This does not look like a tar archive tar: Skipping to next header tar: Archive contains obsolescent base-64 headers tar: Error exit delayed from previous errors make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/mvaz/git-1.5.5/templates' make: *** [install] Error 2

Any thoughts?
Miguel
PS. Running suse

mvaz@grobi> uname -a Linux grobi 2.6.13-15.18-smp #1 SMP Tue Oct 2 17:36:20 UTC 2007 i686 i686 i386 GNU/Linux

Johannes Sixt· Apr 17, 2008, 11:46 UTC · re: Miguel Vaz · lore

Re: Problem with tar while installing git

Miguel Vaz schrieb:
Show 13 quoted lines
> make[1]: Entering directory `/home/mvaz/git-1.5.5/templates'
> install -d -m 755 '/home/mvaz/local/share/git-core/templates/'
> (cd blt && tar cf - .) | \
> (cd '/home/mvaz/local/share/git-core/templates/' && umask 022 && tar xf -)
> tar: This does not look like a tar archive
> tar: Skipping to next header
> tar: Archive contains obsolescent base-64 headers
> tar: Error exit delayed from previous errors
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/home/mvaz/git-1.5.5/templates'
> make: *** [install] Error 2
> 
> Any thoughts?

If you type 'cd templates && cd blt', does the shell echo something back to you? Yes? Does 'unexport CDPATH' make a difference?

-- Hannes
David Kastrup· Apr 17, 2008, 11:52 UTC · re: Miguel Vaz · lore

Re: Problem with tar while installing git

"Miguel Vaz" <hepaminondas@gmail.com> writes:
> I've already googled around to see if this is a known issue, but found
> nothing.
Try again.
git "this does not look like a tar archive"
as keywords into Google spit out wagonloads of relevant reports.
Show 5 quoted lines
>    When installing git, after
>
>    ./configure --prefix=$HOME/local
>    make
>    make install
[...]
> (cd blt && tar cf - .) | \
> (cd '/home/mvaz/local/share/git-core/templates/' && umask 022 && tar xf -)
> tar: This does not look like a tar archive

To cut the search short: don't export CDPATH in your interactive shell startup scripts. It is a really bad idea.

-- 
David Kastrup

← back to recent threads