Created
October 27, 2017 18:19
-
-
Save keybounce/45621acfa8af7c96ef2668d73db7b329 to your computer and use it in GitHub Desktop.
Git compilation failure, mac os 10.9.5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keybounceMBP:git michael$ patch -p0 < /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/port | |
s/devel/git/files/patch-Makefile.diff | |
can't find file to patch at input line 3 | |
Perhaps you used the wrong -p or --strip option? | |
The text leading up to this was: | |
-------------------------- | |
|--- a/Makefile.orig 2017-08-04 16:34:57.000000000 +0000 | |
|+++ b/Makefile 2017-08-05 06:21:04.000000000 +0000 | |
-------------------------- | |
File to patch: Makefile | |
patching file Makefile | |
Hunk #1 succeeded at 1065 (offset 15 lines). | |
Hunk #2 succeeded at 1133 (offset 15 lines). | |
keybounceMBP:git michael$ make configure | |
GIT_VERSION = 2.15.0.rc2.49.gaece91606.dirty | |
GEN configure | |
keybounceMBP:git michael$ ./configure --prefix=/opt/local | |
configure: Setting lib to 'lib' (the default) | |
configure: Will try -pthread then -lpthread to enable POSIX Threads. | |
configure: CHECKS for site configuration | |
checking for gcc... gcc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether gcc accepts -g... yes | |
checking for gcc option to accept ISO C89... none needed | |
checking how to run the C preprocessor... gcc -E | |
checking for grep that handles long lines and -e... /usr/bin/grep | |
checking for egrep... /usr/bin/grep -E | |
checking for ANSI C header files... yes | |
checking for sys/types.h... yes | |
checking for sys/stat.h... yes | |
checking for stdlib.h... yes | |
checking for string.h... yes | |
checking for memory.h... yes | |
checking for strings.h... yes | |
checking for inttypes.h... yes | |
checking for stdint.h... yes | |
checking for unistd.h... yes | |
checking for size_t... yes | |
checking for working alloca.h... yes | |
checking for alloca... yes | |
configure: CHECKS for programs | |
checking whether we are using the GNU C compiler... (cached) yes | |
checking whether gcc accepts -g... (cached) yes | |
checking for gcc option to accept ISO C89... (cached) none needed | |
checking for inline... inline | |
checking if linker supports -R... no | |
checking if linker supports -Wl,-rpath,... yes | |
checking for gar... no | |
checking for ar... ar | |
checking for gtar... no | |
checking for tar... tar | |
checking for gnudiff... no | |
checking for gdiff... no | |
checking for diff... diff | |
checking for asciidoc... no | |
Using 'grep -a' for sane_grep | |
configure: CHECKS for libraries | |
checking for SHA1_Init in -lcrypto... yes | |
checking for curl_global_init in -lcurl... yes | |
checking for curl-config... curl-config | |
checking if Curl supports SSL... yes | |
checking for XML_ParserCreate in -lexpat... yes | |
checking for iconv in -lc... no | |
checking for iconv in -liconv... yes | |
checking for deflateBound in -lz... yes | |
checking for socket in -lc... yes | |
checking for inet_ntop... yes | |
checking for inet_pton... yes | |
checking for hstrerror... yes | |
checking for basename in -lc... yes | |
checking for gettext in -lc... no | |
checking libintl.h usability... no | |
checking libintl.h presence... no | |
checking for libintl.h... no | |
configure: CHECKS for header files | |
checking sys/select.h usability... yes | |
checking sys/select.h presence... yes | |
checking for sys/select.h... yes | |
checking sys/poll.h usability... yes | |
checking sys/poll.h presence... yes | |
checking for sys/poll.h... yes | |
checking for inttypes.h... (cached) yes | |
checking for old iconv()... no | |
configure: CHECKS for typedefs, structures, and compiler characteristics | |
checking for socklen_t... yes | |
checking for struct itimerval... yes | |
checking for struct stat.st_mtimespec.tv_nsec... yes | |
checking for struct stat.st_mtim.tv_nsec... no | |
checking for struct dirent.d_type... yes | |
checking for struct passwd.pw_gecos... yes | |
checking for struct sockaddr_storage... yes | |
checking for struct addrinfo... yes | |
checking for getaddrinfo... yes | |
checking for library containing getaddrinfo... none required | |
checking whether the platform regex supports REG_STARTEND... yes | |
checking whether system succeeds to read fopen'ed directory... yes | |
checking whether snprintf() and/or vsnprintf() return bogus value... no | |
checking whether the platform uses typical file type bits... yes | |
configure: CHECKS for library functions | |
checking libgen.h usability... yes | |
checking libgen.h presence... yes | |
checking for libgen.h... yes | |
checking paths.h usability... yes | |
checking paths.h presence... yes | |
checking for paths.h... yes | |
checking libcharset.h usability... yes | |
checking libcharset.h presence... yes | |
checking for libcharset.h... yes | |
checking for strings.h... (cached) yes | |
checking for locale_charset in -liconv... yes | |
checking for clock_gettime... no | |
checking for CLOCK_MONOTONIC... no | |
checking for setitimer... yes | |
checking for library containing setitimer... none required | |
checking for strcasestr... yes | |
checking for library containing strcasestr... none required | |
checking for memmem... yes | |
checking for library containing memmem... none required | |
checking for strlcpy... yes | |
checking for library containing strlcpy... none required | |
checking for uintmax_t... yes | |
checking for strtoumax... yes | |
checking for library containing strtoumax... none required | |
checking for setenv... yes | |
checking for library containing setenv... none required | |
checking for unsetenv... yes | |
checking for library containing unsetenv... none required | |
checking for mkdtemp... yes | |
checking for library containing mkdtemp... none required | |
checking for initgroups... yes | |
checking for library containing initgroups... none required | |
checking for getdelim... yes | |
checking for library containing getdelim... none required | |
checking for BSD sysctl... yes | |
checking for POSIX Threads with ''... yes | |
configure: creating ./config.status | |
config.status: creating config.mak.autogen | |
config.status: executing config.mak.autogen commands | |
keybounceMBP:git michael$ make profile | |
rm -f /Volumes/UserData/Users/michael/Documents/Programming/git/./*.gcda /Volumes/UserData/Users/michael/Documents/Programming/git/block-sha1/*.gcda /Volumes/UserData/Users/michael/Documents/Programming/git/builtin/*.gcda /Volumes/UserData/Users/michael/Documents/Programming/git/compat/*.gcda /Volumes/UserData/Users/michael/Documents/Programming/git/compat/regex/*.gcda /Volumes/UserData/Users/michael/Documents/Programming/git/ewah/*.gcda /Volumes/UserData/Users/michael/Documents/Programming/git/refs/*.gcda /Volumes/UserData/Users/michael/Documents/Programming/git/t/helper/*.gcda /Volumes/UserData/Users/michael/Documents/Programming/git/vcs-svn/*.gcda /Volumes/UserData/Users/michael/Documents/Programming/git/xdiff/*.gcda | |
rm -f /Volumes/UserData/Users/michael/Documents/Programming/git/./*.gcno /Volumes/UserData/Users/michael/Documents/Programming/git/block-sha1/*.gcno /Volumes/UserData/Users/michael/Documents/Programming/git/builtin/*.gcno /Volumes/UserData/Users/michael/Documents/Programming/git/compat/*.gcno /Volumes/UserData/Users/michael/Documents/Programming/git/compat/regex/*.gcno /Volumes/UserData/Users/michael/Documents/Programming/git/ewah/*.gcno /Volumes/UserData/Users/michael/Documents/Programming/git/refs/*.gcno /Volumes/UserData/Users/michael/Documents/Programming/git/t/helper/*.gcno /Volumes/UserData/Users/michael/Documents/Programming/git/vcs-svn/*.gcno /Volumes/UserData/Users/michael/Documents/Programming/git/xdiff/*.gcno | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make PROFILE=GEN all | |
CC credential-store.o | |
clang: error: unknown argument: '-fprofile-generate=/Volumes/UserData/Users/michael/Documents/Programming/git' | |
make[1]: *** [credential-store.o] Error 1 | |
make: *** [profile] Error 2 | |
keybounceMBP:git michael$ pwd | |
/Users/michael/Documents/Programming/git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment