Solved New Server - several packages fail to compile

I'm moving to a new server, and I'm trying to install all my old ports using ports-mgmt/synth.

With the exception of net-mgmt/p5-NetAddr-IP, they all seem to be failing for the same reason.

I do have lang/perl5.36 installed, although I'm not sure if that's the issue.

Any ideas?

Code:
00:00:06 => [03] 00:00:03 Failure security/p5-Digest-HMAC
00:00:06 => [04] 00:00:03 Failure lang/p5-Error
00:00:07 => [02] 00:00:03 Failure devel/p5-Carp-Clan
00:00:07 => [05] 00:00:04 Failure net/p5-URI
00:00:10 => [03] 00:00:03 Failure sysutils/p5-Sys-Hostname-Long
00:00:16 => [01] 00:00:13 Failure dns/libidn2
00:00:28 => [06] 00:00:25 Failure net-mgmt/p5-NetAddr-IP


--------------------------------------------------------------------------------
--  Phase: build
--------------------------------------------------------------------------------
===>  Building for p5-Digest-HMAC-1.05
--- blib/lib/Digest/.exists ---
--- blib/arch/.exists ---
--- blib/lib/auto/Digest/HMAC/.exists ---
--- blib/arch/auto/Digest/HMAC/.exists ---
--- blib/bin/.exists ---
--- blib/script/.exists ---
--- blib/man1/.exists ---
--- blib/man3/.exists ---
--- config ---
--- subdirs ---
--- dynamic ---
--- Makefile ---
Makefile out-of-date with respect to /usr/local/lib/perl5/5.36/mach/Config.pm /usr/local/lib/perl5/5.36/mach/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
"/usr/local/bin/perl" Makefile.PL "INSTALLDIRS=site" "CC=cc" "CCFLAGS=-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing " "LD=cc" "PREFIX=/usr/local" "INSTALLPRIVLIB=/usr/local/lib" "INSTALLARCHLIB=/usr/local/lib"
--- blibdirs ---
--- Makefile ---
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Digest::HMAC
Writing MYMETA.yml and MYMETA.json
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** [Makefile] Error code 1

make: stopped in /construction/xports/security/p5-Digest-HMAC/work/Digest-HMAC-1.05
1 error

make: stopped in /construction/xports/security/p5-Digest-HMAC/work/Digest-HMAC-1.05
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /xports/security/p5-Digest-HMAC



--------------------------------------------------------------------------------
--  Phase: build
--------------------------------------------------------------------------------
===>  Building for p5-Error-0.17029
--- blib/lib/.exists ---
--- blib/arch/.exists ---
--- blib/lib/auto/Error/.exists ---
--- blib/arch/auto/Error/.exists ---
--- blib/bin/.exists ---
--- blib/script/.exists ---
--- blib/man1/.exists ---
--- blib/man3/.exists ---
--- config ---
--- subdirs ---
--- dynamic ---
--- Makefile ---
Makefile out-of-date with respect to /usr/local/lib/perl5/5.36/mach/Config.pm /usr/local/lib/perl5/5.36/mach/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
--- blib/man3/.exists ---
chmod: blib/man3: No such file or directory
*** [blib/man3/.exists] Error code 1

make: stopped in /construction/xports/lang/p5-Error/work/Error-0.17029
--- Makefile ---
"/usr/local/bin/perl" Makefile.PL "INSTALLDIRS=site" "CC=cc" "CCFLAGS=-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing " "LD=cc" "PREFIX=/usr/local" "INSTALLPRIVLIB=/usr/local/lib" "INSTALLARCHLIB=/usr/local/lib"
Warning: prerequisite Module::Build 0.28 not found.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Error
Writing MYMETA.yml and MYMETA.json
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** [Makefile] Error code 1

make: stopped in /construction/xports/lang/p5-Error/work/Error-0.17029
2 errors

make: stopped in /construction/xports/lang/p5-Error/work/Error-0.17029
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /xports/lang/p5-Error




