{"thread":{"id":"22417","subject":"make install error","startedAt":"2010-01-28T00:58:42Z","lastAt":"2010-01-28T16:25:18Z","messageCount":6,"participants":["kap4lin","Junio C Hamano","Alex Riesen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"132852","messageId":"daef5be81001271658y4188445bofea2e3d576df91e5@mail.gmail.com","threadId":"22417","inReplyTo":null,"subject":"make install error","fromName":"kap4lin","fromEmail":"kap4lin@gmail.com","sentAt":"2010-01-28T00:58:42Z","receivedAt":"2010-01-28T00:58:42Z","isPatch":false,"sender":{"key":"kap4lin@gmail.com","avatar":null},"body":"Hi,\n\n(Kindly Cc me, I am not subscribed)\n\nProcess followed:\n$ make configure\n$ ./configure --prefix=/scratch/kap4lin/usr\n$ make all\n$ make install\n\nThe make install step is giving the following error:\n\nmake -C templates DESTDIR='' install\nmake[1]: Entering directory `/scratch/kap4lin/softwares/git-1.6.6.1/templates'\ninstall -d -m 755 '/scratch/kap4lin/usr/share/git-core/templates'\n(cd blt && gtar cf - .) | \\\n        (cd '/scratch/kap4lin/usr/share/git-core/templates' && umask\n022 && gtar xof -)\ngtar: This does not look like a tar archive\ngtar: Skipping to next header\ngtar: Archive contains obsolescent base-64 headers\ngtar: Error exit delayed from previous errors\nmake[1]: *** [install] Error 2\nmake[1]: Leaving directory `/scratch/kap4lin/softwares/git-1.6.6.1/templates'\nmake: *** [install] Error 2\n\nAny help?\n-- \nRegards\nKap4Lin\n--------------------------------------\nhttp://counter.li.org  #402424\n"},{"id":"132860","messageId":"7v8wbjndn6.fsf@alter.siamese.dyndns.org","threadId":"22417","inReplyTo":"daef5be81001271658y4188445bofea2e3d576df91e5@mail.gmail.com","subject":"Re: make install error","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2010-01-28T02:53:33Z","receivedAt":"2010-01-28T02:53:33Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"kap4lin <kap4lin@gmail.com> writes:\n\n> (cd blt && gtar cf - .) | \\\n>         (cd '/scratch/kap4lin/usr/share/git-core/templates' && umask\n> 022 && gtar xof -)\n> gtar: This does not look like a tar archive\n> gtar: Skipping to next header\n> gtar: Archive contains obsolescent base-64 headers\n> gtar: Error exit delayed from previous errors\n> make[1]: *** [install] Error 2\n> make[1]: Leaving directory `/scratch/kap4lin/softwares/git-1.6.6.1/templates'\n> make: *** [install] Error 2\n>\n> Any help?\n\nPerhaps \"unset CDPATH\".\n\nAlso look for \"export CDPATH\" in your .bash_profile and remove it (and\neither remove CDPATH=... from your .bashrc or make it conditional only to\ninteractive sessions).  Setting CDPATH for non-interactive sessions does\nnot make any sense and asking for troubles.\n"},{"id":"132867","messageId":"81b0412b1001280048y6f91ad25t5c636f959630825@mail.gmail.com","threadId":"22417","inReplyTo":"7v8wbjndn6.fsf@alter.siamese.dyndns.org","subject":"Re: make install error","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2010-01-28T08:48:36Z","receivedAt":"2010-01-28T08:48:36Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"On Thu, Jan 28, 2010 at 03:53, Junio C Hamano <gitster@pobox.com> wrote:\n> kap4lin <kap4lin@gmail.com> writes:\n>\n>> (cd blt && gtar cf - .) | \\\n>>         (cd '/scratch/kap4lin/usr/share/git-core/templates' && umask\n>> 022 && gtar xof -)\n>> gtar: This does not look like a tar archive\n>\n> Perhaps \"unset CDPATH\".\n>\n\nBTW, will \"cd ./blt &>/dev/null\" also help and prevent this problem from\nhappening ever again?\n"},{"id":"132869","messageId":"7vockemwu3.fsf@alter.siamese.dyndns.org","threadId":"22417","inReplyTo":"81b0412b1001280048y6f91ad25t5c636f959630825@mail.gmail.com","subject":"Re: make install error","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2010-01-28T08:56:36Z","receivedAt":"2010-01-28T08:56:36Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Alex Riesen <raa.lkml@gmail.com> writes:\n\n> On Thu, Jan 28, 2010 at 03:53, Junio C Hamano <gitster@pobox.com> wrote:\n>> kap4lin <kap4lin@gmail.com> writes:\n>>\n>>> (cd blt && gtar cf - .) | \\\n>>>         (cd '/scratch/kap4lin/usr/share/git-core/templates' && umask\n>>> 022 && gtar xof -)\n>>> gtar: This does not look like a tar archive\n>>\n>> Perhaps \"unset CDPATH\".\n>>\n>\n> BTW, will \"cd ./blt &>/dev/null\" also help and prevent this problem from\n> happening ever again?\n\nExcept that (1) it would be \">/dev/null\", and (2) why contaminate Makefile\ncommand lines with such unreadability to work around stupid misdesign of\nCDPATH?\n\nI _could_ live with something like this that won't affect the main part of\nthe Makefile, though.\n\n Makefile |    4 ++++\n 1 files changed, 4 insertions(+), 0 deletions(-)\n\ndiff --git a/Makefile b/Makefile\nindex af08c8f..20b0b34 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -1,6 +1,10 @@\n # The default target of this Makefile is...\n all::\n \n+# Work around CDPATH exported to the environment that would\n+# break \"(cd there && tar cf - ) | tar xf -\" and the like.\n+CDPATH :=\n+\n # Define V=1 to have a more verbose compile.\n #\n # Define SHELL_PATH to a POSIX shell if your /bin/sh is broken.\n"},{"id":"132882","messageId":"81b0412b1001280227q6ab45a52i8df56ef4cfb4219c@mail.gmail.com","threadId":"22417","inReplyTo":"7vockemwu3.fsf@alter.siamese.dyndns.org","subject":"Re: make install error","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2010-01-28T10:27:29Z","receivedAt":"2010-01-28T10:27:29Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"On Thu, Jan 28, 2010 at 09:56, Junio C Hamano <gitster@pobox.com> wrote:\n> Alex Riesen <raa.lkml@gmail.com> writes:\n>>\n>> BTW, will \"cd ./blt &>/dev/null\" also help and prevent this problem from\n>> happening ever again?\n>\n> Except that (1) it would be \">/dev/null\", and (2) why contaminate Makefile\n> command lines with such unreadability to work around stupid misdesign of\n> CDPATH?\n\nEh... Right :)\n"},{"id":"132895","messageId":"daef5be81001280825y7d2fefd7x9c41c4f202294fd5@mail.gmail.com","threadId":"22417","inReplyTo":"7v8wbjndn6.fsf@alter.siamese.dyndns.org","subject":"Re: make install error","fromName":"kap4lin","fromEmail":"kap4lin@gmail.com","sentAt":"2010-01-28T16:25:18Z","receivedAt":"2010-01-28T16:25:18Z","isPatch":false,"sender":{"key":"kap4lin@gmail.com","avatar":null},"body":"Hi,\n\n(Kindly Cc me, thanks.)\n\nOn Wed, Jan 27, 2010 at 9:53 PM, Junio C Hamano <gitster@pobox.com> wrote:\n> kap4lin <kap4lin@gmail.com> writes:\n>\n>> (cd blt && gtar cf - .) | \\\n>>         (cd '/scratch/kap4lin/usr/share/git-core/templates' && umask\n>> 022 && gtar xof -)\n>> gtar: This does not look like a tar archive\n>> gtar: Skipping to next header\n>> gtar: Archive contains obsolescent base-64 headers\n>> gtar: Error exit delayed from previous errors\n>> make[1]: *** [install] Error 2\n>> make[1]: Leaving directory `/scratch/kap4lin/softwares/git-1.6.6.1/templates'\n>> make: *** [install] Error 2\n>>\n>> Any help?\n>\n> Perhaps \"unset CDPATH\".\n\nThanks. This solved the issue. I'll make a note of this in future.\n\n-- \nRegards\nKap4Lin\n--------------------------------------\nhttp://counter.li.org  #402424\n"}]}