[package - 122powerpc64-quarterly][security/yubico-piv-tool] Failed for yubico-piv-tool-2.2.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 26 Jun 2021 03:40:17 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:     ume@FreeBSD.org
Log URL:        http://foul1.nyi.freebsd.org/data/122powerpc64-quarterly/67383f941ca2/logs/yubico-piv-tool-2.2.0.log
Build URL:      http://foul1.nyi.freebsd.org/build.html?mastername=122powerpc64-quarterly&build=67383f941ca2
Log:

=>> Building security/yubico-piv-tool
build started at Sat Jun 26 03:39:23 UTC 2021
port directory: /usr/ports/security/yubico-piv-tool
package name: yubico-piv-tool-2.2.0
building for: FreeBSD 122powerpc64-quarterly-job-07 12.2-RELEASE FreeBSD 12.2-RELEASE powerpc
maintained by: ume@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400008
Jail OSVERSION: 1202000
Job Id: 07

---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---
---End OPTIONS List---

--MAINTAINER--
ume@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/security/yubico-piv-tool/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/yubico-piv-tool/work  HOME=/wrkdirs/usr/ports/security/yubico-piv-tool/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/yubico-piv-tool/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/security/yubico-piv-tool/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/yubico-piv-tool/work  HOME=/wrkdirs/usr/ports/security/yubico-piv-tool/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/yubico-piv-tool/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 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  "  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/yubico-piv-tool"  EXAMPLESDIR="share/examples/yubico-piv-tool"  DATADIR="share/yubico-piv-tool"  WWWDIR="www/yubico-piv-tool"  ETCDIR="etc/yubico-piv-tool"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/yubico-piv-tool DOCSDIR=/usr/local/share/doc/yubico-piv-tool EXAMPLESDIR=/usr/local/share/examples/yubico-piv-tool  WWWDIR=/usr/local/www/yubico-piv-tool ETCDIR=/usr/local/etc/yubico-piv-tool
--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 BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   yubico-piv-tool-2.2.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122powerpc64-quarterly-job-07] Installing pkg-1.16.3...
[122powerpc64-quarterly-job-07] Extracting pkg-1.16.3: .......... done
===>   yubico-piv-tool-2.2.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of yubico-piv-tool-2.2.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by yubico-piv-tool-2.2.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by yubico-piv-tool-2.2.0 for building
=> SHA256 Checksum OK for yubico-piv-tool-2.2.0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by yubico-piv-tool-2.2.0 for building
===>  Extracting for yubico-piv-tool-2.2.0
=> SHA256 Checksum OK for yubico-piv-tool-2.2.0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for yubico-piv-tool-2.2.0
===>  Applying FreeBSD patches for yubico-piv-tool-2.2.0 from /usr/ports/security/yubico-piv-tool/files
===========================================================================
=======================<phase: build-depends  >============================
===>   yubico-piv-tool-2.2.0 depends on file: /usr/local/libdata/pkgconfig/check.pc - not found
===>   Installing existing package /packages/All/check-0.15.2.txz
[122powerpc64-quarterly-job-07] Installing check-0.15.2...
[122powerpc64-quarterly-job-07] `-- Installing indexinfo-0.3.1...
[122powerpc64-quarterly-job-07] `-- Extracting indexinfo-0.3.1: .... done
[122powerpc64-quarterly-job-07] Extracting check-0.15.2: .......... done
===>   yubico-piv-tool-2.2.0 depends on file: /usr/local/libdata/pkgconfig/check.pc - found
===>   Returning to build of yubico-piv-tool-2.2.0
===>   yubico-piv-tool-2.2.0 depends on executable: gengetopt - not found
===>   Installing existing package /packages/All/gengetopt-2.23.txz
[122powerpc64-quarterly-job-07] Installing gengetopt-2.23...
[122powerpc64-quarterly-job-07] Extracting gengetopt-2.23: .......... done
=====
Message from gengetopt-2.23:

--
===>   NOTICE:

The gengetopt port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
<snip>

--
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.
===>   yubico-piv-tool-2.2.0 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of yubico-piv-tool-2.2.0
===>   yubico-piv-tool-2.2.0 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.txz
[122powerpc64-quarterly-job-07] Installing gmake-4.3_2...
[122powerpc64-quarterly-job-07] Extracting gmake-4.3_2: .......... done
===>   yubico-piv-tool-2.2.0 depends on package: gmake>=4.3 - found
===>   Returning to build of yubico-piv-tool-2.2.0
===>   yubico-piv-tool-2.2.0 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.7.4,1.txz
[122powerpc64-quarterly-job-07] Installing pkgconf-1.7.4,1...
[122powerpc64-quarterly-job-07] Extracting pkgconf-1.7.4,1: .......... done
===>   yubico-piv-tool-2.2.0 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of yubico-piv-tool-2.2.0
===========================================================================
=======================<phase: lib-depends    >============================
===>   yubico-piv-tool-2.2.0 depends on shared library: libpcsclite.so - not found
===>   Installing existing package /packages/All/pcsc-lite-1.9.0_1,2.txz
[122powerpc64-quarterly-job-07] Installing pcsc-lite-1.9.0_1,2...
[122powerpc64-quarterly-job-07] Extracting pcsc-lite-1.9.0_1,2: .......... done
=====
Message from pcsc-lite-1.9.0_1,2:

