Re: [MacPorts] #61628: git @2.29 +credential_osxkeychain+diff_highlight+pcre+perl5_28: cannot build when libarchive is active ("implicit declaration of function…") (was: git @ 2.29 +credential_osxkeychain+diff_highlight+pcre+perl5_28: cannot build when libarchive is active ("implicit declaration of function…"))

MacPorts noreply at macports.org
Thu Apr 14 00:00:50 UTC 2022


#61628: git @2.29 +credential_osxkeychain+diff_highlight+pcre+perl5_28: cannot
build when libarchive is active ("implicit declaration of function…")
-----------------------+--------------------
  Reporter:  jamadden  |      Owner:  ci42
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.6.4
Resolution:  fixed     |   Keywords:
      Port:  git       |
-----------------------+--------------------
Changes (by ryandesign):

 * status:  assigned => closed
 * priority:  Low => Normal
 * resolution:   => fixed


Comment:

 This was fixed somewhere along the way. git @2.35.2 has `-I.` preceding
 `-I/opt/local/include` like it should and the build succeeds even if
 libarchive is installed.

 {{{
 /usr/bin/clang -o builtin/archive.o -c -MF builtin/.depend/archive.o.d -MQ
 builtin/archive.o -MMD -MP    -Os -std=gnu99 -arch x86_64 -I.
 -DPRECOMPOSE_UNICODE -DPROTECT_HFS_DEFAULT=1 -DGIT_HOST_CPU="\"x86_64\""
 -DUSE_LIBPCRE2 -I/opt/local/include -I/opt/local/include
 -DUSE_CURL_FOR_IMAP_SEND -DNO_OPENSSL -I/opt/local/include
 -DUSE_ST_TIMESPEC -DSUPPORTS_SIMPLE_IPC -DSHA1_APPLE -DSHA256_BLK
 -DSHA1_MAX_BLOCK_SIZE="1024L*1024L*1024L"  -DHAVE_DEV_TTY
 -DHAVE_BSD_SYSCTL -DHAVE_GETDELIM -DHAVE_NS_GET_EXECUTABLE_PATH
 -DAPPLE_COMMON_CRYPTO -DFREAD_READS_DIRECTORIES
 -DCOMMON_DIGEST_FOR_OPENSSL -DNO_MEMMEM -Icompat/regex
 -DSHELL_PATH='"/bin/sh"'  builtin/archive.c
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61628#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list