--------------------------------------------------------------------------------
--  Phase: build
--------------------------------------------------------------------------------
===>  Building for p5-Carp-Clan-6.08
--- blib/lib/Carp/.exists ---
--- blib/arch/.exists ---
--- blib/lib/auto/Carp/Clan/.exists ---
--- blib/arch/auto/Carp/Clan/.exists ---
--- blib/bin/.exists ---
--- blib/script/.exists ---
--- blib/man1/.exists ---
--- blib/man3/.exists ---
--- config ---
--- subdirs ---
--- dynamic ---
--- Makefile ---
Makefile out-of-date with respect to /usr/local/lib/perl5/5.36/mach/Config.pm /usr/local/lib/perl5/5.36/mach/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
"/usr/local/bin/perl" Makefile.PL "INSTALLDIRS=site" "CC=cc" "CCFLAGS=-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing " "LD=cc" "PREFIX=/usr/local" "INSTALLPRIVLIB=/usr/local/lib" "INSTALLARCHLIB=/usr/local/lib"
--- blibdirs ---
--- Makefile ---
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Carp::Clan
Writing MYMETA.yml and MYMETA.json
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** [Makefile] Error code 1

make: stopped in /construction/xports/devel/p5-Carp-Clan/work/Carp-Clan-6.08
1 error

make: stopped in /construction/xports/devel/p5-Carp-Clan/work/Carp-Clan-6.08
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /xports/devel/p5-Carp-Clan



--------------------------------------------------------------------------------
--  Phase: build
--------------------------------------------------------------------------------
===>  Building for p5-URI-5.31
--- blib/lib/.exists ---
--- blib/arch/.exists ---
--- blib/lib/auto/URI/.exists ---
--- blib/arch/auto/URI/.exists ---
--- blib/bin/.exists ---
--- blib/script/.exists ---
--- blib/man1/.exists ---
--- blib/man3/.exists ---
--- config ---
--- subdirs ---
--- dynamic ---
--- Makefile ---
--- blibdirs ---
Makefile out-of-date with respect to /usr/local/lib/perl5/5.36/mach/Config.pm /usr/local/lib/perl5/5.36/mach/CORE/config.h
Cleaning current config before rebuilding Makefile...
--- Makefile ---
make -f Makefile.old clean > /dev/null 2>&1
"/usr/local/bin/perl" Makefile.PL "INSTALLDIRS=site" "CC=cc" "CCFLAGS=-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing " "LD=cc" "PREFIX=/usr/local" "INSTALLPRIVLIB=/usr/local/lib" "INSTALLARCHLIB=/usr/local/lib"
Warning: prerequisite MIME::Base32 0 not found.
Warning: prerequisite Test::Fatal 0 not found.
Warning: prerequisite Test::Needs 0 not found.
Warning: prerequisite Test::Warnings 0 not found.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for URI
Writing MYMETA.yml and MYMETA.json
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** [Makefile] Error code 1

make: stopped in /construction/xports/net/p5-URI/work/URI-5.31
1 error

make: stopped in /construction/xports/net/p5-URI/work/URI-5.31
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /xports/net/p5-URI



--------------------------------------------------------------------------------
--  Phase: build
--------------------------------------------------------------------------------
===>  Building for p5-Sys-Hostname-Long-1.5_1
--- blib/lib/Sys/Hostname/.exists ---
--- blib/arch/.exists ---
--- blib/lib/auto/Sys/Hostname/Long/.exists ---
--- blib/arch/auto/Sys/Hostname/Long/.exists ---
--- blib/bin/.exists ---
--- blib/script/.exists ---
--- blib/man1/.exists ---
--- blib/man3/.exists ---
--- config ---
--- subdirs ---
--- dynamic ---
--- Makefile ---
--- blibdirs ---
Makefile out-of-date with respect to /usr/local/lib/perl5/5.36/mach/Config.pm /usr/local/lib/perl5/5.36/mach/CORE/config.h
Cleaning current config before rebuilding Makefile...
--- Makefile ---
make -f Makefile.old clean > /dev/null 2>&1
"/usr/local/bin/perl" Makefile.PL "INSTALLDIRS=site" "CC=cc" "CCFLAGS=-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing " "LD=cc" "PREFIX=/usr/local" "INSTALLPRIVLIB=/usr/local/lib" "INSTALLARCHLIB=/usr/local/lib"
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Sys::Hostname::Long
Writing MYMETA.yml and MYMETA.json
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** [Makefile] Error code 1

make: stopped in /construction/xports/sysutils/p5-Sys-Hostname-Long/work/Sys-Hostname-Long-1.5
1 error

make: stopped in /construction/xports/sysutils/p5-Sys-Hostname-Long/work/Sys-Hostname-Long-1.5
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /xports/sysutils/p5-Sys-Hostname-Long



