* Package: sys-auth/yubico-piv-tool-1.4.4  * Repository: gentoo  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: compressdebug network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox  * Package: sys-auth/yubico-piv-tool-1.4.4  * Repository: gentoo  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: compressdebug network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking yubico-piv-tool-1.4.4.tar.gz to /var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work >>> Source unpacked in /var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work >>> Preparing source in /var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4 ... * Running eautoreconf in '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4' ... * Running libtoolize --install --copy --force --automake ...  [ ok ] * Running aclocal -I m4 ...  [ ok ] * Running autoconf --force ...  [ ok ] * Running automake --add-missing --copy --foreign --force-missing ...  [ ok ] * Running elibtoolize in: yubico-piv-tool-yubico-piv-tool-1.4.4/ * Running elibtoolize in: yubico-piv-tool-yubico-piv-tool-1.4.4/build-aux/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4 ... * econf: updating yubico-piv-tool-yubico-piv-tool-1.4.4/build-aux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating yubico-piv-tool-yubico-piv-tool-1.4.4/build-aux/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/yubico-piv-tool-1.4.4 --htmldir=/usr/share/doc/yubico-piv-tool-1.4.4/html --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-ar... gcc-ar checking the archiver (gcc-ar) interface... ar checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... gcc-nm checking the name lister (gcc-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... (cached) gcc-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... gcc-ranlib checking command to parse gcc-nm output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for OPENSSL... yes checking if LD -Wl,--version-script works... yes checking for valgrind... valgrind checking whether self tests are run under valgrind... no checking for PCSC... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib/tests/Makefile config.status: creating tool/Makefile config.status: creating tool/tests/Makefile config.status: creating lib/ykpiv-version.h config.status: creating lib/ykpiv.pc config.status: creating ykcs11/Makefile config.status: creating ykcs11/ykcs11-version.h config.status: creating ykcs11/ykcs11.pc config.status: creating ykcs11/tests/Makefile config.status: executing depfiles commands config.status: executing libtool commands configure: summary of build options: Version: 1.4.4 Host type: x86_64-pc-linux-gnu Install prefix: /usr Compiler: x86_64-pc-linux-gnu-gcc CFLAGS: -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity CPPFLAGS: Warnings: Backend: pcsc PCSC CFLAGS: -pthread -I/usr/include/PCSC LIBS: -lpcsclite Winscard LIBS: Mac PCSC LIBS: YKCS11 debug: DISABLED Hardware tests: DISABLED >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4 ... make -j8 -l9 Making all in lib make[1]: Entering directory '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4/lib' Making all in . make[2]: Entering directory '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.4.4\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.4.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -pthread -I/usr/include/PCSC -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -c -o ykpiv.lo ykpiv.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.4.4\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.4.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -pthread -I/usr/include/PCSC -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -c -o version.lo version.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.4.4\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.4.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -pthread -I/usr/include/PCSC -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -c -o error.lo error.c libtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.4.4\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.4.4\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -pthread -I/usr/include/PCSC -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -c error.c -fPIC -DPIC -o .libs/error.o libtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.4.4\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.4.4\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -pthread -I/usr/include/PCSC -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -c ykpiv.c -fPIC -DPIC -o .libs/ykpiv.o libtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.4.4\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.4.4\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -pthread -I/usr/include/PCSC -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -c version.c -fPIC -DPIC -o .libs/version.o libtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.4.4\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.4.4\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -pthread -I/usr/include/PCSC -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -c error.c -o error.o >/dev/null 2>&1 libtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.4.4\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.4.4\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -pthread -I/usr/include/PCSC -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -c version.c -o version.o >/dev/null 2>&1 ykpiv.c: In function β€˜ykpiv_authenticate’: ykpiv.c:481:8: warning: implicit declaration of function β€˜RAND_pseudo_bytes’; did you mean β€˜RAND_bytes’? [-Wimplicit-function-declaration] if(RAND_pseudo_bytes(dataptr, 8) == -1) { ^~~~~~~~~~~~~~~~~ RAND_bytes libtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.4.4\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.4.4\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -pthread -I/usr/include/PCSC -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -c ykpiv.c -o ykpiv.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -no-undefined -version-info 4:6:3 -Wl,--version-script=./ykpiv.map -Wl,-O2 -Wl,--as-needed -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -o libykpiv.la -rpath /usr/lib64 ykpiv.lo version.lo error.lo -lcrypto -lpcsclite libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/ykpiv.o .libs/version.o .libs/error.o -Wl,--as-needed -lcrypto /usr/lib64/libpcsclite.so -ldl -lrt -march=core-avx-i -O2 -flto=8 -fuse-linker-plugin -Wl,--version-script=./ykpiv.map -Wl,-O2 -march=core-avx-i -O2 -flto=8 -fuse-linker-plugin -pthread -Wl,-soname -Wl,libykpiv.so.1 -o .libs/libykpiv.so.1.3.6 libtool: link: (cd ".libs" && rm -f "libykpiv.so.1" && ln -s "libykpiv.so.1.3.6" "libykpiv.so.1") libtool: link: (cd ".libs" && rm -f "libykpiv.so" && ln -s "libykpiv.so.1.3.6" "libykpiv.so") libtool: link: gcc-ar cru .libs/libykpiv.a ykpiv.o version.o error.o libtool: link: gcc-ranlib .libs/libykpiv.a libtool: link: ( cd ".libs" && rm -f "libykpiv.la" && ln -s "../libykpiv.la" "libykpiv.la" ) make[2]: Leaving directory '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4/lib' Making all in tests make[2]: Entering directory '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4/lib/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4/lib/tests' make[1]: Leaving directory '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4/lib' Making all in tool make[1]: Entering directory '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4/tool' /bin/sh /var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4/build-aux/missing gengetopt --input cmdline.ggo Makefile.am ../configure.ac /bin/sh /var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4/build-aux/missing gengetopt --input cmdline.ggo Makefile.am ../configure.ac make all-recursive make[2]: Entering directory '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4/tool' Making all in . make[3]: Entering directory '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4/tool' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.4.4\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.4.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I../lib -I../lib -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -c -o libpiv_cmd_la-cmdline.lo `test -f 'cmdline.c' || echo './'`cmdline.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.4.4\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.4.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I../lib -I../lib -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -c -o util.lo util.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.4.4\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.4.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I../lib -I../lib -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -c -o yubico-piv-tool.o yubico-piv-tool.c yubico-piv-tool.c: In function β€˜sign_data’: yubico-piv-tool.c:105:8: warning: implicit declaration of function β€˜RSA_padding_add_PKCS1_type_1’ [-Wimplicit-function-declaration] if(RSA_padding_add_PKCS1_type_1(signinput, padlen, in, len) == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ yubico-piv-tool.c: In function β€˜generate_key’: yubico-piv-tool.c:210:13: warning: implicit declaration of function β€˜RSA_new’; did you mean β€˜BIO_new’? [-Wimplicit-function-declaration] rsa = RSA_new(); ^~~~~~~ BIO_new yubico-piv-tool.c:210:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion] rsa = RSA_new(); ^ yubico-piv-tool.c:218:18: warning: implicit declaration of function β€˜BN_bin2bn’; did you mean β€˜OBJ_nid2sn’? [-Wimplicit-function-declaration] bignum_n = BN_bin2bn(data_ptr, len, NULL); ^~~~~~~~~ OBJ_nid2sn yubico-piv-tool.c:218:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion] bignum_n = BN_bin2bn(data_ptr, len, NULL); ^ yubico-piv-tool.c:231:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion] bignum_e = BN_bin2bn(data_ptr, len, NULL); ^ yubico-piv-tool.c:237:10: error: dereferencing pointer to incomplete type β€˜RSA {aka struct rsa_st}’ rsa->n = bignum_n; ^~ yubico-piv-tool.c:298:5: warning: implicit declaration of function β€˜RSA_free’; did you mean β€˜BIO_free’? [-Wimplicit-function-declaration] RSA_free(rsa); ^~~~~~~~ BIO_free yubico-piv-tool.c: In function β€˜set_dataobject’: yubico-piv-tool.c:644:6: warning: implicit declaration of function β€˜RAND_pseudo_bytes’; did you mean β€˜RAND_bytes’? [-Wimplicit-function-declaration] if(RAND_pseudo_bytes(obj + offs, rand_len) == -1) { ^~~~~~~~~~~~~~~~~ RAND_bytes yubico-piv-tool.c: In function β€˜request_certificate’: yubico-piv-tool.c:744:62: error: dereferencing pointer to incomplete type β€˜X509_REQ {aka struct X509_req_st}’ if(!ASN1_item_digest(ASN1_ITEM_rptr(X509_REQ_INFO), md, req->req_info, ^~ yubico-piv-tool.c:773:5: warning: implicit declaration of function β€˜M_ASN1_BIT_STRING_set’; did you mean β€˜ASN1_BIT_STRING_set’? [-Wimplicit-function-declaration] M_ASN1_BIT_STRING_set(req->signature, signature, sig_len); ^~~~~~~~~~~~~~~~~~~~~ ASN1_BIT_STRING_set yubico-piv-tool.c: In function β€˜selfsign_certificate’: yubico-piv-tool.c:884:11: warning: implicit declaration of function β€˜BN_new’; did you mean β€˜BIO_new’? [-Wimplicit-function-declaration] ser = BN_new(); ^~~~~~ BIO_new yubico-piv-tool.c:884:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] ser = BN_new(); ^ yubico-piv-tool.c:889:9: warning: implicit declaration of function β€˜BN_pseudo_rand’; did you mean β€˜LN_pseudonym’? [-Wimplicit-function-declaration] if(!BN_pseudo_rand(ser, 64, 0, 0)) { ^~~~~~~~~~~~~~ LN_pseudonym yubico-piv-tool.c:902:23: warning: implicit declaration of function β€˜X509_get_notBefore’; did you mean β€˜X509_getm_notBefore’? [-Wimplicit-function-declaration] if(!X509_gmtime_adj(X509_get_notBefore(x509), 0)) { ^~~~~~~~~~~~~~~~~~ X509_getm_notBefore yubico-piv-tool.c:902:23: warning: passing argument 1 of β€˜X509_gmtime_adj’ makes pointer from integer without a cast [-Wint-conversion] In file included from /usr/include/openssl/pem.h:17:0, from yubico-piv-tool.c:46: /usr/include/openssl/x509.h:479:12: note: expected β€˜ASN1_TIME * {aka struct asn1_string_st *}’ but argument is of type β€˜int’ ASN1_TIME *X509_gmtime_adj(ASN1_TIME *s, long adj); ^~~~~~~~~~~~~~~ yubico-piv-tool.c:906:23: warning: implicit declaration of function β€˜X509_get_notAfter’; did you mean β€˜X509_getm_notAfter’? [-Wimplicit-function-declaration] if(!X509_gmtime_adj(X509_get_notAfter(x509), 60L * 60L * 24L * validDays)) { ^~~~~~~~~~~~~~~~~ X509_getm_notAfter yubico-piv-tool.c:906:23: warning: passing argument 1 of β€˜X509_gmtime_adj’ makes pointer from integer without a cast [-Wint-conversion] In file included from /usr/include/openssl/pem.h:17:0, from yubico-piv-tool.c:46: /usr/include/openssl/x509.h:479:12: note: expected β€˜ASN1_TIME * {aka struct asn1_string_st *}’ but argument is of type β€˜int’ ASN1_TIME *X509_gmtime_adj(ASN1_TIME *s, long adj); ^~~~~~~~~~~~~~~ yubico-piv-tool.c:931:9: error: dereferencing pointer to incomplete type β€˜X509 {aka struct x509_st}’ x509->sig_alg->parameter = &null_parameter; ^~ yubico-piv-tool.c:989:5: warning: implicit declaration of function β€˜BN_free’; did you mean β€˜BIO_free’? [-Wimplicit-function-declaration] BN_free(ser); ^~~~~~~ BIO_free yubico-piv-tool.c: In function β€˜print_cert_info’: yubico-piv-tool.c:1339:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion] not_before = X509_get_notBefore(x509); ^ yubico-piv-tool.c:1345:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] not_after = X509_get_notAfter(x509); ^ yubico-piv-tool.c: In function β€˜test_signature’: yubico-piv-tool.c:1511:14: warning: implicit declaration of function β€˜RSA_verify’; did you mean β€˜ASN1_verify’? [-Wimplicit-function-declaration] if(RSA_verify(EVP_MD_type(md), data, data_len, signature, sig_len, rsa) == 1) { ^~~~~~~~~~ ASN1_verify libtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.4.4\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.4.4\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I../lib -I../lib -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -c cmdline.c -fPIC -DPIC -o .libs/libpiv_cmd_la-cmdline.o yubico-piv-tool.c: In function β€˜test_decipher’: yubico-piv-tool.c:1609:13: warning: implicit declaration of function β€˜RSA_public_encrypt’; did you mean β€˜DES_pcbc_encrypt’? [-Wimplicit-function-declaration] len = RSA_public_encrypt(sizeof(secret), secret, data, rsa, RSA_PKCS1_PADDING); ^~~~~~~~~~~~~~~~~~ DES_pcbc_encrypt yubico-piv-tool.c:1609:67: error: β€˜RSA_PKCS1_PADDING’ undeclared (first use in this function); did you mean β€˜i2d_PKCS12_SAFEBAG’? len = RSA_public_encrypt(sizeof(secret), secret, data, rsa, RSA_PKCS1_PADDING); ^~~~~~~~~~~~~~~~~ i2d_PKCS12_SAFEBAG yubico-piv-tool.c:1609:67: note: each undeclared identifier is reported only once for each function it appears in libtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.4.4\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.4.4\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I../lib -I../lib -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -c util.c -fPIC -DPIC -o .libs/util.o yubico-piv-tool.c:1619:13: warning: implicit declaration of function β€˜RSA_padding_check_PKCS1_type_2’ [-Wimplicit-function-declaration] len = RSA_padding_check_PKCS1_type_2(secret2, sizeof(secret2), data + 1, len2 - 1, RSA_size(rsa)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ yubico-piv-tool.c:1619:90: warning: implicit declaration of function β€˜RSA_size’; did you mean β€˜ECDSA_size’? [-Wimplicit-function-declaration] len = RSA_padding_check_PKCS1_type_2(secret2, sizeof(secret2), data + 1, len2 - 1, RSA_size(rsa)); ^~~~~~~~ ECDSA_size yubico-piv-tool.c: In function β€˜main’: yubico-piv-tool.c:2000:3: warning: implicit declaration of function β€˜OpenSSL_add_all_algorithms’; did you mean β€˜OBJ_id_tc26_algorithms’? [-Wimplicit-function-declaration] OpenSSL_add_all_algorithms(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ OBJ_id_tc26_algorithms yubico-piv-tool.c:2241:3: warning: implicit declaration of function β€˜EVP_cleanup’; did you mean β€˜EVP_PBE_cleanup’? [-Wimplicit-function-declaration] EVP_cleanup(); ^~~~~~~~~~~ EVP_PBE_cleanup make[3]: *** [Makefile:573: yubico-piv-tool.o] Error 1 make[3]: *** Waiting for unfinished jobs.... util.c: In function β€˜get_algorithm’: util.c:64:31: error: dereferencing pointer to incomplete type β€˜EVP_PKEY {aka struct evp_pkey_st}’ int type = EVP_PKEY_type(key->type); ^~ util.c: In function β€˜set_component’: util.c:427:18: warning: implicit declaration of function β€˜BN_num_bytes’ [-Wimplicit-function-declaration] int real_len = BN_num_bytes(bn); ^~~~~~~~~~~~ util.c:434:3: warning: implicit declaration of function β€˜BN_bn2bin’; did you mean β€˜OBJ_sn2nid’? [-Wimplicit-function-declaration] BN_bn2bin(bn, in_ptr); ^~~~~~~~~ OBJ_sn2nid util.c: In function β€˜prepare_rsa_signature’: util.c:440:12: error: storage size of β€˜digestInfo’ isn’t known X509_SIG digestInfo; ^~~~~~~~~~ util.c: In function β€˜SSH_write_X509’: util.c:650:25: error: dereferencing pointer to incomplete type β€˜RSA {aka struct rsa_st}’ set_component(n, rsa->n, RSA_size(rsa)); ^~ make[3]: *** [Makefile:587: util.lo] Error 1 libtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.4.4\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.4.4\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I../lib -I../lib -march=core-avx-i -O2 -ftree-vectorize -pipe -flto=8 -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -c cmdline.c -o libpiv_cmd_la-cmdline.o >/dev/null 2>&1 make[3]: Leaving directory '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4/tool' make[2]: *** [Makefile:652: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4/tool' make[1]: *** [Makefile:454: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4/tool' make: *** [Makefile:441: all-recursive] Error 1 * ERROR: sys-auth/yubico-piv-tool-1.4.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-auth/yubico-piv-tool-1.4.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-auth/yubico-piv-tool-1.4.4::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/temp/environment'. * Working directory: '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4' * S: '/var/tmp/portage/sys-auth/yubico-piv-tool-1.4.4/work/yubico-piv-tool-yubico-piv-tool-1.4.4'