[package - 122powerpc64-quarterly][net/libwebsockets] Failed for libwebsockets-4.2.0_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 29 Jun 2021 02:51:27 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:     iblis@hs.ntnu.edu.tw
Log URL:        http://foul1.nyi.freebsd.org/data/122powerpc64-quarterly/ae162bd98935/logs/libwebsockets-4.2.0_1.log
Build URL:      http://foul1.nyi.freebsd.org/build.html?mastername=122powerpc64-quarterly&build=ae162bd98935
Log:

=>> Building net/libwebsockets
build started at Tue Jun 29 02:50:07 UTC 2021
port directory: /usr/ports/net/libwebsockets
package name: libwebsockets-4.2.0_1
building for: FreeBSD 122powerpc64-quarterly-job-05 12.2-RELEASE FreeBSD 12.2-RELEASE powerpc
maintained by: iblis@hs.ntnu.edu.tw
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400008
Jail OSVERSION: 1202000
Job Id: 05

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE
UNAME_r=12.2-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
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-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/122powerpc64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/122powerpc64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=122powerpc64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/122powerpc64-quarterly/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 libwebsockets-4.2.0_1:
     HTTP2=on: HTTP protocol version 2.0 support
     HTTP_PROXY=off: HTTP proxy support
     MQTT=on: MQTT client support
     PEERLIMITS=off: Tracking and limiting of resources of peer(s)
     PLUGINS=off: Plugins support
     SECURE_STREAMS=off: Secure streams protocol API support
     SOCKS=off: Allow use of SOCKS5 proxy on client connections
     SQLITE=off: SQLite database support
     WEBSERVER=off: Build and/or install internal web server
====> Event loop support
     GLIB=off: Events support via Glib
     LIBEV=off: High-performance events support via libev
     LIBEVENT=off: Asynchronous event notification via libevent
     LIBUV=on: Asynchronous I/O support via libuv
====> SSL protocol support: you have to select exactly one of them
     MBEDTLS=off: SSL/TLS support via mbed TLS
     OPENSSL=on: SSL/TLS support via OpenSSL
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
iblis@hs.ntnu.edu.tw
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/net/libwebsockets/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/libwebsockets/work  HOME=/wrkdirs/usr/ports/net/libwebsockets/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/libwebsockets/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net/libwebsockets/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/libwebsockets/work  HOME=/wrkdirs/usr/ports/net/libwebsockets/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/libwebsockets/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/net/libwebsockets/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS="  -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  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--
GLIB="@comment " NO_GLIB="" HTTP2="" NO_HTTP2="@comment " HTTP_PROXY="@comment " NO_HTTP_PROXY="" LIBEV="@comment " NO_LIBEV="" LIBEVENT="@comment " NO_LIBEVENT="" LIBUV="" NO_LIBUV="@comment " MBEDTLS="@comment " NO_MBEDTLS="" MQTT="" NO_MQTT="@comment " OPENSSL="" NO_OPENSSL="@comment " PEERLIMITS="@comment " NO_PEERLIMITS="" PLUGINS="@comment " NO_PLUGINS="" SECURE_STREAMS="@comment " NO_SECURE_STREAMS="" SOCKS="@comment " NO_SOCKS="" SQLITE="@comment " NO_SQLITE="" WEBSERVER="@comment " NO_WEBSERVER="" CMAKE_BUILD_TYPE="release" OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libwebsockets"  EXAMPLESDIR="share/examples/libwebsockets"  DATADIR="share/libwebsockets"  WWWDIR="www/libwebsockets"  ETCDIR="etc/libwebsockets"
--End PLIST_SUB--