--
PC/SC-Lite has been installed.

You need to install a driver for your smartcard reader e.g.,
- devel/libccid
- security/ifd-slb_rf60

For cardreaders connected to the serial port: After installing the driver,
please update the pcscd configuration file:
/usr/local/etc/reader.conf

For USB cardreaders add the following lines to /etc/devd.conf to enable
hotplugging:

attach 100 {
        device-name "ugen[0-9]+";
        action "/usr/local/sbin/pcscd -H";
};

detach 100 {
        device-name "ugen[0-9]+";
        action "/usr/local/sbin/pcscd -H";
};
--
===>   NOTICE:

The pcsc-lite port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
===>   yubico-piv-tool-2.2.0 depends on shared library: libpcsclite.so - found (/usr/local/lib/libpcsclite.so)
===>   Returning to build of yubico-piv-tool-2.2.0
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for yubico-piv-tool-2.2.0
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/security/yubico-piv-tool/work/.build
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - 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/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: pkgconf (found version "1.7.4") 
-- Performing Test HAVE_SHORTEN_64_TO_32
-- Performing Test HAVE_SHORTEN_64_TO_32 - Failed
-- Checking for module 'libcrypto'
--   Package 'libcrypto', required by 'virtual:world', not found
        OpenSSL version:   
-- Looking for explicit_bzero
-- Looking for explicit_bzero - not found
lib/CMakeList.txt
Detected neither Mac nor Windows: selecting pcsc backend
-- Checking for module 'libpcsclite'
--   Found libpcsclite, version 1.9.0
PCSC_LIBRARIES: -L/usr/local/lib;-lpcsclite
PCSC_CFLAGS: -I/usr/local/include/PCSC -D_THREAD_SAFE -pthread
BACKEND_PCSC: ON
HAVE_PCSC_WINSCARD_H: 
lib/tests/CMakeList.txt
-- Checking for module 'check'
--   Found check, version 0.15.2
ykcs11/CMakeList.txt
ykcs11/tests/CMakeList.txt
tool/CMakeList.txt
lib/tool/CMakeList.txt
Running on Windows. Skipping basic tests...
Build summary:

        Project name:     yubico-piv-tool
        Version:          2.2.0
        Host type:        FreeBSD
        Install prefix:   
        Compiler:         /usr/bin/cc
        Compiler ID:      GNU
        CFLAGS:           -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -w -Wall -Wextra -Werror -Wshadow -Wwrite-strings -Wmissing-prototypes -Wbad-function-cast -pedantic -fstack-protector-all -std=c99 -Wno-unused-result -I/usr/include
        CPPFLAGS:         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include
        Warnings:         
        Build type:       Release
        Backend:          check
        PCSC
                CFLAGS:   -I/usr/local/include/PCSC;-D_THREAD_SAFE;-pthread
                LIBS:     pcsclite
        Winscard
                LIBS:     
        Mac PCSC
                LIBS:     
        Custom PCSC
                LIBS:     

        Install prefix:    /usr/local
        Install targets
                Libraries  /usr/local/lib
                Includes   /usr/local/include
                Binaries   /usr/local/bin
                Manuals    /usr/local/man
                Pkg-config /usr/local/libdata/pkgconfig

        YKCS11 debug:     
        Hardware tests:   Disabled
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_CXX_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to: /wrkdirs/usr/ports/security/yubico-piv-tool/work/.build
===========================================================================
=======================<phase: build          >============================
===>  Building for yubico-piv-tool-2.2.0
gmake[1]: Entering directory '/wrkdirs/usr/ports/security/yubico-piv-tool/work/.build'
/usr/local/bin/cmake -S/wrkdirs/usr/ports/security/yubico-piv-tool/work/yubico-piv-tool-2.2.0 -B/wrkdirs/usr/ports/security/yubico-piv-tool/work/.build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/bin/cmake -E cmake_progress_start /wrkdirs/usr/ports/security/yubico-piv-tool/work/.build/CMakeFiles /wrkdirs/usr/ports/security/yubico-piv-tool/work/.build//CMakeFiles/progress.marks
gmake  -f CMakeFiles/Makefile2 all
gmake[2]: Entering directory '/wrkdirs/usr/ports/security/yubico-piv-tool/work/.build'
gmake  -f lib/CMakeFiles/ykpiv_shared.dir/build.make lib/CMakeFiles/ykpiv_shared.dir/depend
gmake  -f lib/CMakeFiles/ykpiv.dir/build.make lib/CMakeFiles/ykpiv.dir/depend
gmake[3]: Entering directory '/wrkdirs/usr/ports/security/yubico-piv-tool/work/.build'
gmake[3]: Entering directory '/wrkdirs/usr/ports/security/yubico-piv-tool/work/.build'
cd /wrkdirs/usr/ports/security/yubico-piv-tool/work/.build && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /wrkdirs/usr/ports/security/yubico-piv-tool/work/yubico-piv-tool-2.2.0 /wrkdirs/usr/ports/security/yubico-piv-tool/work/yubico-piv-tool-2.2.0/lib /wrkdirs/usr/ports/security/yubico-piv-tool/work/.build /wrkdirs/usr/ports/security/yubico-piv-tool/work/.build/lib /wrkdirs/usr/ports/security/yubico-piv-tool/work/.build/lib/CMakeFiles/ykpiv_shared.dir/DependInfo.cmake
cd /wrkdirs/usr/ports/security/yubico-piv-tool/work/.build && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /wrkdirs/usr/ports/security/yubico-piv-tool/work/yubico-piv-tool-2.2.0 /wrkdirs/usr/ports/security/yubico-piv-tool/work/yubico-piv-tool-2.2.0/lib /wrkdirs/usr/ports/security/yubico-piv-tool/work/.build /wrkdirs/usr/ports/security/yubico-piv-tool/work/.build/lib /wrkdirs/usr/ports/security/yubico-piv-tool/work/.build/lib/CMakeFiles/ykpiv.dir/DependInfo.cmake
Scanning dependencies of target ykpiv
Scanning dependencies of target ykpiv_shared
gmake[3]: Leaving directory '/wrkdirs/usr/ports/security/yubico-piv-tool/work/.build'
gmake[3]: Leaving directory '/wrkdirs/usr/ports/security/yubico-piv-tool/work/.build'
gmake  -f lib/CMakeFiles/ykpiv.dir/build.make lib/CMakeFiles/ykpiv.dir/build
gmake  -f lib/CMakeFiles/ykpiv_shared.dir/build.make lib/CMakeFiles/ykpiv_shared.dir/build
gmake[3]: Entering directory '/wrkdirs/usr/ports/security/yubico-piv-tool/work/.build'
gmake[3]: Entering directory '/wrkdirs/usr/ports/security/yubico-piv-tool/work/.build'
[  3%] Building C object lib/CMakeFiles/ykpiv.dir/ykpiv.c.o
[  3%] Building C object lib/CMakeFiles/ykpiv_shared.dir/ykpiv.c.o
cd /wrkdirs/usr/ports/security/yubico-piv-tool/work/.build/lib && /usr/bin/cc  -I/wrkdirs/usr/ports/security/yubico-piv-tool/work/yubico-piv-tool-2.2.0/lib -I/wrkdirs/usr/ports/security/yubico-piv-tool/work/yubico-piv-tool-2.2.0/common -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -w -Wall -Wextra -Werror -Wshadow -Wwrite-strings -Wmissing-prototypes -Wbad-function-cast -pedantic -fstack-protector-all -std=c99 -Wno-unused-result -I/usr/include -I/usr/local/include/PCSC -D_THREAD_SAFE -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -fPIC -DSTATIC  -std=gnu99 -o CMakeFiles/ykpiv.dir/ykpiv.c.o -c /wrkdirs/usr/ports/security/yubico-piv-tool/work/yubico-piv-tool-2.2.0/lib/ykpiv.c
cd /wrkdirs/usr/ports/security/yubico-piv-tool/work/.build/lib && /usr/bin/cc -Dykpiv_shared_EXPORTS -I/wrkdirs/usr/ports/security/yubico-piv-tool/work/yubico-piv-tool-2.2.0/lib -I/wrkdirs/usr/ports/security/yubico-piv-tool/work/yubico-piv-tool-2.2.0/common -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -w -Wall -Wextra -Werror -Wshadow -Wwrite-strings -Wmissing-prototypes -Wbad-function-cast -pedantic -fstack-protector-all -std=c99 -Wno-unused-result -I/usr/include -I/usr/local/include/PCSC -D_THREAD_SAFE -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -fPIC -std=gnu99 -o CMakeFiles/ykpiv_shared.dir/ykpiv.c.o -c /wrkdirs/usr/ports/security/yubico-piv-tool/work/yubico-piv-tool-2.2.0/lib/ykpiv.c
cc1: error: unrecognized command line option "-Wno-unused-result"
cc1: error: unrecognized command line option "-Wno-unused-result"
gmake[3]: *** [lib/CMakeFiles/ykpiv.dir/build.make:85: lib/CMakeFiles/ykpiv.dir/ykpiv.c.o] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/security/yubico-piv-tool/work/.build'
gmake[3]: *** [lib/CMakeFiles/ykpiv_shared.dir/build.make:85: lib/CMakeFiles/ykpiv_shared.dir/ykpiv.c.o] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/security/yubico-piv-tool/work/.build'
gmake[2]: *** [CMakeFiles/Makefile2:257: lib/CMakeFiles/ykpiv.dir/all] Error 2
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [CMakeFiles/Makefile2:230: lib/CMakeFiles/ykpiv_shared.dir/all] Error 2
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/yubico-piv-tool/work/.build'
gmake[1]: *** [Makefile:163: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/yubico-piv-tool/work/.build'
===> 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/security/yubico-piv-tool