[package - main-i386-default][net/torsocks] Failed for torsocks-2.4.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 20 Jul 2024 02:38:15 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:     yuri@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p6fe85dedb3d5_s47fb5d2b13c/logs/torsocks-2.4.0.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p6fe85dedb3d5_s47fb5d2b13c
Log:

=>> Building net/torsocks
build started at Sat Jul 20 02:37:52 UTC 2024
port directory: /usr/ports/net/torsocks
package name: torsocks-2.4.0
building for: FreeBSD main-i386-default-job-09 15.0-CURRENT FreeBSD 15.0-CURRENT 1500020 i386
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1188 May  7 01:01 /usr/ports/net/torsocks/Makefile
Ports top last git commit: 6fe85dedb3d
Ports top unclean checkout: no
Port dir last git commit: d5688719dde
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1500020
Job Id: 09




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



---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500020
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500020
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-i386-default/09/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for torsocks-2.4.0:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net/torsocks/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/torsocks/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/torsocks/work/.cache  HOME=/wrkdirs/usr/ports/net/torsocks/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/torsocks/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/torsocks/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.72 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/torsocks/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/torsocks/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/torsocks/work/.cache  HOME=/wrkdirs/usr/ports/net/torsocks/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/torsocks/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/torsocks/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 DEFAULT_AUTOCONF=2.72 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " 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 064
4"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/torsocks"  EXAMPLESDIR="share/examples/torsocks"  DATADIR="share/torsocks"  WWWDIR="www/torsocks"  ETCDIR="etc/torsocks"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/torsocks DOCSDIR=/usr/local/share/doc/torsocks EXAMPLESDIR=/usr/local/share/examples/torsocks  WWWDIR=/usr/local/www/torsocks ETCDIR=/usr/local/etc/torsocks
--End SUB_LIST--

