Closed dhess closed 5 years ago
This is a recent regression, since at least 49f537ceb784af0a4cb38796a6e0ffcafd092af0.
Build logs:
builder for '/nix/store/5kr8rxry4q7spcnazy7cwywjqf15dpkp-python3.7-pyscard-1.9.8.drv' failed with exit code 1; last 117 log lines: unpacking sources unpacking source archive /nix/store/yhaagak7vh5p2gs6kib455d7y4q43bdi-pyscard-1.9.8.tar.gz source root is pyscard-1.9.8 setting SOURCE_DATE_EPOCH to timestamp 1553548793 of file pyscard-1.9.8/setup.cfg patching sources applying patch /nix/store/qkig4jg0h8vm36ccxjgr1fxr1wdqfixa-62e675028086c75656444cc21d563d9f08ebf8e7.patch patching file test/test_SCardGetErrorMessage.py configuring building running bdist_wheel 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 -D__APPLE__ -D__LEOPARD__ -o smartcard/scard/scard_wrap.c smartcard/scard/scard.i creating build creating build/temp.macosx-10.6-x86_64-3.7 creating build/temp.macosx-10.6-x86_64-3.7/smartcard creating build/temp.macosx-10.6-x86_64-3.7/smartcard/scard clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -DVER_PRODUCTVERSION=1,9,8,0000 -DVER_PRODUCTVERSION_STR=1.9.8 -DPCSCLITE=1 -D__APPLE__=1 -D__LEOPARD__=1 -Ismartcard/scard/ -I/nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/include/python3.7m -c smartcard/scard/helpers.c -o build/temp.macosx-10.6-x86_64-3.7/smartcard/scard/helpers.o -v -arch i386 -arch x86_64 -ggdb clang version 7.1.0 (tags/RELEASE_710/final) Target: x86_64-apple-darwin18.6.0 Thread model: posix InstalledDir: /nix/store/i2nf6hslid0ak8fzgpj2m082sprihi92-clang-7.1.0/bin clang-7: warning: argument unused during compilation: '-fno-strict-overflow' [-Wunused-command-line-argument] "/nix/store/i2nf6hslid0ak8fzgpj2m082sprihi92-clang-7.1.0/bin/clang-7" -cc1 -triple i386-apple-macosx10.10.0 -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name helpers.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -faligned-alloc-unavailable -target-cpu yonah -dwarf-column-info -debug-info-kind=standalone -dwarf-version=2 -debugger-tuning=gdb -target-linker-version 274.2 -v -coverage-notes-file /private/tmp/nix-build-python3.7-pyscard-1.9.8.drv-0/pyscard-1.9.8/build/temp.macosx-10.6-x86_64-3.7/smartcard/scard/helpers.gcno -nostdsysteminc -resource-dir /nix/store/qvagarl5ghs07v39zhszm5x9rn08k231-clang-wrapper-7.1.0/resource-root -idirafter /nix/store/bhywddq18j79xr274n45byvqjb8fs52j-Libsystem-osx-10.12.6/include -isystem /nix/store/yhcglxp8w5lx7qmw38bqzj6kmkl8bjyp-pcsclite-1.8.25-dev/include/PCSC/ -isystem /nix/store/3r156gjbpig7xav3crnhffn3msnqmak7-libc++-7.1.0/include -isystem /nix/store/ciw6rxjsjssd8qz4nhxpzh62j9rkyxzg-libc++abi-7.1.0/include -isystem /nix/store/wylwa2iw7rga6ar6gdqgzr2fs255spvb-compiler-rt-7.1.0-dev/include -iframework /nix/store/561xfw970hqkgqgbh7m4klqiqz72a7qn-apple-framework-PCSC/Library/Frameworks -iframework /nix/store/ix2rcz5njmarx8cdn8qp3361jikp2zj3-apple-framework-CoreData/Library/Frameworks -isystem /nix/store/yhcglxp8w5lx7qmw38bqzj6kmkl8bjyp-pcsclite-1.8.25-dev/include -isystem /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/include -iframework /nix/store/z9fswna81b4zajg45fnack1hyvq4gnbl-swift-corefoundation/Library/Frameworks -D _FORTIFY_SOURCE=2 -D NDEBUG -D VER_PRODUCTVERSION=1,9,8,0000 -D VER_PRODUCTVERSION_STR=1.9.8 -D PCSCLITE=1 -D __APPLE__=1 -D __LEOPARD__=1 -I smartcard/scard/ -I /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/include/python3.7m -O3 -Wformat -Wformat-security -Werror=format-security -Wno-unused-result -Wsign-compare -Wunreachable-code -Wall -fdebug-compilation-dir /private/tmp/nix-build-python3.7-pyscard-1.9.8.drv-0/pyscard-1.9.8 -ferror-limit 19 -fmessage-length 0 -fwrapv -stack-protector 2 -stack-protector-buffer-size 4 -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-fragile-10.10.0 -fobjc-subscripting-legacy-runtime -fmax-type-align=16 -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o /private/tmp/nix-build-python3.7-pyscard-1.9.8.drv-0/helpers-de6f08.o -x c smartcard/scard/helpers.c clang -cc1 version 7.1.0 based upon LLVM 7.1.0 default target x86_64-apple-darwin18.6.0 #include "..." search starts here: #include <...> search starts here: smartcard/scard /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/include/python3.7m /nix/store/yhcglxp8w5lx7qmw38bqzj6kmkl8bjyp-pcsclite-1.8.25-dev/include/PCSC /nix/store/3r156gjbpig7xav3crnhffn3msnqmak7-libc++-7.1.0/include /nix/store/ciw6rxjsjssd8qz4nhxpzh62j9rkyxzg-libc++abi-7.1.0/include /nix/store/wylwa2iw7rga6ar6gdqgzr2fs255spvb-compiler-rt-7.1.0-dev/include /nix/store/yhcglxp8w5lx7qmw38bqzj6kmkl8bjyp-pcsclite-1.8.25-dev/include /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/include /nix/store/561xfw970hqkgqgbh7m4klqiqz72a7qn-apple-framework-PCSC/Library/Frameworks (framework directory) /nix/store/ix2rcz5njmarx8cdn8qp3361jikp2zj3-apple-framework-CoreData/Library/Frameworks (framework directory) /nix/store/z9fswna81b4zajg45fnack1hyvq4gnbl-swift-corefoundation/Library/Frameworks (framework directory) /nix/store/qvagarl5ghs07v39zhszm5x9rn08k231-clang-wrapper-7.1.0/resource-root/include /nix/store/bhywddq18j79xr274n45byvqjb8fs52j-Libsystem-osx-10.12.6/include End of search list. smartcard/scard/helpers.c:708:13: warning: code will never be executed [-Wunreachable-code] printf("Card state unaware\n"); ^~~~~~ 1 warning generated. "/nix/store/i2nf6hslid0ak8fzgpj2m082sprihi92-clang-7.1.0/bin/clang-7" -cc1 -triple x86_64-apple-macosx10.10.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name helpers.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -faligned-alloc-unavailable -target-cpu core2 -dwarf-column-info -debug-info-kind=standalone -dwarf-version=2 -debugger-tuning=gdb -target-linker-version 274.2 -v -coverage-notes-file /private/tmp/nix-build-python3.7-pyscard-1.9.8.drv-0/pyscard-1.9.8/build/temp.macosx-10.6-x86_64-3.7/smartcard/scard/helpers.gcno -nostdsysteminc -resource-dir /nix/store/qvagarl5ghs07v39zhszm5x9rn08k231-clang-wrapper-7.1.0/resource-root -idirafter /nix/store/bhywddq18j79xr274n45byvqjb8fs52j-Libsystem-osx-10.12.6/include -isystem /nix/store/yhcglxp8w5lx7qmw38bqzj6kmkl8bjyp-pcsclite-1.8.25-dev/include/PCSC/ -isystem /nix/store/3r156gjbpig7xav3crnhffn3msnqmak7-libc++-7.1.0/include -isystem /nix/store/ciw6rxjsjssd8qz4nhxpzh62j9rkyxzg-libc++abi-7.1.0/include -isystem /nix/store/wylwa2iw7rga6ar6gdqgzr2fs255spvb-compiler-rt-7.1.0-dev/include -iframework /nix/store/561xfw970hqkgqgbh7m4klqiqz72a7qn-apple-framework-PCSC/Library/Frameworks -iframework /nix/store/ix2rcz5njmarx8cdn8qp3361jikp2zj3-apple-framework-CoreData/Library/Frameworks -isystem /nix/store/yhcglxp8w5lx7qmw38bqzj6kmkl8bjyp-pcsclite-1.8.25-dev/include -isystem /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/include -iframework /nix/store/z9fswna81b4zajg45fnack1hyvq4gnbl-swift-corefoundation/Library/Frameworks -D _FORTIFY_SOURCE=2 -D NDEBUG -D VER_PRODUCTVERSION=1,9,8,0000 -D VER_PRODUCTVERSION_STR=1.9.8 -D PCSCLITE=1 -D __APPLE__=1 -D __LEOPARD__=1 -I smartcard/scard/ -I /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/include/python3.7m -O3 -Wformat -Wformat-security -Werror=format-security -Wno-unused-result -Wsign-compare -Wunreachable-code -Wall -fdebug-compilation-dir /private/tmp/nix-build-python3.7-pyscard-1.9.8.drv-0/pyscard-1.9.8 -ferror-limit 19 -fmessage-length 0 -fwrapv -stack-protector 2 -stack-protector-buffer-size 4 -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.10.0 -fmax-type-align=16 -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o /private/tmp/nix-build-python3.7-pyscard-1.9.8.drv-0/helpers-7952f9.o -x c smartcard/scard/helpers.c clang -cc1 version 7.1.0 based upon LLVM 7.1.0 default target x86_64-apple-darwin18.6.0 #include "..." search starts here: #include <...> search starts here: smartcard/scard /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/include/python3.7m /nix/store/yhcglxp8w5lx7qmw38bqzj6kmkl8bjyp-pcsclite-1.8.25-dev/include/PCSC /nix/store/3r156gjbpig7xav3crnhffn3msnqmak7-libc++-7.1.0/include /nix/store/ciw6rxjsjssd8qz4nhxpzh62j9rkyxzg-libc++abi-7.1.0/include /nix/store/wylwa2iw7rga6ar6gdqgzr2fs255spvb-compiler-rt-7.1.0-dev/include /nix/store/yhcglxp8w5lx7qmw38bqzj6kmkl8bjyp-pcsclite-1.8.25-dev/include /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/include /nix/store/561xfw970hqkgqgbh7m4klqiqz72a7qn-apple-framework-PCSC/Library/Frameworks (framework directory) /nix/store/ix2rcz5njmarx8cdn8qp3361jikp2zj3-apple-framework-CoreData/Library/Frameworks (framework directory) /nix/store/z9fswna81b4zajg45fnack1hyvq4gnbl-swift-corefoundation/Library/Frameworks (framework directory) /nix/store/qvagarl5ghs07v39zhszm5x9rn08k231-clang-wrapper-7.1.0/resource-root/include /nix/store/bhywddq18j79xr274n45byvqjb8fs52j-Libsystem-osx-10.12.6/include End of search list. smartcard/scard/helpers.c:708:13: warning: code will never be executed [-Wunreachable-code] printf("Card state unaware\n"); ^~~~~~ 1 warning generated. "/nix/store/2pj2hdfy8jqy41hbh5h6z7sqhmcpi7xy-cctools-binutils-darwin/bin/lipo" -create -output build/temp.macosx-10.6-x86_64-3.7/smartcard/scard/helpers.o /private/tmp/nix-build-python3.7-pyscard-1.9.8.drv-0/helpers-de6f08.o /private/tmp/nix-build-python3.7-pyscard-1.9.8.drv-0/helpers-7952f9.o clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -DVER_PRODUCTVERSION=1,9,8,0000 -DVER_PRODUCTVERSION_STR=1.9.8 -DPCSCLITE=1 -D__APPLE__=1 -D__LEOPARD__=1 -Ismartcard/scard/ -I/nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/include/python3.7m -c smartcard/scard/winscarddll.c -o build/temp.macosx-10.6-x86_64-3.7/smartcard/scard/winscarddll.o -v -arch i386 -arch x86_64 -ggdb clang version 7.1.0 (tags/RELEASE_710/final) Target: x86_64-apple-darwin18.6.0 Thread model: posix InstalledDir: /nix/store/i2nf6hslid0ak8fzgpj2m082sprihi92-clang-7.1.0/bin clang-7: warning: argument unused during compilation: '-fno-strict-overflow' [-Wunused-command-line-argument] "/nix/store/i2nf6hslid0ak8fzgpj2m082sprihi92-clang-7.1.0/bin/clang-7" -cc1 -triple i386-apple-macosx10.10.0 -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name winscarddll.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -faligned-alloc-unavailable -target-cpu yonah -dwarf-column-info -debug-info-kind=standalone -dwarf-version=2 -debugger-tuning=gdb -target-linker-version 274.2 -v -coverage-notes-file /private/tmp/nix-build-python3.7-pyscard-1.9.8.drv-0/pyscard-1.9.8/build/temp.macosx-10.6-x86_64-3.7/smartcard/scard/winscarddll.gcno -nostdsysteminc -resource-dir /nix/store/qvagarl5ghs07v39zhszm5x9rn08k231-clang-wrapper-7.1.0/resource-root -idirafter /nix/store/bhywddq18j79xr274n45byvqjb8fs52j-Libsystem-osx-10.12.6/include -isystem /nix/store/yhcglxp8w5lx7qmw38bqzj6kmkl8bjyp-pcsclite-1.8.25-dev/include/PCSC/ -isystem /nix/store/3r156gjbpig7xav3crnhffn3msnqmak7-libc++-7.1.0/include -isystem /nix/store/ciw6rxjsjssd8qz4nhxpzh62j9rkyxzg-libc++abi-7.1.0/include -isystem /nix/store/wylwa2iw7rga6ar6gdqgzr2fs255spvb-compiler-rt-7.1.0-dev/include -iframework /nix/store/561xfw970hqkgqgbh7m4klqiqz72a7qn-apple-framework-PCSC/Library/Frameworks -iframework /nix/store/ix2rcz5njmarx8cdn8qp3361jikp2zj3-apple-framework-CoreData/Library/Frameworks -isystem /nix/store/yhcglxp8w5lx7qmw38bqzj6kmkl8bjyp-pcsclite-1.8.25-dev/include -isystem /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/include -iframework /nix/store/z9fswna81b4zajg45fnack1hyvq4gnbl-swift-corefoundation/Library/Frameworks -D _FORTIFY_SOURCE=2 -D NDEBUG -D VER_PRODUCTVERSION=1,9,8,0000 -D VER_PRODUCTVERSION_STR=1.9.8 -D PCSCLITE=1 -D __APPLE__=1 -D __LEOPARD__=1 -I smartcard/scard/ -I /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/include/python3.7m -O3 -Wformat -Wformat-security -Werror=format-security -Wno-unused-result -Wsign-compare -Wunreachable-code -Wall -fdebug-compilation-dir /private/tmp/nix-build-python3.7-pyscard-1.9.8.drv-0/pyscard-1.9.8 -ferror-limit 19 -fmessage-length 0 -fwrapv -stack-protector 2 -stack-protector-buffer-size 4 -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-fragile-10.10.0 -fobjc-subscripting-legacy-runtime -fmax-type-align=16 -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o /private/tmp/nix-build-python3.7-pyscard-1.9.8.drv-0/winscarddll-bc38c0.o -x c smartcard/scard/winscarddll.c clang -cc1 version 7.1.0 based upon LLVM 7.1.0 default target x86_64-apple-darwin18.6.0 #include "..." search starts here: #include <...> search starts here: smartcard/scard /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/include/python3.7m /nix/store/yhcglxp8w5lx7qmw38bqzj6kmkl8bjyp-pcsclite-1.8.25-dev/include/PCSC /nix/store/3r156gjbpig7xav3crnhffn3msnqmak7-libc++-7.1.0/include /nix/store/ciw6rxjsjssd8qz4nhxpzh62j9rkyxzg-libc++abi-7.1.0/include /nix/store/wylwa2iw7rga6ar6gdqgzr2fs255spvb-compiler-rt-7.1.0-dev/include /nix/store/yhcglxp8w5lx7qmw38bqzj6kmkl8bjyp-pcsclite-1.8.25-dev/include /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/include /nix/store/561xfw970hqkgqgbh7m4klqiqz72a7qn-apple-framework-PCSC/Library/Frameworks (framework directory) /nix/store/ix2rcz5njmarx8cdn8qp3361jikp2zj3-apple-framework-CoreData/Library/Frameworks (framework directory) /nix/store/z9fswna81b4zajg45fnack1hyvq4gnbl-swift-corefoundation/Library/Frameworks (framework directory) /nix/store/qvagarl5ghs07v39zhszm5x9rn08k231-clang-wrapper-7.1.0/resource-root/include /nix/store/bhywddq18j79xr274n45byvqjb8fs52j-Libsystem-osx-10.12.6/include End of search list. In file included from smartcard/scard/winscarddll.c:26: 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/winscarddll.c:529:13: error: unknown type name 'LPTSTR' OUT LPTSTR mszReaders, ^ smartcard/scard/winscarddll.c:543:13: error: unknown type name 'LPTSTR' OUT LPTSTR mszGroups, ^ smartcard/scard/winscarddll.c:582:9: error: unknown type name 'LPTSTR' OUT LPTSTR szReaderName, ^ 6 errors generated. error: command 'clang' failed with exit status 1 builder for '/nix/store/5kr8rxry4q7spcnazy7cwywjqf15dpkp-python3.7-pyscard-1.9.8.drv' failed with exit code 1 cannot build derivation '/nix/store/qlak7xqzz9id99ha2m7icp5fsl9p6dc5-python3.7-yubikey-manager-2.1.1.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/g53z2f7zigh7rfj25p8pg84z56h6fc9j-mactools-env.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/3ih5yzx03ydj6nkymdnfp5943jmm8pq1-dhess-nix-x86_64-darwin.drv': 2 dependencies couldn't be built [1 built (1 failed), 2 copied (1.5 MiB), 0.0 MiB DL] error: build of '/nix/store/3ih5yzx03ydj6nkymdnfp5943jmm8pq1-dhess-nix-x86_64-darwin.drv' failed
addressed by #65163
This is a recent regression, since at least 49f537ceb784af0a4cb38796a6e0ffcafd092af0.
Build logs: