Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 May 2021 05:18:36 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 122powerpc64-quarterly][devel/cpprestsdk] Failed for cpprestsdk-2.10.16 in build
Message-ID:  <202105070518.1475IaN4004773@pylon.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

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:     projects@phess.net
Log URL:        http://pylon.nyi.freebsd.org/data/122powerpc64-quarterly/61257645fee1/logs/cpprestsdk-2.10.16.log
Build URL:      http://pylon.nyi.freebsd.org/build.html?mastername=122powerpc64-quarterly&build=61257645fee1
Log:

=>> Building devel/cpprestsdk
build started at Fri May  7 05:15:29 UTC 2021
port directory: /usr/ports/devel/cpprestsdk
package name: cpprestsdk-2.10.16
building for: FreeBSD 122powerpc64-quarterly-job-02 12.2-RELEASE FreeBSD 12.2-RELEASE powerpc
maintained by: projects@phess.net
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400003
Jail OSVERSION: 1202000
Job Id: 02

---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 cpprestsdk-2.10.16:
     BROTLI=off: Brotli compression support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
projects@phess.net
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/devel/cpprestsdk/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/cpprestsdk/work  HOME=/wrkdirs/usr/ports/devel/cpprestsdk/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/cpprestsdk/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--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/devel/cpprestsdk/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/cpprestsdk/work  HOME=/wrkdirs/usr/ports/devel/cpprestsdk/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/cpprestsdk/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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" DESTDIR=/wrkdirs/usr/ports/devel/cpprestsdk/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc10" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/u
 sr/local/lib/gcc10 -fno-strict-aliasing "  CPP="cpp10" CPPFLAGS=""  LDFLAGS="  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 " LIBS=""  CXX="g++10" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wno-c11-extensions -Wl,-rpath=/usr/local/lib/gcc10 "  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--