--SUB_LIST--
GLIB="@comment " NO_GLIB="" HTTP2="" NO_HTTP2="@comment " HTTP_PROXY="@comment " NO_HTTP_PROXY="" LIBEV="@comment " NO_LIBEV="" LIBEVENT="@comment " NO_LIBEVENT="" LIBUV="" NO_LIBUV="@comment " MBEDTLS="@comment " NO_MBEDTLS="" MQTT="" NO_MQTT="@comment " OPENSSL="" NO_OPENSSL="@comment " PEERLIMITS="@comment " NO_PEERLIMITS="" PLUGINS="@comment " NO_PLUGINS="" SECURE_STREAMS="@comment " NO_SECURE_STREAMS="" SOCKS="@comment " NO_SOCKS="" SQLITE="@comment " NO_SQLITE="" WEBSERVER="@comment " NO_WEBSERVER="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/libwebsockets DOCSDIR=/usr/local/share/doc/libwebsockets EXAMPLESDIR=/usr/local/share/examples/libwebsockets  WWWDIR=/usr/local/www/libwebsockets ETCDIR=/usr/local/etc/libwebsockets
--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
#### /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=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=Using built-in specs. Target: powerpc64-undermydesk-freebsd Configured with: FreeBSD/powerpc64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] "/usr/bin/ld" "--eh-frame-hdr" "-Qy" "-melf64ppc_fbsd" "--enable-new-dtags" "-dynamic-linker" "/libexec/ld-elf.so.1" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "-L/usr/lib" "/dev/null" "-lstdc++" "-lm" "-lgcc_s" "-lgcc" "-lc" "-lgcc_s" "-lgcc" "/usr/lib/crtsavres.o" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=cc1: error: unrecognized command line option "-std=c11"
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=cc1: error: unrecognized command line option "-std=gnu11"
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=cc1plus: error: unrecognized command line option "-std=c++0x"
CC_OUTPUT_921dbbb2_f00456e5=cc1plus: error: unrecognized command line option "-std=c++11"
CC_OUTPUT_921dbbb2_65ad290d=cc1plus: error: unrecognized command line option "-std=c++14"
CC_OUTPUT_921dbbb2_f2776b26=cc1plus: error: unrecognized command line option "-std=c++17"
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=cc1plus: error: unrecognized command line option "-std=gnu++11"
CC_OUTPUT_921dbbb2_160933ec=cc1plus: error: unrecognized command line option "-std=gnu++14"
CC_OUTPUT_921dbbb2_fb62803b=cc1plus: error: unrecognized command line option "-std=gnu++17"
_OBJC_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv1
OPSYS=FreeBSD
_OSRELEASE=12.2-RELEASE
OSREL=12.2
OSVERSION=1202000
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)  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--
=======================<phase: check-sanity   >============================
===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   libwebsockets-4.2.0_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122powerpc64-quarterly-job-05] Installing pkg-1.16.3...
[122powerpc64-quarterly-job-05] Extracting pkg-1.16.3: .......... done
===>   libwebsockets-4.2.0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of libwebsockets-4.2.0_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by libwebsockets-4.2.0_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by libwebsockets-4.2.0_1 for building
=> SHA256 Checksum OK for libwebsockets-v4.2.0.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by libwebsockets-4.2.0_1 for building
===>  Extracting for libwebsockets-4.2.0_1
=> SHA256 Checksum OK for libwebsockets-v4.2.0.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for libwebsockets-4.2.0_1
===========================================================================
=======================<phase: build-depends  >============================
===>   libwebsockets-4.2.0_1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.19.6.txz
<snip>
-- Looking for localtime_r - found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for ctime_r
-- Looking for ctime_r - found
-- Looking for getgrgid_r
-- Looking for getgrgid_r - found
-- Looking for getgrnam_r
-- Looking for getgrnam_r - found
-- Looking for getpwuid_r
-- Looking for getpwuid_r - found
-- Looking for getpwnam_r
-- Looking for getpwnam_r - found
-- Looking for in6addr.h
-- Looking for in6addr.h - not found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for sys/prctl.h
-- Looking for sys/prctl.h - not found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - found
-- Looking for sys/sockio.h
-- Looking for sys/sockio.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for vfork.h
-- Looking for vfork.h - not found
-- Looking for sys/capability.h
-- Looking for sys/capability.h - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for cap_set_flag in cap
-- Looking for cap_set_flag in cap - not found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for 3 include files stdlib.h, ..., string.h
-- Looking for 3 include files stdlib.h, ..., string.h - found
-- Performing Test LWS_HAS_INTPTR_T
-- Performing Test LWS_HAS_INTPTR_T - Success
-- Performing Test LWS_HAS_PTHREAD_SETNAME_NP
-- Performing Test LWS_HAS_PTHREAD_SETNAME_NP - Failed
-- Performing Test LWS_HAS_GETOPT_LONG
-- Performing Test LWS_HAS_GETOPT_LONG - Success
-- Performing Test LWS_HAVE_RTA_PREF
-- Performing Test LWS_HAVE_RTA_PREF - Failed
-- Performing Test LWS_HAVE_SUSECONDS_T
-- Performing Test LWS_HAVE_SUSECONDS_T - Success
-- Performing Test LWS_HAVE_VISIBILITY
-- Performing Test LWS_HAVE_VISIBILITY - Success
-- Performing Test LWS_GCC_HAS_IGNORED_QUALIFIERS
-- Performing Test LWS_GCC_HAS_IGNORED_QUALIFIERS - Failed
-- Performing Test LWS_GCC_HAS_TYPE_LIMITS
-- Performing Test LWS_GCC_HAS_TYPE_LIMITS - Failed
-- Performing Test LWS_GCC_HAS_NO_DEPRECATED_DECLARATIONS
-- Performing Test LWS_GCC_HAS_NO_DEPRECATED_DECLARATIONS - Success
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
zlib/miniz include dirs: /usr/include
zlib/miniz libraries: /usr/lib/libz.so
-- Performing Test LWS_HAVE_PIPE2
-- Performing Test LWS_HAVE_PIPE2 - Success
-- Performing Test LWS_HAVE_TCP_USER_TIMEOUT
-- Performing Test LWS_HAVE_TCP_USER_TIMEOUT - Failed
Compiling with SSL support
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1h")  
OpenSSL include dir: /usr/include
OpenSSL libraries: /usr/lib/libssl.so;/usr/lib/libcrypto.so
-- Looking for openssl/ecdh.h
-- Looking for openssl/ecdh.h - found
-- Looking for SSL_CTX_set1_param
-- Looking for SSL_CTX_set1_param - found
-- Looking for SSL_set_info_callback
-- Looking for SSL_set_info_callback - found
-- Looking for X509_VERIFY_PARAM_set1_host
-- Looking for X509_VERIFY_PARAM_set1_host - found
-- Looking for X509_VERIFY_PARAM_set1_host
-- Looking for X509_VERIFY_PARAM_set1_host - not found
-- Looking for RSA_set0_key
-- Looking for RSA_set0_key - found
-- Looking for X509_get_key_usage
-- Looking for X509_get_key_usage - found
-- Looking for EVP_PKEY_new_raw_private_key
-- Looking for EVP_PKEY_new_raw_private_key - found
-- Looking for SSL_CTX_get0_certificate
-- Looking for SSL_CTX_get0_certificate - found
-- Looking for SSL_get0_alpn_selected
-- Looking for SSL_get0_alpn_selected - found
-- Looking for SSL_set_alpn_protos
-- Looking for SSL_set_alpn_protos - found
-- Looking for EVP_aes_128_cfb8
-- Looking for EVP_aes_128_cfb8 - found
-- Looking for EVP_aes_128_cfb128
-- Looking for EVP_aes_128_cfb128 - found
-- Looking for EVP_aes_192_cfb8
-- Looking for EVP_aes_192_cfb8 - found
-- Looking for EVP_aes_192_cfb128
-- Looking for EVP_aes_192_cfb128 - found
-- Looking for EVP_aes_256_cfb8
-- Looking for EVP_aes_256_cfb8 - found
-- Looking for EVP_aes_256_cfb128
-- Looking for EVP_aes_256_cfb128 - found
-- Looking for EVP_aes_128_xts
-- Looking for EVP_aes_128_xts - found
-- Looking for RSA_verify_pss_mgf1
-- Looking for RSA_verify_pss_mgf1 - not found
-- Looking for HMAC_CTX_new
-- Looking for HMAC_CTX_new - found
-- Looking for EVP_PKEY_new_raw_private_key
-- Looking for EVP_PKEY_new_raw_private_key - found
-- Looking for SSL_SESSION_set_time
-- Looking for SSL_SESSION_set_time - found
-- Looking for EC_KEY_new_by_curve_name
-- Looking for EC_KEY_new_by_curve_name - found
-- Performing Test LWS_HAVE_SSL_EXTRA_CHAIN_CERTS
-- Performing Test LWS_HAVE_SSL_EXTRA_CHAIN_CERTS - Failed
-- Performing Test LWS_HAVE_EVP_MD_CTX_free
-- Performing Test LWS_HAVE_EVP_MD_CTX_free - Success
-- Looking for ECDSA_SIG_set0
-- Looking for ECDSA_SIG_set0 - found
-- Looking for BN_bn2binpad
-- Looking for BN_bn2binpad - found
-- Looking for EVP_aes_128_wrap
-- Looking for EVP_aes_128_wrap - found
-- Looking for EC_POINT_get_affine_coordinates
-- Looking for EC_POINT_get_affine_coordinates - found
-- Looking for SSL_CTX_load_verify_file
-- Looking for SSL_CTX_load_verify_file - not found
-- Looking for SSL_CTX_load_verify_dir
-- Looking for SSL_CTX_load_verify_dir - not found
-- Looking for TLS_client_method
-- Looking for TLS_client_method - found
-- Looking for TLSv1_2_client_method
-- Looking for TLSv1_2_client_method - found
Searching for OpenSSL executable and dlls
OpenSSL executable: /usr/bin/openssl
 GENCERTS = 0
