=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for py39-scard-1.9.9 (cd /opt/work/devel/py-scard/work/pyscard-1.9.9/ && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -D_REENTRANT PTHREAD_LDFLAGS= PTHREAD_LIBS=-lpthread PTHREADBASE= DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PYTHON=/opt/pkg/bin/python3.9 CC=clang CFLAGS=-O2\ -I/opt/pkg/include/python3.9\ -I/opt/pkg/include CPPFLAGS=-I/opt/pkg/include/PCSC\ -I/opt/pkg/include/python3.9\ -I/opt/pkg/include CXX=clang++ CXXFLAGS=-O2\ -I/opt/pkg/include/python3.9\ -I/opt/pkg/include COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib\ -L/usr/lib LINKER_RPATH_FLAG=-L PATH=/opt/work/devel/py-scard/work/.cwrapper/bin:/opt/work/devel/py-scard/work/.buildlink/bin:/opt/work/devel/py-scard/work/.tools/bin:/opt/pkg/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/opt/pkg-dev/bin:/opt/pkg-dev/sbin:/opt/pkg/bin:/opt/X11/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/opt/pkg/etc CXXCPP=clang\ -E HOME=/opt/work/devel/py-scard/work/.home CWRAPPERS_CONFIG_DIR=/opt/work/devel/py-scard/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/X11 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ sjmulder\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/opt/work/devel/py-scard/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/opt/work/devel/py-scard/work/.buildlink/lib/pkgconfig:/opt/work/devel/py-scard/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/opt/work/devel/py-scard/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/opt/work/devel/py-scard/work/.cwrapper/config /opt/pkg/bin/python3.9 setup.py build -j8) running build running build_py running build_ext building 'smartcard.scard._scard' extension swigging smartcard/scard/scard.i to smartcard/scard/scard_wrap.c swig -python -outdir smartcard/scard -DPCSCLITE -o smartcard/scard/scard_wrap.c smartcard/scard/scard.i creating build creating build/temp.macosx-11.2-arm64-3.9 creating build/temp.macosx-11.2-arm64-3.9/smartcard creating build/temp.macosx-11.2-arm64-3.9/smartcard/scard clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include -I/opt/pkg/include -O2 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include -I/opt/pkg/include -O2 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.9 -I/opt/pkg/include -I/opt/pkg/include/PCSC -I/opt/pkg/include/python3.9 -I/opt/pkg/include -DVER_PRODUCTVERSION=1,9,9,0000 -DVER_PRODUCTVERSION_STR=1.9.9 -DPCSCLITE=1 -Ismartcard/scard/ -I/usr/include/PCSC -I/usr/local/include/PCSC -I/opt/pkg/include/python3.9 -c smartcard/scard/helpers.c -o build/temp.macosx-11.2-arm64-3.9/smartcard/scard/helpers.o smartcard/scard/helpers.c:708:13: warning: code will never be executed [-Wunreachable-code] printf("Card state unaware\n"); ^~~~~~ 1 warning generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include -I/opt/pkg/include -O2 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include -I/opt/pkg/include -O2 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.9 -I/opt/pkg/include -I/opt/pkg/include/PCSC -I/opt/pkg/include/python3.9 -I/opt/pkg/include -DVER_PRODUCTVERSION=1,9,9,0000 -DVER_PRODUCTVERSION_STR=1.9.9 -DPCSCLITE=1 -Ismartcard/scard/ -I/usr/include/PCSC -I/usr/local/include/PCSC -I/opt/pkg/include/python3.9 -c smartcard/scard/scard_wrap.c -o build/temp.macosx-11.2-arm64-3.9/smartcard/scard/scard_wrap.o In file included from smartcard/scard/scard_wrap.c:3064: smartcard/scard/winscarddll.h:280:13: error: unknown type name 'LPTSTR' OUT LPTSTR mszReaders, ^ smartcard/scard/winscarddll.h:286:13: error: unknown type name 'LPTSTR' OUT LPTSTR mszGroups, ^ smartcard/scard/winscarddll.h:304:9: error: unknown type name 'LPTSTR' OUT LPTSTR szReaderName, ^ smartcard/scard/scard_wrap.c:3424:63: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'int' [-Wint-conversion] lRetCode = (mySCardListReadersA)(hcontext, mszGroups, NULL, ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_null.h:30:15: note: expanded from macro 'NULL' #define NULL __DARWIN_NULL ^~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:52:23: note: expanded from macro '__DARWIN_NULL' #define __DARWIN_NULL ((void *)0) ^~~~~~~~~~~ smartcard/scard/scard_wrap.c:3443:60: error: use of undeclared identifier 'LPTSTR' return (mySCardListReadersA)(hcontext, mszGroups, (LPTSTR)pmszReaders->ac, &cchReaders); ^ smartcard/scard/scard_wrap.c:3472:14: error: use of undeclared identifier 'LPTSTR' (LPTSTR)pmszReaderGroups->ac, &cchReaderGroups); ^ smartcard/scard/scard_wrap.c:3489:54: error: use of undeclared identifier 'LPTSTR' return (mySCardListReaderGroupsA)(hcontext, (LPTSTR)pmszReaderGroups->ac, &cchReaderGroups); ^ smartcard/scard/scard_wrap.c:3550:14: error: use of undeclared identifier 'LPTSTR' (LPTSTR)pszReaderName->sz, ^ smartcard/scard/scard_wrap.c:4066:12: warning: comparison of integers of different signs: 'int' and 'SCARDDWORDARG' (aka 'unsigned int') [-Wsign-compare] if (-1 == arg2) ~~ ^ ~~~~ smartcard/scard/scard_wrap.c:4130:12: warning: comparison of integers of different signs: 'int' and 'SCARDDWORDARG' (aka 'unsigned int') [-Wsign-compare] if (-1 == arg2) ~~ ^ ~~~~ smartcard/scard/scard_wrap.c:4203:12: warning: comparison of integers of different signs: 'int' and 'SCARDDWORDARG' (aka 'unsigned int') [-Wsign-compare] if (-1 == arg2) ~~ ^ ~~~~ smartcard/scard/scard_wrap.c:4370:12: warning: comparison of integers of different signs: 'int' and 'SCARDDWORDARG' (aka 'unsigned int') [-Wsign-compare] if (-1 == arg3) ~~ ^ ~~~~ smartcard/scard/scard_wrap.c:4375:12: warning: comparison of integers of different signs: 'int' and 'SCARDDWORDARG' (aka 'unsigned int') [-Wsign-compare] if (-1 == arg4) ~~ ^ ~~~~ smartcard/scard/scard_wrap.c:4416:12: warning: comparison of integers of different signs: 'int' and 'SCARDDWORDARG' (aka 'unsigned int') [-Wsign-compare] if (-1 == arg2) ~~ ^ ~~~~ smartcard/scard/scard_wrap.c:4449:12: warning: comparison of integers of different signs: 'int' and 'SCARDDWORDARG' (aka 'unsigned int') [-Wsign-compare] if (-1 == arg2) ~~ ^ ~~~~ smartcard/scard/scard_wrap.c:4480:12: warning: comparison of integers of different signs: 'int' and 'SCARDDWORDARG' (aka 'unsigned int') [-Wsign-compare] if (-1 == arg1) ~~ ^ ~~~~ smartcard/scard/scard_wrap.c:4518:12: warning: comparison of integers of different signs: 'int' and 'SCARDDWORDARG' (aka 'unsigned int') [-Wsign-compare] if (-1 == arg2) ~~ ^ ~~~~ smartcard/scard/scard_wrap.c:4853:12: warning: comparison of integers of different signs: 'int' and 'SCARDDWORDARG' (aka 'unsigned int') [-Wsign-compare] if (-1 == arg2) ~~ ^ ~~~~ smartcard/scard/scard_wrap.c:4858:12: warning: comparison of integers of different signs: 'int' and 'SCARDDWORDARG' (aka 'unsigned int') [-Wsign-compare] if (-1 == arg3) ~~ ^ ~~~~ smartcard/scard/scard_wrap.c:4863:12: warning: comparison of integers of different signs: 'int' and 'SCARDDWORDARG' (aka 'unsigned int') [-Wsign-compare] if (-1 == arg4) ~~ ^ ~~~~ 13 warnings and 7 errors generated. error: command '/opt/work/devel/py-scard/work/.cwrapper/bin/clang' failed with exit code 1 *** Error code 1 Stop. bmake[1]: stopped in /opt/pkgsrc/devel/py-scard *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/devel/py-scard