{"thread":{"id":"49765","subject":"build error on mac os 10.14.1","startedAt":"2018-11-06T09:07:57Z","lastAt":"2018-11-07T12:18:46Z","messageCount":2,"participants":["yan ke"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"362566","messageId":"CAJosSJ4eKJfa4s+3LcP3Q5qatcg3aFjh9H=Q9bETnkROu06+KQ@mail.gmail.com","threadId":"49765","inReplyTo":null,"subject":"build error on mac os 10.14.1","fromName":"yan ke","fromEmail":"yanke131415@gmail.com","sentAt":"2018-11-06T09:07:42Z","receivedAt":"2018-11-06T09:07:57Z","isPatch":false,"sender":{"key":"yanke131415@gmail.com","avatar":null},"body":"Hello\n\n    when build on mac os 10.14.1 with the master branch, I got the\nerror as blew, so what is wrong?\n\nld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\nld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\nld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\nld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\nld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\nld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\nclangclang: error: linker command failed with exit code 1 (use -v to\nsee invocation)\n: error: linker command failed with exit code 1 (use -v to see invocation)\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\nclangmake: *** [Makefile:2369: git-shell] Error 1\nmake: *** Waiting for unfinished jobs....\nmake: *** [Makefile:2369: git-sh-i18n--envsubst] Error 1\n: error: linker command failed with exit code 1 (use -v to see invocation)\nclang: make: *** [Makefile:2369: git-credential-cache--daemon] Error 1\nerror: linker command failed with exit code 1 (use -v to see invocation)\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\nmake: *** [Makefile:2369: git-credential-cache] Error 1\nmake: *** [Makefile:2369: git-credential-store] Error 1\nmake: *** [Makefile:2383: git-remote-testsvn] Error 1\nld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\nmake: *** [Makefile:2393: git-remote-http] Error 1\nld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\nld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\nld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\nld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\nld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\nmake: *** [Makefile:2369: git-http-backend] Error 1\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\nmake: *** [Makefile:2372: git-imap-send] Error 1\nmake: *** [Makefile:2379: git-http-push] Error 1\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\nmake: *** [Makefile:2376: git-http-fetch] Error 1\nmake: *** [Makefile:2369: git-daemon] Error 1\nld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\nmake: *** [Makefile:2369: git-fast-import] Error 1\nld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\nmake: *** [Makefile:2046: git] Error 1\n"},{"id":"362647","messageId":"CAJosSJ75G8-ThqCG4ky5LXAQ0a41iRQweYwdx0st+bM4Zf78GQ@mail.gmail.com","threadId":"49765","inReplyTo":"CAJosSJ4eKJfa4s+3LcP3Q5qatcg3aFjh9H=Q9bETnkROu06+KQ@mail.gmail.com","subject":"Re: build error on mac os 10.14.1","fromName":"yan ke","fromEmail":"yanke131415@gmail.com","sentAt":"2018-11-07T12:18:32Z","receivedAt":"2018-11-07T12:18:46Z","isPatch":false,"sender":{"key":"yanke131415@gmail.com","avatar":null},"body":"Solved, It is because the macOS SDK headers loss in 10.14.1.  Need\ninstall command line tool 10.1 and install the header package in\n/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg\n\nSo  I think the git make configure need check the SDK header to get\nthe correct reason of build fail\nyan ke <yanke131415@gmail.com> 于2018年11月6日周二 下午5:07写道：\n>\n> Hello\n>\n>     when build on mac os 10.14.1 with the master branch, I got the\n> error as blew, so what is wrong?\n>\n> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\n> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\n> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\n> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\n> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\n> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\n> clangclang: error: linker command failed with exit code 1 (use -v to\n> see invocation)\n> : error: linker command failed with exit code 1 (use -v to see invocation)\n> clang: error: linker command failed with exit code 1 (use -v to see invocation)\n> clangmake: *** [Makefile:2369: git-shell] Error 1\n> make: *** Waiting for unfinished jobs....\n> make: *** [Makefile:2369: git-sh-i18n--envsubst] Error 1\n> : error: linker command failed with exit code 1 (use -v to see invocation)\n> clang: make: *** [Makefile:2369: git-credential-cache--daemon] Error 1\n> error: linker command failed with exit code 1 (use -v to see invocation)\n> clang: error: linker command failed with exit code 1 (use -v to see invocation)\n> make: *** [Makefile:2369: git-credential-cache] Error 1\n> make: *** [Makefile:2369: git-credential-store] Error 1\n> make: *** [Makefile:2383: git-remote-testsvn] Error 1\n> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\n> clang: error: linker command failed with exit code 1 (use -v to see invocation)\n> make: *** [Makefile:2393: git-remote-http] Error 1\n> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\n> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\n> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\n> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\n> clang: error: linker command failed with exit code 1 (use -v to see invocation)\n> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\n> clang: error: linker command failed with exit code 1 (use -v to see invocation)\n> make: *** [Makefile:2369: git-http-backend] Error 1\n> clang: error: linker command failed with exit code 1 (use -v to see invocation)\n> make: *** [Makefile:2372: git-imap-send] Error 1\n> make: *** [Makefile:2379: git-http-push] Error 1\n> clang: error: linker command failed with exit code 1 (use -v to see invocation)\n> clang: error: linker command failed with exit code 1 (use -v to see invocation)\n> make: *** [Makefile:2376: git-http-fetch] Error 1\n> make: *** [Makefile:2369: git-daemon] Error 1\n> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\n> clang: error: linker command failed with exit code 1 (use -v to see invocation)\n> make: *** [Makefile:2369: git-fast-import] Error 1\n> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64\n> clang: error: linker command failed with exit code 1 (use -v to see invocation)\n> make: *** [Makefile:2046: git] Error 1\n"}]}