CMAKE_BUILD_TYPE="release" OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/cpprestsdk"  EXAMPLESDIR="share/examples/cpprestsdk"  DATADIR="share/cpprestsdk"  WWWDIR="www/cpprestsdk"  ETCDIR="etc/cpprestsdk"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/cpprestsdk DOCSDIR=/usr/local/share/doc/cpprestsdk EXAMPLESDIR=/usr/local/share/examples/cpprestsdk  WWWDIR=/usr/local/www/cpprestsdk ETCDIR=/usr/local/etc/cpprestsdk
--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    >============================
===>   cpprestsdk-2.10.16 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122powerpc64-quarterly-job-02] Installing pkg-1.16.3...
[122powerpc64-quarterly-job-02] Extracting pkg-1.16.3: .......... done
===>   cpprestsdk-2.10.16 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of cpprestsdk-2.10.16
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by cpprestsdk-2.10.16 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by cpprestsdk-2.10.16 for building
=> SHA256 Checksum OK for Microsoft-cpprestsdk-v2.10.16_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by cpprestsdk-2.10.16 for building
===>  Extracting for cpprestsdk-2.10.16
=> SHA256 Checksum OK for Microsoft-cpprestsdk-v2.10.16_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for cpprestsdk-2.10.16
===========================================================================
=======================<phase: build-depends  >============================
===>   cpprestsdk-2.10.16 depends on file: /usr/local/include/websocketpp/client.hpp - not found
===>   Installing existing package /packages/All/websocketpp-0.8.2.txz
[122powerpc64-quarterly-job-02] Installing websocketpp-0.8.2...
[122powerpc64-quarterly-job-02] Extracting websocketpp-0.8.2: .......... done
===>   cpprestsdk-2.10.16 depends on file: /usr/local/include/websocketpp/client.hpp - found
===>   Returning to build of cpprestsdk-2.10.16
===>   cpprestsdk-2.10.16 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.19.6.txz
[122powerpc64-quarterly-job-02] Installing cmake-3.19.6...
[122powerpc64-quarterly-job-02] `-- Installing curl-7.76.0...
[122powerpc64-quarterly-job-02] |   `-- Installing ca_root_nss-3.63...
[122powerpc64-quarterly-job-02] |   `-- Extracting ca_root_nss-3.63: ........ done
[122powerpc64-quarterly-job-02] |   `-- Installing libnghttp2-1.43.0...
[122powerpc64-quarterly-job-02] |   | `-- Installing gcc10-10.2.0_1...
[122powerpc64-quarterly-job-02] |   |   `-- Installing binutils-2.33.1_4,1...
[122powerpc64-quarterly-job-02] |   |   | `-- Installing gettext-runtime-0.21...
[122powerpc64-quarterly-job-02] |   |   |   `-- Installing indexinfo-0.3.1...
[122powerpc64-quarterly-job-02] |   |   |   `-- Extracting indexinfo-0.3.1: .... done
[122powerpc64-quarterly-job-02] |   |   | `-- Extracting gettext-runtime-0.21: .......... done
[122powerpc64-quarterly-job-02] |   |   `-- Extracting binutils-2.33.1_4,1: .......... done
[122powerpc64-quarterly-job-02] |   |   `-- Installing gcc9-9.3.0_3...
[122powerpc64-quarterly-job-02] |   |   | `-- Installing gmp-6.2.1...
[122powerpc64-quarterly-job-02] |   |   | `-- Extracting gmp-6.2.1: .......... done
[122powerpc64-quarterly-job-02] |   |   | `-- Installing mpc-1.2.0...
[122powerpc64-quarterly-job-02] |   |   |   `-- Installing mpfr-4.1.0...
[122powerpc64-quarterly-job-02] |   |   |   `-- Extracting mpfr-4.1.0: .......... done
[122powerpc64-quarterly-job-02] |   |   | `-- Extracting mpc-1.2.0: ......... done
[122powerpc64-quarterly-job-02] |   |   `-- Extracting gcc9-9.3.0_3: .......... done
[122powerpc64-quarterly-job-02] |   | `-- Extracting gcc10-10.2.0_1: .......... done
[122powerpc64-quarterly-job-02] |   `-- Extracting libnghttp2-1.43.0: .......... done
[122powerpc64-quarterly-job-02] `-- Extracting curl-7.76.0: .......... done
[122powerpc64-quarterly-job-02] `-- Installing expat-2.2.10...
[122powerpc64-quarterly-job-02] `-- Extracting expat-2.2.10: .......... done
[122powerpc64-quarterly-job-02] `-- Installing jsoncpp-1.9.4...
[122powerpc64-quarterly-job-02] `-- Extracting jsoncpp-1.9.4: .......... done
[122powerpc64-quarterly-job-02] `-- Installing libarchive-3.5.1,1...
[122powerpc64-quarterly-job-02] |   `-- Installing liblz4-1.9.3,1...
[122powerpc64-quarterly-job-02] |   `-- Extracting liblz4-1.9.3,1: .......... done
[122powerpc64-quarterly-job-02] `-- Extracting libarchive-3.5.1,1: .......... done
[122powerpc64-quarterly-job-02] `-- Installing libuv-1.41.0...
[122powerpc64-quarterly-job-02] `-- Extracting libuv-1.41.0: .......... done
[122powerpc64-quarterly-job-02] `-- Installing rhash-1.4.1...
[122powerpc64-quarterly-job-02] `-- Extracting rhash-1.4.1: .......... done
[122powerpc64-quarterly-job-02] Extracting cmake-3.19.6: .......... done
=====
Message from ca_root_nss-3.63:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
=====
Message from gcc9-9.3.0_3:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc9

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
=====
Message from gcc10-10.2.0_1:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc10

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   cpprestsdk-2.10.16 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of cpprestsdk-2.10.16
===>   cpprestsdk-2.10.16 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.10.2,2.txz
[122powerpc64-quarterly-job-02] Installing ninja-1.10.2,2...
[122powerpc64-quarterly-job-02] `-- Installing python37-3.7.10...
[122powerpc64-quarterly-job-02] |   `-- Installing libffi-3.3_1...
[122powerpc64-quarterly-job-02] |   `-- Extracting libffi-3.3_1: .......... done
[122powerpc64-quarterly-job-02] |   `-- Installing readline-8.1.0...
[122powerpc64-quarterly-job-02] |   `-- Extracting readline-8.1.0: .......... done
[122powerpc64-quarterly-job-02] `-- Extracting python37-3.7.10: .......... done
[122powerpc64-quarterly-job-02] Extracting ninja-1.10.2,2: ........ done
=====
Message from python37-3.7.10:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py37-gdbm       databases/py-gdbm@py37
py37-sqlite3    databases/py-sqlite3@py37
py37-tkinter    x11-toolkits/py-tkinter@py37
===>   cpprestsdk-2.10.16 depends on executable: ninja - found
===>   Returning to build of cpprestsdk-2.10.16
===>   cpprestsdk-2.10.16 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.7.4,1.txz
[122powerpc64-quarterly-job-02] Installing pkgconf-1.7.4,1...
[122powerpc64-quarterly-job-02] Extracting pkgconf-1.7.4,1: .......... done
===>   cpprestsdk-2.10.16 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of cpprestsdk-2.10.16
===>   cpprestsdk-2.10.16 depends on executable: gcc10 - found
===>   cpprestsdk-2.10.16 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===>   cpprestsdk-2.10.16 depends on shared library: libboost_system.so - not found
===>   Installing existing package /packages/All/boost-libs-1.72.0_4.txz
[122powerpc64-quarterly-job-02] Installing boost-libs-1.72.0_4...
[122powerpc64-quarterly-job-02] `-- Installing icu-68.2,1...
[122powerpc64-quarterly-job-02] `-- Extracting icu-68.2,1: .......... done
[122powerpc64-quarterly-job-02] Extracting boost-libs-1.72.0_4: .......... done
=====
Message from boost-libs-1.72.0_4:

--
You have built the Boost library with thread support.

