[package - main-i386-default][archivers/dpkg] Failed for dpkg-1.19.7 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 28 Jun 2023 15:33:39 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:     ndowens04@gmail.com
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p8c7f3e19a83a_se495600ce3/logs/dpkg-1.19.7.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p8c7f3e19a83a_se495600ce3
Log:

=>> Building archivers/dpkg
build started at Wed Jun 28 15:32:59 UTC 2023
port directory: /usr/ports/archivers/dpkg
package name: dpkg-1.19.7
building for: FreeBSD main-i386-default-job-01 14.0-CURRENT FreeBSD 14.0-CURRENT 1400092 i386
maintained by: ndowens04@gmail.com
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400092
Job Id: 01




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



---Begin Environment---
SHELL=/bin/sh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1400092
UNAME_v=FreeBSD 14.0-CURRENT 1400092
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
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-i386-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 dpkg-1.19.7:
     NLS=on: Native Language Support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ndowens04@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-admindir=/var/db/dpkg  --libdir=/usr/local/libexec  --with-libintl-prefix=/usr/local  --with-logdir=/var/log  --with-libmd --enable-nls --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PERL_LIBDIR="/usr/local/lib/perl5/site_perl" MAKE=gmake 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/archivers/dpkg/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/dpkg/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/archivers/dpkg/work/.cache  HOME=/wrkdirs/usr/ports/archivers/dpkg/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/archivers/dpkg/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/archivers/dpkg/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/archivers/dpkg/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/dpkg/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/archivers/dpkg/work/.cache  HOME=/wrkdirs/usr/ports/archivers/dpkg/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/archivers/dpkg/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/archivers/dpkg/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG "  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--
DPKGDIR=/var/db/dpkg NLS="" NO_NLS="@comment " 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/dpkg"  EXAMPLESDIR="share/examples/dpkg"  DATADIR="share/dpkg"  WWWDIR="www/dpkg"  ETCDIR="etc/dpkg"
--End PLIST_SUB--

