Hi. I am trying to build heimdal 7.7.0 in Poudriere, but I get an error: libtool: link: cc -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wl,-rpath -Wl,/usr/local/lib/heimdal:/usr/lib -Wl,-rpath -Wl,/usr/local/lib -fstack-protector-strong -o .libs/verify_krb5_conf verify_krb5_conf.o -L/usr/local/lib ./.libs/libkrb5.so /wrkdirs/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/sqlite/.libs/libheimsqlite.so ../../lib/hcrypto/.libs/libhcrypto.so ../../lib/asn1/.libs/libasn1.so ../../lib/wind/.libs/libwind.so ../../lib/base/.libs/libheimbase.so ../../lib/vers/.libs/libvers.a ../../lib/roken/.libs/libroken.so ../../lib/hx509/.libs/libhx509.so /wrkdirs/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/hcrypto/.libs/libhcrypto.so /wrkdirs/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/asn1/.libs/libasn1.so /wrkdirs/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/wind/.libs/libwind.so /wrkdirs/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/com_err/.libs/libcom_err.so /wrkdirs/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/base/.libs/libheimbase.so /wrkdirs/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/roken/.libs/libroken.so -lcrypto -lintl -lcrypt -lpthread -Wl,-rpath -Wl,/usr/local/lib/heimdal ./.libs/libkrb5.so: undefined reference to `_krb5_pk_kx_confirm' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/krb5 *** Error code 1 What I am doing wrong?
It happens when all options are disabled.
A commit references this bug: Author: hrs Date: Fri Mar 13 17:12:31 UTC 2020 New revision: 528365 URL: https://svnweb.freebsd.org/changeset/ports/528365 Log: Fix build breakage when PKINIT and/or KX509 disabled. PR: 244751 Changes: head/security/heimdal/files/patch-configure head/security/heimdal/files/patch-configure.ac head/security/heimdal/files/patch-kdc-Makefile.am head/security/heimdal/files/patch-kdc-Makefile.in head/security/heimdal/files/patch-lib-krb5-init_creds_pw.c head/security/heimdal/files/patch-lib-krb5-krb5_locl.h
Should be fixed in r528365. Could you double-check it on your environment?
Everything works fine. Thank you!