Don't forget to add -pthread to your linker options when
linking your code.
===>   cpprestsdk-2.10.16 depends on shared library: libboost_system.so - found (/usr/local/lib/libboost_system.so)
===>   Returning to build of cpprestsdk-2.10.16
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for cpprestsdk-2.10.16
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/devel/cpprestsdk/work/.build
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/bin/gcc10 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/g++10 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Found Threads: TRUE  
-- Looking for include file xlocale.h
-- Looking for include file xlocale.h - found
-- Setting gcc options
-- Found websocketpp version 0.8.2 on system
-- Found Boost: /usr/local/include (found version "1.72.0") found components: random system thread filesystem chrono atomic date_time regex 
-- Found PkgConfig: pkgconf (found version "1.7.4") 
-- Checking for one of the modules 'openssl'
-- Found OpenSSL: /usr/lib/libcrypto.so (found suitable version "1.1.1h", minimum required is "1.0.0")  
-- Performing Test _SSL_LEAK_SUPPRESS_AVAILABLE
-- Performing Test _SSL_LEAK_SUPPRESS_AVAILABLE - Failed
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE


-- Build files have been written to: /wrkdirs/usr/ports/devel/cpprestsdk/work/.build
===========================================================================
=======================<phase: build          >============================
===>  Building for cpprestsdk-2.10.16
[1/30] /usr/local/bin/g++10 -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/include -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/pch -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wno-c11-extensions -Wl,-rpath=/usr/local/lib/gcc10 -std=c++11 -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wno-c11-extensions -Wl,-rpath=/usr/local/lib/gcc10 -fPIC -pthread -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o -MF src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o.d -o src/CMakeFiles/cppre
 st.dir/http/client/http_client_msg.cpp.o -c /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/http/client/http_client_msg.cpp
[2/30] /usr/local/bin/g++10 -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/include -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/pch -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wno-c11-extensions -Wl,-rpath=/usr/local/lib/gcc10 -std=c++11 -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wno-c11-extensions -Wl,-rpath=/usr/local/lib/gcc10 -fPIC -pthread -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o -MF src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o.d -o src/CMakeFiles/cpprest.dir/h
 ttp/client/http_client.cpp.o -c /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/http/client/http_client.cpp
[3/30] /usr/local/bin/g++10 -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/include -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/pch -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wno-c11-extensions -Wl,-rpath=/usr/local/lib/gcc10 -std=c++11 -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wno-c11-extensions -Wl,-rpath=/usr/local/lib/gcc10 -fPIC -pthread -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o -MF src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o.d -o src/CMakeFiles/cpp
 rest.dir/http/common/http_compression.cpp.o -c /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/http/common/http_compression.cpp
[4/30] /usr/local/bin/g++10 -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/include -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/pch -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wno-c11-extensions -Wl,-rpath=/usr/local/lib/gcc10 -std=c++11 -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wno-c11-extensions -Wl,-rpath=/usr/local/lib/gcc10 -fPIC -pthread -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT src/CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o -MF src/CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o.d -o src/CMakeFiles/cpprest.dir
 /http/common/http_helpers.cpp.o -c /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/http/common/http_helpers.cpp
FAILED: src/CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o 
/usr/local/bin/g++10 -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/include -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/pch -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wno-c11-extensions -Wl,-rpath=/usr/local/lib/gcc10 -std=c++11 -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wno-c11-extensions -Wl,-rpath=/usr/local/lib/gcc10 -fPIC -pthread -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT src/CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o -MF src/CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o.d -o src/CMakeFiles/cpprest.dir/http/c
 ommon/http_helpers.cpp.o -c /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/http/common/http_helpers.cpp
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/http/common/http_helpers.cpp: In function 'size_t web::http::details::chunked_encoding::add_chunked_delimiters(uint8_t*, size_t, size_t)':
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/http/common/http_helpers.cpp:91:43: error: '%8zX' directive output may be truncated writing between 8 and 16 bytes into a region of size 9 [-Werror=format-truncation=]
   91 |         snprintf(buffer, sizeof(buffer), "%8zX", bytes_read);
      |                                           ^~~~
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/http/common/http_helpers.cpp:91:42: note: directive argument in the range [1, 18446744073709551615]
   91 |         snprintf(buffer, sizeof(buffer), "%8zX", bytes_read);
      |                                          ^~~~~~
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/http/common/http_helpers.cpp:91:17: note: 'snprintf' output between 9 and 17 bytes into a destination of size 9
   91 |         snprintf(buffer, sizeof(buffer), "%8zX", bytes_read);
      |         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-c11-extensions' may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option '-Wno-c11-extensions' may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors
[5/30] /usr/local/bin/g++10 -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/include -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/pch -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wno-c11-extensions -Wl,-rpath=/usr/local/lib/gcc10 -std=c++11 -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wno-c11-extensions -Wl,-rpath=/usr/local/lib/gcc10 -fPIC -pthread -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o -MF src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o.d -o src/CMakeFiles/cpprest.dir/http/co
 mmon/http_msg.cpp.o -c /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.16/Release/src/http/common/http_msg.cpp
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/devel/cpprestsdk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105070518.1475IaN4004773>