gnupg2 @2.4.3 build fails with -openldap
Building the just released 2.4.3 fails if I set the variant in ${prefix}/etc/macports/variants.conf
with -openldap
:
/usr/bin/clang -std=gnu99 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/p11-kit-1 -Wall -Wno-pointer-sign -Wpointer-arith -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64 -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64 -o dirmngr dirmngr.o server.o crlcache.o crlfetch.o fakecrl.o certcache.o domaininfo.o workqueue.o loadswdb.o cdblib.o misc.o ocsp.o validate.o dns-stuff.o http.o http-common.o http-ntbtls.o ks-action.o ks-engine-hkp.o ks-engine-http.o ks-engine-finger.o ks-engine-kdns.o dns.o ../common/libcommonpth.a -lresolv -L/opt/local/lib -lassuan -L/opt/local/lib -lksba -lgpg-error -L/opt/local/lib -lnpth -L/opt/local/lib -lgnutls -L/opt/local/lib -lgcrypt -lgpg-error -L/opt/local/lib -lgpg-error -lintl -Wl,-framework -Wl,CoreFoundation -liconv
mv -f .deps/t_http_basic-dns.Tpo .deps/t_http_basic-dns.Po
/usr/bin/clang -DWITHOUT_NPTH=1 -std=gnu99 -I/opt/local/include -I/opt/local/include/p11-kit-1 -I/opt/local/include -I/opt/local/include -I/opt/local/include -Wall -Wno-pointer-sign -Wpointer-arith -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64 -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64 -o t-http-basic t_http_basic-t-support.o t_http_basic-dns.o t_http_basic-t-http-basic.o t_http_basic-http.o t_http_basic-dns-stuff.o t_http_basic-http-common.o ../common/libcommon.a -L/opt/local/lib -lassuan -L/opt/local/lib -lgcrypt -lgpg-error -L/opt/local/lib -lgpg-error -L/opt/local/lib -lgnutls -lresolv -lintl -Wl,-framework -Wl,CoreFoundation -liconv -L/opt/local/lib -lksba -lgpg-error -L/opt/local/lib -lgcrypt -lgpg-error -L/opt/local/lib -lgpg-error -L/opt/local/lib -lgnutls -lresolv
Undefined symbols for architecture arm64:
"_ks_ldap_help_variables", referenced from:
_cmd_ad_query in server.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [dirmngr] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/opt/local/var/macports/build/_Users_blairzajac_Code_MacPorts_macports-ports.git_mail_gnupg2/gnupg2/work/gnupg-2.4.3/dirmngr'
Change History (6)
Cc: |
roederja Ionic added
|
Summary: |
gnupg2@2.4.3 build fails with -openldap →
gnupg2 @2.4.3 build fails with -openldap
|
Owner: |
cjones051073 deleted
|
Cc: |
roederja removed
|
Owner: |
set to roederja
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
please reassign to port maintainer