libuv include dir: /usr/local/include
libuv libraries: /usr/local/lib/libuv.so
-- Looking for uv-version.h
-- Looking for uv-version.h - not found
-- Looking for uv/version.h
-- Looking for uv/version.h - found
DIR /wrkdirs/usr/ports/net/libwebsockets/work/.build CMP /wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/cmake
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_CXX_FLAGS_RELEASE
    CMAKE_C_FLAGS_DEBUG
    CMAKE_EXE_LINKER_FLAGS
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    LWS_WITHOUT_TEST_CLIENT
    LWS_WITHOUT_TEST_PING
    LWS_WITHOUT_TEST_SERVER_EXTPOLL
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to: /wrkdirs/usr/ports/net/libwebsockets/work/.build
===========================================================================
=======================<phase: build          >============================
===>  Building for libwebsockets-4.2.0_1
[1/166] cd /wrkdirs/usr/ports/net/libwebsockets/work/.build && /usr/local/bin/cmake -E copy /wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/include/libwebsockets.h /wrkdirs/usr/ports/net/libwebsockets/work/.build/include/libwebsockets.h && /usr/local/bin/cmake -E copy_directory /wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/include/libwebsockets/ /wrkdirs/usr/ports/net/libwebsockets/work/.build/include/libwebsockets && /usr/local/bin/cmake -E copy /wrkdirs/usr/ports/net/libwebsockets/work/.build/lws_config.h /wrkdirs/usr/ports/net/libwebsockets/work/.build/include/lws_config.h
[2/166] /usr/bin/cc -DLWS_BUILDING_SHARED -Dwebsockets_shared_EXPORTS -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/include -I. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/plat/unix/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/tls/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/core/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/misc/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/system/./async-dns -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/system/smd/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/system/metrics/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/core-net/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/li
 b/roles/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/mqtt/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/http/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/http/./compression -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/h1/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/h2/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/ws/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/raw-skt/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/raw-file/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/listen/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/event-libs/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/event-libs/poll/../poll -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v
 4.2.0/lib/event-libs/libuv/. -Wall -Wconvers!
 ion -Wsign-compare -Wstrict-aliasing -fvisibility=hidden -Wundef  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Werror -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT lib/CMakeFiles/websockets_shared.dir/plat/unix/unix-misc.c.o -MF lib/CMakeFiles/websockets_shared.dir/plat/unix/unix-misc.c.o.d -o lib/CMakeFiles/websockets_shared.dir/plat/unix/unix-misc.c.o -c /wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/plat/unix/unix-misc.c
