{"thread":{"id":"37528","subject":"git 2.1.0: make fails","startedAt":"2014-09-09T20:34:02Z","lastAt":"2014-09-10T12:39:41Z","messageCount":3,"participants":["Gerry Reno","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"249094","messageId":"540F643A.60207@verizon.net","threadId":"37528","inReplyTo":null,"subject":"git 2.1.0: make fails","fromName":"Gerry Reno","fromEmail":"greno@verizon.net","sentAt":"2014-09-09T20:34:02Z","receivedAt":"2014-09-09T20:34:02Z","isPatch":false,"sender":{"key":"greno@verizon.net","avatar":null},"body":"Downloaded the git-2.1.0.tar.gz  tarball.\n\nCannot build git 2.1.0:\n\n    $ V=1 make prefix=/usr/local all\n    ...\n    cc -o xdiff/xpatience.o -c -MF xdiff/.depend/xpatience.o.d -MQ xdiff/xpatience.o -MMD -MP  -g -O2 -Wall -I.\n    -DHAVE_ALLOCA_H  -DHAVE_PATHS_H -DHAVE_DEV_TTY -DHAVE_CLOCK_GETTIME -DSHA1_HEADER='<openssl/sha.h>'  -DNO_STRLCPY\n    -DNO_MKSTEMPS -DSHELL_PATH='\"/bin/sh\"'  xdiff/xpatience.c\n    cc -o xdiff/xhistogram.o -c -MF xdiff/.depend/xhistogram.o.d -MQ xdiff/xhistogram.o -MMD -MP  -g -O2 -Wall -I.\n    -DHAVE_ALLOCA_H  -DHAVE_PATHS_H -DHAVE_DEV_TTY -DHAVE_CLOCK_GETTIME -DSHA1_HEADER='<openssl/sha.h>'  -DNO_STRLCPY\n    -DNO_MKSTEMPS -DSHELL_PATH='\"/bin/sh\"'  xdiff/xhistogram.c\n    rm -f xdiff/lib.a && ar rcs xdiff/lib.a xdiff/xdiffi.o xdiff/xprepare.o xdiff/xutils.o xdiff/xemit.o xdiff/xmerge.o\n    xdiff/xpatience.o xdiff/xhistogram.o\n    cc  -g -O2 -Wall -I. -DHAVE_ALLOCA_H  -DHAVE_PATHS_H -DHAVE_DEV_TTY -DHAVE_CLOCK_GETTIME\n    -DSHA1_HEADER='<openssl/sha.h>'  -DNO_STRLCPY -DNO_MKSTEMPS -DSHELL_PATH='\"/bin/sh\"' -o git-credential-store  \n    credential-store.o libgit.a xdiff/lib.a  -lz  -lcrypto -lpthread -lrt\n    collect2: ld returned 1 exit status\n    make: *** [git-credential-store] Error 1\n\n\n    $ ls -l credential.o libgit.a xdiff/lib.a /usr/lib/libz.a /usr/lib/libcrypt.a /usr/lib/libpthread.a /usr/lib/librt.a\n    -rw-rw-r-- 1 greno greno   20332 Sep  9 16:21 credential.o\n    -rw-rw-r-- 1 greno greno 4658874 Sep  9 16:23 libgit.a\n    -rw-r--r-- 1 root  root    24272 Jan  5  2007 /usr/lib/libcrypt.a\n    -rw-r--r-- 1 root  root   228586 Jan  5  2007 /usr/lib/libpthread.a\n    -rw-r--r-- 1 root  root    52128 Jan  5  2007 /usr/lib/librt.a\n    -rwxr-xr-x 1 root  root    92622 Jul 19  2006 /usr/lib/libz.a\n    -rw-rw-r-- 1 greno greno  122456 Sep  9 16:23 xdiff/lib.a\n"},{"id":"249107","messageId":"20140909224201.GE14029@peff.net","threadId":"37528","inReplyTo":"540F643A.60207@verizon.net","subject":"Re: git 2.1.0: make fails","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2014-09-09T22:42:01Z","receivedAt":"2014-09-09T22:42:01Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Tue, Sep 09, 2014 at 04:34:02PM -0400, Gerry Reno wrote:\n\n> Downloaded the git-2.1.0.tar.gz  tarball.\n> \n> Cannot build git 2.1.0:\n\nWeird. It works fine for me on Debian unstable. What platform are you on?\n\n>     cc  -g -O2 -Wall -I. -DHAVE_ALLOCA_H  -DHAVE_PATHS_H -DHAVE_DEV_TTY -DHAVE_CLOCK_GETTIME\n>     -DSHA1_HEADER='<openssl/sha.h>'  -DNO_STRLCPY -DNO_MKSTEMPS -DSHELL_PATH='\"/bin/sh\"' -o git-credential-store  \n>     credential-store.o libgit.a xdiff/lib.a  -lz  -lcrypto -lpthread -lrt\n>     collect2: ld returned 1 exit status\n>     make: *** [git-credential-store] Error 1\n\nSo the linker failed, but it didn't actually tell us why. That's not\nmuch to go on. Are you sure there was no other output on stderr?\n\nI assume the reason it broke on git-credential-store is just because it\nis the first thing we try to link. What does:\n\n  make V=1 prefix=/usr/local git\n\noutput? Does it successfully link \"git\"?\n\n-Peff\n"},{"id":"249122","messageId":"5410468D.7000204@verizon.net","threadId":"37528","inReplyTo":"20140909224201.GE14029@peff.net","subject":"Re: git 2.1.0: make fails","fromName":"Gerry Reno","fromEmail":"greno@verizon.net","sentAt":"2014-09-10T12:39:41Z","receivedAt":"2014-09-10T12:39:41Z","isPatch":false,"sender":{"key":"greno@verizon.net","avatar":null},"body":"On 09/09/2014 06:42 PM, Jeff King wrote:\n> On Tue, Sep 09, 2014 at 04:34:02PM -0400, Gerry Reno wrote:\n>\n>> Downloaded the git-2.1.0.tar.gz  tarball.\n>>\n>> Cannot build git 2.1.0:\n> Weird. It works fine for me on Debian unstable. What platform are you on?\n>\n>>     cc  -g -O2 -Wall -I. -DHAVE_ALLOCA_H  -DHAVE_PATHS_H -DHAVE_DEV_TTY -DHAVE_CLOCK_GETTIME\n>>     -DSHA1_HEADER='<openssl/sha.h>'  -DNO_STRLCPY -DNO_MKSTEMPS -DSHELL_PATH='\"/bin/sh\"' -o git-credential-store  \n>>     credential-store.o libgit.a xdiff/lib.a  -lz  -lcrypto -lpthread -lrt\n>>     collect2: ld returned 1 exit status\n>>     make: *** [git-credential-store] Error 1\n> So the linker failed, but it didn't actually tell us why. That's not\n> much to go on. Are you sure there was no other output on stderr?\n>\n> I assume the reason it broke on git-credential-store is just because it\n> is the first thing we try to link. What does:\n>\n>   make V=1 prefix=/usr/local git\n>\n> output? Does it successfully link \"git\"?\n>\n> -Peff\n>\n\nI downloaded git-2.0.4.tar.gz and it builds and links fine.\n\nI wiped out the 2.1.0 installation so cannot test anything more.\n"}]}