[package - main-armv6-default][ftp/curl] Failed for curl-7.78.0 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 13 Sep 2021 05:23:00 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     sunpoet@FreeBSD.org
Log URL:        http://beefy8.nyi.freebsd.org/data/main-armv6-default/p37fb990074a9_s98168a6e6c/logs/curl-7.78.0.log
Build URL:      http://beefy8.nyi.freebsd.org/build.html?mastername=main-armv6-default&build=p37fb990074a9_s98168a6e6c
Log:

=>> Building ftp/curl
build started at Mon Sep 13 05:22:30 UTC 2021
port directory: /usr/ports/ftp/curl
package name: curl-7.78.0
building for: FreeBSD main-armv6-default-job-05 14.0-CURRENT FreeBSD 14.0-CURRENT 1400032 arm
maintained by: sunpoet@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1300121
Jail OSVERSION: 1400032
Job Id: 05




!!! Jail is newer than host. (Jail: 1400032, Host: 1300121) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400032
UNAME_v=FreeBSD 14.0-CURRENT 1400032
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-armv6-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv6-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv6-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for curl-7.78.0:
     ALTSVC=on: HTTP Alternative Services support
     BROTLI=off: Brotli compression support
     CA_BUNDLE=on: Enable CA bundle for OpenSSL/GnuTLS/mbedTLS
     COOKIES=on: Cookies support
     CURL_DEBUG=off: cURL debug memory tracking
     DEBUG=off: Build with debugging support
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     IDN=off: International Domain Names support
     IPV6=on: IPv6 protocol support
     NTLM=on: NTLM authentication support
     PROXY=on: Proxy support
     PSL=off: Public Suffix List support
     STATIC=on: Build static executables and/or libraries
     TLS_SRP=on: TLS-SRP (Secure Remote Password) support
     ZSTD=off: Zstandard compression support
====> Options available for the group PROTOCOL
     DICT=on: DICT (RFC 2229) support
     FTP=on: FTP protocol support
     GOPHER=on: Gopher protocol support
     HTTP=on: HTTP/HTTPS support
     HTTP2=on: HTTP/2 support (requires HTTP)
     IMAP=on: IMAP/IMAPS support
     LDAP=off: LDAP protocol support
     LDAPS=off: LDAP protocol over SSL support
     LIBSSH2=on: SCP/SFTP support via libssh2 (requires OPENSSL)
     MQTT=off: MQTT support
     POP3=on: POP3/POP3S support
     RTMP=off: RTMP protocol support via librtmp
     RTSP=on: Real Time Streaming Protocol (RTSP) support
     SMB=off: SMB/CIFS support
     SMTP=on: SMTP/SMTPS support
     TELNET=on: Telnet support
     TFTP=on: TFTP support
====> GSSAPI Security API support: you have to select exactly one of them
     GSSAPI_BASE=on: GSSAPI support via base system (needs Kerberos)
     GSSAPI_HEIMDAL=off: GSSAPI support via security/heimdal
     GSSAPI_MIT=off: GSSAPI support via security/krb5
     GSSAPI_NONE=off: Disable GSSAPI support
====> DNS resolving options: you have to select exactly one of them
     CARES=off: Asynchronous DNS resolution via c-ares
     THREADED_RESOLVER=on: Threaded DNS resolver
====> SSL protocol support: you can only select none or one of them
     GNUTLS=off: SSL/TLS support via GnuTLS
     NSS=off: SSL/TLS support via NSS
     OPENSSL=on: SSL/TLS support via OpenSSL
     WOLFSSL=off: SSL/TLS support via wolfSSL
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
sunpoet@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-werror  --with-fish-functions-dir=/usr/local/share/fish/completions  --with-zsh-functions-dir=/usr/local/share/zsh/site-functions --enable-alt-svc --without-brotli --disable-ares --with-ca-bundle=/usr/local/share/certs/ca-root-nss.crt --enable-cookies --disable-curldebug --disable-debug --enable-dict --enable-ftp --without-gnutls --enable-gopher --with-gssapi=/usr CFLAGS="-I"/usr/include" -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  LDFLAGS="   -L/usr/lib -L/usr/lib -fstack-protector-strong "  LIBS="-lkrb5 -lgssapi -lgssapi_krb5 -lkrb5 -lgssapi -lgssapi_krb5 -L/usr/local/lib"  KRB5CONFIG="/usr/bin/krb5-config" --enable-http --with-nghttp2 --without-libidn2 --enable-imap --enable-ipv6 --disable-ldap --disable-ldaps --with-libssh2 --disable-mqtt --without-nss --enable-ntlm --with-ssl=/usr --enable-pop3 --enable-proxy --without-libpsl --without-librtmp --enable-rtsp --disable-smb --enable-smtp --enable-static --enable-telnet --enable-
 tftp --enable-pthreads --enable-threaded-resolver --enable-tls-srp --without-wolfssl --without-zstd --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
