threads / patch / 43758

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

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

## tl;dr

2 messages between Nov 15, 2006 and Nov 15, 2006. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Bhavesh Davda· Nov 15, 2006, 18:08 UTC · lore
Show 15 quoted lines
> 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· Nov 15, 2006, 18:29 UTC · re: Bhavesh Davda · lore

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

"Bhavesh Davda" <bhavesh@vmware.com> writes:
Show 16 quoted lines
> 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".

← back to recent threads