# RE: [GIT PATCH] Makefile missing git-runstatus in PROGRAMS list

2 messages from 2006-11-15 to 2006-11-15. Participants: Bhavesh Davda, Junio C Hamano.
Thread: https://gitlist.dev/t/43758

## Bhavesh Davda, 2006-11-15 18:08

Subject: RE: [GIT PATCH] Makefile missing git-runstatus in PROGRAMS list
Message-ID: <FE74AC4E0A23124DA52B99F17F44159701A11D6C@PA-EXCH03.vmware.com>
URL: https://gitlist.dev/e/FE74AC4E0A23124DA52B99F17F44159701A11D6C%40PA-EXCH03.vmware.com

```
> Interesting.  You do not seem to have not just git-runstatus but
> anything built-in.  The last action in "make install" should
> look like this log entry (I just did "make prefix=/var/tmp/ggg
> clean all install"):
> 
> rm -f '/var/tmp/ggg/bin/git-format-patch' && ln 
> '/var/tmp/ggg/bin/git' '/var/tmp/ggg/bin/git-format-patch' ;  
> rm -f '/var/tmp/ggg/bin/git-show' && ln 
> '/var/tmp/ggg/bin/git' '/var/tmp/ggg/bin/git-show' ; ... rm 
> -f '/var/tmp/ggg/bin/git-verify-pack' && ln 
> '/var/tmp/ggg/bin/git' '/var/tmp/ggg/bin/git-verify-pack' ;  
> rm -f '/var/tmp/ggg/bin/git-write-tree' && ln 
> '/var/tmp/ggg/bin/git' '/var/tmp/ggg/bin/git-write-tree' ;
> 
> that installs 47 hardlinks to $(prefix)/bin/git.


Attached is my attempt at the same command "make prefix=/var/tmp/ggg clean
all install"

make install failes for the templates directory, leading to the entire make
install failing:

make -C templates DESTDIR='' install
make[1]: Entering directory `/VMware/kernel/git/git/templates'
: no custom templates yet
install -d -m755 '/var/tmp/ggg/share/git-core/templates/'
(cd blt && tar cf - .) | \
(cd '/var/tmp/ggg/share/git-core/templates/' && 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 `/VMware/kernel/git/git/templates'
make: *** [install] Error 2

Thanks

- Bhavesh

```

## Junio C Hamano, 2006-11-15 18:29

Subject: Re: [GIT PATCH] Makefile missing git-runstatus in PROGRAMS list
Message-ID: <7vzmasmump.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vzmasmump.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <FE74AC4E0A23124DA52B99F17F44159701A11D6C@PA-EXCH03.vmware.com>

```
"Bhavesh Davda" <bhavesh@vmware.com> writes:

> Attached is my attempt at the same command "make prefix=/var/tmp/ggg clean
> all install"
>
> make install failes for the templates directory, leading to the entire make
> install failing:
>
> make -C templates DESTDIR='' install
> make[1]: Entering directory `/VMware/kernel/git/git/templates'
> : no custom templates yet
> install -d -m755 '/var/tmp/ggg/share/git-core/templates/'
> (cd blt && tar cf - .) | \
> (cd '/var/tmp/ggg/share/git-core/templates/' && 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

I have a feeling that you have CDPATH exported to the
environment, which is a braindamage.  It is a fine usability
helper for interactive shells so I do not have problem with
people setting that in shell as shell variables, though.

In other words, never do "export CDPATH=..." nor "export CDPATH".

```