---Begin 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 3 jobs
MAKE_JOBS_NUMBER=3
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}
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   torsocks-2.4.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-i386-default-job-09] Installing pkg-1.21.3...
[main-i386-default-job-09] Extracting pkg-1.21.3: .......... done
===>   torsocks-2.4.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of torsocks-2.4.0
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by torsocks-2.4.0 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by torsocks-2.4.0 for building
=> SHA256 Checksum OK for core-torsocks-afe9dea542a8b495dbbbbe5e4b98a33cde06729b_GL0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by torsocks-2.4.0 for building
===>  Extracting for torsocks-2.4.0
=> SHA256 Checksum OK for core-torsocks-afe9dea542a8b495dbbbbe5e4b98a33cde06729b_GL0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for torsocks-2.4.0
===>  Applying FreeBSD patches for torsocks-2.4.0 from /usr/ports/net/torsocks/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   torsocks-2.4.0 depends on package: gmake>=4.4.1 - not found
<snip>
checking for memcpy... (cached) yes
checking for strlen... (cached) yes
checking for strncpy... yes
checking for strcmp... yes
checking for malloc... (cached) yes
checking for calloc... (cached) yes
checking for strstr... (cached) yes
checking for strtoul... (cached) yes
checking for free... yes
checking for inet_aton... (cached) yes
checking for gethostbyname... (cached) yes
checking for library containing dlopen... none required
checking file name of the C library... libc.so.7
checking for gcc... (cached) cc
checking whether the compiler supports GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to enable C11 features... (cached) none needed
checking whether cc understands -c and -o together... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking the maximum length of command line arguments... (cached) 524288
checking how to convert i386-portbld-freebsd15.0 file names to i386-portbld-freebsd15.0 format... func_convert_file_noop
checking how to convert i386-portbld-freebsd15.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd15.0 ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... (cached) yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether C compiler accepts -fPIE... yes
checking whether C compiler accepts -fwrapv... yes
checking whether C compiler accepts --param ssp-buffer-size=1... yes
checking whether C compiler accepts -fstack-protector-all... yes
checking whether the linker accepts -pie... yes
checking whether the linker accepts -z relro... yes
checking whether the linker accepts -z now... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating extras/Makefile
config.status: creating src/Makefile
config.status: creating src/bin/Makefile
config.status: creating src/bin/torsocks
config.status: creating src/common/Makefile
config.status: creating src/lib/Makefile
config.status: creating tests/Makefile
config.status: creating tests/unit/Makefile
config.status: creating tests/utils/Makefile
config.status: creating tests/utils/tap/Makefile
config.status: creating doc/Makefile
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for torsocks-2.4.0
Making all in src
gmake[1]: Entering directory '/wrkdirs/usr/ports/net/torsocks/work/torsocks-afe9dea542a8b495dbbbbe5e4b98a33cde06729b/src'
Making all in common
gmake[2]: Entering directory '/wrkdirs/usr/ports/net/torsocks/work/torsocks-afe9dea542a8b495dbbbbe5e4b98a33cde06729b/src/common'
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h  -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fPIE -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT log.lo -MD -MP -MF .deps/log.Tpo -c -o log.lo log.c
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h  -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fPIE -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT config-file.lo -MD -MP -MF .deps/config-file.Tpo -c -o config-file.lo config-file.c
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h  -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fPIE -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c -o utils.lo utils.c
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c utils.c  -fPIC -DPIC -o .libs/utils.o
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.c  -fPIC -DPIC -o .libs/log.o
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT config-file.lo -MD -MP -MF .deps/config-file.Tpo -c config-file.c  -fPIC -DPIC -o .libs/config-file.o
config-file.c:184:9: warning: call to undeclared function 'conf_file_set_enable_ipv6'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  184 |                 ret = conf_file_set_enable_ipv6(tokens[1], config);
      |                       ^
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c utils.c -fPIE -o utils.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.c -fPIE -o log.o >/dev/null 2>&1
1 warning generated.
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT config-file.lo -MD -MP -MF .deps/config-file.Tpo -c config-file.c -fPIE -o config-file.o >/dev/null 2>&1
mv -f .deps/utils.Tpo .deps/utils.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h  -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fPIE -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT compat.lo -MD -MP -MF .deps/compat.Tpo -c -o compat.lo compat.c
mv -f .deps/log.Tpo .deps/log.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h  -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fPIE -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT socks5.lo -MD -MP -MF .deps/socks5.Tpo -c -o socks5.lo socks5.c
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT compat.lo -MD -MP -MF .deps/compat.Tpo -c compat.c  -fPIC -DPIC -o .libs/compat.o
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT socks5.lo -MD -MP -MF .deps/socks5.Tpo -c socks5.c  -fPIC -DPIC -o .libs/socks5.o
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT compat.lo -MD -MP -MF .deps/compat.Tpo -c compat.c -fPIE -o compat.o >/dev/null 2>&1
mv -f .deps/config-file.Tpo .deps/config-file.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h  -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fPIE -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT connection.lo -MD -MP -MF .deps/connection.Tpo -c -o connection.lo connection.c
mv -f .deps/compat.Tpo .deps/compat.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h  -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fPIE -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT onion.lo -MD -MP -MF .deps/onion.Tpo -c -o onion.lo onion.c
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT connection.lo -MD -MP -MF .deps/connection.Tpo -c connection.c  -fPIC -DPIC -o .libs/connection.o
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT onion.lo -MD -MP -MF .deps/onion.Tpo -c onion.c  -fPIC -DPIC -o .libs/onion.o
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT socks5.lo -MD -MP -MF .deps/socks5.Tpo -c socks5.c -fPIE -o socks5.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT onion.lo -MD -MP -MF .deps/onion.Tpo -c onion.c -fPIE -o onion.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT connection.lo -MD -MP -MF .deps/connection.Tpo -c connection.c -fPIE -o connection.o >/dev/null 2>&1
mv -f .deps/onion.Tpo .deps/onion.Plo
mv -f .deps/socks5.Tpo .deps/socks5.Plo
mv -f .deps/connection.Tpo .deps/connection.Plo
/bin/sh ../../libtool  --tag=CC   --mode=link cc -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fPIE -fwrapv --param ssp-buffer-size=1 -fstack-protector-all  -fstack-protector-strong  -pie -z relro -z now -o libcommon.la  log.lo config-file.lo utils.lo compat.lo socks5.lo connection.lo onion.lo  
libtool: link: ar cr .libs/libcommon.a .libs/log.o .libs/config-file.o .libs/utils.o .libs/compat.o .libs/socks5.o .libs/connection.o .libs/onion.o 
libtool: link: ranlib .libs/libcommon.a
libtool: link: ( cd ".libs" && rm -f "libcommon.la" && ln -s "../libcommon.la" "libcommon.la" )
gmake[2]: Leaving directory '/wrkdirs/usr/ports/net/torsocks/work/torsocks-afe9dea542a8b495dbbbbe5e4b98a33cde06729b/src/common'
Making all in lib
gmake[2]: Entering directory '/wrkdirs/usr/ports/net/torsocks/work/torsocks-afe9dea542a8b495dbbbbe5e4b98a33cde06729b/src/lib'
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h  -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fPIE -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT torsocks.lo -MD -MP -MF .deps/torsocks.Tpo -c -o torsocks.lo torsocks.c
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h  -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fPIE -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT connect.lo -MD -MP -MF .deps/connect.Tpo -c -o connect.lo connect.c
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h  -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fPIE -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT gethostbyname.lo -MD -MP -MF .deps/gethostbyname.Tpo -c -o gethostbyname.lo gethostbyname.c
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT torsocks.lo -MD -MP -MF .deps/torsocks.Tpo -c torsocks.c  -fPIC -DPIC -o .libs/torsocks.o
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT gethostbyname.lo -MD -MP -MF .deps/gethostbyname.Tpo -c gethostbyname.c  -fPIC -DPIC -o .libs/gethostbyname.o
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT connect.lo -MD -MP -MF .deps/connect.Tpo -c connect.c  -fPIC -DPIC -o .libs/connect.o
torsocks.c:51:8: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
   51 | static TSOCKS_INIT_ONCE(init_once);
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/common/compat.h:55:33: note: expanded from macro 'TSOCKS_INIT_ONCE'
   55 |         tsocks_once_t name = { .once = 1, .mutex = TSOCKS_MUTEX_INIT }
      |                                        ^
