# Problem with tar while installing git

3 messages from 2008-04-17 to 2008-04-17. Participants: Miguel Vaz, Johannes Sixt, David Kastrup.
Thread: https://gitlist.dev/t/13153

## Miguel Vaz, 2008-04-17 11:35

Subject: Problem with tar while installing git
Message-ID: <4c610e240804170435p7a628e4bo84c92f4eb4bb7a34@mail.gmail.com>
URL: https://gitlist.dev/e/4c610e240804170435p7a628e4bo84c92f4eb4bb7a34%40mail.gmail.com

```
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, 2008-04-17 11:46

Subject: Re: Problem with tar while installing git
Message-ID: <48073890.8060405@viscovery.net>
URL: https://gitlist.dev/e/48073890.8060405%40viscovery.net
In-Reply-To: <4c610e240804170435p7a628e4bo84c92f4eb4bb7a34@mail.gmail.com>

```
Miguel Vaz schrieb:
> 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, 2008-04-17 11:52

Subject: Re: Problem with tar while installing git
Message-ID: <864pa0u2a1.fsf@lola.quinscape.zz>
URL: https://gitlist.dev/e/864pa0u2a1.fsf%40lola.quinscape.zz
In-Reply-To: <4c610e240804170435p7a628e4bo84c92f4eb4bb7a34@mail.gmail.com>

```
"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.

>    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

```