LOCALBASE=/usr/local  ac_cv_func_SSLv2_client_method=no ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/ftp/curl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/ftp/curl/work  HOME=/wrkdirs/usr/ports/ftp/curl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/ftp/curl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/ftp/curl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/ftp/curl/work  HOME=/wrkdirs/usr/ports/ftp/curl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/ftp/curl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-I"/usr/include" -I/usr/include -isystem /usr/local/include"  LDFLAGS="  -L/usr/lib -L/usr/lib -fstack-protector-strong " LIBS="-lkrb5 -lgssapi -lgssapi_krb5 -L/usr/local/lib"  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  MANPREFIX="/usr/local" BSD
 _INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" ALTSVC="" NO_ALTSVC="@comment " BROTLI="@comment " NO_BROTLI="" CARES="@comment " NO_CARES="" CA_BUNDLE="" NO_CA_BUNDLE="@comment " COOKIES="" NO_COOKIES="@comment " CURL_DEBUG="@comment " NO_CURL_DEBUG="" DEBUG="@comment " NO_DEBUG="" DICT="" NO_DICT="@comment " DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " FTP="" NO_FTP="@comment " GNUTLS="@comment " NO_GNUTLS="" GOPHER="" NO_GOPHER="@comment " GSSAPI_BASE="" NO_GSSAPI_BASE="@comment " GSSAPI_HEIMDAL="@comment " NO_GSSAPI_HEIMDAL="" GSSAPI_MIT="@comment " NO_GSSAPI_MIT="" GSSAPI_NONE="@comment " NO_GSSAPI_NONE="" HTTP="" NO_HTTP="@comment " HTTP2="" NO_HTTP2="@comment " IDN="@comment " NO_IDN="" IMAP="" NO_IMAP="@comment " IPV6="" NO_IPV6="@comment " LDAP="@comment " NO_LDAP="" LDAPS="@comment " NO_LDAPS="" LIBSSH2="" NO_LIBSSH2="@comment " MQTT="@comment " NO_MQTT="" NSS="@comment " NO_NSS="" NTLM="" NO_NTLM="@comment " OPENSSL="" NO_OPENSSL="@comment " POP3="" NO_POP3="@comment " PROX
 Y="" NO_PROXY="@comment " PSL="@comment " NO_PSL="" RTMP="@comment " NO_RTMP="" RTSP="" NO_RTSP="@comment " SMB="@comment " NO_SMB="" SMTP="" NO_SMTP="@comment " STATIC="" NO_STATIC="@comment " TELNET="" NO_TELNET="@comment " TFTP="" NO_TFTP="@comment " THREADED_RESOLVER="" NO_THREADED_RESOLVER="@comment " TLS_SRP="" NO_TLS_SRP="@comment " WOLFSSL="@comment " NO_WOLFSSL="" ZSTD="@comment " NO_ZSTD="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/curl"  EXAMPLESDIR="share/examples/curl"  DATADIR="share/curl"  WWWDIR="www/curl"  ETCDIR="etc/curl"
--End PLIST_SUB--