torsocks.c:54:8: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
   54 | static TSOCKS_INIT_ONCE(term_once);
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/common/compat.h:55:33: note: expanded from macro 'TSOCKS_INIT_ONCE'
   55 |         tsocks_once_t name = { .once = 1, .mutex = TSOCKS_MUTEX_INIT }
      |                                        ^
torsocks.c:102:9: warning: call to undeclared function 'conf_file_set_enable_ipv6'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  102 |                 ret = conf_file_set_enable_ipv6(enable_ipv6, &tsocks_config);
      |                       ^
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT connect.lo -MD -MP -MF .deps/connect.Tpo -c connect.c -fPIE -o connect.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT gethostbyname.lo -MD -MP -MF .deps/gethostbyname.Tpo -c gethostbyname.c -fPIE -o gethostbyname.o >/dev/null 2>&1
3 warnings generated.
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT torsocks.lo -MD -MP -MF .deps/torsocks.Tpo -c torsocks.c -fPIE -o torsocks.o >/dev/null 2>&1
mv -f .deps/connect.Tpo .deps/connect.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h  -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fPIE -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT getaddrinfo.lo -MD -MP -MF .deps/getaddrinfo.Tpo -c -o getaddrinfo.lo getaddrinfo.c
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT getaddrinfo.lo -MD -MP -MF .deps/getaddrinfo.Tpo -c getaddrinfo.c  -fPIC -DPIC -o .libs/getaddrinfo.o
mv -f .deps/gethostbyname.Tpo .deps/gethostbyname.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h  -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fPIE -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT close.lo -MD -MP -MF .deps/close.Tpo -c -o close.lo close.c
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT close.lo -MD -MP -MF .deps/close.Tpo -c close.c  -fPIC -DPIC -o .libs/close.o
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT getaddrinfo.lo -MD -MP -MF .deps/getaddrinfo.Tpo -c getaddrinfo.c -fPIE -o getaddrinfo.o >/dev/null 2>&1
mv -f .deps/torsocks.Tpo .deps/torsocks.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h  -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fPIE -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT getpeername.lo -MD -MP -MF .deps/getpeername.Tpo -c -o getpeername.lo getpeername.c
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT getpeername.lo -MD -MP -MF .deps/getpeername.Tpo -c getpeername.c  -fPIC -DPIC -o .libs/getpeername.o
libtool: compile:  cc -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -I. -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fwrapv --param ssp-buffer-size=1 -fstack-protector-all -MT close.lo -MD -MP -MF .deps/close.Tpo -c close.c -fPIE -o close.o >/dev/null 2>&1
getpeername.c:98:1: error: redefinition of 'getpeername'
   98 | LIBC_GETPEERNAME_DECL
      | ^
./torsocks.h:408:3: note: expanded from macro 'LIBC_GETPEERNAME_DECL'
  408 |                 LIBC_GETPEERNAME_NAME(LIBC_GETPEERNAME_SIG)
      |                 ^
./torsocks.h:190:31: note: expanded from macro 'LIBC_GETPEERNAME_NAME'
  190 | #define LIBC_GETPEERNAME_NAME getpeername
      |                               ^
/usr/include/ssp/socket.h:50:30: note: previous definition is here
   50 | __ssp_redirect_raw_impl(int, getpeername, getpeername,
      |                              ^
1 error generated.
gmake[2]: *** [Makefile:471: getpeername.lo] Error 1
gmake[2]: *** Waiting for unfinished jobs....
mv -f .deps/getaddrinfo.Tpo .deps/getaddrinfo.Plo
mv -f .deps/close.Tpo .deps/close.Plo
gmake[2]: Leaving directory '/wrkdirs/usr/ports/net/torsocks/work/torsocks-afe9dea542a8b495dbbbbe5e4b98a33cde06729b/src/lib'
gmake[1]: *** [Makefile:364: all-recursive] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/torsocks/work/torsocks-afe9dea542a8b495dbbbbe5e4b98a33cde06729b/src'
gmake: *** [Makefile:468: all-recursive] Error 1
===> 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/net/torsocks