root@server:/usr/ports/ports-mgmt/pkg# make clean
pkg-static: Warning: Major OS version upgrade detected. Running "pkg-static install -f pkg" recommended
===> Cleaning for pkg-1.9.4_1
root@server:/usr/ports/ports-mgmt/pkg# make install clean
pkg-static: Warning: Major OS version upgrade detected. Running "pkg-static install -f pkg" recommended
===> License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pkg-1.9.4_1 for building
===> Extracting for pkg-1.9.4_1
===> License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pkg-1.9.4_1 for building
=> SHA256 Checksum OK for pkg-1.9.4.tar.xz.
===> Patching for pkg-1.9.4_1
===> Applying FreeBSD patches for pkg-1.9.4_1
===> Configuring for pkg-1.9.4_1
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/usr/ports/ports-mgmt/pkg/work/pkg-1.9.4':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
===> Script "configure" failed unexpectedly.
Please report the problem to pkg@FreeBSD.org [maintainer] and attach the
"/usr/ports/ports-mgmt/pkg/work/pkg-1.9.4/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/ports/ports-mgmt/pkg/work/pkg-1.9.4/src/pkg-static info -g -Ea).
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1
Stop.
make: stopped in /usr/ports/ports-mgmt/pkg