--SUB_LIST--
NLS="" NO_NLS="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/dpkg DOCSDIR=/usr/local/share/doc/dpkg EXAMPLESDIR=/usr/local/share/examples/dpkg  WWWDIR=/usr/local/www/dpkg ETCDIR=/usr/local/etc/dpkg
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
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_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-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_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400092
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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 GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   dpkg-1.19.7 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_2.pkg
[main-i386-default-job-01] Installing pkg-1.19.1_2...
[main-i386-default-job-01] Extracting pkg-1.19.1_2: .......... done
===>   dpkg-1.19.7 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of dpkg-1.19.7
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by dpkg-1.19.7 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by dpkg-1.19.7 for building
=> SHA256 Checksum OK for dpkg_1.19.7.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by dpkg-1.19.7 for building
===>  Extracting for dpkg-1.19.7
=> SHA256 Checksum OK for dpkg_1.19.7.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for dpkg-1.19.7
<snip>
mv -f .deps/trigproc.Tpo .deps/trigproc.Po
cc -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\" -DADMINDIR=\"/var/db/dpkg\" -idirafter ../lib/compat -I.. -I../lib -DLIBICONV_PLUG -I/usr/local/include  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -MT update.o -MD -MP -MF .deps/update.Tpo -c -o update.o update.c
mv -f .deps/update.Tpo .deps/update.Po
cc -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\" -DADMINDIR=\"/var/db/dpkg\" -idirafter ../lib/compat -I.. -I../lib -DLIBICONV_PLUG -I/usr/local/include  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -MT verify.o -MD -MP -MF .deps/verify.Tpo -c -o verify.o verify.c
mv -f .deps/verify.Tpo .deps/verify.Po
cc -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\" -DADMINDIR=\"/var/db/dpkg\" -idirafter ../lib/compat -I.. -I../lib -DLIBICONV_PLUG -I/usr/local/include  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -MT divertcmd.o -MD -MP -MF .deps/divertcmd.Tpo -c -o divertcmd.o divertcmd.c
mv -f .deps/unpack.Tpo .deps/unpack.Po
cc -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\" -DADMINDIR=\"/var/db/dpkg\" -idirafter ../lib/compat -I.. -I../lib -DLIBICONV_PLUG -I/usr/local/include  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -MT querycmd.o -MD -MP -MF .deps/querycmd.Tpo -c -o querycmd.o querycmd.c
mv -f .deps/divertcmd.Tpo .deps/divertcmd.Po
cc -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\" -DADMINDIR=\"/var/db/dpkg\" -idirafter ../lib/compat -I.. -I../lib -DLIBICONV_PLUG -I/usr/local/include  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -MT statcmd.o -MD -MP -MF .deps/statcmd.Tpo -c -o statcmd.o statcmd.c
mv -f .deps/querycmd.Tpo .deps/querycmd.Po
cc -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\" -DADMINDIR=\"/var/db/dpkg\" -idirafter ../lib/compat -I.. -I../lib -DLIBICONV_PLUG -I/usr/local/include  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -MT trigcmd.o -MD -MP -MF .deps/trigcmd.Tpo -c -o trigcmd.o trigcmd.c
mv -f .deps/statcmd.Tpo .deps/statcmd.Po
/bin/sh ../libtool  --tag=CC   --mode=link cc  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong  -Wl,-O1 -o dpkg archives.o cleanup.o configure.o depcon.o enquiry.o errors.o file-match.o filters.o force.o help.o main.o packages.o perpkgstate.o remove.o script.o select.o selinux.o trigproc.o unpack.o update.o verify.o ../lib/dpkg/libdpkg.la /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib  
libtool: link: cc -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -Wl,-O1 -o dpkg archives.o cleanup.o configure.o depcon.o enquiry.o errors.o file-match.o filters.o force.o help.o main.o packages.o perpkgstate.o remove.o script.o select.o selinux.o trigproc.o unpack.o update.o verify.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib  ../lib/dpkg/.libs/libdpkg.a -lmd
mv -f .deps/trigcmd.Tpo .deps/trigcmd.Po
/bin/sh ../libtool  --tag=CC   --mode=link cc  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong  -Wl,-O1 -o dpkg-divert divertcmd.o ../lib/dpkg/libdpkg.la /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib 
/bin/sh ../libtool  --tag=CC   --mode=link cc  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong  -Wl,-O1 -o dpkg-query querycmd.o ../lib/dpkg/libdpkg.la /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib 
libtool: link: cc -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -Wl,-O1 -o dpkg-divert divertcmd.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib  ../lib/dpkg/.libs/libdpkg.a -lmd
libtool: link: cc -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -Wl,-O1 -o dpkg-query querycmd.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib  ../lib/dpkg/.libs/libdpkg.a -lmd
/bin/sh ../libtool  --tag=CC   --mode=link cc  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong  -Wl,-O1 -o dpkg-statoverride force.o selinux.o statcmd.o ../lib/dpkg/libdpkg.la /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib  
/bin/sh ../libtool  --tag=CC   --mode=link cc  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong  -Wl,-O1 -o dpkg-trigger trigcmd.o ../lib/dpkg/libdpkg.la /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib 
libtool: link: cc -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -Wl,-O1 -o dpkg-statoverride force.o selinux.o statcmd.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib  ../lib/dpkg/.libs/libdpkg.a -lmd
libtool: link: cc -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -Wl,-O1 -o dpkg-trigger trigcmd.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib  ../lib/dpkg/.libs/libdpkg.a -lmd
gmake[3]: Leaving directory '/wrkdirs/usr/ports/archivers/dpkg/work/dpkg-1.19.7/src'
Making all in utils
gmake[3]: Entering directory '/wrkdirs/usr/ports/archivers/dpkg/work/dpkg-1.19.7/utils'
cc -DHAVE_CONFIG_H   -DALT_TMP_EXT=\".dpkg-tmp\" -DADMINDIR_ENVVAR=\"DPKG_ADMINDIR\" -DADMINDIR=\"/var/db/dpkg\" -DLOCALEDIR=\"/usr/local/share/locale\" -DLOGDIR=\"/var/log\" -DSYSCONFDIR=\"/usr/local/etc\" -idirafter ../lib/compat -I.. -I../lib -DLIBICONV_PLUG -I/usr/local/include  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -MT update_alternatives-update-alternatives.o -MD -MP -MF .deps/update_alternatives-update-alternative
s.Tpo -c -o update_alternatives-update-alternatives.o `test -f 'update-alternatives.c' || echo './'`update-alternatives.c
cc -DHAVE_CONFIG_H   -DADMINDIR=\"/var/db/dpkg\" -DLOCALEDIR=\"/usr/local/share/locale\" -DLOGDIR=\"/var/log\" -DSYSCONFDIR=\"/usr/local/etc\" -idirafter ../lib/compat -I.. -I../lib -DLIBICONV_PLUG -I/usr/local/include  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -MT start-stop-daemon.o -MD -MP -MF .deps/start-stop-daemon.Tpo -c -o start-stop-daemon.o start-stop-daemon.c
start-stop-daemon.c:629:16: warning: incompatible pointer types passing 'struct sockaddr_un *' to parameter of type 'const struct sockaddr *' [-Wincompatible-pointer-types]
        rc = bind(fd, &su, sizeof(su));
                      ^~~
