From nobody Thu Jul 29 15:52:29 2021 X-Original-To: pkg-fallout@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3597412D87D9 for ; Thu, 29 Jul 2021 15:52:30 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GbFR2114Cz3F0G for ; Thu, 29 Jul 2021 15:52:30 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy7.nyi.freebsd.org (beefy7.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:16]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0A9CD14C00 for ; Thu, 29 Jul 2021 15:52:30 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy7.nyi.freebsd.org (localhost [127.0.0.1]) by beefy7.nyi.freebsd.org (8.16.1/8.16.1) with ESMTP id 16TFqTSK009729 for ; Thu, 29 Jul 2021 15:52:29 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy7.nyi.freebsd.org (8.16.1/8.16.1/Submit) id 16TFqTrK009728; Thu, 29 Jul 2021 15:52:29 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Thu, 29 Jul 2021 15:52:29 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202107291552.16TFqTrK009728@beefy7.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - main-riscv64-default][devel/socket_wrapper] Failed for socket_wrapper-1.1.9 in build X-ThisMailContainsUnwantedMimeParts: N List-Id: Fallout logs from package building List-Archive: https://lists.freebsd.org/archives/freebsd-pkg-fallout List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg-fallout@freebsd.org 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: timur@FreeBSD.org Log URL: http://beefy7.nyi.freebsd.org/data/main-riscv64-default/pd69639d824b8_s7685f8344d/logs/socket_wrapper-1.1.9.log Build URL: http://beefy7.nyi.freebsd.org/build.html?mastername=main-riscv64-default&build=pd69639d824b8_s7685f8344d Log: =>> Building devel/socket_wrapper build started at Thu Jul 29 15:51:32 UTC 2021 port directory: /usr/ports/devel/socket_wrapper package name: socket_wrapper-1.1.9 building for: FreeBSD main-riscv64-default-job-12 14.0-CURRENT FreeBSD 14.0-CURRENT 1400026 riscv maintained by: timur@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-20-g137a4a48 Host OSVERSION: 1400008 Jail OSVERSION: 1400026 Job Id: 12 !!! Jail is newer than host. (Jail: 1400026, Host: 1400008) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=riscv64 UNAME_m=riscv ABI_FILE=/usr/lib/crt1.o OSVERSION=1400026 UNAME_v=FreeBSD 14.0-CURRENT 1400026 UNAME_r=14.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local QEMU_EMULATING=1 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-20-g137a4a48 MASTERMNT=/usr/local/poudriere/data/.m/main-riscv64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-riscv64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-riscv64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-riscv64-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 socket_wrapper-1.1.9: TEST=on: Build and/or run tests ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- timur@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/socket_wrapper/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/socket_wrapper/work HOME=/wrkdirs/usr/ports/devel/socket_wrapper/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/socket_wrapper/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/devel/socket_wrapper/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/socket_wrapper/work HOME=/wrkdirs/usr/ports/devel/socket_wrapper/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/socket_wrapper/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/devel/socket_wrapper/work/stage PREFIX=/usr/local LOCALBASE=/usr/local CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing " CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_I NSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- CMAKE_BUILD_TYPE="release" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/socket_wrapper" EXAMPLESDIR="share/examples/socket_wrapper" DATADIR="share/socket_wrapper" WWWDIR="www/socket_wrapper" ETCDIR="etc/socket_wrapper" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/socket_wrapper DOCSDIR=/usr/local/share/doc/socket_wrapper EXAMPLESDIR=/usr/local/share/examples/socket_wrapper WWWDIR=/usr/local/www/socket_wrapper ETCDIR=/usr/local/etc/socket_wrapper --End SUB_LIST-- ---Begin make.conf--- .sinclude "/etc/make.nxb.conf" USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=riscv MACHINE_ARCH=riscv64 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_9d218390=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin _ALTCCVERSION_9d218390=none _CXXINTERNAL_9c45a5b1=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-m" "elf64lriscv" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_9d218390_58173849=yes CC_OUTPUT_9d218390_9bdba57c=yes CC_OUTPUT_9d218390_6a4fe7f5=yes CC_OUTPUT_9d218390_6bcac02b=yes CC_OUTPUT_9d218390_67d20829=yes CC_OUTPUT_9d218390_bfa62e83=yes CC_OUTPUT_9d218390_f0b4d593=yes CC_OUTPUT_9d218390_308abb44=yes CC_OUTPUT_9d218390_f00456e5=yes CC_OUTPUT_9d218390_65ad290d=yes CC_OUTPUT_9d218390_f2776b26=yes CC_OUTPUT_9d218390_b2657cc3=yes CC_OUTPUT_9d218390_380987f7=yes CC_OUTPUT_9d218390_160933ec=yes CC_OUTPUT_9d218390_fb62803b=yes _OBJC_CCVERSION_9d218390=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin _OBJC_ALTCCVERSION_9d218390=none ARCH=riscv64 OPSYS=FreeBSD _OSRELEASE=14.0-CURRENT OSREL=14.0 OSVERSION=1400026 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ---Begin make.nxb.conf--- CC=/nxb-bin/usr/bin/cc CPP=/nxb-bin/usr/bin/cpp CXX=/nxb-bin/usr/bin/c++ NM=/nxb-bin/usr/bin/nm LD=/nxb-bin/usr/bin/ld OBJCOPY=/nxb-bin/usr/bin/objcopy SIZE=/nxb-bin/usr/bin/size STRIPBIN=/nxb-bin/usr/bin/strip SED=/nxb-bin/usr/bin/sed RANLIB=/nxb-bin/usr/bin/ranlib YACC=/nxb-bin/usr/bin/yacc MAKE=/nxb-bin/usr/bin/make STRINGS=/nxb-bin/usr/bin/strings AWK=/nxb-bin/usr/bin/awk FLEX=/nxb-bin/usr/bin/flex ---End make.nxb.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===> License GPLv3 accepted by the user =========================================================================== =================================================== ===> socket_wrapper-1.1.9 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.17.1.pkg [main-riscv64-default-job-12] Installing pkg-1.17.1... [main-riscv64-default-job-12] Extracting pkg-1.17.1: .......... done ===> socket_wrapper-1.1.9 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of socket_wrapper-1.1.9 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by socket_wrapper-1.1.9 for building =========================================================================== -- Performing Test HAVE_IPV6 - Success -- Performing Test HAVE_SOCKADDR_STORAGE -- Performing Test HAVE_SOCKADDR_STORAGE - Success -- Performing Test HAVE_CONSTRUCTOR_ATTRIBUTE -- Performing Test HAVE_CONSTRUCTOR_ATTRIBUTE - Success -- Performing Test HAVE_DESTRUCTOR_ATTRIBUTE -- Performing Test HAVE_DESTRUCTOR_ATTRIBUTE - Success -- Performing Test HAVE_FALLTHROUGH_ATTRIBUTE -- Performing Test HAVE_FALLTHROUGH_ATTRIBUTE - Success -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE - Success -- Performing Test HAVE_FUNCTION_ATTRIBUTE_FORMAT -- Performing Test HAVE_FUNCTION_ATTRIBUTE_FORMAT - Success -- Performing Test HAVE_ADDRESS_SANITIZER_ATTRIBUTE -- Performing Test HAVE_ADDRESS_SANITIZER_ATTRIBUTE - Success -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for sys/types.h CMake Warning (dev) at /usr/local/share/cmake/Modules/CheckIncludeFile.cmake:82 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMAKE_REQUIRED_LIBRARIES is set to: /usr/lib/libdl.so For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): /usr/local/share/cmake/Modules/CheckTypeSize.cmake:249 (check_include_file) ConfigureChecks.cmake:271 (check_type_size) CMakeLists.txt:47 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of pid_t -- Check size of pid_t - done -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_DEBUG CMAKE_MODULE_LINKER_FLAGS CMAKE_VERBOSE_MAKEFILE -- Build files have been written to: /wrkdirs/usr/ports/devel/socket_wrapper/work/.build /nxb-bin/usr/bin/sed -i.bak -Ee '/HAVE_FALLTHROUGH_ATTRIBUTE/d' /wrkdirs/usr/ports/devel/socket_wrapper/work/.build/config.h =========================================================================== =================================================== ===> Building for socket_wrapper-1.1.9 [ 2% 1/49] /nxb-bin/usr/bin/cc -Dsocket_wrapper_EXPORTS -Isrc -I/wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src -I. -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing -std=gnu99 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wcast-align -Wcast-qual -Wno-missing-field-initializers -Werror=pointer-arith -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=write-strings -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fstrict-aliasing -Wstrict-aliasing=2 -fstrict-overflow -Wstrict-overflow=5 -Werror=strict-overflow -D_GNU_SOURCE -fPIC -fstack-protector -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing -fPIC -MD -MT src/CMakeFiles/socket_wrapper.dir/socket_wrapper.c.o -MF src/CMakeFiles/socket_wrapper.dir/socket_wrapper.c.o.d -o sr c/CMakeFiles/socket_wrapper.dir/socket_wrapper.c.o -c /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c [ 4% 2/49] : && /nxb-bin/usr/bin/cc -fPIC -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing -std=gnu99 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wcast-align -Wcast-qual -Wno-missing-field-initializers -Werror=pointer-arith -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=write-strings -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fstrict-aliasing -Wstrict-aliasing=2 -fstrict-overflow -Wstrict-overflow=5 -Werror=strict-overflow -D_GNU_SOURCE -fPIC -fstack-protector -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -shared -Wl,-soname,libsocket_wrapper.so.0 -o src/libsocket_wrapper.so.0.1.9 src/CMakeFiles/socket_wrapper.dir/socket_wrapper.c.o -ldl -pthread && : [ 6% 3/49] /usr/local/bin/cmake -E cmake_symlink_library src/libsocket_wrapper.so.0.1.9 src/libsocket_wrapper.so.0 src/libsocket_wrapper.so && : [ 8% 4/49] /nxb-bin/usr/bin/cc -Itests -I/wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/tests -I. -I/wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src -I/usr/local/include -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing -std=gnu99 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wcast-align -Wcast-qual -Wno-missing-field-initializers -Werror=pointer-arith -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=write-strings -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fstrict-aliasing -Wstrict-aliasing=2 -fstrict-overflow -Wstrict-overflow=5 -Werror=strict-overflow -D_GNU_SOURCE -fPIC -fstack-protector -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing -MD -MT tests/CMakeFiles/test_max_sockets.dir/test_max_soc kets.c.o -MF tests/CMakeFiles/test_max_sockets.dir/test_max_sockets.c.o.d -o tests/CMakeFiles/test_max_sockets.dir/test_max_sockets.c.o -c /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/tests/test_max_sockets.c [ 10% 5/49] /nxb-bin/usr/bin/cc -Itests -I/wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/tests -I. -I/wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src -I/usr/local/include -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing -std=gnu99 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wcast-align -Wcast-qual -Wno-missing-field-initializers -Werror=pointer-arith -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=write-strings -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fstrict-aliasing -Wstrict-aliasing=2 -fstrict-overflow -Wstrict-overflow=5 -Werror=strict-overflow -D_GNU_SOURCE -fPIC -fstack-protector -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing -MD -MT tests/CMakeFiles/test_swrap_unit.dir/test_swrap_un it.c.o -MF tests/CMakeFiles/test_swrap_unit.dir/test_swrap_unit.c.o.d -o tests/CMakeFiles/test_swrap_unit.dir/test_swrap_unit.c.o -c /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/tests/test_swrap_unit.c FAILED: tests/CMakeFiles/test_swrap_unit.dir/test_swrap_unit.c.o /nxb-bin/usr/bin/cc -Itests -I/wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/tests -I. -I/wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src -I/usr/local/include -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing -std=gnu99 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wcast-align -Wcast-qual -Wno-missing-field-initializers -Werror=pointer-arith -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=write-strings -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fstrict-aliasing -Wstrict-aliasing=2 -fstrict-overflow -Wstrict-overflow=5 -Werror=strict-overflow -D_GNU_SOURCE -fPIC -fstack-protector -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing -MD -MT tests/CMakeFiles/test_swrap_unit.dir/test_swrap_unit.c.o -MF t ests/CMakeFiles/test_swrap_unit.dir/test_swrap_unit.c.o.d -o tests/CMakeFiles/test_swrap_unit.dir/test_swrap_unit.c.o -c /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/tests/test_swrap_unit.c In file included from /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/tests/test_swrap_unit.c:10: /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:4036:9: error: cast to smaller integer type 'uintptr_t' (aka 'unsigned int') from 'const void *' [-Werror,-Wvoid-pointer-to-int-cast] i = *discard_const_p(int, optval); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:150:45: note: expanded from macro 'discard_const_p' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:146:38: note: expanded from macro 'discard_const' #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:4036:9: error: cast to 'void *' from smaller integer type 'uintptr_t' (aka 'unsigned int') [-Werror,-Wint-to-void-pointer-cast] i = *discard_const_p(int, optval); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:150:45: note: expanded from macro 'discard_const_p' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:146:29: note: expanded from macro 'discard_const' #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:4976:17: error: cast to smaller integer type 'uintptr_t' (aka 'unsigned int') from 'const void *' [-Werror,-Wvoid-pointer-to-int-cast] tmp.iov_base = discard_const_p(char, buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:150:45: note: expanded from macro 'discard_const_p' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:146:38: note: expanded from macro 'discard_const' #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:4976:17: error: cast to 'void *' from smaller integer type 'uintptr_t' (aka 'unsigned int') [-Werror,-Wint-to-void-pointer-cast] tmp.iov_base = discard_const_p(char, buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:150:45: note: expanded from macro 'discard_const_p' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:146:29: note: expanded from macro 'discard_const' #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:4980:17: error: cast to smaller integer type 'uintptr_t' (aka 'unsigned int') from 'const struct sockaddr *' [-Werror,-Wpointer-to-int-cast] msg.msg_name = discard_const_p(struct sockaddr, to); /* optional address */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:150:45: note: expanded from macro 'discard_const_p' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:146:38: note: expanded from macro 'discard_const' #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:4980:17: error: cast to 'void *' from smaller integer type 'uintptr_t' (aka 'unsigned int') [-Werror,-Wint-to-void-pointer-cast] msg.msg_name = discard_const_p(struct sockaddr, to); /* optional address */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:150:45: note: expanded from macro 'discard_const_p' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:146:29: note: expanded from macro 'discard_const' #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:5200:17: error: cast to smaller integer type 'uintptr_t' (aka 'unsigned int') from 'const void *' [-Werror,-Wvoid-pointer-to-int-cast] tmp.iov_base = discard_const_p(char, buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:150:45: note: expanded from macro 'discard_const_p' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:146:38: note: expanded from macro 'discard_const' #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:5200:17: error: cast to 'void *' from smaller integer type 'uintptr_t' (aka 'unsigned int') [-Werror,-Wint-to-void-pointer-cast] tmp.iov_base = discard_const_p(char, buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:150:45: note: expanded from macro 'discard_const_p' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:146:29: note: expanded from macro 'discard_const' #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:5251:17: error: cast to smaller integer type 'uintptr_t' (aka 'unsigned int') from 'const void *' [-Werror,-Wvoid-pointer-to-int-cast] tmp.iov_base = discard_const_p(char, buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:150:45: note: expanded from macro 'discard_const_p' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:146:38: note: expanded from macro 'discard_const' #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:5251:17: error: cast to 'void *' from smaller integer type 'uintptr_t' (aka 'unsigned int') [-Werror,-Wint-to-void-pointer-cast] tmp.iov_base = discard_const_p(char, buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:150:45: note: expanded from macro 'discard_const_p' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:146:29: note: expanded from macro 'discard_const' #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:5554:16: error: cast to smaller integer type 'uintptr_t' (aka 'unsigned int') from 'const struct iovec *' [-Werror,-Wpointer-to-int-cast] msg.msg_iov = discard_const_p(struct iovec, vector); /* scatter/gather array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:150:45: note: expanded from macro 'discard_const_p' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:146:38: note: expanded from macro 'discard_const' #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:5554:16: error: cast to 'void *' from smaller integer type 'uintptr_t' (aka 'unsigned int') [-Werror,-Wint-to-void-pointer-cast] msg.msg_iov = discard_const_p(struct iovec, vector); /* scatter/gather array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:150:45: note: expanded from macro 'discard_const_p' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:146:29: note: expanded from macro 'discard_const' #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:5608:16: error: cast to smaller integer type 'uintptr_t' (aka 'unsigned int') from 'const struct iovec *' [-Werror,-Wpointer-to-int-cast] msg.msg_iov = discard_const_p(struct iovec, vector); /* scatter/gather array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:150:45: note: expanded from macro 'discard_const_p' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:146:38: note: expanded from macro 'discard_const' #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:5608:16: error: cast to 'void *' from smaller integer type 'uintptr_t' (aka 'unsigned int') [-Werror,-Wint-to-void-pointer-cast] msg.msg_iov = discard_const_p(struct iovec, vector); /* scatter/gather array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:150:45: note: expanded from macro 'discard_const_p' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/socket_wrapper/work/socket_wrapper-1.1.9/src/socket_wrapper.c:146:29: note: expanded from macro 'discard_const' #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^~~~~~~~~~~~~~~~~~~~~~~~~~ 14 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/devel/socket_wrapper