=> Bootstrap dependency digest>=20010302: found digest-20080510 => Bootstrap dependency fetch-[0-9]*: found fetch-1.7 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for coolkey-1.1.0 /usr/bin/make all-recursive make[1]: Entering directory `/tmp/pkgsrc/security/CoolKey/work/coolkey-1.1.0' Making all in src/libckyapplet make[2]: Entering directory `/tmp/pkgsrc/security/CoolKey/work/coolkey-1.1.0/src/libckyapplet' make[3]: Entering directory `/tmp/pkgsrc/security/CoolKey/work/coolkey-1.1.0/src/libckyapplet' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/pkg/include -I/usr/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/usr/pkg/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -c -o libckyapplet_la-cky_applet.lo `test -f 'cky_applet.c' || echo './'`cky_applet.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/pkg/include -I/usr/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/usr/pkg/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -c -o libckyapplet_la-cky_base.lo `test -f 'cky_base.c' || echo './'`cky_base.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/pkg/include -I/usr/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/usr/pkg/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -c -o libckyapplet_la-cky_card.lo `test -f 'cky_card.c' || echo './'`cky_card.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/pkg/include -I/usr/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/usr/pkg/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -c -o libckyapplet_la-cky_factory.lo `test -f 'cky_factory.c' || echo './'`cky_factory.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/pkg/include -I/usr/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/usr/pkg/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -c -o libckyapplet_la-dynlink.lo `test -f 'dynlink.c' || echo './'`dynlink.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c cky_applet.c -fPIC -DPIC -o .libs/libckyapplet_la-cky_applet.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c cky_base.c -fPIC -DPIC -o .libs/libckyapplet_la-cky_base.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c cky_card.c -fPIC -DPIC -o .libs/libckyapplet_la-cky_card.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c dynlink.c -fPIC -DPIC -o .libs/libckyapplet_la-dynlink.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c cky_factory.c -fPIC -DPIC -o .libs/libckyapplet_la-cky_factory.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c dynlink.c -o libckyapplet_la-dynlink.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c cky_factory.c -o libckyapplet_la-cky_factory.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c cky_base.c -o libckyapplet_la-cky_base.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c cky_card.c -o libckyapplet_la-cky_card.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c cky_applet.c -o libckyapplet_la-cky_applet.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o libckyapplet.la -rpath /usr/pkg/lib -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 -lz libtool: link: 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 -Wl,-rpath -Wl,/tmp/pkgsrc/security/CoolKey/work/.buildlink/lib -Wl,-rpath -Wl,/tmp/pkgsrc/security/CoolKey/work/.buildlink/lib -L/tmp/pkgsrc/security/CoolKey/work/.buildlink/lib /tmp/pkgsrc/security/CoolKey/work/.buildlink/lib/libz.so -Wl,-R/usr/pkg/lib -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: 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 libtool: link: ranlib .libs/libckyapplet.a libtool: link: ( cd ".libs" && rm -f "libckyapplet.la" && ln -s "../libckyapplet.la" "libckyapplet.la" ) make[3]: Leaving directory `/tmp/pkgsrc/security/CoolKey/work/coolkey-1.1.0/src/libckyapplet' make[2]: Leaving directory `/tmp/pkgsrc/security/CoolKey/work/coolkey-1.1.0/src/libckyapplet' Making all in src/coolkey make[2]: Entering directory `/tmp/pkgsrc/security/CoolKey/work/coolkey-1.1.0/src/coolkey' make[3]: Entering directory `/tmp/pkgsrc/security/CoolKey/work/coolkey-1.1.0/src/coolkey' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/pkg/include -I/usr/include -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/pkg/include/PCSC -I/usr/pkg/include -I/usr/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -c -o libcoolkeypk11_la-coolkey.lo `test -f 'coolkey.cpp' || echo './'`coolkey.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/pkg/include -I/usr/include -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/pkg/include/PCSC -I/usr/pkg/include -I/usr/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -c -o libcoolkeypk11_la-dllmain.lo `test -f 'dllmain.cpp' || echo './'`dllmain.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/pkg/include -I/usr/include -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/pkg/include/PCSC -I/usr/pkg/include -I/usr/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -c -o libcoolkeypk11_la-locking.lo `test -f 'locking.cpp' || echo './'`locking.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/pkg/include -I/usr/include -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/pkg/include/PCSC -I/usr/pkg/include -I/usr/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -c -o libcoolkeypk11_la-log.lo `test -f 'log.cpp' || echo './'`log.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/pkg/include -I/usr/include -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/pkg/include/PCSC -I/usr/pkg/include -I/usr/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -c -o libcoolkeypk11_la-machdep.lo `test -f 'machdep.cpp' || echo './'`machdep.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c dllmain.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-dllmain.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c coolkey.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-coolkey.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c log.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-log.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c locking.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-locking.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c machdep.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-machdep.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c dllmain.cpp -o libcoolkeypk11_la-dllmain.o >/dev/null 2>&1 log.cpp: In member function 'virtual void SysLog::log(const char*, ...)': log.cpp:100:37: error: 'strlen' was not declared in this scope log.cpp:100:61: error: 'malloc' was not declared in this scope log.cpp:102:29: error: 'strcpy' was not declared in this scope log.cpp:103:18: error: 'strcat' was not declared in this scope log.cpp:106:11: error: 'free' was not declared in this scope /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/pkg/include -I/usr/include -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/pkg/include/PCSC -I/usr/pkg/include -I/usr/include -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -c -o libcoolkeypk11_la-object.lo `test -f 'object.cpp' || echo './'`object.cpp make[3]: *** [libcoolkeypk11_la-log.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... machdep.cpp: In static member function 'static SHMem* SHMem::initSegment(const char*, int, bool&)': machdep.cpp:330:63: error: 'strlen' was not declared in this scope machdep.cpp:335:58: error: 'memcpy' was not declared in this scope machdep.cpp:337:53: error: 'strcpy' was not declared in this scope machdep.cpp:340:35: error: 'strcat' was not declared in this scope machdep.cpp:350:28: error: 'calloc' was not declared in this scope machdep.cpp:369:10: error: 'free' was not declared in this scope make[3]: *** [libcoolkeypk11_la-machdep.lo] Error 1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c locking.cpp -o libcoolkeypk11_la-locking.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c object.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-object.o coolkey.cpp: In function 'CK_RV C_Initialize(void*)': coolkey.cpp:240:26: warning: deprecated conversion from string constant to 'char*' object.cpp: In member function 'void PKCS11Object::getAttributeValue(CK_ATTRIBUTE*, CK_ULONG, Log*) const': object.cpp:373:38: error: 'memcpy' was not declared in this scope object.cpp: In member function 'const char* PKCS11Object::getLabel()': object.cpp:417:57: error: 'memcpy' was not declared in this scope object.cpp: In member function 'CK_OBJECT_CLASS PKCS11Object::getClass()': object.cpp:442:61: error: 'memcpy' was not declared in this scope object.cpp: In member function 'void PKCS11Object::setAttribute(CK_ATTRIBUTE_TYPE, const char*)': object.cpp:465:72: error: 'strlen' was not declared in this scope object.cpp: In function 'SECStatus GetCN(const CKYByte*, unsigned int, CCItem*)': object.cpp:979:36: error: 'memcmp' was not declared in this scope object.cpp: In function 'char* GetUserName(const CKYBuffer*)': object.cpp:1010:35: error: 'memcpy' was not declared in this scope make[3]: *** [libcoolkeypk11_la-object.lo] Error 1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/tmp/pkgsrc/security/CoolKey/work/.buildlink/include/PCSC -O3 -pipe -fstack-protector -Wno-format -fno-builtin -c coolkey.cpp -o libcoolkeypk11_la-coolkey.o >/dev/null 2>&1 make[3]: Leaving directory `/tmp/pkgsrc/security/CoolKey/work/coolkey-1.1.0/src/coolkey' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/pkgsrc/security/CoolKey/work/coolkey-1.1.0/src/coolkey' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/pkgsrc/security/CoolKey/work/coolkey-1.1.0' make: *** [all] Error 2 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/security/CoolKey *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/security/CoolKey