--SUB_LIST--
ALTSVC="" NO_ALTSVC="@comment " BROTLI="@comment " NO_BROTLI="" CARES="@comment " NO_CARES="" CA_BUNDLE="" NO_CA_BUNDLE="@comment " COOKIES="" NO_COOKIES="@comment " CURL_DEBUG="@comment " NO_CURL_DEBUG="" DEBUG="@comment " NO_DEBUG="" DICT="" NO_DICT="@comment " DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " FTP="" NO_FTP="@comment " GNUTLS="@comment " NO_GNUTLS="" GOPHER="" NO_GOPHER="@comment " GSSAPI_BASE="" NO_GSSAPI_BASE="@comment " GSSAPI_HEIMDAL="@comment " NO_GSSAPI_HEIMDAL="" GSSAPI_MIT="@comment " NO_GSSAPI_MIT="" GSSAPI_NONE="@comment " NO_GSSAPI_NONE="" HTTP="" NO_HTTP="@comment " HTTP2="" NO_HTTP2="@comment " IDN="@comment " NO_IDN="" IMAP="" NO_IMAP="@comment " IPV6="" NO_IPV6="@comment " LDAP="@comment " NO_LDAP="" LDAPS="@comment " NO_LDAPS="" LIBSSH2="" NO_LIBSSH2="@comment " MQTT="@comment " NO_MQTT="" NSS="@comment " NO_NSS="" NTLM="" NO_NTLM="@comment " OPENSSL="" NO_OPENSSL="@comment " POP3="" NO_POP3="@comment " PROXY="" NO_PROXY="@comment " PS
 L="@comment " NO_PSL="" RTMP="@comment " NO_RTMP="" RTSP="" NO_RTSP="@comment " SMB="@comment " NO_SMB="" SMTP="" NO_SMTP="@comment " STATIC="" NO_STATIC="@comment " TELNET="" NO_TELNET="@comment " TFTP="" NO_TFTP="@comment " THREADED_RESOLVER="" NO_THREADED_RESOLVER="@comment " TLS_SRP="" NO_TLS_SRP="@comment " WOLFSSL="@comment " NO_WOLFSSL="" ZSTD="@comment " NO_ZSTD="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/curl DOCSDIR=/usr/local/share/doc/curl EXAMPLESDIR=/usr/local/share/examples/curl  WWWDIR=/usr/local/www/curl ETCDIR=/usr/local/etc/curl
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400032
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   curl-7.78.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.1.pkg
[main-armv6-default-job-05] Installing pkg-1.17.1...
[main-armv6-default-job-05] Extracting pkg-1.17.1: .......... done
===>   curl-7.78.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of curl-7.78.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by curl-7.78.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by curl-7.78.0 for building
=> SHA256 Checksum OK for curl-7.78.0.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by curl-7.78.0 for building
===>  Extracting for curl-7.78.0
=> SHA256 Checksum OK for curl-7.78.0.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for curl-7.78.0
===>  Applying FreeBSD patches for curl-7.78.0 from /usr/ports/ftp/curl/files
===========================================================================
=======================<phase: build-depends  >============================
===>   curl-7.78.0 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.7.4,1.pkg
[main-armv6-default-job-05] Installing pkgconf-1.7.4,1...
[main-armv6-default-job-05] Extracting pkgconf-1.7.4,1: .......... done
===>   curl-7.78.0 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of curl-7.78.0
===>   curl-7.78.0 depends on package: perl5>=5.32.r0<5.33 - not found
===>   Installing existing package /packages/All/perl5-5.32.1_1.pkg
[main-armv6-default-job-05] Installing perl5-5.32.1_1...
[main-armv6-default-job-05] Extracting perl5-5.32.1_1: .......... done
===>   curl-7.78.0 depends on package: perl5>=5.32.r0<5.33 - found
===>   Returning to build of curl-7.78.0
===========================================================================
=======================<phase: lib-depends    >============================
===>   curl-7.78.0 depends on shared library: libnghttp2.so - not found
===>   Installing existing package /packages/All/libnghttp2-1.44.0.pkg
[main-armv6-default-job-05] Installing libnghttp2-1.44.0...
[main-armv6-default-job-05] Extracting libnghttp2-1.44.0: .......... done
===>   curl-7.78.0 depends on shared library: libnghttp2.so - found (/usr/local/lib/libnghttp2.so)
===>   Returning to build of curl-7.78.0
===>   curl-7.78.0 depends on shared library: libssh2.so - not found
===>   Installing existing package /packages/All/libssh2-1.9.0_3,3.pkg
[main-armv6-default-job-05] Installing libssh2-1.9.0_3,3...
[main-armv6-default-job-05] Extracting libssh2-1.9.0_3,3: .......... done
===>   curl-7.78.0 depends on shared library: libssh2.so - found (/usr/local/lib/libssh2.so)
===>   Returning to build of curl-7.78.0
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for curl-7.78.0
configure: loading site script /usr/ports/Templates/config.site
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable ECH support... no
checking for path separator... :
checking for sed... (cached) /usr/bin/sed
checking for grep... (cached) /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ar... /usr/bin/ar
configure: using LIBS: -lkrb5 -lgssapi -lgssapi_krb5 -lkrb5 -lgssapi -lgssapi_krb5 -L/usr/local/lib
configure: LIBS note: LIBS should only be used to specify libraries (-lname).
configure: using CFLAGS: -I/usr/include -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing 
configure: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not include directories. Use CPPFLAGS for: -I/usr/include
configure: WARNING: Continuing even with errors mentioned immediately above this line.
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... /nxb-bin/usr/bin/cc
checking whether the C compiler works... no
configure: error: in `/wrkdirs/usr/ports/ftp/curl/work/curl-7.78.0':
configure: error: C compiler cannot create executables
See `config.log' for more details
===>  Script "configure" failed unexpectedly.
Please report the problem to sunpoet@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/ftp/curl/work/curl-7.78.0/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/ftp/curl