{"thread":{"id":"37435","subject":"make install fails because GNU tar needed","startedAt":"2014-08-28T14:16:48Z","lastAt":"2014-08-30T15:26:42Z","messageCount":5,"participants":["dev","Jeff King","Matthieu Moy"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"248482","messageId":"267282067.24350.1409235408562.JavaMail.vpopmail@webmail2.networksolutionsemail.com","threadId":"37435","inReplyTo":null,"subject":"make install fails because GNU tar needed","fromName":"dev","fromEmail":"dev@cor0.com","sentAt":"2014-08-28T14:16:48Z","receivedAt":"2014-08-28T14:16:48Z","isPatch":false,"sender":{"key":"dev@cor0.com","avatar":null},"body":"\n\nWell I am making progress in that I have what looks like a\nsuccessful build.\n\nwhat fails next on the non-linux world is the next requirement for\nGNU tar for some reason :\n\n# gmake CFLAGS=\"$CFLAGS\" LDFLAGS=\"$LD_OPTIONS\" NEEDS_LIBICONV=Yes \\\n> SHELL_PATH=/usr/local/bin/bash \\\n> SANE_TOOL_PATH=/usr/local/bin \\\n> USE_LIBPCRE=1 LIBPCREDIR=/usr/local CURLDIR=/usr/local \\\n> EXPATDIR=/usr/local NEEDS_LIBINTL_BEFORE_LIBICONV=1 \\\n> NEEDS_SOCKET=1 NEEDS_RESOLV=1 USE_NSEC=1 \\\n> PERL_PATH=/usr/local/bin/perl \\\n> NO_PYTHON=1 DEFAULT_PAGER=/usr/xpg4/bin/more \\\n> DEFAULT_EDITOR=/usr/local/bin/vim DEFAULT_HELP_FORMAT=man \\\n> prefix=/usr/local install >\n> ../git-2.0.4_SunOS5.10_sparcv9.006.install.log\n    * new build flags\n\"read-cache.c\", line 780: warning: statement not reached\n\"xdiff/xutils.c\", line 180: warning: statement not reached\nWriting perl.mak for Git\nWriting MYMETA.yml and MYMETA.json\n/bin/sh: gtar: /bin/shnot found\n: gtar: not found\ngmake[1]: *** [install] Error 1\ngmake: *** [install] Error 2\n\n\nWell that is maddening.\n\nIs there some magic somewhere to use ordinary POSIX tar ?\n\nAlso, what is shnot ?\n\ndev\n"},{"id":"248489","messageId":"20140828145056.GA26855@peff.net","threadId":"37435","inReplyTo":"267282067.24350.1409235408562.JavaMail.vpopmail@webmail2.networksolutionsemail.com","subject":"Re: make install fails because GNU tar needed","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2014-08-28T14:50:56Z","receivedAt":"2014-08-28T14:50:56Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Thu, Aug 28, 2014 at 10:16:48AM -0400, dev wrote:\n\n> # gmake CFLAGS=\"$CFLAGS\" LDFLAGS=\"$LD_OPTIONS\" NEEDS_LIBICONV=Yes \\\n> > SHELL_PATH=/usr/local/bin/bash \\\n> > SANE_TOOL_PATH=/usr/local/bin \\\n> > USE_LIBPCRE=1 LIBPCREDIR=/usr/local CURLDIR=/usr/local \\\n> > EXPATDIR=/usr/local NEEDS_LIBINTL_BEFORE_LIBICONV=1 \\\n> > NEEDS_SOCKET=1 NEEDS_RESOLV=1 USE_NSEC=1 \\\n\nAs an aside, you may be able to drop some of these defines. For example,\nwe set NEEDS_SOCKET automatically on Solaris. See the \"SunOS\" section of\nconfig.mak.uname for the complete set of defaults.\n\n> Is there some magic somewhere to use ordinary POSIX tar ?\n\ngmake TAR=tar ?\n\nThe default of gtar for Solaris dates back to 2005. There may have been\na reason then that is no longer valid now, or there may be something\nbesides \"make install\" which uses a more advanced feature.\n\n> /bin/sh: gtar: /bin/shnot found\n> : gtar: not found\n> gmake[1]: *** [install] Error 1\n> gmake: *** [install] Error 2\n>\n> [...]\n>\n> Also, what is shnot ?\n\nTwo messages stepping on each other's toes?\n\n-Peff\n"},{"id":"248493","messageId":"502287515.26012.1409238536022.JavaMail.vpopmail@webmail2.networksolutionsemail.com","threadId":"37435","inReplyTo":"20140828145056.GA26855@peff.net","subject":"Re: make install fails because GNU tar needed","fromName":"dev","fromEmail":"dev@cor0.com","sentAt":"2014-08-28T15:08:56Z","receivedAt":"2014-08-28T15:08:56Z","isPatch":false,"sender":{"key":"dev@cor0.com","avatar":null},"body":"\n\nOn August 28, 2014 at 10:50 AM Jeff King <peff@peff.net> wrote:\n> On Thu, Aug 28, 2014 at 10:16:48AM -0400, dev wrote:\n>\n> > # gmake CFLAGS=\"$CFLAGS\" LDFLAGS=\"$LD_OPTIONS\" NEEDS_LIBICONV=Yes \\\n> > > SHELL_PATH=/usr/local/bin/bash \\\n> > > SANE_TOOL_PATH=/usr/local/bin \\\n> > > USE_LIBPCRE=1 LIBPCREDIR=/usr/local CURLDIR=/usr/local \\\n> > > EXPATDIR=/usr/local NEEDS_LIBINTL_BEFORE_LIBICONV=1 \\\n> > > NEEDS_SOCKET=1 NEEDS_RESOLV=1 USE_NSEC=1 \\\n>\n> As an aside, you may be able to drop some of these defines. For\n> example,\n> we set NEEDS_SOCKET automatically on Solaris. See the \"SunOS\" section\n> of\n> config.mak.uname for the complete set of defaults.\n\nI figured as much but for the moment I am flailing along towards a nice\nworking build first and then pray to the gods of complication for some\nkindness and simplification.  :-)\n\nThus far the build process seems to work fine. I have no idea if I\ncan use SSH protocol as I would need to set up a dummy to test it.\nEverything else seems to work. I think. :-\\\n\n> > Is there some magic somewhere to use ordinary POSIX tar ?\n>\n> gmake TAR=tar ?\n\nha .. yeah I guess.\n\nActually I found a file called GIT-BUILD-OPTIONS :\n\n# cat GIT-BUILD-OPTIONS\nSHELL_PATH='/usr/local/bin/bash'\nPERL_PATH='/usr/local/bin/perl'\nDIFF='diff'\nPYTHON_PATH='/usr/bin/python'\nTAR='tar'\nNO_CURL=''\nUSE_LIBPCRE='1'\nNO_PERL=''\nNO_PYTHON='1'\nNO_UNIX_SOCKETS=''\nNO_GETTEXT=''\nGETTEXT_POISON=''\n\n\nFunny looking options for NO_foo where I would think that a null\nstring indicates that in fact I have foo?  Because I do have curl\nand perl and most likely UNIX_SOCKETS.  Regardless, I simply edited\nthat file and three others to stop the search for gtar.\n\n> The default of gtar for Solaris dates back to 2005. There may have\n> been\n> a reason then that is no longer valid now, or there may be something\n> besides \"make install\" which uses a more advanced feature.\n\nYes, I seem to recall that long long ago there were problems with old\ntar on Solaris 2.5.1 back in the 90's and then it carried forwards up\nto Solaris 7 or 8.  The ultimate POSIX tar as well as tar that can\narchive\nor extract anything from anything is Joerg Schilling's star.\n\n   http://sourceforge.net/projects/s-tar/\n\nI use that nearly everywhere that I must ensure all metadata and data\ngets taken care of correctly and cross platform.  However, hell will\nfreeze over before we ever see it included in a distro or UNIX anywhere\nso for now tar will suffice.\n\n> > /bin/sh: gtar: /bin/shnot found\n> > : gtar: not found\n> > gmake[1]: *** [install] Error 1\n> > gmake: *** [install] Error 2\n> >\n> > [...]\n> >\n> > Also, what is shnot ?\n>\n> Two messages stepping on each other's toes?\n\nYeah .. I saw that after I sent the email.\n\ndev\n"},{"id":"248495","messageId":"vpqwq9sy6s8.fsf@anie.imag.fr","threadId":"37435","inReplyTo":"502287515.26012.1409238536022.JavaMail.vpopmail@webmail2.networksolutionsemail.com","subject":"Re: make install fails because GNU tar needed","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2014-08-28T15:26:31Z","receivedAt":"2014-08-28T15:26:31Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"dev <dev@cor0.com> writes:\n\n> Actually I found a file called GIT-BUILD-OPTIONS :\n\nThat's a generated file (not included by the Makefile, but by some shell\nscripts later), don't edit it. Use config.mak for your build\nconfiguration.\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"},{"id":"248651","messageId":"1977769443.25625.1409412402646.JavaMail.vpopmail@webmail2.networksolutionsemail.com","threadId":"37435","inReplyTo":"vpqwq9sy6s8.fsf@anie.imag.fr","subject":"Re: make install fails because GNU tar needed","fromName":"dev","fromEmail":"dev@cor0.com","sentAt":"2014-08-30T15:26:42Z","receivedAt":"2014-08-30T15:26:42Z","isPatch":false,"sender":{"key":"dev@cor0.com","avatar":null},"body":"\n\nOn August 28, 2014 at 11:26 AM Matthieu Moy\n<Matthieu.Moy@grenoble-inp.fr> wrote:\n> dev <dev@cor0.com> writes:\n>\n> > Actually I found a file called GIT-BUILD-OPTIONS :\n>\n> That's a generated file (not included by the Makefile, but by some\n> shell\n> scripts later), don't edit it. Use config.mak for your build\n> configuration.\n\ngood to know .. thanks.\n"}]}