FAILED: lib/CMakeFiles/websockets_shared.dir/plat/unix/unix-misc.c.o 
/usr/bin/cc -DLWS_BUILDING_SHARED -Dwebsockets_shared_EXPORTS -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/include -I. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/plat/unix/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/tls/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/core/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/misc/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/system/./async-dns -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/system/smd/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/system/metrics/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/core-net/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/
 . -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/mqtt/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/http/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/http/./compression -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/h1/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/h2/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/ws/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/raw-skt/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/raw-file/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/listen/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/event-libs/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/event-libs/poll/../poll -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/li
 b/event-libs/libuv/. -Wall -Wconversion -Wsi!
 gn-compare -Wstrict-aliasing -fvisibility=hidden -Wundef  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Werror -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT lib/CMakeFiles/websockets_shared.dir/plat/unix/unix-misc.c.o -MF lib/CMakeFiles/websockets_shared.dir/plat/unix/unix-misc.c.o.d -o lib/CMakeFiles/websockets_shared.dir/plat/unix/unix-misc.c.o -c /wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/plat/unix/unix-misc.c
cc1: warnings being treated as errors
/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/plat/unix/unix-misc.c: In function 'lws_plat_write_cert':
/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/plat/unix/unix-misc.c:106: warning: passing argument 2 of 'lseek' with different width due to prototype
[3/166] /usr/bin/cc -DLWS_BUILDING_SHARED -Dwebsockets_shared_EXPORTS -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/include -I. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/plat/unix/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/tls/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/core/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/misc/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/system/./async-dns -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/system/smd/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/system/metrics/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/core-net/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/li
 b/roles/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/mqtt/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/http/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/http/./compression -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/h1/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/h2/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/ws/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/raw-skt/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/raw-file/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/roles/listen/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/event-libs/. -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/event-libs/poll/../poll -I/wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v
 4.2.0/lib/event-libs/libuv/. -Wall -Wconvers!
 ion -Wsign-compare -Wstrict-aliasing -fvisibility=hidden -Wundef  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Werror -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT lib/CMakeFiles/websockets_shared.dir/plat/unix/unix-caps.c.o -MF lib/CMakeFiles/websockets_shared.dir/plat/unix/unix-caps.c.o.d -o lib/CMakeFiles/websockets_shared.dir/plat/unix/unix-caps.c.o -c /wrkdirs/usr/ports/net/libwebsockets/work/libwebsockets-v4.2.0/lib/plat/unix/unix-caps.c
ninja: build stopped: subcommand failed.
===> 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/libwebsockets