/usr/include/sys/socket.h:685:38: note: passing argument to parameter here
int     bind(int, const struct sockaddr *, socklen_t);
                                         ^
start-stop-daemon.c:667:9: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat]
                      timeout.tv_sec, timeout.tv_nsec);
                      ^~~~~~~~~~~~~~
start-stop-daemon.c:1651:1: warning: unused function 'ssd_kvm_open' [-Wunused-function]
ssd_kvm_open(void)
^
start-stop-daemon.c:1664:1: warning: unused function 'ssd_kvm_get_procs' [-Wunused-function]
ssd_kvm_get_procs(kvm_t *kd, int op, int arg, int *count)
^
4 warnings generated.
mv -f .deps/start-stop-daemon.Tpo .deps/start-stop-daemon.Po
GETTEXTDATADIR="../po" \
  /usr/local/bin/msgfmt --xml --template update-alternatives.polkit.in -d ../po -o - \
  | /usr/bin/sed -e 's,[@]bindir[@],/usr/local/bin,g'  >org.dpkg.pkexec.update-alternatives.policy
mv -f .deps/update_alternatives-update-alternatives.Tpo .deps/update_alternatives-update-alternatives.Po
/bin/sh ../libtool  --tag=CC   --mode=link cc  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong  -Wl,-O1 -o update-alternatives update_alternatives-update-alternatives.o ../lib/compat/libcompat.la /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib  
libtool: link: cc -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -Wl,-O1 -o update-alternatives update_alternatives-update-alternatives.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib  ../lib/compat/.libs/libcompat.a
/bin/sh ../libtool  --tag=CC   --mode=link cc  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong  -Wl,-O1 -o start-stop-daemon start-stop-daemon.o ../lib/compat/libcompat.la  -lkvm  
libtool: link: cc -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -Wl,-O1 -o start-stop-daemon start-stop-daemon.o  ../lib/compat/.libs/libcompat.a -lkvm
gmake[3]: Leaving directory '/wrkdirs/usr/ports/archivers/dpkg/work/dpkg-1.19.7/utils'
Making all in dselect
gmake[3]: Entering directory '/wrkdirs/usr/ports/archivers/dpkg/work/dpkg-1.19.7/dselect'
Making all in methods
gmake[4]: Entering directory '/wrkdirs/usr/ports/archivers/dpkg/work/dpkg-1.19.7/dselect/methods'
sed -e "s:^#![[:space:]]*/usr/bin/perl:#!/usr/local/bin/perl:" <ftp/setup.pl >ftp/setup
sed -e "s:^#![[:space:]]*/usr/bin/perl:#!/usr/local/bin/perl:" <ftp/update.pl >ftp/update
chmod +x ftp/update
chmod +x ftp/setup
sed -e "s:^#![[:space:]]*/usr/bin/perl:#!/usr/local/bin/perl:" <ftp/install.pl >ftp/install
chmod +x ftp/install
gmake[4]: Leaving directory '/wrkdirs/usr/ports/archivers/dpkg/work/dpkg-1.19.7/dselect/methods'
Making all in po
gmake[4]: Entering directory '/wrkdirs/usr/ports/archivers/dpkg/work/dpkg-1.19.7/dselect/po'
gmake[4]: Nothing to be done for 'all'.
gmake[4]: Leaving directory '/wrkdirs/usr/ports/archivers/dpkg/work/dpkg-1.19.7/dselect/po'
gmake[4]: Entering directory '/wrkdirs/usr/ports/archivers/dpkg/work/dpkg-1.19.7/dselect'
c++ -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\" -DADMINDIR=\"/var/db/dpkg\" -DLIBDIR=\"/usr/local/libexec/dpkg\" -DLOCALLIBDIR=\"/usr/local/lib/dpkg\" -idirafter ../lib/compat -iquote . -I.. -I../lib -DLIBICONV_PLUG -I/usr/local/include -fno-rtti -fno-exceptions  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wc++11-compat -Wzero-as-null-pointer-constant -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG  -MT cxx-support.o -MD -MP -MF .deps/cxx-support.Tpo -c -o cxx-support.o cxx-support.cc
c++ -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\" -DADMINDIR=\"/var/db/dpkg\" -DLIBDIR=\"/usr/local/libexec/dpkg\" -DLOCALLIBDIR=\"/usr/local/lib/dpkg\" -idirafter ../lib/compat -iquote . -I.. -I../lib -DLIBICONV_PLUG -I/usr/local/include -fno-rtti -fno-exceptions  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wc++11-compat -Wzero-as-null-pointer-constant -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG  -MT basecmds.o -MD -MP -MF .deps/basecmds.Tpo -c -o basecmds.o basecmds.cc
mv -f .deps/cxx-support.Tpo .deps/cxx-support.Po
c++ -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\" -DADMINDIR=\"/var/db/dpkg\" -DLIBDIR=\"/usr/local/libexec/dpkg\" -DLOCALLIBDIR=\"/usr/local/lib/dpkg\" -idirafter ../lib/compat -iquote . -I.. -I../lib -DLIBICONV_PLUG -I/usr/local/include -fno-rtti -fno-exceptions  -Wall -Wextra -Wcast-align -Wdocumentation -Wformat -Wformat-security -Winit-self -Wlogical-not-parentheses -Wmissing-declarations -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-tautological-constant-out-of-range-compare -Wno-unused-parameter -Wnull-dereference -Wpointer-arith -Wregister -Wshadow -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla -Wwrite-strings -Wc++11-compat -Wzero-as-null-pointer-constant -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG  -MT baselist.o -MD -MP -MF .deps/baselist.Tpo -c -o baselist.o baselist.cc
In file included from basecmds.cc:32:
In file included from ./dselect.h:27:
In file included from /usr/include/c++/v1/algorithm:1717:
/usr/include/c++/v1/__algorithm/clamp.h:27:57: error: too many arguments provided to function-like macro invocation
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi, _Compare __comp)
                                                        ^