--------------------------------------------------------------------------------
--  Phase: stage
--------------------------------------------------------------------------------
===>  Staging for libidn2-2.3.7
===>   Generating temporary packing list
if test -z 'strip'; then  /usr/bin/make  INSTALL_PROGRAM="/bin/sh /construction/xports/dns/libidn2/work/libidn2-2.3.7/build-aux/install-sh -c -s"  install_sh_PROGRAM="/bin/sh /construction/xports/dns/libidn2/work/libidn2-2.3.7/build-aux/install-sh -c -s" INSTALL_STRIP_FLAG=-s  install;  else  /usr/bin/make  INSTALL_PROGRAM="/bin/sh /construction/xports/dns/libidn2/work/libidn2-2.3.7/build-aux/install-sh -c -s"  install_sh_PROGRAM="/bin/sh /construction/xports/dns/libidn2/work/libidn2-2.3.7/build-aux/install-sh -c -s" INSTALL_STRIP_FLAG=-s  "INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install;  fi
/usr/bin/make  install-recursive
Making install in gl
/usr/bin/make  install-recursive
Making install in unistring
/usr/bin/make  install-am
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I../gl -I../gl -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include  -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT libunistring_la-striconveh.lo -MD -MP -MF .deps/libunistring_la-striconveh.Tpo -c -o libunistring_la-striconveh.lo `test -f 'striconveh.c' || echo './'`striconveh.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT libunistring_la-striconveh.lo -MD -MP -MF .deps/libunistring_la-striconveh.Tpo -c striconveh.c  -fPIC -DPIC -o .libs/libunistring_la-striconveh.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT libunistring_la-striconveh.lo -MD -MP -MF .deps/libunistring_la-striconveh.Tpo -c striconveh.c -o libunistring_la-striconveh.o >/dev/null 2>&1
mv -f .deps/libunistring_la-striconveh.Tpo .deps/libunistring_la-striconveh.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I../gl -I../gl -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include  -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT libunistring_la-striconveha.lo -MD -MP -MF .deps/libunistring_la-striconveha.Tpo -c -o libunistring_la-striconveha.lo `test -f 'striconveha.c' || echo './'`striconveha.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT libunistring_la-striconveha.lo -MD -MP -MF .deps/libunistring_la-striconveha.Tpo -c striconveha.c  -fPIC -DPIC -o .libs/libunistring_la-striconveha.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT libunistring_la-striconveha.lo -MD -MP -MF .deps/libunistring_la-striconveha.Tpo -c striconveha.c -o libunistring_la-striconveha.o >/dev/null 2>&1
mv -f .deps/libunistring_la-striconveha.Tpo .deps/libunistring_la-striconveha.Plo
/bin/sh ../libtool  --tag=CC    --mode=link cc   -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -no-undefined   -L/usr/local/lib -lunistring -R/usr/local/lib   -Wl,--undefined-version -fstack-protector-strong -o libunistring.la  libunistring_la-c-ctype.lo  libunistring_la-c-strcasecmp.lo  libunistring_la-c-strncasecmp.lo libunistring_la-free.lo     libunistring_la-localcharset.lo libunistring_la-striconveh.lo  libunistring_la-striconveha.lo           unictype/libunistring_la-categ_none.lo           uninorm/libunistring_la-decompose-internal.lo  uninorm/libunistring_la-decomposition-table.lo      libunistring_la-unistd.lo                       -L/usr/local/lib
libtool: link: rm -fr  .libs/libunistring.a .libs/libunistring.la
libtool: link: (cd .libs/libunistring.lax/libunistring.a && ar x "/construction/xports/dns/libidn2/work/libidn2-2.3.7/unistring/.libs/libunistring.a")
ar: fatal: Failed to open '/construction/xports/dns/libidn2/work/libidn2-2.3.7/unistring/.libs/libunistring.a': No such file or directory
*** Error code 1

Stop.
make[4]: stopped in /construction/xports/dns/libidn2/work/libidn2-2.3.7/unistring
*** Error code 1

Stop.
make[3]: stopped in /construction/xports/dns/libidn2/work/libidn2-2.3.7/unistring
*** Error code 1

Stop.
make[2]: stopped in /construction/xports/dns/libidn2/work/libidn2-2.3.7
*** Error code 1

Stop.
make[1]: stopped in /construction/xports/dns/libidn2/work/libidn2-2.3.7
*** Error code 1

Stop.
make: stopped in /construction/xports/dns/libidn2/work/libidn2-2.3.7
*** Error code 1

Stop.
make: stopped in /xports/dns/libidn2
 
Back
Top