Skip to content

Instantly share code, notes, and snippets.

@Mic92
Created December 9, 2018 09:14
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 Mic92/06c8872657e306f2ac9500e9ecf57b5d to your computer and use it in GitHub Desktop.
Save Mic92/06c8872657e306f2ac9500e9ecf57b5d to your computer and use it in GitHub Desktop.
these derivations will be built:
/nix/store/2796whwlji2ahdrs6s6z3qwaq6d56di3-pcsclite-1.8.24.drv
/nix/store/5nfmb3aqkkp0s73jybramsb78szx11jc-source.drv
/nix/store/cpjd2kzhx6ca38i3p86xmwy5fvh8kqc8-libosmocore-0.12.1.drv
these paths will be fetched (16.01 MiB download, 79.15 MiB unpacked):
/nix/store/0gxpx18ppymch7xkhq0i3gvwnryhw19z-Security-osx-10.9.5
/nix/store/42pm4w5xz92klg30b04rbrl28amhicf6-autogen-5.18.12
/nix/store/5l7fbchc3pz42ck51brp8a38bm7sndk4-libtool-2.4.6
/nix/store/5zgzp03zwp7xh4glk6qc9h7rvny8jw4q-gnutls-3.5.10-bin
/nix/store/7hwar3ncfqc975pzvsvn992d2rdaplj3-p11-kit-0.23.14
/nix/store/8vi19bszv180z4pk9ykaz0dhn2bskdrv-configd-osx-10.8.5
/nix/store/90acbh5cnn8jy5jbnqs5n21pkql73qvh-gmp-6.1.2-dev
/nix/store/9d8v4n6psh5c0ihc0cvm77flpwi7nzj1-gnutls-3.5.10
/nix/store/9i1wkg86cyp4i3bj6wnign0r9j64hm0w-autoconf-2.69
/nix/store/ak9cna3d4pw7ah914v8xkrysmkarpbqz-libtool-2.4.6-lib
/nix/store/axbikpxajwhnqrfjml94r6pl1vkyjbva-autogen-5.18.12-lib
/nix/store/b19a99xfk2psri73lsb97fzxnfyzld89-libidn-1.35
/nix/store/dbfh9ran08njdnfqbg26f56gxddsirc8-talloc-2.1.14
/nix/store/hg0dyfidm073lhzj2rqv3lqfp15fzzwp-sqlite-3.26.0
/nix/store/irzl2clb6g2i2mgb8w0d04kkqsy8j5ra-pcsc-lite-1.8.24.tar.bz2
/nix/store/jgx93znimf01mi2qbzfzq6bnkvg6vk81-gdbm-1.18.1
/nix/store/n4400iy9jgdaiy9h69fvbffxf9wbcjg4-nettle-3.4
/nix/store/nalv7cdvzwfzhybwn75hdlan0a7z2szc-libunistring-0.9.10
/nix/store/ngmphyi383nrm7gm9lhflxkab6vsqjf9-gettext-0.19.8.1
/nix/store/rbyfwr00lm96pp5l320z64bpnk2dbz5d-python-2.7.15
/nix/store/rjr21x2k11kn3zi4r94h0r578qyb5fn7-readline-6.3p08
/nix/store/rn3dfvp7ggvczf2q1s35hz8016i4nvdg-unbound-1.8.1-lib
/nix/store/snybg1s4im2win69n90vwrwhqf60jhn1-libtasn1-4.13
/nix/store/v1k9j3pxmn48wmmd6pv6if5rr84g6vqf-dns-root-data-2017-10-24
/nix/store/wc5ip1nyq1i9cdazcngh6fd1h6a4w2ms-libevent-2.1.8
/nix/store/wlfqf64xi60ajc5jzqa8mnf3xc2j0k7v-automake-1.16.1
/nix/store/wwj4xsyizihz9v17w1j9ksn3k6pk809z-nettle-3.4-dev
/nix/store/y0amp50z1p20s8hzd3q7cbdp2srxfrdx-gnutls-3.5.10-dev
/nix/store/ysrbm2a1q0sxdvdsp8chx104bcjmy4mq-hook
/nix/store/yy7ycwhkpdqpf0h89cwn1bg4g607m1jd-gnum4-1.4.18
copying path '/nix/store/0gxpx18ppymch7xkhq0i3gvwnryhw19z-Security-osx-10.9.5' from 'https://cache.nixos.org'...
copying path '/nix/store/v1k9j3pxmn48wmmd6pv6if5rr84g6vqf-dns-root-data-2017-10-24' from 'https://cache.nixos.org'...
copying path '/nix/store/wlfqf64xi60ajc5jzqa8mnf3xc2j0k7v-automake-1.16.1' from 'https://cache.nixos.org'...
copying path '/nix/store/jgx93znimf01mi2qbzfzq6bnkvg6vk81-gdbm-1.18.1' from 'https://cache.nixos.org'...
copying path '/nix/store/42pm4w5xz92klg30b04rbrl28amhicf6-autogen-5.18.12' from 'https://cache.nixos.org'...
copying path '/nix/store/ngmphyi383nrm7gm9lhflxkab6vsqjf9-gettext-0.19.8.1' from 'https://cache.nixos.org'...
copying path '/nix/store/8vi19bszv180z4pk9ykaz0dhn2bskdrv-configd-osx-10.8.5' from 'https://cache.nixos.org'...
copying path '/nix/store/90acbh5cnn8jy5jbnqs5n21pkql73qvh-gmp-6.1.2-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/axbikpxajwhnqrfjml94r6pl1vkyjbva-autogen-5.18.12-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/yy7ycwhkpdqpf0h89cwn1bg4g607m1jd-gnum4-1.4.18' from 'https://cache.nixos.org'...
copying path '/nix/store/wc5ip1nyq1i9cdazcngh6fd1h6a4w2ms-libevent-2.1.8' from 'https://cache.nixos.org'...
copying path '/nix/store/b19a99xfk2psri73lsb97fzxnfyzld89-libidn-1.35' from 'https://cache.nixos.org'...
copying path '/nix/store/snybg1s4im2win69n90vwrwhqf60jhn1-libtasn1-4.13' from 'https://cache.nixos.org'...
copying path '/nix/store/ak9cna3d4pw7ah914v8xkrysmkarpbqz-libtool-2.4.6-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/9i1wkg86cyp4i3bj6wnign0r9j64hm0w-autoconf-2.69' from 'https://cache.nixos.org'...
copying path '/nix/store/nalv7cdvzwfzhybwn75hdlan0a7z2szc-libunistring-0.9.10' from 'https://cache.nixos.org'...
copying path '/nix/store/5l7fbchc3pz42ck51brp8a38bm7sndk4-libtool-2.4.6' from 'https://cache.nixos.org'...
copying path '/nix/store/n4400iy9jgdaiy9h69fvbffxf9wbcjg4-nettle-3.4' from 'https://cache.nixos.org'...
copying path '/nix/store/7hwar3ncfqc975pzvsvn992d2rdaplj3-p11-kit-0.23.14' from 'https://cache.nixos.org'...
copying path '/nix/store/irzl2clb6g2i2mgb8w0d04kkqsy8j5ra-pcsc-lite-1.8.24.tar.bz2' from 'https://cache.nixos.org'...
copying path '/nix/store/wwj4xsyizihz9v17w1j9ksn3k6pk809z-nettle-3.4-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/rjr21x2k11kn3zi4r94h0r578qyb5fn7-readline-6.3p08' from 'https://cache.nixos.org'...
copying path '/nix/store/ysrbm2a1q0sxdvdsp8chx104bcjmy4mq-hook' from 'https://cache.nixos.org'...
copying path '/nix/store/hg0dyfidm073lhzj2rqv3lqfp15fzzwp-sqlite-3.26.0' from 'https://cache.nixos.org'...
copying path '/nix/store/rn3dfvp7ggvczf2q1s35hz8016i4nvdg-unbound-1.8.1-lib' from 'https://cache.nixos.org'...
building '/nix/store/5nfmb3aqkkp0s73jybramsb78szx11jc-source.drv'...
copying path '/nix/store/9d8v4n6psh5c0ihc0cvm77flpwi7nzj1-gnutls-3.5.10' from 'https://cache.nixos.org'...
copying path '/nix/store/rbyfwr00lm96pp5l320z64bpnk2dbz5d-python-2.7.15' from 'https://cache.nixos.org'...
copying path '/nix/store/5zgzp03zwp7xh4glk6qc9h7rvny8jw4q-gnutls-3.5.10-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/y0amp50z1p20s8hzd3q7cbdp2srxfrdx-gnutls-3.5.10-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/dbfh9ran08njdnfqbg26f56gxddsirc8-talloc-2.1.14' from 'https://cache.nixos.org'...
building '/nix/store/2796whwlji2ahdrs6s6z3qwaq6d56di3-pcsclite-1.8.24.drv'...
trying https://github.com/osmocom/libosmocore/archive/0.12.1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 127 0 127 0 0 742 0 --:--:-- --:--:-- --:--:-- 742
100 1025k 0 1025k 0 0 1712k 0 --:--:-- --:--:-- --:--:-- 1712k
unpacking source archive /private/tmp/nix-build-source.drv-0/0.12.1.tar.gz
unpacking sources
unpacking source archive /nix/store/irzl2clb6g2i2mgb8w0d04kkqsy8j5ra-pcsc-lite-1.8.24.tar.bz2
source root is pcsc-lite-1.8.24
setting SOURCE_DATE_EPOCH to timestamp 1539335489 of file pcsc-lite-1.8.24/ChangeLog.git
patching sources
applying patch /nix/store/7abdyxcaxdkcvmd7b936r87jzl77vla8-no-dropdir-literals.patch
patching file src/hotplug_libudev.c
Hunk #2 succeeded at 726 (offset 3 lines).
patching file src/hotplug_libusb.c
patching file src/hotplug_linux.c
configuring
fixing libtool script ./ltmain.sh
configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24 --bindir=/nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin/bin --sbindir=/nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin/sbin --includedir=/nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/include --oldincludedir=/nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/include --mandir=/nix/store/f1dc76419lhdq9bnasmkyja05vq5d4hd-pcsclite-1.8.24-man/share/man --infodir=/nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin/share/info --docdir=/nix/store/gkzj1mn7a9k8flryanliivi5fp3g5y89-pcsclite-1.8.24-doc/share/doc/pcsclite --libdir=/nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib --libexecdir=/nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/libexec --localedir=/nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/share/locale --enable-usbdropdir=/var/lib/pcsc/drivers --enable-confdir=/etc --enable-ipcdir=/run/pcscd --disable-libsystemd
checking for a BSD-compatible install... /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-apple-darwin17.7.0
checking host system type... x86_64-apple-darwin17.7.0
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of clang... none
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /nix/store/7b0jnq9kbck8x6wizh0c23c90gm4z238-gnugrep-3.1/bin/grep
checking for egrep... /nix/store/7b0jnq9kbck8x6wizh0c23c90gm4z238-gnugrep-3.1/bin/grep -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 whether byte ordering is bigendian... no
configure: WARNING: libusb disabled on Darwin for pcsc-lite
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to run the C preprocessor... clang -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for flex... no
checking for lex... no
checking for pkg-config... /nix/store/vj9gjg6l8nggqs761dp87s6w2d746fjb-pkg-config-0.29.2/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking the archiver (ar) interface... ar
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for PTHREAD_PRIO_INHERIT... yes
checking for pthread_cancel... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /nix/store/kigdfyjvjl5gdfjgc731gk9bn625sfxz-gnused-4.5/bin/sed
checking for fgrep... /nix/store/7b0jnq9kbck8x6wizh0c23c90gm4z238-gnugrep-3.1/bin/grep -F
checking for ld used by clang... ld
checking if the linker (ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin17.7.0 file names to x86_64-apple-darwin17.7.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin17.7.0 file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse nm output from clang object... ok
checking for sysroot... no
checking for a working dd... /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/dd
checking how to truncate binary pipes... /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... no
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin17.7.0 dyld
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... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for struct dirent.d_type... yes
checking for error_at_line... no
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for getopt_long... yes
checking for nanosleep... yes
checking for strerror... yes
checking for vsnprintf... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for inline... inline
checking for -fvisibility=hidden... yes
checking for library containing dlopen... none required
checking for socket in -lsocket... no
checking for mq_getattr in -lrt... no
Package systemd was not found in the pkg-config search path.
Perhaps you should add the directory containing `systemd.pc'
to the PKG_CONFIG_PATH environment variable
No package 'systemd' found
PC/SC lite has been configured with following options:
Version: 1.8.24
System binaries: /nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin/sbin
Configuration dir: /etc
Host: x86_64-apple-darwin17.7.0
Compiler: clang
Preprocessor flags: -I${top_srcdir}/src
Compiler flags: -Wall -fno-common -g -O2 -no-cpp-precomp
Preprocessor flags: -I${top_srcdir}/src
Linker flags:
Libraries:
PTHREAD_CFLAGS: -D_THREAD_SAFE -pthread
PTHREAD_LIBS:
PCSC_ARCH: MacOS
pcscd binary /nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin/sbin/pcscd
polkit support: no
polkit policy dir:
libudev support: no
libusb support: no
USB drop directory: /var/lib/pcsc/drivers
ATR parsing messages: false
ipcdir: /run/pcscd
use serial: yes
use usb: yes
use libsystemd: no
systemd unit directory:
serial config dir.: /etc
filter: no
PCSCLITE_FEATURES: MacOS x86_64-apple-darwin17.7.0 serial usb usbdropdir=/var/lib/pcsc/drivers ipcdir=/run/pcscd configdir=/etc
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen.conf
config.status: creating doc/pcscd.8
config.status: creating doc/reader.conf.5
config.status: creating doc/example/Makefile
config.status: creating etc/Makefile
config.status: creating etc/pcscd.service
config.status: creating etc/pcscd.socket
config.status: creating src/Makefile
config.status: creating src/libpcsclite.pc
config.status: creating src/pcscd.h
config.status: creating src/PCSC/pcsclite.h
config.status: creating src/spy/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
building
build flags: SHELL=/nix/store/ykzmq1yyggy8c8gfvxqzrd292j1ld797-bash-4.4-p23/bin/bash
make all-recursive
make[1]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24'
Making all in src
make[2]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src'
Making all in spy
make[3]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src/spy'
CC libpcscspy.lo
libpcscspy.c:170:46: warning: format specifies type 'unsigned long' but the argument has type 'pthread_t' (aka 'struct _opaque_pthread_t *') [-Wformat]
snprintf(threadid, sizeof threadid, "%lX@", pthread_self());
~~~ ^~~~~~~~~~~~~~
/nix/store/x7v2211y4864na7ggfiqjx1wwbq90gsc-Libsystem-osx-10.11.6/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
libpcscspy.c:199:46: warning: format specifies type 'unsigned long' but the argument has type 'pthread_t' (aka 'struct _opaque_pthread_t *') [-Wformat]
snprintf(threadid, sizeof threadid, "%lX@", pthread_self());
~~~ ^~~~~~~~~~~~~~
/nix/store/x7v2211y4864na7ggfiqjx1wwbq90gsc-Libsystem-osx-10.11.6/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
2 warnings generated.
CCLD libpcscspy.la
pod2man \
--center="PC/SC lite" \
--release="pcsc-lite 1.8.24" \
./pcsc-spy.pod > pcsc-spy.1
make[3]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src/spy'
make[3]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src'
CC testpcsc.o
testpcsc.c:353:65: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
printf("SCARD_ATTR_ATR_STRING length: " GREEN "%ld\n" NORMAL, pcbAttrLen);
~~~ ^~~~~~~~~~
%u
testpcsc.c:442:64: warning: format specifies type 'unsigned long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
printf("Current Reader State\t\t: " GREEN "0x%.4lx\n" NORMAL, dwState);
~~~~~ ^~~~~~~
%.4x
testpcsc.c:443:65: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
printf("Current Reader Protocol\t\t: T=" GREEN "%ld\n" NORMAL, dwProt - 1);
~~~ ^~~~~~~~~~
%u
testpcsc.c:445:3: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
dwAtrLen);
^~~~~~~~
4 warnings generated.
CC libpcsclite_la-debug.lo
CC libpcsclite_la-error.lo
error.c:228:4: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
pcscError);
^~~~~~~~~
/nix/store/x7v2211y4864na7ggfiqjx1wwbq90gsc-Libsystem-osx-10.11.6/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
error.c:235:4: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
pcscError);
^~~~~~~~~
/nix/store/x7v2211y4864na7ggfiqjx1wwbq90gsc-Libsystem-osx-10.11.6/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
2 warnings generated.
CC libpcsclite_la-winscard_clnt.lo
winscard_clnt.c:1775:59: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
Log2(PCSC_LOG_DEBUG, "Event Loop Start, dwTimeout: %ld", dwTimeout);
~~~ ^~~~~~~~~
%u
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
1 warning generated.
CC libpcsclite_la-simclist.lo
CC libpcsclite_la-sys_unix.lo
CC libpcsclite_la-utils.lo
CC libpcsclite_la-winscard_msg.lo
CCLD libpcsclite.la
CCLD testpcsc
CC pcsc-wirecheck-gen.o
CCLD pcsc-wirecheck-gen
touch pcsc-wirecheck-dist.c
CC pcsc-wirecheck-dist.o
CC pcsc-wirecheck-main.o
CCLD pcsc-wirecheck
CC pcscd-auth.o
CC pcscd-atrhandler.o
CC pcscd-configfile.o
CC pcscd-debuglog.o
CC pcscd-dyn_hpux.o
CC pcscd-dyn_macosx.o
CC pcscd-dyn_unix.o
CC pcscd-eventhandler.o
eventhandler.c:305:64: warning: format specifies type 'long' but the argument has type 'LONG' (aka 'int') [-Wformat]
Log3(PCSC_LOG_ERROR, "Error powering up card: %ld 0x%04lX", rv, rv);
~~~ ^~
%d
../src/PCSC/debuglog.h:108:114: note: expanded from macro 'Log3'
#define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2)
^~~~~
eventhandler.c:305:68: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
Log3(PCSC_LOG_ERROR, "Error powering up card: %ld 0x%04lX", rv, rv);
~~~~~ ^~
%04X
../src/PCSC/debuglog.h:108:121: note: expanded from macro 'Log3'
#define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2)
^~~~~
2 warnings generated.
CC pcscd-hotplug_generic.o
CC pcscd-ifdwrapper.o
ifdwrapper.c:479:4: warning: format specifies type 'unsigned long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
ControlCode, *BytesReturned);
^~~~~~~~~~~
../src/PCSC/debuglog.h:108:114: note: expanded from macro 'Log3'
#define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2)
^~~~~
ifdwrapper.c:479:17: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
ControlCode, *BytesReturned);
^~~~~~~~~~~~~~
../src/PCSC/debuglog.h:108:121: note: expanded from macro 'Log3'
#define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2)
^~~~~
2 warnings generated.
CC pcscd-pcscdaemon.o
CC pcscd-prothandler.o
prothandler.c:123:57: warning: format specifies type 'long' but the argument has type 'LONG' (aka 'int') [-Wformat]
Log3(PCSC_LOG_INFO, "PTS failed (%ld), using T=%d", rv,
~~~ ^~
%d
../src/PCSC/debuglog.h:108:114: note: expanded from macro 'Log3'
#define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2)
^~~~~
1 warning generated.
CC pcscd-readerfactory.o
readerfactory.c:1082:54: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
Log2(PCSC_LOG_ERROR, "RFLoadReader failed: 0x%lX", rv);
~~~ ^~
%X
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
readerfactory.c:1091:57: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
Log2(PCSC_LOG_ERROR, "RFBindFunctions failed: 0x%lX", rv);
~~~ ^~
%X
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
readerfactory.c:1234:67: warning: format specifies type 'unsigned long' but the argument has type 'SCARDHANDLE' (aka 'int') [-Wformat]
Log2(PCSC_LOG_CRITICAL, "list_seek failed to locate hCard=%lX", hCard);
~~~ ^~~~~
%X
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
readerfactory.c:1297:63: warning: format specifies type 'unsigned long' but the argument has type 'SCARDHANDLE' (aka 'int') [-Wformat]
Log2(PCSC_LOG_CRITICAL, "list_seek failed for hCard 0x%lX", hCard);
~~~ ^~~~~
%X
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
readerfactory.c:1373:59: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
Log2(PCSC_LOG_ERROR, "RFRemoveReader error: 0x%08lX", rv);
~~~~~ ^~
%08X
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
5 warnings generated.
CC pcscd-simclist.o
CC pcscd-sys_unix.o
CC pcscd-tokenparser.o
CC pcscd-hotplug_libudev.o
CC pcscd-hotplug_libusb.o
CC pcscd-hotplug_linux.o
CC pcscd-hotplug_macosx.o
CC pcscd-utils.o
CC pcscd-winscard.o
winscard.c:215:54: warning: format specifies type 'unsigned long' but the argument has type 'SCARDCONTEXT' (aka 'int') [-Wformat]
Log2(PCSC_LOG_DEBUG, "Establishing Context: 0x%lX", *phContext);
~~~ ^~~~~~~~~~
%X
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
winscard.c:229:51: warning: format specifies type 'unsigned long' but the argument has type 'SCARDCONTEXT' (aka 'int') [-Wformat]
Log2(PCSC_LOG_DEBUG, "Releasing Context: 0x%lX", hContext);
~~~ ^~~~~~~~
%X
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
winscard.c:259:13: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
szReader, dwPreferredProtocols);
^~~~~~~~~~~~~~~~~~~~
../src/PCSC/debuglog.h:108:121: note: expanded from macro 'Log3'
#define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2)
^~~~~
winscard.c:339:6: warning: format specifies type 'long' but the argument has type 'LONG' (aka 'int') [-Wformat]
rv, rv);
^~
../src/PCSC/debuglog.h:108:114: note: expanded from macro 'Log3'
#define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2)
^~~~~
winscard.c:339:10: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
rv, rv);
^~
../src/PCSC/debuglog.h:108:121: note: expanded from macro 'Log3'
#define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2)
^~~~~
winscard.c:440:6: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
*pdwActiveProtocol);
^~~~~~~~~~~~~~~~~~
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
winscard.c:456:46: warning: format specifies type 'unsigned long' but the argument has type 'SCARDHANDLE' (aka 'int') [-Wformat]
Log2(PCSC_LOG_DEBUG, "hCard Identity: %lx", *phCard);
~~~ ^~~~~~~
%x
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
winscard.c:746:6: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
*pdwActiveProtocol);
^~~~~~~~~~~~~~~~~~
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
winscard.c:885:45: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
Log2(PCSC_LOG_DEBUG, "dwDisposition: %ld", dwDisposition);
~~~ ^~~~~~~~~~~~~
%u
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
winscard.c:933:6: warning: format specifies type 'long' but the argument has type 'LONG' (aka 'int') [-Wformat]
rv, rv);
^~
../src/PCSC/debuglog.h:108:114: note: expanded from macro 'Log3'
#define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2)
^~~~~
winscard.c:933:10: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
rv, rv);
^~
../src/PCSC/debuglog.h:108:121: note: expanded from macro 'Log3'
#define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2)
^~~~~
winscard.c:1085:42: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
Log2(PCSC_LOG_DEBUG, "Status: 0x%08lX", rv);
~~~~~ ^~
%08X
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
winscard.c:1240:42: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
Log2(PCSC_LOG_DEBUG, "Status: 0x%08lX", rv);
~~~~~ ^~
%08X
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
winscard.c:1601:47: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
Log2(PCSC_LOG_DEBUG, "Send Protocol: T=%ld", sSendPci.Protocol);
~~~ ^~~~~~~~~~~~~~~~~
%u
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
winscard.c:1626:56: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
Log2(PCSC_LOG_ERROR, "Card not transacted: 0x%08lX", rv);
~~~~~ ^~
%08X
../src/PCSC/debuglog.h:107:106: note: expanded from macro 'Log2'
#define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data)
^~~~
15 warnings generated.
CC pcscd-winscard_msg.o
CC pcscd-winscard_msg_srv.o
CC pcscd-winscard_svc.o
CCLD pcscd
make[3]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src'
make[2]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src'
Making all in etc
make[2]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/etc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/etc'
Making all in doc
make[2]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc'
Making all in .
make[3]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc'
Making all in example
make[3]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc/example'
CC pcsc_demo-pcsc_demo.o
pcsc_demo.c:78:77: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
printf("SCardEstablishContext: Cannot Connect to Resource Manager %lX\n", rv);
~~~ ^~
%X
pcsc_demo.c:85:13: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
PCSC_ERROR(rv, "SCardListReaders")
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
pcsc_demo.c:41:58: note: expanded from macro 'PCSC_ERROR'
printf(text ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); \
~~~ ^~
pcsc_demo.c:138:29: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
printf(" Protocol: %ld\n", dwActiveProtocol);
~~~ ^~~~~~~~~~~~~~~~
%u
pcsc_demo.c:139:13: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
PCSC_ERROR(rv, "SCardConnect")
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pcsc_demo.c:41:58: note: expanded from macro 'PCSC_ERROR'
printf(text ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); \
~~~ ^~
pcsc_demo.c:146:55: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
printf(" Reader: %s (length %ld bytes)\n", pbReader, dwReaderLen);
~~~ ^~~~~~~~~~~
%u
pcsc_demo.c:147:28: warning: format specifies type 'unsigned long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
printf(" State: 0x%lX\n", dwState);
~~~ ^~~~~~~
%X
pcsc_demo.c:148:25: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
printf(" Prot: %ld\n", dwProt);
~~~ ^~~~~~
%u
pcsc_demo.c:149:37: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
printf(" ATR (length %ld bytes):", dwAtrLen);
~~~ ^~~~~~~~
%u
pcsc_demo.c:153:13: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
PCSC_ERROR(rv, "SCardStatus")
~~~~~~~~~~~^~~~~~~~~~~~~~~~~
pcsc_demo.c:41:58: note: expanded from macro 'PCSC_ERROR'
printf(text ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); \
~~~ ^~
pcsc_demo.c:181:13: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
PCSC_ERROR(rv, "SCardTransmit")
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
pcsc_demo.c:41:58: note: expanded from macro 'PCSC_ERROR'
printf(text ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); \
~~~ ^~
pcsc_demo.c:185:13: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
PCSC_ERROR(rv, "SCardDisconnect")
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
pcsc_demo.c:41:58: note: expanded from macro 'PCSC_ERROR'
printf(text ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); \
~~~ ^~
pcsc_demo.c:191:29: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
printf(" Protocol: %ld\n", dwActiveProtocol);
~~~ ^~~~~~~~~~~~~~~~
%u
pcsc_demo.c:192:13: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
PCSC_ERROR(rv, "SCardConnect")
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pcsc_demo.c:41:58: note: expanded from macro 'PCSC_ERROR'
printf(text ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); \
~~~ ^~
pcsc_demo.c:207:13: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
PCSC_ERROR(rv, "SCardTransmit")
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
pcsc_demo.c:41:58: note: expanded from macro 'PCSC_ERROR'
printf(text ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); \
~~~ ^~
pcsc_demo.c:213:13: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
PCSC_ERROR(rv, "SCardReconnect")
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
pcsc_demo.c:41:58: note: expanded from macro 'PCSC_ERROR'
printf(text ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); \
~~~ ^~
pcsc_demo.c:220:55: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
printf(" Reader: %s (length %ld bytes)\n", pbReader, dwReaderLen);
~~~ ^~~~~~~~~~~
%u
pcsc_demo.c:221:28: warning: format specifies type 'unsigned long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
printf(" State: 0x%lX\n", dwState);
~~~ ^~~~~~~
%X
pcsc_demo.c:222:25: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
printf(" Prot: %ld\n", dwProt);
~~~ ^~~~~~
%u
pcsc_demo.c:223:37: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
printf(" ATR (length %ld bytes):", dwAtrLen);
~~~ ^~~~~~~~
%u
pcsc_demo.c:227:13: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
PCSC_ERROR(rv, "SCardStatus")
~~~~~~~~~~~^~~~~~~~~~~~~~~~~
pcsc_demo.c:41:58: note: expanded from macro 'PCSC_ERROR'
printf(text ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); \
~~~ ^~
pcsc_demo.c:238:31: warning: format specifies type 'unsigned long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
printf(" state: 0x%04lX\n", rgReaderStates[0].dwEventState);
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%04X
pcsc_demo.c:239:14: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
PCSC_ERROR(rv, "SCardGetStatusChange")
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
pcsc_demo.c:41:58: note: expanded from macro 'PCSC_ERROR'
printf(text ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); \
~~~ ^~
pcsc_demo.c:244:13: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
PCSC_ERROR(rv, "SCardBeginTransaction")
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
pcsc_demo.c:41:58: note: expanded from macro 'PCSC_ERROR'
printf(text ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); \
~~~ ^~
pcsc_demo.c:259:13: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
PCSC_ERROR(rv, "SCardTransmit")
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
pcsc_demo.c:41:58: note: expanded from macro 'PCSC_ERROR'
printf(text ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); \
~~~ ^~
pcsc_demo.c:263:13: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
PCSC_ERROR(rv, "SCardEndTransaction")
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
pcsc_demo.c:41:58: note: expanded from macro 'PCSC_ERROR'
printf(text ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); \
~~~ ^~
pcsc_demo.c:267:13: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
PCSC_ERROR(rv, "SCardDisconnect")
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
pcsc_demo.c:41:58: note: expanded from macro 'PCSC_ERROR'
printf(text ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); \
~~~ ^~
pcsc_demo.c:278:4: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
rv);
^~
27 warnings generated.
CCLD pcsc_demo
make[3]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc/example'
make[2]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc'
make[2]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24'
make[1]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24'
installing
install flags: SHELL=/nix/store/ykzmq1yyggy8c8gfvxqzrd292j1ld797-bash-4.4-p23/bin/bash pkgconfigdir=/nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/lib/pkgconfig m4datadir=/nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/share/aclocal aclocaldir=/nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/share/aclocal install
Making install in src
make[1]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src'
Making install in spy
make[2]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src/spy'
make[3]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src/spy'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/mkdir -p '/nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin/bin'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c pcsc-spy '/nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin/bin'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/mkdir -p '/nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib'
/nix/store/ykzmq1yyggy8c8gfvxqzrd292j1ld797-bash-4.4-p23/bin/bash ../../libtool --mode=install /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c libpcscspy.la '/nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib'
libtool: install: /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c .libs/libpcscspy.0.dylib /nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib/libpcscspy.0.dylib
libtool: install: (cd /nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib && { ln -s -f libpcscspy.0.dylib libpcscspy.dylib || { rm -f libpcscspy.dylib && ln -s libpcscspy.0.dylib libpcscspy.dylib; }; })
libtool: install: /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c .libs/libpcscspy.lai /nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib/libpcscspy.la
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/mkdir -p '/nix/store/f1dc76419lhdq9bnasmkyja05vq5d4hd-pcsclite-1.8.24-man/share/man/man1'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c -m 644 pcsc-spy.1 '/nix/store/f1dc76419lhdq9bnasmkyja05vq5d4hd-pcsclite-1.8.24-man/share/man/man1'
make[3]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src/spy'
make[2]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src/spy'
make[2]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src'
make[3]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/mkdir -p '/nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib'
/nix/store/ykzmq1yyggy8c8gfvxqzrd292j1ld797-bash-4.4-p23/bin/bash ../libtool --mode=install /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c libpcsclite.la '/nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib'
libtool: install: /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c .libs/libpcsclite.1.dylib /nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib/libpcsclite.1.dylib
libtool: install: (cd /nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib && { ln -s -f libpcsclite.1.dylib libpcsclite.dylib || { rm -f libpcsclite.dylib && ln -s libpcsclite.1.dylib libpcsclite.dylib; }; })
libtool: install: /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c .libs/libpcsclite.lai /nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib/libpcsclite.la
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/mkdir -p '/nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin/sbin'
/nix/store/ykzmq1yyggy8c8gfvxqzrd292j1ld797-bash-4.4-p23/bin/bash ../libtool --mode=install /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c pcscd '/nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin/sbin'
libtool: install: /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c pcscd /nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin/sbin/pcscd
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/mkdir -p '/nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/include'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/mkdir -p '/nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/include/PCSC'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c -m 644 PCSC/debuglog.h PCSC/ifdhandler.h PCSC/reader.h PCSC/winscard.h PCSC/wintypes.h '/nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/include/PCSC'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/mkdir -p '/nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/include/PCSC'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c -m 644 PCSC/pcsclite.h '/nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/include/PCSC'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/mkdir -p '/nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib/pkgconfig'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c -m 644 libpcsclite.pc '/nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib/pkgconfig'
make[3]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src'
make[2]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src'
make[1]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/src'
Making install in etc
make[1]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/etc'
make[2]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/etc'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/etc'
make[1]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/etc'
Making install in doc
make[1]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc'
Making install in .
make[2]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc'
make[3]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc'
make[3]: Nothing to be done for 'install-exec-am'.
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/mkdir -p '/nix/store/gkzj1mn7a9k8flryanliivi5fp3g5y89-pcsclite-1.8.24-doc/share/doc/pcsclite'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c -m 644 README.DAEMON README.polkit '/nix/store/gkzj1mn7a9k8flryanliivi5fp3g5y89-pcsclite-1.8.24-doc/share/doc/pcsclite'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/mkdir -p '/nix/store/f1dc76419lhdq9bnasmkyja05vq5d4hd-pcsclite-1.8.24-man/share/man/man5'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c -m 644 reader.conf.5 '/nix/store/f1dc76419lhdq9bnasmkyja05vq5d4hd-pcsclite-1.8.24-man/share/man/man5'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/mkdir -p '/nix/store/f1dc76419lhdq9bnasmkyja05vq5d4hd-pcsclite-1.8.24-man/share/man/man8'
/nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c -m 644 pcscd.8 '/nix/store/f1dc76419lhdq9bnasmkyja05vq5d4hd-pcsclite-1.8.24-man/share/man/man8'
make install-data-hook
make[4]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc'
make[4]: Nothing to be done for 'install-data-hook'.
make[4]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc'
make[3]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc'
make[2]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc'
Making install in example
make[2]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc/example'
make[3]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc/example'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc/example'
make[2]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc/example'
make[1]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24/doc'
make[1]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24'
make[2]: Entering directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24'
make[1]: Leaving directory '/private/tmp/nix-build-pcsclite-1.8.24.drv-0/pcsc-lite-1.8.24'
Moving /nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin/bin/pcsc-spy to /nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/bin/pcsc-spy
Removing empty /nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin/bin/ and (possibly) its parents
post-installation fixup
Moving /nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib/pkgconfig to /nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/lib/pkgconfig
rmdir: failed to remove '/nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib': Directory not empty
Patching '/nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/lib/pkgconfig/libpcsclite.pc' includedir to output /nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev
strip is /nix/store/ak04a3fp8wmglcqz5y0216a7xa3cg20b-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin/sbin
patching script interpreter paths in /nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin
moving /nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin/sbin/* to /nix/store/vybv78ggb019drcwawn1fysiza5jsx98-pcsclite-1.8.24-bin/bin
strip is /nix/store/ak04a3fp8wmglcqz5y0216a7xa3cg20b-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib
patching script interpreter paths in /nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24
/nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib/libpcsclite.1.dylib: fixing dylib
/nix/store/6hgdv8fflxkxql9bqkbqgxk32y7j5n05-pcsclite-1.8.24/lib/libpcscspy.0.dylib: fixing dylib
strip is /nix/store/ak04a3fp8wmglcqz5y0216a7xa3cg20b-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/lib /nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/bin
patching script interpreter paths in /nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev
/nix/store/40s3lgi9npm6jddhnddc7b3b0p9b2nrq-pcsclite-1.8.24-dev/bin/pcsc-spy: interpreter directive changed from " /usr/bin/python" to "/nix/store/rbyfwr00lm96pp5l320z64bpnk2dbz5d-python-2.7.15/bin/python"
strip is /nix/store/ak04a3fp8wmglcqz5y0216a7xa3cg20b-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/gkzj1mn7a9k8flryanliivi5fp3g5y89-pcsclite-1.8.24-doc
gzipping man pages under /nix/store/f1dc76419lhdq9bnasmkyja05vq5d4hd-pcsclite-1.8.24-man/share/man/
strip is /nix/store/ak04a3fp8wmglcqz5y0216a7xa3cg20b-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/f1dc76419lhdq9bnasmkyja05vq5d4hd-pcsclite-1.8.24-man
building '/nix/store/cpjd2kzhx6ca38i3p86xmwy5fvh8kqc8-libosmocore-0.12.1.drv'...
unpacking sources
unpacking source archive /nix/store/cqi6d9hadwbbs8qg8i40y66l8sz6a5qs-source
source root is source
patching sources
applying patch /nix/store/7hmd0b6mpll630i4rn2ywqm30y85ahbi-darwin-clockid_t.patch
patching file include/osmocom/core/timer.h
autoreconfPhase
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /nix/store/9i1wkg86cyp4i3bj6wnign0r9j64hm0w-autoconf-2.69/bin/autoconf --force
autoreconf: running: /nix/store/9i1wkg86cyp4i3bj6wnign0r9j64hm0w-autoconf-2.69/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:21: installing './compile'
configure.ac:23: installing './config.guess'
configure.ac:23: installing './config.sub'
configure.ac:8: installing './install-sh'
configure.ac:8: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
configuring
fixing libtool script ./ltmain.sh
configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/3b10dwjr7p9vzgziibljqn0h3zs36073-libosmocore-0.12.1
checking for a BSD-compatible install... /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of clang... none
checking build system type... x86_64-apple-darwin17.7.0
checking host system type... x86_64-apple-darwin17.7.0
checking how to print strings... printf
checking for a sed that does not truncate output... /nix/store/kigdfyjvjl5gdfjgc731gk9bn625sfxz-gnused-4.5/bin/sed
checking for grep that handles long lines and -e... /nix/store/7b0jnq9kbck8x6wizh0c23c90gm4z238-gnugrep-3.1/bin/grep
checking for egrep... /nix/store/7b0jnq9kbck8x6wizh0c23c90gm4z238-gnugrep-3.1/bin/grep -E
checking for fgrep... /nix/store/7b0jnq9kbck8x6wizh0c23c90gm4z238-gnugrep-3.1/bin/grep -F
checking for ld used by clang... ld
checking if the linker (ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin17.7.0 file names to x86_64-apple-darwin17.7.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin17.7.0 file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse nm output from clang object... ok
checking for sysroot... no
checking for a working dd... /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/dd
checking how to truncate binary pipes... /nix/store/2rxq65qmc2wdcp8kyps7c34v8l726y5w-coreutils-8.30/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... no
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... clang -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 for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin17.7.0 dyld
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... no
checking for pkg-config... /nix/store/vj9gjg6l8nggqs761dp87s6w2d746fjb-pkg-config-0.29.2/bin/pkg-config
checking for pkg-config... /nix/store/vj9gjg6l8nggqs761dp87s6w2d746fjb-pkg-config-0.29.2/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for ANSI C header files... (cached) yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/timerfd.h usability... no
checking sys/timerfd.h presence... no
checking for sys/timerfd.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for library containing dlopen... none required
checking for library containing dlsym... none required
checking for backtrace in -lexecinfo... no
checking for doxygen... false
checking whether SYS_getrandom is declared... no
checking if clang supports -fvisibility=hidden... yes
checking for clock_gettime... no
checking for localtime_r... yes
checking whether struct tm has tm_gmtoff member... yes
checking for talloc >= 2.0.1... yes
checking for libpcsclite... yes
checking for gnutls >= 2.12.0... yes
checking whether C compiler accepts -mavx2... yes
checking whether C compiler accepts -mssse3... yes
checking whether C compiler accepts -msse4.1... yes
checking whether clang has __builtin_cpu_supports built-in... yes
CFLAGS="-g -O2 -DBUILDING_LIBOSMOCORE -Wall"
CPPFLAGS=" -DBUILDING_LIBOSMOCORE -Wall"
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libosmocore.pc
config.status: creating libosmocodec.pc
config.status: creating libosmocoding.pc
config.status: creating libosmovty.pc
config.status: creating libosmogsm.pc
config.status: creating libosmogb.pc
config.status: creating libosmoctrl.pc
config.status: creating libosmosim.pc
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/vty/Makefile
config.status: creating src/codec/Makefile
config.status: creating src/coding/Makefile
config.status: creating src/sim/Makefile
config.status: creating src/gsm/Makefile
config.status: creating src/gb/Makefile
config.status: creating src/ctrl/Makefile
config.status: creating src/pseudotalloc/Makefile
config.status: creating tests/Makefile
config.status: creating tests/atlocal
config.status: creating utils/Makefile
config.status: creating Doxyfile.core
config.status: creating Doxyfile.gsm
config.status: creating Doxyfile.vty
config.status: creating Doxyfile.codec
config.status: creating Doxyfile.coding
config.status: creating Doxyfile.gb
config.status: creating Doxyfile.ctrl
config.status: creating Makefile
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
building
build flags: -j1 -l1 SHELL=/nix/store/ykzmq1yyggy8c8gfvxqzrd292j1ld797-bash-4.4-p23/bin/bash
echo UNKNOWN > .version-t && mv .version-t .version
make all-recursive
make[1]: Entering directory '/private/tmp/nix-build-libosmocore-0.12.1.drv-0/source'
Making all in include
make[2]: Entering directory '/private/tmp/nix-build-libosmocore-0.12.1.drv-0/source/include'
GEN osmocom/gsm/gsm0503.h
Generating header file...
Generate 'xcch' declaration
Generate 'rach' declaration
Generate 'rach_ext' declaration
Generate 'sch' declaration
Generate 'cs2' declaration
Generate 'cs3' declaration
Generate 'cs2_np' declaration
Generate 'cs3_np' declaration
Generate 'tch_afs_12_2' declaration
Generate 'tch_afs_10_2' declaration
Generate 'tch_afs_7_95' declaration
Generate 'tch_afs_7_4' declaration
Generate 'tch_afs_6_7' declaration
Generate 'tch_afs_5_9' declaration
Generate 'tch_afs_5_15' declaration
Generate 'tch_afs_4_75' declaration
Generate 'tch_fr' declaration
Generate 'tch_hr' declaration
Generate 'tch_ahs_7_95' declaration
Generate 'tch_ahs_7_4' declaration
Generate 'tch_ahs_6_7' declaration
Generate 'tch_ahs_5_9' declaration
Generate 'tch_ahs_5_15' declaration
Generate 'tch_ahs_4_75' declaration
Generate 'mcs1_dl_hdr' declaration
Generate 'mcs1_ul_hdr' declaration
Generate 'mcs1' declaration
Generate 'mcs2' declaration
Generate 'mcs3' declaration
Generate 'mcs4' declaration
Generate 'mcs5_dl_hdr' declaration
Generate 'mcs5_ul_hdr' declaration
Generate 'mcs5' declaration
Generate 'mcs6' declaration
Generate 'mcs7_dl_hdr' declaration
Generate 'mcs7_ul_hdr' declaration
Generate 'mcs7' declaration
Generate 'mcs8' declaration
Generate 'mcs9' declaration
Generation complete.
make all-am
make[3]: Entering directory '/private/tmp/nix-build-libosmocore-0.12.1.drv-0/source/include'
GEN osmocom/core/bit16gen.h
GEN osmocom/core/bit16gen.h
GEN osmocom/core/bit32gen.h
GEN osmocom/core/bit32gen.h
GEN osmocom/core/bit64gen.h
GEN osmocom/core/bit64gen.h
GEN osmocom/core/crc16gen.h
GEN osmocom/core/crc16gen.h
GEN osmocom/core/crc32gen.h
GEN osmocom/core/crc32gen.h
GEN osmocom/core/crc64gen.h
GEN osmocom/core/crc64gen.h
GEN osmocom/core/crc8gen.h
GEN osmocom/core/crc8gen.h
make[3]: Leaving directory '/private/tmp/nix-build-libosmocore-0.12.1.drv-0/source/include'
make[2]: Leaving directory '/private/tmp/nix-build-libosmocore-0.12.1.drv-0/source/include'
Making all in src
make[2]: Entering directory '/private/tmp/nix-build-libosmocore-0.12.1.drv-0/source/src'
GEN crc8gen.c
GEN crc16gen.c
GEN crc32gen.c
GEN crc64gen.c
make all-am
make[3]: Entering directory '/private/tmp/nix-build-libosmocore-0.12.1.drv-0/source/src'
CC timer.lo
CC timer_gettimeofday.lo
CC timer_clockgettime.lo
CC select.lo
CC signal.lo
CC msgb.lo
CC bits.lo
CC bitvec.lo
CC bitcomp.lo
CC counter.lo
CC fsm.lo
CC write_queue.lo
CC utils.lo
CC socket.lo
CC logging.lo
CC logging_syslog.lo
CC logging_gsmtap.lo
CC rate_ctr.lo
CC gsmtap_util.lo
CC crc16.lo
CC panic.lo
CC backtrace.lo
CC conv.lo
CC application.lo
CC rbtree.lo
CC strrb.lo
CC loggingrb.lo
CC crc8gen.lo
CC crc16gen.lo
CC crc32gen.lo
CC crc64gen.lo
CC macaddr.lo
CC stat_item.lo
CC stats.lo
stats.c:100:33: error: variable has incomplete type 'struct osmo_stats_config'
static struct osmo_stats_config s_stats_config = {
^
stats.c:100:15: note: forward declaration of 'struct osmo_stats_config'
static struct osmo_stats_config s_stats_config = {
^
stats.c:107:56: warning: declaration of 'struct osmo_stats_reporter' will not be visible outside of this function [-Wvisibility]
static int osmo_stats_reporter_log_send_counter(struct osmo_stats_reporter *srep,
^
stats.c:111:53: warning: declaration of 'struct osmo_stats_reporter' will not be visible outside of this function [-Wvisibility]
static int osmo_stats_reporter_log_send_item(struct osmo_stats_reporter *srep,
^
stats.c:115:38: warning: declaration of 'struct osmo_stats_reporter' will not be visible outside of this function [-Wvisibility]
static int update_srep_config(struct osmo_stats_reporter *srep)
^
stats.c:119:10: error: incomplete definition of type 'struct osmo_stats_reporter'
if (srep->running) {
~~~~^
stats.c:115:38: note: forward declaration of 'struct osmo_stats_reporter'
static int update_srep_config(struct osmo_stats_reporter *srep)
^
stats.c:120:11: error: incomplete definition of type 'struct osmo_stats_reporter'
if (srep->close)
~~~~^
stats.c:115:38: note: forward declaration of 'struct osmo_stats_reporter'
static int update_srep_config(struct osmo_stats_reporter *srep)
^
stats.c:121:13: error: incomplete definition of type 'struct osmo_stats_reporter'
rc = srep->close(srep);
~~~~^
stats.c:115:38: note: forward declaration of 'struct osmo_stats_reporter'
static int update_srep_config(struct osmo_stats_reporter *srep)
^
stats.c:122:7: error: incomplete definition of type 'struct osmo_stats_reporter'
srep->running = 0;
~~~~^
stats.c:115:38: note: forward declaration of 'struct osmo_stats_reporter'
static int update_srep_config(struct osmo_stats_reporter *srep)
^
stats.c:125:11: error: incomplete definition of type 'struct osmo_stats_reporter'
if (!srep->enabled)
~~~~^
stats.c:115:38: note: forward declaration of 'struct osmo_stats_reporter'
static int update_srep_config(struct osmo_stats_reporter *srep)
^
stats.c:128:10: error: incomplete definition of type 'struct osmo_stats_reporter'
if (srep->open)
~~~~^
stats.c:115:38: note: forward declaration of 'struct osmo_stats_reporter'
static int update_srep_config(struct osmo_stats_reporter *srep)
^
stats.c:129:12: error: incomplete definition of type 'struct osmo_stats_reporter'
rc = srep->open(srep);
~~~~^
stats.c:115:38: note: forward declaration of 'struct osmo_stats_reporter'
static int update_srep_config(struct osmo_stats_reporter *srep)
^
stats.c:134:7: error: incomplete definition of type 'struct osmo_stats_reporter'
srep->enabled = 0;
~~~~^
stats.c:115:38: note: forward declaration of 'struct osmo_stats_reporter'
static int update_srep_config(struct osmo_stats_reporter *srep)
^
stats.c:136:7: error: incomplete definition of type 'struct osmo_stats_reporter'
srep->running = 1;
~~~~^
stats.c:115:38: note: forward declaration of 'struct osmo_stats_reporter'
static int update_srep_config(struct osmo_stats_reporter *srep)
^
stats.c:138:6: error: incomplete definition of type 'struct osmo_stats_reporter'
srep->force_single_flush = 1;
~~~~^
stats.c:115:38: note: forward declaration of 'struct osmo_stats_reporter'
static int update_srep_config(struct osmo_stats_reporter *srep)
^
stats.c:145:34: error: incomplete definition of type 'struct osmo_stats_config'
int interval = osmo_stats_config->interval;
~~~~~~~~~~~~~~~~~^
stats.c:100:15: note: forward declaration of 'struct osmo_stats_config'
static struct osmo_stats_config s_stats_config = {
^
stats.c:148:3: warning: implicit declaration of function 'osmo_stats_report' is invalid in C99 [-Wimplicit-function-declaration]
osmo_stats_report();
^
stats.c:164:60: warning: declaration of 'enum osmo_stats_reporter_type' will not be visible outside of this function [-Wvisibility]
struct osmo_stats_reporter *osmo_stats_reporter_alloc(enum osmo_stats_reporter_type type,
^
stats.c:164:85: error: variable has incomplete type 'enum osmo_stats_reporter_type'
struct osmo_stats_reporter *osmo_stats_reporter_alloc(enum osmo_stats_reporter_type type,
^
stats.c:164:60: note: forward declaration of 'enum osmo_stats_reporter_type'
struct osmo_stats_reporter *osmo_stats_reporter_alloc(enum osmo_stats_reporter_type type,
^
stats.c:168:9: error: invalid application of 'sizeof' to an incomplete type 'struct osmo_stats_reporter'
srep = talloc_zero(osmo_stats_ctx, struct osmo_stats_reporter);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/dbfh9ran08njdnfqbg26f56gxddsirc8-talloc-2.1.14/include/talloc.h:599:58: note: expanded from macro 'talloc_zero'
#define talloc_zero(ctx, type) (type *)_talloc_zero(ctx, sizeof(type), #type)
^ ~~~~~~
stats.c:164:8: note: forward declaration of 'struct osmo_stats_reporter'
struct osmo_stats_reporter *osmo_stats_reporter_alloc(enum osmo_stats_reporter_type type,
^
stats.c:170:6: error: incomplete definition of type 'struct osmo_stats_reporter'
srep->type = type;
~~~~^
stats.c:164:8: note: forward declaration of 'struct osmo_stats_reporter'
struct osmo_stats_reporter *osmo_stats_reporter_alloc(enum osmo_stats_reporter_type type,
^
stats.c:172:7: error: incomplete definition of type 'struct osmo_stats_reporter'
srep->name = talloc_strdup(srep, name);
~~~~^
stats.c:164:8: note: forward declaration of 'struct osmo_stats_reporter'
struct osmo_stats_reporter *osmo_stats_reporter_alloc(enum osmo_stats_reporter_type type,
^
stats.c:173:6: error: incomplete definition of type 'struct osmo_stats_reporter'
srep->fd = -1;
~~~~^
stats.c:164:8: note: forward declaration of 'struct osmo_stats_reporter'
struct osmo_stats_reporter *osmo_stats_reporter_alloc(enum osmo_stats_reporter_type type,
^
stats.c:175:17: error: incomplete definition of type 'struct osmo_stats_reporter'
llist_add(&srep->list, &osmo_stats_reporter_list);
~~~~^
stats.c:164:8: note: forward declaration of 'struct osmo_stats_reporter'
struct osmo_stats_reporter *osmo_stats_reporter_alloc(enum osmo_stats_reporter_type type,
^
stats.c:184:2: warning: implicit declaration of function 'osmo_stats_reporter_disable' is invalid in C99 [-Wimplicit-function-declaration]
osmo_stats_reporter_disable(srep);
^
stats.c:185:17: error: incomplete definition of type 'struct osmo_stats_reporter'
llist_del(&srep->list);
~~~~^
stats.c:164:8: note: forward declaration of 'struct osmo_stats_reporter'
struct osmo_stats_reporter *osmo_stats_reporter_alloc(enum osmo_stats_reporter_type type,
^
stats.c:204:59: warning: declaration of 'enum osmo_stats_reporter_type' will not be visible outside of this function [-Wvisibility]
struct osmo_stats_reporter *osmo_stats_reporter_find(enum osmo_stats_reporter_type type,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
7 warnings and 20 errors generated.
make[3]: *** [Makefile:582: stats.lo] Error 1
make[3]: Leaving directory '/private/tmp/nix-build-libosmocore-0.12.1.drv-0/source/src'
make[2]: *** [Makefile:429: all] Error 2
make[2]: Leaving directory '/private/tmp/nix-build-libosmocore-0.12.1.drv-0/source/src'
make[1]: *** [Makefile:603: all-recursive] Error 1
make[1]: Leaving directory '/private/tmp/nix-build-libosmocore-0.12.1.drv-0/source'
make: *** [Makefile:407: all] Error 2
builder for '/nix/store/cpjd2kzhx6ca38i3p86xmwy5fvh8kqc8-libosmocore-0.12.1.drv' failed with exit code 2
error: build of '/nix/store/cpjd2kzhx6ca38i3p86xmwy5fvh8kqc8-libosmocore-0.12.1.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment