* Package: app-crypt/coolkey-1.1.0-r6 * Repository: gentoo * Maintainer: crypto@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: 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-r6/work >>> Unpacking coolkey-1.1.0-patches-002.tar.gz to /var/tmp/portage/app-crypt/coolkey-1.1.0-r6/work >>> Source unpacked in /var/tmp/portage/app-crypt/coolkey-1.1.0-r6/work >>> Preparing source in /var/tmp/portage/app-crypt/coolkey-1.1.0-r6/work/coolkey-1.1.0 ... * Applying 01_coolkey-cache-dir-move.patch ... [ ok ] * Applying 02_coolkey-1.1.0-gcc43.patch ... [ ok ] * Applying 03_coolkey-1.1.0-latest.patch ... [ ok ] * Applying 04_coolkey-1.1.0-simple-bugs.patch ... [ ok ] * Applying 05_coolkey-1.1.0-thread-fix.patch ... [ ok ] * Applying 06_coolkey-1.1.0-cac.patch ... [ ok ] * Applying 07_coolkey-cac-1.patch ... [ ok ] * Applying 08_coolkey-pcsc-lite-fix.patch ... [ ok ] * Applying 09_coolkey_empty_certificates.patch ... [ ok ] * Applying 10_coolkey_multi_slot.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-crypt/coolkey-1.1.0-r6/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 --libdir=/usr/lib64 --enable-pk11install --disable-debug 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.4/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... 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... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... gcc3 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 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 /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for x86_64-pc-linux-gnu-g77... no checking for x86_64-pc-linux-gnu-xlf... no checking for x86_64-pc-linux-gnu-f77... no checking for x86_64-pc-linux-gnu-frt... no checking for x86_64-pc-linux-gnu-pgf77... no checking for x86_64-pc-linux-gnu-cf77... no checking for x86_64-pc-linux-gnu-fort77... no checking for x86_64-pc-linux-gnu-fl32... no checking for x86_64-pc-linux-gnu-af77... no checking for x86_64-pc-linux-gnu-xlf90... no checking for x86_64-pc-linux-gnu-f90... no checking for x86_64-pc-linux-gnu-pgf90... no checking for x86_64-pc-linux-gnu-pghpf... no checking for x86_64-pc-linux-gnu-epcf90... no checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip 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 checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC 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 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool 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-gfortran option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gfortran static flag -static works... yes checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c 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 ./configure: line 19940: enable_pk11install: command not found checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for vprintf... yes checking for _doprnt... no checking for memset... yes checking for strdup... yes checking for strerror... yes 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 >>> Source configured. >>> Compiling source in /var/tmp/portage/app-crypt/coolkey-1.1.0-r6/work/coolkey-1.1.0 ... make -j1 CFLAGS+=-fno-strict-aliasing -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r6/work/coolkey-1.1.0' Making all in src/libckyapplet make[2]: Entering directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r6/work/coolkey-1.1.0/src/libckyapplet' make[3]: Entering directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r6/work/coolkey-1.1.0/src/libckyapplet' if /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=native -O2 -pipe -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -march=native -O2 -pipe -fno-strict-aliasing -MT libckyapplet_la-cky_applet.lo -MD -MP -MF ".deps/libckyapplet_la-cky_applet.Tpo" -c -o libckyapplet_la-cky_applet.lo `test -f 'cky_applet.c' || echo './'`cky_applet.c; \ then mv -f ".deps/libckyapplet_la-cky_applet.Tpo" ".deps/libckyapplet_la-cky_applet.Plo"; else rm -f ".deps/libckyapplet_la-cky_applet.Tpo"; exit 1; fi mkdir .libs x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=native -O2 -pipe -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -march=native -O2 -pipe -fno-strict-aliasing -MT libckyapplet_la-cky_applet.lo -MD -MP -MF .deps/libckyapplet_la-cky_applet.Tpo -c cky_applet.c -fPIC -DPIC -o .libs/libckyapplet_la-cky_applet.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=native -O2 -pipe -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -march=native -O2 -pipe -fno-strict-aliasing -MT libckyapplet_la-cky_applet.lo -MD -MP -MF .deps/libckyapplet_la-cky_applet.Tpo -c cky_applet.c -o libckyapplet_la-cky_applet.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=native -O2 -pipe -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -march=native -O2 -pipe -fno-strict-aliasing -MT libckyapplet_la-cky_base.lo -MD -MP -MF ".deps/libckyapplet_la-cky_base.Tpo" -c -o libckyapplet_la-cky_base.lo `test -f 'cky_base.c' || echo './'`cky_base.c; \ then mv -f ".deps/libckyapplet_la-cky_base.Tpo" ".deps/libckyapplet_la-cky_base.Plo"; else rm -f ".deps/libckyapplet_la-cky_base.Tpo"; exit 1; fi x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=native -O2 -pipe -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -march=native -O2 -pipe -fno-strict-aliasing -MT libckyapplet_la-cky_base.lo -MD -MP -MF .deps/libckyapplet_la-cky_base.Tpo -c cky_base.c -fPIC -DPIC -o .libs/libckyapplet_la-cky_base.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=native -O2 -pipe -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -march=native -O2 -pipe -fno-strict-aliasing -MT libckyapplet_la-cky_base.lo -MD -MP -MF .deps/libckyapplet_la-cky_base.Tpo -c cky_base.c -o libckyapplet_la-cky_base.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=native -O2 -pipe -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -march=native -O2 -pipe -fno-strict-aliasing -MT libckyapplet_la-cky_card.lo -MD -MP -MF ".deps/libckyapplet_la-cky_card.Tpo" -c -o libckyapplet_la-cky_card.lo `test -f 'cky_card.c' || echo './'`cky_card.c; \ then mv -f ".deps/libckyapplet_la-cky_card.Tpo" ".deps/libckyapplet_la-cky_card.Plo"; else rm -f ".deps/libckyapplet_la-cky_card.Tpo"; exit 1; fi x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=native -O2 -pipe -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -march=native -O2 -pipe -fno-strict-aliasing -MT libckyapplet_la-cky_card.lo -MD -MP -MF .deps/libckyapplet_la-cky_card.Tpo -c cky_card.c -fPIC -DPIC -o .libs/libckyapplet_la-cky_card.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=native -O2 -pipe -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -march=native -O2 -pipe -fno-strict-aliasing -MT libckyapplet_la-cky_card.lo -MD -MP -MF .deps/libckyapplet_la-cky_card.Tpo -c cky_card.c -o libckyapplet_la-cky_card.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=native -O2 -pipe -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -march=native -O2 -pipe -fno-strict-aliasing -MT libckyapplet_la-cky_factory.lo -MD -MP -MF ".deps/libckyapplet_la-cky_factory.Tpo" -c -o libckyapplet_la-cky_factory.lo `test -f 'cky_factory.c' || echo './'`cky_factory.c; \ then mv -f ".deps/libckyapplet_la-cky_factory.Tpo" ".deps/libckyapplet_la-cky_factory.Plo"; else rm -f ".deps/libckyapplet_la-cky_factory.Tpo"; exit 1; fi x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=native -O2 -pipe -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -march=native -O2 -pipe -fno-strict-aliasing -MT libckyapplet_la-cky_factory.lo -MD -MP -MF .deps/libckyapplet_la-cky_factory.Tpo -c cky_factory.c -fPIC -DPIC -o .libs/libckyapplet_la-cky_factory.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=native -O2 -pipe -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -march=native -O2 -pipe -fno-strict-aliasing -MT libckyapplet_la-cky_factory.lo -MD -MP -MF .deps/libckyapplet_la-cky_factory.Tpo -c cky_factory.c -o libckyapplet_la-cky_factory.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=native -O2 -pipe -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -march=native -O2 -pipe -fno-strict-aliasing -MT libckyapplet_la-dynlink.lo -MD -MP -MF ".deps/libckyapplet_la-dynlink.Tpo" -c -o libckyapplet_la-dynlink.lo `test -f 'dynlink.c' || echo './'`dynlink.c; \ then mv -f ".deps/libckyapplet_la-dynlink.Tpo" ".deps/libckyapplet_la-dynlink.Plo"; else rm -f ".deps/libckyapplet_la-dynlink.Tpo"; exit 1; fi x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=native -O2 -pipe -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -march=native -O2 -pipe -fno-strict-aliasing -MT libckyapplet_la-dynlink.lo -MD -MP -MF .deps/libckyapplet_la-dynlink.Tpo -c dynlink.c -fPIC -DPIC -o .libs/libckyapplet_la-dynlink.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=native -O2 -pipe -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -I/usr/include/PCSC -pthread -march=native -O2 -pipe -fno-strict-aliasing -MT libckyapplet_la-dynlink.lo -MD -MP -MF .deps/libckyapplet_la-dynlink.Tpo -c dynlink.c -o libckyapplet_la-dynlink.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -o libckyapplet.la -rpath /usr/lib64 -version-info 1:0:0 -no-undefined 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 x86_64-pc-linux-gnu-gcc -shared .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 -ldl -lz -march=native -Wl,-O1 -Wl,--as-needed -Wl,-soname -Wl,libckyapplet.so.1 -o .libs/libckyapplet.so.1.0.0 (cd .libs && rm -f libckyapplet.so.1 && ln -s libckyapplet.so.1.0.0 libckyapplet.so.1) (cd .libs && rm -f libckyapplet.so && ln -s libckyapplet.so.1.0.0 libckyapplet.so) x86_64-pc-linux-gnu-ar cru .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 x86_64-pc-linux-gnu-ranlib .libs/libckyapplet.a creating libckyapplet.la (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-r6/work/coolkey-1.1.0/src/libckyapplet' make[2]: Leaving directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r6/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-r6/work/coolkey-1.1.0/src/coolkey' make[3]: Entering directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r6/work/coolkey-1.1.0/src/coolkey' if /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -Werror=terminate -march=native -O2 -pipe -MT libcoolkeypk11_la-coolkey.lo -MD -MP -MF ".deps/libcoolkeypk11_la-coolkey.Tpo" -c -o libcoolkeypk11_la-coolkey.lo `test -f 'coolkey.cpp' || echo './'`coolkey.cpp; \ then mv -f ".deps/libcoolkeypk11_la-coolkey.Tpo" ".deps/libcoolkeypk11_la-coolkey.Plo"; else rm -f ".deps/libcoolkeypk11_la-coolkey.Tpo"; exit 1; fi mkdir .libs x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -Werror=terminate -march=native -O2 -pipe -MT libcoolkeypk11_la-coolkey.lo -MD -MP -MF .deps/libcoolkeypk11_la-coolkey.Tpo -c coolkey.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-coolkey.o coolkey.cpp:37:0: warning: "NULL" redefined #define NULL 0 In file included from /usr/include/string.h:32:0, from slot.h:26, from coolkey.cpp:33: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/stddef.h:403:0: note: this is the location of the previous definition #define NULL __null coolkey.cpp: In function 'CK_RV C_Initialize(CK_VOID_PTR)': coolkey.cpp:252:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] CKY_SetName("coolkey"); ^ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -Werror=terminate -march=native -O2 -pipe -MT libcoolkeypk11_la-coolkey.lo -MD -MP -MF .deps/libcoolkeypk11_la-coolkey.Tpo -c coolkey.cpp -o libcoolkeypk11_la-coolkey.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -Werror=terminate -march=native -O2 -pipe -MT libcoolkeypk11_la-dllmain.lo -MD -MP -MF ".deps/libcoolkeypk11_la-dllmain.Tpo" -c -o libcoolkeypk11_la-dllmain.lo `test -f 'dllmain.cpp' || echo './'`dllmain.cpp; \ then mv -f ".deps/libcoolkeypk11_la-dllmain.Tpo" ".deps/libcoolkeypk11_la-dllmain.Plo"; else rm -f ".deps/libcoolkeypk11_la-dllmain.Tpo"; exit 1; fi x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -Werror=terminate -march=native -O2 -pipe -MT libcoolkeypk11_la-dllmain.lo -MD -MP -MF .deps/libcoolkeypk11_la-dllmain.Tpo -c dllmain.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-dllmain.o x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -Werror=terminate -march=native -O2 -pipe -MT libcoolkeypk11_la-dllmain.lo -MD -MP -MF .deps/libcoolkeypk11_la-dllmain.Tpo -c dllmain.cpp -o libcoolkeypk11_la-dllmain.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -Werror=terminate -march=native -O2 -pipe -MT libcoolkeypk11_la-locking.lo -MD -MP -MF ".deps/libcoolkeypk11_la-locking.Tpo" -c -o libcoolkeypk11_la-locking.lo `test -f 'locking.cpp' || echo './'`locking.cpp; \ then mv -f ".deps/libcoolkeypk11_la-locking.Tpo" ".deps/libcoolkeypk11_la-locking.Plo"; else rm -f ".deps/libcoolkeypk11_la-locking.Tpo"; exit 1; fi x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -I/usr/include/PCSC -pthread -Werror=terminate -march=native -O2 -pipe -MT libcoolkeypk11_la-locking.lo -MD -MP -MF .deps/libcoolkeypk11_la-locking.Tpo -c locking.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-locking.o locking.cpp: In destructor 'virtual BasicMutex::~BasicMutex()': locking.cpp:67:50: error: throw will always call terminate() [-Werror=terminate] throw PKCS11Exception(crv, "DestroyMutex"); ^ locking.cpp:67:50: note: in C++11 destructors default to noexcept cc1plus: some warnings being treated as errors make[3]: *** [Makefile:388: libcoolkeypk11_la-locking.lo] Error 1 make[3]: Leaving directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r6/work/coolkey-1.1.0/src/coolkey' make[2]: *** [Makefile:446: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r6/work/coolkey-1.1.0/src/coolkey' make[1]: *** [Makefile:298: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r6/work/coolkey-1.1.0' make: *** [Makefile:227: all] Error 2 emake failed * ERROR: app-crypt/coolkey-1.1.0-r6::gentoo failed (compile phase): * make failed * * Call stack: * ebuild.sh, line 115: Called src_compile * environment, line 2025: Called die * The specific snippet of code: * emake CFLAGS+="-fno-strict-aliasing" -j1 || die "make failed" * * If you need support, post the output of `emerge --info '=app-crypt/coolkey-1.1.0-r6::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-crypt/coolkey-1.1.0-r6::gentoo'`. * The complete build log is located at '/var/log/portage/app-crypt:coolkey-1.1.0-r6:20161208-151314.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-crypt/coolkey-1.1.0-r6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/coolkey-1.1.0-r6/temp/environment'. * Working directory: '/var/tmp/portage/app-crypt/coolkey-1.1.0-r6/work/coolkey-1.1.0' * S: '/var/tmp/portage/app-crypt/coolkey-1.1.0-r6/work/coolkey-1.1.0'