Skip to content

Instantly share code, notes, and snippets.

@shosti
Created September 7, 2017 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shosti/aa476f7e9cdb8b4546562a5459cc92ac to your computer and use it in GitHub Desktop.
Save shosti/aa476f7e9cdb8b4546562a5459cc92ac to your computer and use it in GitHub Desktop.
these derivations will be built:
/nix/store/qfraxyshy2anxlm1l26h6d469x18hiap-python3.5-pyusb-1.0.0.drv
/nix/store/wpbdbq2nqykcm9jmbhrdcgrcacfgc1mi-python3.5-pyscard-1.9.4.drv
/nix/store/q128nakrx8kg4iywy9ff1q9i4pfd68ls-yubikey-manager-0.4.4.drv
/nix/store/qndywl61wkhj883wvx1pcp5jawwbvs1k-shell.drv
these paths will be fetched (1.28 MiB download, 6.82 MiB unpacked):
/nix/store/1jvyrzh1yklj3pcmfadxh0x49gwcdryy-python3.5-pytz-2016.6.1
/nix/store/4h705h4n5qxb8p29yy0654fqn8pphq22-python3.5-idna-2.0
/nix/store/8h566x8dl6a39jvhxjbwzqwxaapvdrf9-python3.5-cffi-1.9.1
/nix/store/b46060i7rrkdfl9xm80f1d7g1rgwifjj-python3.5-pyasn1-0.1.9
/nix/store/c04aaz6b7vbrmqn60sqz3rkhpp8rx06r-pyscard-1.9.4.tar.gz
/nix/store/d9vknw9shyl6rlz7ammpg569zj0836y1-python3.5-pycparser-2.14
/nix/store/dnn7r2rny6az5f845fbckigprfblvxh0-python3.5-pyasn1-modules-0.0.8
/nix/store/iynj7iarczw6smjzk76ajzdkcmcvszlv-python3.5-cryptography-1.7.2
/nix/store/jns535zmis16c8jbc4913ra9y7v969y9-python3.5-pyopenssl-16.2.0
/nix/store/ljhgw2fwzkcq2kvzdzd361as8n6q5d3n-python3.5-click-6.6
/nix/store/mb383rmh9ff7lah3nz6vplpgas2nl72i-PyUSB-1.0.0.tar.gz
/nix/store/p3qxqzk7h16mf0p5pdkmnvi4l9v6zgjj-python3.5-six-1.10.0
fetching path ‘/nix/store/ljhgw2fwzkcq2kvzdzd361as8n6q5d3n-python3.5-click-6.6’...
fetching path ‘/nix/store/p3qxqzk7h16mf0p5pdkmnvi4l9v6zgjj-python3.5-six-1.10.0’...
fetching path ‘/nix/store/mb383rmh9ff7lah3nz6vplpgas2nl72i-PyUSB-1.0.0.tar.gz’...
fetching path ‘/nix/store/c04aaz6b7vbrmqn60sqz3rkhpp8rx06r-pyscard-1.9.4.tar.gz’...
*** Downloading ‘https://cache.nixos.org/nar/1a8l2qmqwfhlrfwk64b3mmyzjs2qwp235q68hibz79fk6i59gqjr.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/p3qxqzk7h16mf0p5pdkmnvi4l9v6zgjj-python3.5-six-1.10.0’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
*** Downloading ‘https://cache.nixos.org/nar/1hd181q9f56wwajjxij668ar7x73846vqw2sj1imfw6i7m13x370.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/ljhgw2fwzkcq2kvzdzd361as8n6q5d3n-python3.5-click-6.6’...
0 0 0 0 0 0 0 0 --:--:-- 1:11:34 --:--:-- 0
*** Downloading ‘https://cache.nixos.org/nar/0i0w0lylb33ql5r54gbaq74x52qgf9v8n5mcskrhk7ivyy1ll87v.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/c04aaz6b7vbrmqn60sqz3rkhpp8rx06r-pyscard-1.9.4.tar.gz’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
*** Downloading ‘https://cache.nixos.org/nar/0cvm3h14ffrcn1sip2wkgm6w1v3q28iawj0chc0y8mqxnhyzla1y.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/mb383rmh9ff7lah3nz6vplpgas2nl72i-PyUSB-1.0.0.tar.gz’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 98k 100 98k 0 0 98k 0 0:00:01 --:--:-- 0:00:01 239k
fetching path ‘/nix/store/4h705h4n5qxb8p29yy0654fqn8pphq22-python3.5-idna-2.0’...
*** Downloading ‘https://cache.nixos.org/nar/0xwc9bgpb97jflwbi6jagqf757w5fff8spzgi9xk19hfyrnmm7hq.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/4h705h4n5qxb8p29yy0654fqn8pphq22-python3.5-idna-2.0’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16500 100 16500 0 0 3 0 1:31:40 1:11:35 0:20:05 26570
fetching path ‘/nix/store/b46060i7rrkdfl9xm80f1d7g1rgwifjj-python3.5-pyasn1-0.1.9’...
100 52732 100 52732 0 0 52732 0 0:00:01 --:--:-- 0:00:01 84236
*** Downloading ‘https://cache.nixos.org/nar/1k5p18f3y8kfhaf2418wlkxkwga2wc0bfd091d4r0c4g8dw55c77.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/b46060i7rrkdfl9xm80f1d7g1rgwifjj-python3.5-pyasn1-0.1.9’...
fetching path ‘/nix/store/d9vknw9shyl6rlz7ammpg569zj0836y1-python3.5-pycparser-2.14’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
*** Downloading ‘https://cache.nixos.org/nar/15d37sm1azgm5r28j0z15d98vv7k6lcnlcx084cdnmbxal5ac7hi.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/d9vknw9shyl6rlz7ammpg569zj0836y1-python3.5-pycparser-2.14’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 143k 100 143k 0 0 143k 0 0:00:01 --:--:-- 0:00:01 164k
fetching path ‘/nix/store/1jvyrzh1yklj3pcmfadxh0x49gwcdryy-python3.5-pytz-2016.6.1’...
*** Downloading ‘https://cache.nixos.org/nar/1szvch550c12x79dm4j1wxrwv1375sa749z0fbw6p6z8a6qd822y.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/1jvyrzh1yklj3pcmfadxh0x49gwcdryy-python3.5-pytz-2016.6.1’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 71976 100 71976 0 0 16 0 1:14:58 1:11:35 0:03:23 109k
building path(s) ‘/nix/store/r37bx8g1qxqs1cirycq24b6mn3zzg97k-python3.5-pyscard-1.9.4’
unpacking sources
unpacking source archive /nix/store/c04aaz6b7vbrmqn60sqz3rkhpp8rx06r-pyscard-1.9.4.tar.gz
source root is pyscard-1.9.4
setting SOURCE_DATE_EPOCH to timestamp 1464334521 of file pyscard-1.9.4/setup.cfg
patching sources
configuring
building
100 126k 100 126k 0 0 30 0 1:12:08 1:11:35 0:00:33 324k
0 0 0 0 0 0 0 0 --:--:-- 1:11:35 --:--:-- 0
building path(s) ‘/nix/store/qnrwl0fqdz43kj3m8ighv6jif1ahdlp2-python3.5-pyusb-1.0.0’
100 59544 100 59544 0 0 13 0 1:16:20 1:11:35 0:04:45 79710
fetching path ‘/nix/store/dnn7r2rny6az5f845fbckigprfblvxh0-python3.5-pyasn1-modules-0.0.8’...
*** Downloading ‘https://cache.nixos.org/nar/1gba8x54klg40lhksbqf81icr2npkh7fis5n39hm3adhs8f04l3x.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/dnn7r2rny6az5f845fbckigprfblvxh0-python3.5-pyasn1-modules-0.0.8’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0unpacking sources
unpacking source archive /nix/store/mb383rmh9ff7lah3nz6vplpgas2nl72i-PyUSB-1.0.0.tar.gz
source root is pyusb-1.0.0
setting SOURCE_DATE_EPOCH to timestamp 1462104655 of file pyusb-1.0.0/PKG-INFO
patching sources
configuring
building
running bdist_wheel
running build
running build_py
running build_ext
100 140k 100 140k 0 0 33 0 1:12:36 1:11:35 0:01:01 156k
fetching path ‘/nix/store/8h566x8dl6a39jvhxjbwzqwxaapvdrf9-python3.5-cffi-1.9.1’...
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
*** Downloading ‘https://cache.nixos.org/nar/1i3fi0bdqmrz2kd0x6j24ik0rby5sw7p3majmhfmwh9xljpg227b.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/8h566x8dl6a39jvhxjbwzqwxaapvdrf9-python3.5-cffi-1.9.1’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0creating build
creating build/temp.linux-x86_64-3.5
creating build/temp.linux-x86_64-3.5/smartcard
creating build/temp.linux-x86_64-3.5/smartcard/scard
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DVER_PRODUCTVERSION=1,9,4,0000 -DVER_PRODUCTVERSION_STR=1.9.4 -DPCSCLITE=1 -Ismartcard/scard/ -I/usr/include/PCSC -I/nix/store/1cmq5nwr6gp51jp1bsq647sqcb3dc3zy-python3-3.5.3/include/python3.5m -c smartcard/scard/helpers.c -o build/temp.linux-x86_64-3.5/smartcard/scard/helpers.o
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/usb
copying usb/util.py -> build/lib/usb
copying usb/libloader.py -> build/lib/usb
copying usb/legacy.py -> build/lib/usb
copying usb/core.py -> build/lib/usb
copying usb/control.py -> build/lib/usb
copying usb/_objfinalizer.py -> build/lib/usb
copying usb/_lookup.py -> build/lib/usb
copying usb/_interop.py -> build/lib/usb
copying usb/_debug.py -> build/lib/usb
copying usb/__init__.py -> build/lib/usb
creating build/lib/usb/backend
copying usb/backend/libusb1.py -> build/lib/usb/backend
copying usb/backend/openusb.py -> build/lib/usb/backend
copying usb/backend/libusb0.py -> build/lib/usb/backend
copying usb/backend/__init__.py -> build/lib/usb/backend
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/usb
creating build/bdist.linux-x86_64/wheel/usb/backend
copying build/lib/usb/backend/__init__.py -> build/bdist.linux-x86_64/wheel/usb/backend
copying build/lib/usb/backend/libusb0.py -> build/bdist.linux-x86_64/wheel/usb/backend
copying build/lib/usb/backend/openusb.py -> build/bdist.linux-x86_64/wheel/usb/backend
copying build/lib/usb/backend/libusb1.py -> build/bdist.linux-x86_64/wheel/usb/backend
copying build/lib/usb/__init__.py -> build/bdist.linux-x86_64/wheel/usb
copying build/lib/usb/_debug.py -> build/bdist.linux-x86_64/wheel/usb
copying build/lib/usb/_interop.py -> build/bdist.linux-x86_64/wheel/usb
copying build/lib/usb/_lookup.py -> build/bdist.linux-x86_64/wheel/usb
copying build/lib/usb/_objfinalizer.py -> build/bdist.linux-x86_64/wheel/usb
copying build/lib/usb/control.py -> build/bdist.linux-x86_64/wheel/usb
copying build/lib/usb/core.py -> build/bdist.linux-x86_64/wheel/usb
copying build/lib/usb/legacy.py -> build/bdist.linux-x86_64/wheel/usb
copying build/lib/usb/libloader.py -> build/bdist.linux-x86_64/wheel/usb
copying build/lib/usb/util.py -> build/bdist.linux-x86_64/wheel/usb
running install_egg_info
0 0 0 0 0 0 0 0 --:--:-- 1:11:35 --:--:-- 0running egg_info
creating pyusb.egg-info
writing pyusb.egg-info/PKG-INFO
writing dependency_links to pyusb.egg-info/dependency_links.txt
writing top-level names to pyusb.egg-info/top_level.txt
writing manifest file 'pyusb.egg-info/SOURCES.txt'
reading manifest file 'pyusb.egg-info/SOURCES.txt'
writing manifest file 'pyusb.egg-info/SOURCES.txt'
Copying pyusb.egg-info to build/bdist.linux-x86_64/wheel/pyusb-1.0.0-py3.5.egg-info
running install_scripts
0 0 0 0 0 0 0 0 --:--:-- 1:11:35 --:--:-- 0creating build/bdist.linux-x86_64/wheel/pyusb-1.0.0.dist-info/WHEEL
100 44128 100 44128 0 0 10 0 1:13:32 1:11:35 0:01:57 80378
installing
/tmp/nix-build-python3.5-pyusb-1.0.0.drv-0/pyusb-1.0.0/dist /tmp/nix-build-python3.5-pyusb-1.0.0.drv-0/pyusb-1.0.0
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DVER_PRODUCTVERSION=1,9,4,0000 -DVER_PRODUCTVERSION_STR=1.9.4 -DPCSCLITE=1 -Ismartcard/scard/ -I/usr/include/PCSC -I/nix/store/1cmq5nwr6gp51jp1bsq647sqcb3dc3zy-python3-3.5.3/include/python3.5m -c smartcard/scard/winscarddll.c -o build/temp.linux-x86_64-3.5/smartcard/scard/winscarddll.o
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DVER_PRODUCTVERSION=1,9,4,0000 -DVER_PRODUCTVERSION_STR=1.9.4 -DPCSCLITE=1 -Ismartcard/scard/ -I/usr/include/PCSC -I/nix/store/1cmq5nwr6gp51jp1bsq647sqcb3dc3zy-python3-3.5.3/include/python3.5m -c smartcard/scard/scard_wrap.c -o build/temp.linux-x86_64-3.5/smartcard/scard/scard_wrap.o
100 185k 100 185k 0 0 44 0 1:11:56 1:11:35 0:00:21 270k
fetching path ‘/nix/store/iynj7iarczw6smjzk76ajzdkcmcvszlv-python3.5-cryptography-1.7.2’...
smartcard/scard/scard_wrap.c: In function '_wrap_SCardGetAttrib':
smartcard/scard/scard_wrap.c:4066:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (-1 == arg2)
^
smartcard/scard/scard_wrap.c: In function '_wrap_SCardSetAttrib':
smartcard/scard/scard_wrap.c:4130:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (-1 == arg2)
^
smartcard/scard/scard_wrap.c: In function '_wrap_SCardControl':
smartcard/scard/scard_wrap.c:4203:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (-1 == arg2)
^
smartcard/scard/scard_wrap.c: In function '_wrap_SCardConnect':
smartcard/scard/scard_wrap.c:4370:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (-1 == arg3)
^
smartcard/scard/scard_wrap.c:4375:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (-1 == arg4)
^
smartcard/scard/scard_wrap.c: In function '_wrap_SCardDisconnect':
smartcard/scard/scard_wrap.c:4416:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (-1 == arg2)
^
smartcard/scard/scard_wrap.c: In function '_wrap_SCardEndTransaction':
smartcard/scard/scard_wrap.c:4449:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (-1 == arg2)
^
smartcard/scard/scard_wrap.c: In function '_wrap_SCardEstablishContext':
smartcard/scard/scard_wrap.c:4480:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (-1 == arg1)
^
smartcard/scard/scard_wrap.c: In function '_wrap_SCardGetStatusChange':
smartcard/scard/scard_wrap.c:4518:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (-1 == arg2)
^
smartcard/scard/scard_wrap.c: In function '_wrap_SCardReconnect':
smartcard/scard/scard_wrap.c:4853:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (-1 == arg2)
^
smartcard/scard/scard_wrap.c:4858:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (-1 == arg3)
^
smartcard/scard/scard_wrap.c:4863:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (-1 == arg4)
^
*** Downloading ‘https://cache.nixos.org/nar/10h9wyr3dnxa0wv06c35inrvwzdd2jf85g4mw0p7d6lfxrfaxc7m.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/iynj7iarczw6smjzk76ajzdkcmcvszlv-python3.5-cryptography-1.7.2’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0In file included from smartcard/scard/scard_wrap.c:3063:0:
smartcard/scard/scard_wrap.c: In function '_wrap_SCardGetAttrib':
smartcard/scard/memlog.h:50:26: warning: attempt to free a non-heap object 'temp3' [-Wfree-nonheap-object]
#define mem_Free free
^
smartcard/scard/scard_wrap.c:4089:9: note: in expansion of macro 'mem_Free'
mem_Free( arg3 );
^
smartcard/scard/memlog.h:50:26: warning: attempt to free a non-heap object 'temp3' [-Wfree-nonheap-object]
#define mem_Free free
^
smartcard/scard/scard_wrap.c:4104:9: note: in expansion of macro 'mem_Free'
mem_Free( arg3 );
^
smartcard/scard/scard_wrap.c: In function '_wrap_SCardTransmit':
smartcard/scard/memlog.h:50:26: warning: attempt to free a non-heap object 'temp4' [-Wfree-nonheap-object]
#define mem_Free free
^
smartcard/scard/scard_wrap.c:5106:9: note: in expansion of macro 'mem_Free'
mem_Free( arg4 );
^
smartcard/scard/memlog.h:50:26: warning: attempt to free a non-heap object 'temp4' [-Wfree-nonheap-object]
#define mem_Free free
^
smartcard/scard/scard_wrap.c:5134:9: note: in expansion of macro 'mem_Free'
mem_Free( arg4 );
^
smartcard/scard/scard_wrap.c: In function '_wrap_SCardStatus':
smartcard/scard/memlog.h:50:26: warning: attempt to free a non-heap object 'temp5' [-Wfree-nonheap-object]
#define mem_Free free
^
smartcard/scard/scard_wrap.c:4994:9: note: in expansion of macro 'mem_Free'
mem_Free( arg5 );
^
smartcard/scard/memlog.h:50:26: warning: attempt to free a non-heap object 'temp5' [-Wfree-nonheap-object]
#define mem_Free free
^
smartcard/scard/scard_wrap.c:5030:9: note: in expansion of macro 'mem_Free'
mem_Free( arg5 );
^
smartcard/scard/scard_wrap.c: In function '_wrap_SCardListReaderGroups':
smartcard/scard/memlog.h:50:26: warning: attempt to free a non-heap object 'temp2' [-Wfree-nonheap-object]
#define mem_Free free
^
smartcard/scard/scard_wrap.c:4791:9: note: in expansion of macro 'mem_Free'
mem_Free( arg2 );
^
smartcard/scard/memlog.h:50:26: warning: attempt to free a non-heap object 'temp2' [-Wfree-nonheap-object]
#define mem_Free free
^
smartcard/scard/scard_wrap.c:4820:9: note: in expansion of macro 'mem_Free'
mem_Free( arg2 );
^
smartcard/scard/scard_wrap.c: In function '_wrap_SCardListReaders':
smartcard/scard/memlog.h:50:26: warning: attempt to free a non-heap object 'temp3' [-Wfree-nonheap-object]
#define mem_Free free
^
smartcard/scard/scard_wrap.c:4675:9: note: in expansion of macro 'mem_Free'
mem_Free( arg3 );
^
smartcard/scard/memlog.h:50:26: warning: attempt to free a non-heap object 'temp3' [-Wfree-nonheap-object]
#define mem_Free free
^
smartcard/scard/scard_wrap.c:4731:9: note: in expansion of macro 'mem_Free'
mem_Free( arg3 );
^
smartcard/scard/scard_wrap.c: In function '_wrap_SCardControl':
smartcard/scard/memlog.h:50:26: warning: attempt to free a non-heap object 'temp4' [-Wfree-nonheap-object]
#define mem_Free free
^
smartcard/scard/scard_wrap.c:4244:9: note: in expansion of macro 'mem_Free'
mem_Free( arg4 );
^
smartcard/scard/memlog.h:50:26: warning: attempt to free a non-heap object 'temp4' [-Wfree-nonheap-object]
#define mem_Free free
^
smartcard/scard/scard_wrap.c:4272:9: note: in expansion of macro 'mem_Free'
mem_Free( arg4 );
^
Processing ./pyusb-1.0.0-py3-none-any.whl
Installing collected packages: pyusb
Successfully installed pyusb-1.0.0
/tmp/nix-build-python3.5-pyusb-1.0.0.drv-0/pyusb-1.0.0
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/qnrwl0fqdz43kj3m8ighv6jif1ahdlp2-python3.5-pyusb-1.0.0
stripping (with flags -S) in /nix/store/qnrwl0fqdz43kj3m8ighv6jif1ahdlp2-python3.5-pyusb-1.0.0/lib
patching script interpreter paths in /nix/store/qnrwl0fqdz43kj3m8ighv6jif1ahdlp2-python3.5-pyusb-1.0.0
creating build/lib.linux-x86_64-3.5
creating build/lib.linux-x86_64-3.5/smartcard
creating build/lib.linux-x86_64-3.5/smartcard/scard
gcc -pthread -shared build/temp.linux-x86_64-3.5/smartcard/scard/helpers.o build/temp.linux-x86_64-3.5/smartcard/scard/winscarddll.o build/temp.linux-x86_64-3.5/smartcard/scard/scard_wrap.o -L/nix/store/1cmq5nwr6gp51jp1bsq647sqcb3dc3zy-python3-3.5.3/lib -lpython3.5m -o build/lib.linux-x86_64-3.5/smartcard/scard/_scard.cpython-35m-x86_64-linux-gnu.so
copying ./smartcard/ClassLoader.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/AbstractCardRequest.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/System.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/ReaderMonitoring.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/CardService.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/CardMonitoring.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/ATR.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/CardConnectionObserver.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/CardConnectionEvent.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/PassThruCardService.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/ulist.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/Session.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/CardConnection.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/CardRequest.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/Exceptions.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/Synchronization.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/CardNames.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/CardType.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/Card.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/ExclusiveConnectCardConnection.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/ExclusiveTransmitCardConnection.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/__init__.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/guid.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/CardConnectionDecorator.py -> build/lib.linux-x86_64-3.5/smartcard
copying ./smartcard/Observer.py -> build/lib.linux-x86_64-3.5/smartcard
creating build/lib.linux-x86_64-3.5/smartcard/pcsc
copying ./smartcard/pcsc/PCSCExceptions.py -> build/lib.linux-x86_64-3.5/smartcard/pcsc
copying ./smartcard/pcsc/PCSCPart10.py -> build/lib.linux-x86_64-3.5/smartcard/pcsc
copying ./smartcard/pcsc/PCSCCardRequest.py -> build/lib.linux-x86_64-3.5/smartcard/pcsc
copying ./smartcard/pcsc/PCSCCardConnection.py -> build/lib.linux-x86_64-3.5/smartcard/pcsc
copying ./smartcard/pcsc/PCSCReader.py -> build/lib.linux-x86_64-3.5/smartcard/pcsc
copying ./smartcard/pcsc/PCSCContext.py -> build/lib.linux-x86_64-3.5/smartcard/pcsc
copying ./smartcard/pcsc/__init__.py -> build/lib.linux-x86_64-3.5/smartcard/pcsc
copying ./smartcard/pcsc/PCSCReaderGroups.py -> build/lib.linux-x86_64-3.5/smartcard/pcsc
creating build/lib.linux-x86_64-3.5/smartcard/pyro
copying ./smartcard/pyro/__init__.py -> build/lib.linux-x86_64-3.5/smartcard/pyro
copying ./smartcard/pyro/PyroReader.py -> build/lib.linux-x86_64-3.5/smartcard/pyro
creating build/lib.linux-x86_64-3.5/smartcard/reader
copying ./smartcard/reader/ReaderFactory.py -> build/lib.linux-x86_64-3.5/smartcard/reader
copying ./smartcard/reader/Reader.py -> build/lib.linux-x86_64-3.5/smartcard/reader
copying ./smartcard/reader/ReaderGroups.py -> build/lib.linux-x86_64-3.5/smartcard/reader
copying ./smartcard/reader/__init__.py -> build/lib.linux-x86_64-3.5/smartcard/reader
copying ./smartcard/scard/scard.py -> build/lib.linux-x86_64-3.5/smartcard/scard
copying ./smartcard/scard/__init__.py -> build/lib.linux-x86_64-3.5/smartcard/scard
creating build/lib.linux-x86_64-3.5/smartcard/sw
copying ./smartcard/sw/ISO7816_9ErrorChecker.py -> build/lib.linux-x86_64-3.5/smartcard/sw
copying ./smartcard/sw/SWExceptions.py -> build/lib.linux-x86_64-3.5/smartcard/sw
copying ./smartcard/sw/op21_ErrorChecker.py -> build/lib.linux-x86_64-3.5/smartcard/sw
copying ./smartcard/sw/ISO7816_4_SW1ErrorChecker.py -> build/lib.linux-x86_64-3.5/smartcard/sw
copying ./smartcard/sw/ISO7816_4ErrorChecker.py -> build/lib.linux-x86_64-3.5/smartcard/sw
copying ./smartcard/sw/ErrorChecker.py -> build/lib.linux-x86_64-3.5/smartcard/sw
copying ./smartcard/sw/ErrorCheckingChain.py -> build/lib.linux-x86_64-3.5/smartcard/sw
copying ./smartcard/sw/ISO7816_8ErrorChecker.py -> build/lib.linux-x86_64-3.5/smartcard/sw
copying ./smartcard/sw/__init__.py -> build/lib.linux-x86_64-3.5/smartcard/sw
creating build/lib.linux-x86_64-3.5/smartcard/util
copying ./smartcard/util/__init__.py -> build/lib.linux-x86_64-3.5/smartcard/util
creating build/lib.linux-x86_64-3.5/smartcard/wx
copying ./smartcard/wx/APDUTracerPanel.py -> build/lib.linux-x86_64-3.5/smartcard/wx
copying ./smartcard/wx/SimpleSCardApp.py -> build/lib.linux-x86_64-3.5/smartcard/wx
copying ./smartcard/wx/SimpleSCardAppEventObserver.py -> build/lib.linux-x86_64-3.5/smartcard/wx
copying ./smartcard/wx/APDUHexValidator.py -> build/lib.linux-x86_64-3.5/smartcard/wx
copying ./smartcard/wx/SimpleSCardAppFrame.py -> build/lib.linux-x86_64-3.5/smartcard/wx
copying ./smartcard/wx/ReaderToolbar.py -> build/lib.linux-x86_64-3.5/smartcard/wx
copying ./smartcard/wx/__init__.py -> build/lib.linux-x86_64-3.5/smartcard/wx
copying ./smartcard/wx/CardAndReaderTreePanel.py -> build/lib.linux-x86_64-3.5/smartcard/wx
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/smartcard
creating build/bdist.linux-x86_64/wheel/smartcard/wx
copying build/lib.linux-x86_64-3.5/smartcard/wx/CardAndReaderTreePanel.py -> build/bdist.linux-x86_64/wheel/smartcard/wx
copying build/lib.linux-x86_64-3.5/smartcard/wx/__init__.py -> build/bdist.linux-x86_64/wheel/smartcard/wx
copying build/lib.linux-x86_64-3.5/smartcard/wx/ReaderToolbar.py -> build/bdist.linux-x86_64/wheel/smartcard/wx
copying build/lib.linux-x86_64-3.5/smartcard/wx/SimpleSCardAppFrame.py -> build/bdist.linux-x86_64/wheel/smartcard/wx
copying build/lib.linux-x86_64-3.5/smartcard/wx/APDUHexValidator.py -> build/bdist.linux-x86_64/wheel/smartcard/wx
copying build/lib.linux-x86_64-3.5/smartcard/wx/SimpleSCardAppEventObserver.py -> build/bdist.linux-x86_64/wheel/smartcard/wx
copying build/lib.linux-x86_64-3.5/smartcard/wx/SimpleSCardApp.py -> build/bdist.linux-x86_64/wheel/smartcard/wx
copying build/lib.linux-x86_64-3.5/smartcard/wx/APDUTracerPanel.py -> build/bdist.linux-x86_64/wheel/smartcard/wx
creating build/bdist.linux-x86_64/wheel/smartcard/util
copying build/lib.linux-x86_64-3.5/smartcard/util/__init__.py -> build/bdist.linux-x86_64/wheel/smartcard/util
creating build/bdist.linux-x86_64/wheel/smartcard/sw
copying build/lib.linux-x86_64-3.5/smartcard/sw/__init__.py -> build/bdist.linux-x86_64/wheel/smartcard/sw
copying build/lib.linux-x86_64-3.5/smartcard/sw/ISO7816_8ErrorChecker.py -> build/bdist.linux-x86_64/wheel/smartcard/sw
copying build/lib.linux-x86_64-3.5/smartcard/sw/ErrorCheckingChain.py -> build/bdist.linux-x86_64/wheel/smartcard/sw
copying build/lib.linux-x86_64-3.5/smartcard/sw/ErrorChecker.py -> build/bdist.linux-x86_64/wheel/smartcard/sw
copying build/lib.linux-x86_64-3.5/smartcard/sw/ISO7816_4ErrorChecker.py -> build/bdist.linux-x86_64/wheel/smartcard/sw
copying build/lib.linux-x86_64-3.5/smartcard/sw/ISO7816_4_SW1ErrorChecker.py -> build/bdist.linux-x86_64/wheel/smartcard/sw
copying build/lib.linux-x86_64-3.5/smartcard/sw/op21_ErrorChecker.py -> build/bdist.linux-x86_64/wheel/smartcard/sw
copying build/lib.linux-x86_64-3.5/smartcard/sw/SWExceptions.py -> build/bdist.linux-x86_64/wheel/smartcard/sw
copying build/lib.linux-x86_64-3.5/smartcard/sw/ISO7816_9ErrorChecker.py -> build/bdist.linux-x86_64/wheel/smartcard/sw
creating build/bdist.linux-x86_64/wheel/smartcard/reader
copying build/lib.linux-x86_64-3.5/smartcard/reader/__init__.py -> build/bdist.linux-x86_64/wheel/smartcard/reader
copying build/lib.linux-x86_64-3.5/smartcard/reader/ReaderGroups.py -> build/bdist.linux-x86_64/wheel/smartcard/reader
copying build/lib.linux-x86_64-3.5/smartcard/reader/Reader.py -> build/bdist.linux-x86_64/wheel/smartcard/reader
copying build/lib.linux-x86_64-3.5/smartcard/reader/ReaderFactory.py -> build/bdist.linux-x86_64/wheel/smartcard/reader
creating build/bdist.linux-x86_64/wheel/smartcard/pyro
copying build/lib.linux-x86_64-3.5/smartcard/pyro/PyroReader.py -> build/bdist.linux-x86_64/wheel/smartcard/pyro
copying build/lib.linux-x86_64-3.5/smartcard/pyro/__init__.py -> build/bdist.linux-x86_64/wheel/smartcard/pyro
creating build/bdist.linux-x86_64/wheel/smartcard/pcsc
copying build/lib.linux-x86_64-3.5/smartcard/pcsc/PCSCReaderGroups.py -> build/bdist.linux-x86_64/wheel/smartcard/pcsc
copying build/lib.linux-x86_64-3.5/smartcard/pcsc/__init__.py -> build/bdist.linux-x86_64/wheel/smartcard/pcsc
copying build/lib.linux-x86_64-3.5/smartcard/pcsc/PCSCContext.py -> build/bdist.linux-x86_64/wheel/smartcard/pcsc
copying build/lib.linux-x86_64-3.5/smartcard/pcsc/PCSCReader.py -> build/bdist.linux-x86_64/wheel/smartcard/pcsc
copying build/lib.linux-x86_64-3.5/smartcard/pcsc/PCSCCardConnection.py -> build/bdist.linux-x86_64/wheel/smartcard/pcsc
copying build/lib.linux-x86_64-3.5/smartcard/pcsc/PCSCCardRequest.py -> build/bdist.linux-x86_64/wheel/smartcard/pcsc
copying build/lib.linux-x86_64-3.5/smartcard/pcsc/PCSCPart10.py -> build/bdist.linux-x86_64/wheel/smartcard/pcsc
copying build/lib.linux-x86_64-3.5/smartcard/pcsc/PCSCExceptions.py -> build/bdist.linux-x86_64/wheel/smartcard/pcsc
copying build/lib.linux-x86_64-3.5/smartcard/Observer.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/CardConnectionDecorator.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/guid.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/__init__.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/ExclusiveTransmitCardConnection.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/ExclusiveConnectCardConnection.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/Card.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/CardType.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/CardNames.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/Synchronization.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/Exceptions.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/CardRequest.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/CardConnection.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/Session.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/ulist.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/PassThruCardService.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/CardConnectionEvent.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/CardConnectionObserver.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/ATR.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/CardMonitoring.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/CardService.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/ReaderMonitoring.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/System.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/AbstractCardRequest.py -> build/bdist.linux-x86_64/wheel/smartcard
copying build/lib.linux-x86_64-3.5/smartcard/ClassLoader.py -> build/bdist.linux-x86_64/wheel/smartcard
creating build/bdist.linux-x86_64/wheel/smartcard/scard
copying build/lib.linux-x86_64-3.5/smartcard/scard/__init__.py -> build/bdist.linux-x86_64/wheel/smartcard/scard
copying build/lib.linux-x86_64-3.5/smartcard/scard/scard.py -> build/bdist.linux-x86_64/wheel/smartcard/scard
copying build/lib.linux-x86_64-3.5/smartcard/scard/_scard.cpython-35m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/smartcard/scard
running install_egg_info
running egg_info
writing pyscard.egg-info/PKG-INFO
writing dependency_links to pyscard.egg-info/dependency_links.txt
writing requirements to pyscard.egg-info/requires.txt
writing top-level names to pyscard.egg-info/top_level.txt
reading manifest file 'pyscard.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.html' under directory 'smartcard/doc'
warning: no files found matching '*.css' under directory 'smartcard/doc'
warning: no files found matching '*.js' under directory 'smartcard/doc'
warning: no files found matching '*.txt' under directory 'smartcard/doc'
writing manifest file 'pyscard.egg-info/SOURCES.txt'
Copying pyscard.egg-info to build/bdist.linux-x86_64/wheel/pyscard-1.9.4-py3.5.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/pyscard-1.9.4.dist-info/WHEEL
0 0 0 0 0 0 0 0 --:--:-- 1:11:35 --:--:-- 0installing
/tmp/nix-build-python3.5-pyscard-1.9.4.drv-0/pyscard-1.9.4/dist /tmp/nix-build-python3.5-pyscard-1.9.4.drv-0/pyscard-1.9.4
100 317k 100 317k 0 0 317k 0 0:00:01 0:00:01 --:--:-- 239k
fetching path ‘/nix/store/jns535zmis16c8jbc4913ra9y7v969y9-python3.5-pyopenssl-16.2.0’...
*** Downloading ‘https://cache.nixos.org/nar/0sk9vfnxnalg10fbbkjs2vgbs8w09kcg04jbqpdp0pyz8vdrh1b4.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/jns535zmis16c8jbc4913ra9y7v969y9-python3.5-pyopenssl-16.2.0’...
Processing ./pyscard-1.9.4-cp35-cp35m-linux_x86_64.whl
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Installing collected packages: pyscard
Successfully installed pyscard-1.9.4
/tmp/nix-build-python3.5-pyscard-1.9.4.drv-0/pyscard-1.9.4
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/r37bx8g1qxqs1cirycq24b6mn3zzg97k-python3.5-pyscard-1.9.4
shrinking /nix/store/r37bx8g1qxqs1cirycq24b6mn3zzg97k-python3.5-pyscard-1.9.4/lib/python3.5/site-packages/smartcard/scard/_scard.cpython-35m-x86_64-linux-gnu.so
stripping (with flags -S) in /nix/store/r37bx8g1qxqs1cirycq24b6mn3zzg97k-python3.5-pyscard-1.9.4/lib
patching script interpreter paths in /nix/store/r37bx8g1qxqs1cirycq24b6mn3zzg97k-python3.5-pyscard-1.9.4
100 65060 100 65060 0 0 65060 0 0:00:01 --:--:-- 0:00:01 92414
running install tests
running test
running egg_info
writing pyscard.egg-info/PKG-INFO
writing dependency_links to pyscard.egg-info/dependency_links.txt
writing requirements to pyscard.egg-info/requires.txt
writing top-level names to pyscard.egg-info/top_level.txt
reading manifest file 'pyscard.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.html' under directory 'smartcard/doc'
warning: no files found matching '*.css' under directory 'smartcard/doc'
warning: no files found matching '*.js' under directory 'smartcard/doc'
warning: no files found matching '*.txt' under directory 'smartcard/doc'
writing manifest file 'pyscard.egg-info/SOURCES.txt'
running build_ext
copying build/lib.linux-x86_64-3.5/smartcard/scard/_scard.cpython-35m-x86_64-linux-gnu.so -> ./smartcard/scard
test_support (unittest.loader._FailedTest) ... ERROR
======================================================================
ERROR: test_support (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_support
Traceback (most recent call last):
File "/nix/store/1cmq5nwr6gp51jp1bsq647sqcb3dc3zy-python3-3.5.3/lib/python3.5/unittest/loader.py", line 153, in loadTestsFromName
module = __import__(module_name)
File "/nix/store/1cmq5nwr6gp51jp1bsq647sqcb3dc3zy-python3-3.5.3/lib/python3.5/test/test_support.py", line 10, in <module>
from test import support
ImportError: cannot import name 'support'
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)
builder for ‘/nix/store/wpbdbq2nqykcm9jmbhrdcgrcacfgc1mi-python3.5-pyscard-1.9.4.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/q128nakrx8kg4iywy9ff1q9i4pfd68ls-yubikey-manager-0.4.4.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/qndywl61wkhj883wvx1pcp5jawwbvs1k-shell.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/qndywl61wkhj883wvx1pcp5jawwbvs1k-shell.drv’ failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment