* Package: app-crypt/coolkey-1.1.0-r9:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * No /etc/pki/nssdb found; check under $HOME/.pki and * follow the suggested commands using the correct path. >>> Unpacking source... >>> Unpacking coolkey-1.1.0.tar.gz to /var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work >>> Unpacking coolkey-1.1.0-patches-003.tar.gz to /var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work >>> Source unpacked in /var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work >>> Preparing source in /var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0 ... * Applying patches from /var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-patches ... * 0001-Move-cache-directory.patch ... [ ok ] * 0002-Fix-gcc-4.3-issues.patch ... [ ok ] * 0003-Latest-cherry-pick.patch ... [ ok ] * 0004-Bug-fixups.patch ... [ ok ] * 0005-Threading-fix.patch ... [ ok ] * 0006-CAC-fix.patch ... [ ok ] * 0007-CAC-fix.patch ... [ ok ] * 0008-pcsc-lite-fix.patch ... [ ok ] * 0009-Support-empty-certificates.patch ... [ ok ] * 0010-Support-multislot.patch ... [ ok ] * 0011-c-11-issues.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal --system-acdir=/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/temp/aclocal' ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: coolkey-1.1.0/ * 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/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0 ... * econf: updating coolkey-1.1.0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating coolkey-1.1.0/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/coolkey-1.1.0-r9 --htmldir=/usr/share/doc/coolkey-1.1.0-r9/html --with-sysroot=/ --libdir=/usr/lib64 --enable-pk11install --disable-debug configure: loading site script /usr/share/config.site checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no configure: WARNING: Debugging support is completely disabled! checking platform type: ... UNIX/LINUX checking for x86_64-pc-linux-gnu-gcc... clang 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 the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking whether the compiler supports GNU C++... yes checking whether clang++ accepts -g... yes checking for clang++ option to enable C++11 features... none needed checking dependency style of clang++... none 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 clang... /usr/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) 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/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-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... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok checking for sysroot... / 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... mt checking if mt is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-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 how to run the C++ preprocessor... clang++ -E checking for ld used by clang++... /usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64 checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) is GNU ld... yes checking whether the clang++ linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking for clang++ option to produce PIC... -fPIC -DPIC checking if clang++ PIC flag -fPIC -DPIC works... yes checking if clang++ static flag -static works... yes checking if clang++ supports -c -o file.o... yes checking if clang++ supports -c -o file.o... (cached) yes checking whether the clang++ linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether ln -s works... yes checking for uncompress in -lz... yes checking for dlopen in -ldl... 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 PCSC... yes checking for NSS... yes checking for egrep... (cached) /bin/grep -E checking for string.h... (cached) yes checking for syslog.h... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for zlib.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for GNU libc compatible malloc... yes checking for GNU libc compatible realloc... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for vprintf... yes checking for memset... yes checking for strdup... yes checking for strerror... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/libckyapplet/Makefile config.status: creating src/libckyapplet/libckyapplet.pc config.status: creating src/coolkey/Makefile config.status: creating src/install/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/temp/clang14.log' -> '/var/tmp/clang/app-crypt/coolkey-1.1.0-r9/clang14.log' '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/temp/clang15.log' -> '/var/tmp/clang/app-crypt/coolkey-1.1.0-r9/clang15.log' >>> Compiling source in /var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0 ... make -j4 -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0' Making all in src/libckyapplet make[2]: Entering directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0/src/libckyapplet' make[3]: Entering directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0/src/libckyapplet' /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c -o libckyapplet_la-cky_applet.lo `test -f 'cky_applet.c' || echo './'`cky_applet.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c cky_applet.c -fPIC -DPIC -o .libs/libckyapplet_la-cky_applet.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c cky_applet.c -o libckyapplet_la-cky_applet.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c -o libckyapplet_la-cky_base.lo `test -f 'cky_base.c' || echo './'`cky_base.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c cky_base.c -fPIC -DPIC -o .libs/libckyapplet_la-cky_base.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c cky_base.c -o libckyapplet_la-cky_base.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c -o libckyapplet_la-cky_card.lo `test -f 'cky_card.c' || echo './'`cky_card.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c cky_card.c -fPIC -DPIC -o .libs/libckyapplet_la-cky_card.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c cky_card.c -o libckyapplet_la-cky_card.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c -o libckyapplet_la-cky_factory.lo `test -f 'cky_factory.c' || echo './'`cky_factory.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c cky_factory.c -fPIC -DPIC -o .libs/libckyapplet_la-cky_factory.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c cky_factory.c -o libckyapplet_la-cky_factory.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c -o libckyapplet_la-dynlink.lo `test -f 'dynlink.c' || echo './'`dynlink.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c dynlink.c -fPIC -DPIC -o .libs/libckyapplet_la-dynlink.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c dynlink.c -o libckyapplet_la-dynlink.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -version-info 1:0:0 -no-undefined -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libckyapplet.la -rpath /usr/lib64 libckyapplet_la-cky_applet.lo libckyapplet_la-cky_base.lo libckyapplet_la-cky_card.lo libckyapplet_la-cky_factory.lo libckyapplet_la-dynlink.lo -ldl -lz libtool: link: clang -shared -fPIC -DPIC .libs/libckyapplet_la-cky_applet.o .libs/libckyapplet_la-cky_base.o .libs/libckyapplet_la-cky_card.o .libs/libckyapplet_la-cky_factory.o .libs/libckyapplet_la-dynlink.o -Wl,--as-needed -ldl -lz -march=native -O2 -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -Wl,-soname -Wl,libckyapplet.so.1 -o .libs/libckyapplet.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libckyapplet.so.1" && ln -s "libckyapplet.so.1.0.0" "libckyapplet.so.1") libtool: link: (cd ".libs" && rm -f "libckyapplet.so" && ln -s "libckyapplet.so.1.0.0" "libckyapplet.so") libtool: link: x86_64-pc-linux-gnu-ar cr .libs/libckyapplet.a libckyapplet_la-cky_applet.o libckyapplet_la-cky_base.o libckyapplet_la-cky_card.o libckyapplet_la-cky_factory.o libckyapplet_la-dynlink.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libckyapplet.a libtool: link: ( cd ".libs" && rm -f "libckyapplet.la" && ln -s "../libckyapplet.la" "libckyapplet.la" ) make[3]: Leaving directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0/src/libckyapplet' make[2]: Leaving directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0/src/libckyapplet' Making all in src/coolkey make[2]: Entering directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0/src/coolkey' make[3]: Entering directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0/src/coolkey' /bin/sh ../../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-coolkey.lo `test -f 'coolkey.cpp' || echo './'`coolkey.cpp libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c coolkey.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-coolkey.o In file included from coolkey.cpp:33: ./slot.h:443:10: warning: field 'readerName' is uninitialized when used here [-Wuninitialized] : shmem(readerName) ^ coolkey.cpp:37:9: warning: 'NULL' macro redefined [-Wmacro-redefined] #define NULL 0 ^ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.0/include/stddef.h:84:13: note: previous definition is here # define NULL __null ^ coolkey.cpp:252:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] CKY_SetName("coolkey"); ^ 3 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c coolkey.cpp -o libcoolkeypk11_la-coolkey.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-dllmain.lo `test -f 'dllmain.cpp' || echo './'`dllmain.cpp libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c dllmain.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-dllmain.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c dllmain.cpp -o libcoolkeypk11_la-dllmain.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-locking.lo `test -f 'locking.cpp' || echo './'`locking.cpp libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c locking.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-locking.o locking.cpp:66:13: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch] BasicMutex::~BasicMutex() ^ locking.cpp:30:13: note: previous declaration is here virtual ~BasicMutex() ^ 1 warning generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c locking.cpp -o libcoolkeypk11_la-locking.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-log.lo `test -f 'log.cpp' || echo './'`log.cpp libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c log.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-log.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c log.cpp -o libcoolkeypk11_la-log.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-machdep.lo `test -f 'machdep.cpp' || echo './'`machdep.cpp libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c machdep.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-machdep.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c machdep.cpp -o libcoolkeypk11_la-machdep.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-object.lo `test -f 'object.cpp' || echo './'`object.cpp libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c object.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-object.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c object.cpp -o libcoolkeypk11_la-object.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-PKCS11Exception.lo `test -f 'PKCS11Exception.cpp' || echo './'`PKCS11Exception.cpp libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c PKCS11Exception.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-PKCS11Exception.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c PKCS11Exception.cpp -o libcoolkeypk11_la-PKCS11Exception.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-slot.lo `test -f 'slot.cpp' || echo './'`slot.cpp libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c slot.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-slot.o In file included from slot.cpp:27: ./slot.h:443:10: warning: field 'readerName' is uninitialized when used here [-Wuninitialized] : shmem(readerName) ^ 1 warning generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -c slot.cpp -o libcoolkeypk11_la-slot.o >/dev/null 2>&1 grep -v ';+' coolkeypk11.def | grep -v ';-' | sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' > coolkeypk11.sym /bin/sh ../../libtool --tag=CXX --mode=link clang++ -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -avoid-version -export-symbols coolkeypk11.sym -no-undefined -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libcoolkeypk11.la -rpath /usr/lib64/pkcs11 libcoolkeypk11_la-coolkey.lo libcoolkeypk11_la-dllmain.lo libcoolkeypk11_la-locking.lo libcoolkeypk11_la-log.lo libcoolkeypk11_la-machdep.lo libcoolkeypk11_la-object.lo libcoolkeypk11_la-PKCS11Exception.lo libcoolkeypk11_la-slot.lo ../../src/libckyapplet/libckyapplet.la -ldl -lz libtool: link: clang++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/crtbeginS.o .libs/libcoolkeypk11_la-coolkey.o .libs/libcoolkeypk11_la-dllmain.o .libs/libcoolkeypk11_la-locking.o .libs/libcoolkeypk11_la-log.o .libs/libcoolkeypk11_la-machdep.o .libs/libcoolkeypk11_la-object.o .libs/libcoolkeypk11_la-PKCS11Exception.o .libs/libcoolkeypk11_la-slot.o -Wl,-rpath -Wl,/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0/src/libckyapplet/.libs -Wl,--as-needed ../../src/libckyapplet/.libs/libckyapplet.so -ldl -lz -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/lib -L/lib -L/usr/lib -lstdc++ -lm -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib64/crtn.o -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -Wl,-soname -Wl,libcoolkeypk11.so -Wl,-retain-symbols-file -Wl,coolkeypk11.sym -o .libs/libcoolkeypk11.so clang-15: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument] libtool: link: x86_64-pc-linux-gnu-ar cr .libs/libcoolkeypk11.a libcoolkeypk11_la-coolkey.o libcoolkeypk11_la-dllmain.o libcoolkeypk11_la-locking.o libcoolkeypk11_la-log.o libcoolkeypk11_la-machdep.o libcoolkeypk11_la-object.o libcoolkeypk11_la-PKCS11Exception.o libcoolkeypk11_la-slot.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libcoolkeypk11.a libtool: link: ( cd ".libs" && rm -f "libcoolkeypk11.la" && ln -s "../libcoolkeypk11.la" "libcoolkeypk11.la" ) make[3]: Leaving directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0/src/coolkey' make[2]: Leaving directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0/src/coolkey' Making all in src/install make[2]: Entering directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0/src/install' clang -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/nss -I/usr/include/nspr -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c -o pk11install.o pk11install.c pk11install.c:203:20: error: call to undeclared function 'NSC_ModuleDBFunc'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] rc = (char **) NSC_ModuleDBFunc(type == Install ? ^ pk11install.c:203:10: warning: cast to 'char **' from smaller integer type 'int' [-Wint-to-pointer-cast] rc = (char **) NSC_ModuleDBFunc(type == Install ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. make[2]: *** [Makefile:445: pk11install.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0/src/install' make[1]: *** [Makefile:441: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0' make: *** [Makefile:373: all] Error 2 * ERROR: app-crypt/coolkey-1.1.0-r9::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-crypt/coolkey-1.1.0-r9::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-crypt/coolkey-1.1.0-r9::gentoo'`. * The complete build log is located at '/var/log/portage/app-crypt:coolkey-1.1.0-r9:20220918-192631.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/temp/environment'. * Working directory: '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0' * S: '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0'