../lib/dpkg/macros.h:127:9: note: macro 'clamp' defined here
#define clamp(v, l, h) ((v) > (h) ? (h) : ((v) < (l) ? (l) : (v)))
        ^
In file included from basecmds.cc:32:
In file included from ./dselect.h:27:
In file included from /usr/include/c++/v1/algorithm:1717:
/usr/include/c++/v1/__algorithm/clamp.h:29:28: error: use of undeclared identifier '__hi'
    _LIBCPP_ASSERT(!__comp(__hi, __lo), "Bad bounds passed to std::clamp");
                           ^
/usr/include/c++/v1/__algorithm/clamp.h:29:34: error: use of undeclared identifier '__lo'
    _LIBCPP_ASSERT(!__comp(__hi, __lo), "Bad bounds passed to std::clamp");
                                 ^
/usr/include/c++/v1/__algorithm/clamp.h:32:2: error: expected ';' at end of declaration
}
 ^
/usr/include/c++/v1/__algorithm/clamp.h:38:7: error: expected unqualified-id
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi)
      ^
/usr/include/c++/v1/__algorithm/clamp.h:38:7: error: expected ')'
/usr/include/c++/v1/__algorithm/clamp.h:38:1: note: to match this '('
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi)
^
../lib/dpkg/macros.h:127:25: note: expanded from macro 'clamp'
#define clamp(v, l, h) ((v) > (h) ? (h) : ((v) < (l) ? (l) : (v)))
                        ^
In file included from basecmds.cc:32:
In file included from ./dselect.h:27:
In file included from /usr/include/c++/v1/algorithm:1717:
/usr/include/c++/v1/__algorithm/clamp.h:38:1: error: expected ')'
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi)
^
../lib/dpkg/macros.h:127:29: note: expanded from macro 'clamp'
#define clamp(v, l, h) ((v) > (h) ? (h) : ((v) < (l) ? (l) : (v)))
                            ^
/usr/include/c++/v1/__algorithm/clamp.h:38:1: note: to match this '('
../lib/dpkg/macros.h:127:24: note: expanded from macro 'clamp'
#define clamp(v, l, h) ((v) > (h) ? (h) : ((v) < (l) ? (l) : (v)))
                       ^
