[MacPorts] #62539: git-2.31.0_1+credential_osxkeychain+diff_highlight+doc+pcre+perl5_30 fails to build credential_osxkeychain

MacPorts noreply at macports.org
Wed Mar 24 06:29:59 UTC 2021


#62539: git-2.31.0_1+credential_osxkeychain+diff_highlight+doc+pcre+perl5_30 fails
to build credential_osxkeychain
--------------------+--------------------
 Reporter:  rswail  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:  bigsur  |       Port:  git
--------------------+--------------------
 On Big Sur 11.3 beta 4 (20E5210c), Xcode + CLI 12.4 (12D4e)

 port compiles if -credential_osxkeychain variant is used.

 git fails to build with error when compiling credential_osxkeychain:

 {{{
   :debug:build Executing proc-post-org.macports.build-build-0
   :debug:build system -W
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarball
 s_ports_devel_git/git/work/git-2.31.0/contrib/credential/osxkeychain: make
 CFLAGS="-I. -Wall -O2 -I/opt/local/include -arch x86_  64"
 LDFLAGS="-L/opt/local/lib -arch x86_64" CC=/usr/bin/clang
 prefix=/opt/local CURLDIR=/opt/local OPENSSLDIR=/opt/local ICONVDI
 R=/opt/local PERL_PATH="/opt/local/bin/perl5.30" NO_FINK=1
 NO_DARWIN_PORTS=1 NO_R_TO_GCC_LINKER=1 NO_PERL_CPAN_FALLBACK=1 V=1 LI
 BPCREDIR=/opt/local USE_LIBPCRE2=1
   :info:build /usr/bin/clang -c -I. -Wall -O2 -I/opt/local/include -arch
 x86_64 git-credential-osxkeychain.c
   :info:build git-credential-osxkeychain.c:4:10: fatal error:
 'Security/Security.h' file not found
   :info:build #include <Security/Security.h>
   :info:build          ^~~~~~~~~~~~~~~~~~~~~
   :info:build 1 error generated.
   :info:build make: *** [git-credential-osxkeychain.o] Error 1
   :info:build Command failed: make CFLAGS="-I. -Wall -O2
 -I/opt/local/include -arch x86_64" LDFLAGS="-L/opt/local/lib -arch x86_64
 " CC=/usr/bin/clang prefix=/opt/local CURLDIR=/opt/local
 OPENSSLDIR=/opt/local ICONVDIR=/opt/local PERL_PATH="/opt/local/bin/per
 l5.30" NO_FINK=1 NO_DARWIN_PORTS=1 NO_R_TO_GCC_LINKER=1
 NO_PERL_CPAN_FALLBACK=1 V=1 LIBPCREDIR=/opt/local USE_LIBPCRE2=1
   :info:build Exit code: 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62539>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list