In file included from basecmds.cc:32:
In file included from ./dselect.h:27:
In file included from /usr/include/c++/v1/algorithm:1717:
/usr/include/c++/v1/__algorithm/clamp.h:40:42: error: too many arguments provided to function-like macro invocation
    return _VSTD::clamp(__v, __lo, __hi, __less<_Tp>());
                                         ^
../lib/dpkg/macros.h:127:9: note: macro 'clamp' defined here
#define clamp(v, l, h) ((v) > (h) ? (h) : ((v) < (l) ? (l) : (v)))
        ^
In file included from baselist.cc:39:
In file included from ./dselect.h:27:
In file included from /usr/include/c++/v1/algorithm:1717:
/usr/include/c++/v1/__algorithm/clamp.h:27:57: error: too many arguments provided to function-like macro invocation
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi, _Compare __comp)
                                                        ^
../lib/dpkg/macros.h:127:9: note: macro 'clamp' defined here
#define clamp(v, l, h) ((v) > (h) ? (h) : ((v) < (l) ? (l) : (v)))
        ^
In file included from baselist.cc:39:
In file included from ./dselect.h:27:
In file included from /usr/include/c++/v1/algorithm:1717:
/usr/include/c++/v1/__algorithm/clamp.h:29:28: error: use of undeclared identifier '__hi'
    _LIBCPP_ASSERT(!__comp(__hi, __lo), "Bad bounds passed to std::clamp");
                           ^
/usr/include/c++/v1/__algorithm/clamp.h:29:34: error: use of undeclared identifier '__lo'
    _LIBCPP_ASSERT(!__comp(__hi, __lo), "Bad bounds passed to std::clamp");
                                 ^
/usr/include/c++/v1/__algorithm/clamp.h:32:2: error: expected ';' at end of declaration
}
 ^
/usr/include/c++/v1/__algorithm/clamp.h:38:7: error: expected unqualified-id
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi)
      ^
/usr/include/c++/v1/__algorithm/clamp.h:38:7: error: expected ')'
/usr/include/c++/v1/__algorithm/clamp.h:38:1: note: to match this '('
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi)
^
../lib/dpkg/macros.h:127:25: note: expanded from macro 'clamp'
#define clamp(v, l, h) ((v) > (h) ? (h) : ((v) < (l) ? (l) : (v)))
                        ^
In file included from baselist.cc:39:
In file included from ./dselect.h:27:
In file included from /usr/include/c++/v1/algorithm:1717:
/usr/include/c++/v1/__algorithm/clamp.h:38:1: error: expected ')'
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi)
^
../lib/dpkg/macros.h:127:29: note: expanded from macro 'clamp'
#define clamp(v, l, h) ((v) > (h) ? (h) : ((v) < (l) ? (l) : (v)))
                            ^
/usr/include/c++/v1/__algorithm/clamp.h:38:1: note: to match this '('
../lib/dpkg/macros.h:127:24: note: expanded from macro 'clamp'
#define clamp(v, l, h) ((v) > (h) ? (h) : ((v) < (l) ? (l) : (v)))
                       ^
In file included from baselist.cc:39:
In file included from ./dselect.h:27:
In file included from /usr/include/c++/v1/algorithm:1717:
/usr/include/c++/v1/__algorithm/clamp.h:40:42: error: too many arguments provided to function-like macro invocation
    return _VSTD::clamp(__v, __lo, __hi, __less<_Tp>());
                                         ^
../lib/dpkg/macros.h:127:9: note: macro 'clamp' defined here
#define clamp(v, l, h) ((v) > (h) ? (h) : ((v) < (l) ? (l) : (v)))
        ^
8 errors generated.
gmake[4]: *** [Makefile:617: basecmds.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
8 errors generated.
gmake[4]: *** [Makefile:617: baselist.o] Error 1
gmake[4]: Leaving directory '/wrkdirs/usr/ports/archivers/dpkg/work/dpkg-1.19.7/dselect'
gmake[3]: *** [Makefile:650: all-recursive] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/archivers/dpkg/work/dpkg-1.19.7/dselect'
gmake[2]: *** [Makefile:684: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/archivers/dpkg/work/dpkg-1.19.7'
gmake[1]: *** [Makefile:592: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/archivers/dpkg/work/dpkg-1.19.7'
===> 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 /usr/ports/archivers/dpkg