Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/librfid.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1616613335.992705/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hfzdpq6o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hfzdpq6o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '88a193354593469bb47b13b5e2229df5', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1616613335.992705/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hfzdpq6o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/librfid.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1611619200 Wrote: /builddir/build/SRPMS/librfid-0.2.0-23.fc35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/librfid.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1616613335.992705/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hfzdpq6o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hfzdpq6o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8970b4f5da7746e39a8537e8c89235cd', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1616613335.992705/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hfzdpq6o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/librfid.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1611619200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eUWZDc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf librfid-0.2.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/librfid-0.2.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd librfid-0.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tpbTRU + umask 022 + cd /builddir/build/BUILD + cd librfid-0.2.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2008-01-27 13:22:01.000000000 +0000 +++ ./configure 2021-03-24 19:16:02.720259275 +0000 @@ -6794,7 +6794,7 @@ sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking whether gcc and cc understand -c and -o together... yes checking for an ANSI C-conforming const... yes checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking for x86_64-redhat-linux-gnu-g77... no checking for x86_64-redhat-linux-gnu-xlf... no checking for x86_64-redhat-linux-gnu-f77... no checking for x86_64-redhat-linux-gnu-frt... no checking for x86_64-redhat-linux-gnu-pgf77... no checking for x86_64-redhat-linux-gnu-cf77... no checking for x86_64-redhat-linux-gnu-fort77... no checking for x86_64-redhat-linux-gnu-fl32... no checking for x86_64-redhat-linux-gnu-af77... no checking for x86_64-redhat-linux-gnu-xlf90... no checking for x86_64-redhat-linux-gnu-f90... no checking for x86_64-redhat-linux-gnu-pgf90... no checking for x86_64-redhat-linux-gnu-pghpf... no checking for x86_64-redhat-linux-gnu-epcf90... no checking for x86_64-redhat-linux-gnu-gfortran... no checking for x86_64-redhat-linux-gnu-g95... no checking for x86_64-redhat-linux-gnu-xlf95... no checking for x86_64-redhat-linux-gnu-f95... no checking for x86_64-redhat-linux-gnu-fort... no checking for x86_64-redhat-linux-gnu-ifort... no checking for x86_64-redhat-linux-gnu-ifc... no checking for x86_64-redhat-linux-gnu-efc... no checking for x86_64-redhat-linux-gnu-pgf95... no checking for x86_64-redhat-linux-gnu-lf95... no checking for x86_64-redhat-linux-gnu-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so 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 configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool checking for build environment... UNIX checking whether byte ordering is bigendian... no checking for usb_close in -lusb... yes configure: creating ./config.status config.status: creating Makefile config.status: creating etc/Makefile config.status: creating etc/udev/Makefile config.status: creating src/Makefile config.status: creating include/Makefile config.status: creating include/librfid/Makefile config.status: creating utils/Makefile config.status: creating src/librfid.pc config.status: creating win32/Makefile config.status: executing depfiles commands + /usr/bin/make -O -j2 V=1 VERBOSE=1 Making all in etc Making all in udev make[2]: Nothing to be done for 'all'. make[2]: Nothing to be done for 'all-am'. Making all in include Making all in librfid make[2]: Nothing to be done for 'all'. make[2]: Nothing to be done for 'all-am'. Making all in src make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid.lo rfid.c mkdir .libs gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid.c -fPIC -DPIC -o .libs/rfid.o rfid.c: In function 'rfid_hexdump': rfid.c:41:25: warning: variable 'left' set but not used [-Wunused-but-set-variable] 41 | unsigned int i, left; | ^~~~ make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_layer2.lo rfid_layer2.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_layer2.c -fPIC -DPIC -o .libs/rfid_layer2.o rfid_layer2.c: In function 'rfid_layer2_init': rfid_layer2.c:44:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 44 | p = rfid_layer2s[id]; | ^ rfid_layer2.c: In function 'rfid_layer2_setopt': rfid_layer2.c:121:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 121 | printf("----> sizeof(ph->uid): %d\n",sizeof(ph->uid)); | ~^ ~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_protocol.lo rfid_protocol.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_protocol.c -fPIC -DPIC -o .libs/rfid_protocol.o make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' rfid_protocol.c: In function 'rfid_protocol_getopt': rfid_protocol.c:115:32: warning: unused variable 'optchar' [-Wunused-variable] 115 | unsigned char *optchar = optval; | ^~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_reader.lo rfid_reader.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_reader.c -fPIC -DPIC -o .libs/rfid_reader.o make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_scan.lo rfid_scan.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_scan.c -fPIC -DPIC -o .libs/rfid_scan.o make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_layer2_iso14443a.lo rfid_layer2_iso14443a.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_layer2_iso14443a.c -fPIC -DPIC -o .libs/rfid_layer2_iso14443a.o make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' rfid_layer2_iso14443a.c: In function 'iso14443a_anticol': rfid_layer2_iso14443a.c:130:15: warning: unused variable 'aqptr' [-Wunused-variable] 130 | char *aqptr = (char *) atqa; | ^~~~~ rfid_layer2_iso14443a.c:123:22: warning: variable 'uid_size' set but not used [-Wunused-but-set-variable] 123 | unsigned int uid_size; | ^~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_iso14443_common.lo rfid_iso14443_common.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_iso14443_common.c -fPIC -DPIC -o .libs/rfid_iso14443_common.o make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_layer2_iso14443b.lo rfid_layer2_iso14443b.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_layer2_iso14443b.c -fPIC -DPIC -o .libs/rfid_layer2_iso14443b.o rfid_layer2_iso14443b.c: In function 'transceive_attrib': rfid_layer2_iso14443b.c:231:1: warning: label 'out_attrib' defined but not used [-Wunused-label] 231 | out_attrib: | ^~~~~~~~~~ rfid_layer2_iso14443b.c: In function 'iso14443b_setopt': rfid_layer2_iso14443b.c:380:9: warning: label 'defaukt' defined but not used [-Wunused-label] 380 | defaukt: | ^~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_layer2_iso15693.lo rfid_layer2_iso15693.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_layer2_iso15693.c -fPIC -DPIC -o .libs/rfid_layer2_iso15693.o rfid_layer2_iso15693.c: In function 'iso15693_anticol': rfid_layer2_iso15693.c:211:55: warning: passing argument 2 of 'iso15693_transceive_acf' from incompatible pointer type [-Wincompatible-pointer-types] 211 | ret = iso15693_transceive_acf(handle, (u_int8_t *) &acf, tx_len, &resp, &rx_len, &boc); | ^~~~~~~~~~~~~~~~~ | | | u_int8_t * {aka unsigned char *} rfid_layer2_iso15693.c:78:60: note: expected 'const struct iso15693_anticol_cmd *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 78 | const struct iso15693_anticol_cmd *acf, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ rfid_layer2_iso15693.c:211:89: warning: pointer targets in passing argument 5 of 'iso15693_transceive_acf' differ in signedness [-Wpointer-sign] 211 | ret = iso15693_transceive_acf(handle, (u_int8_t *) &acf, tx_len, &resp, &rx_len, &boc); | ^~~~~~~ | | | int * rfid_layer2_iso15693.c:81:39: note: expected 'unsigned int *' but argument is of type 'int *' 81 | unsigned int *rx_len, char *bit_of_col) | ~~~~~~~~~~~~~~^~~~~~ At top level: rfid_layer2_iso15693.c:439:12: warning: 'transceive_inventory' defined but not used [-Wunused-function] 439 | static int transceive_inventory(struct rfid_layer2_handle *l2h) | ^~~~~~~~~~~~~~~~~~~~ rfid_layer2_iso15693.c:257:1: warning: 'iso15693_select' defined but not used [-Wunused-function] 257 | iso15693_select(struct rfid_layer2_handle *handle) | ^~~~~~~~~~~~~~~ rfid_layer2_iso15693.c: In function 'iso15693_setopt': rfid_layer2_iso15693.c:350:22: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] 350 | unsigned int val; | ^~~ make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_proto_tcl.lo rfid_proto_tcl.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_proto_tcl.c -fPIC -DPIC -o .libs/rfid_proto_tcl.o rfid_proto_tcl.c: In function 'tcl_transceive': rfid_proto_tcl.c:662:30: warning: unused variable 'prlg_len' [-Wunused-variable] 662 | unsigned int prlg_len; | ^~~~~~~~ rfid_proto_tcl.c:618:22: warning: variable 'ack_len' set but not used [-Wunused-but-set-variable] 618 | unsigned int ack_len; | ^~~~~~~ rfid_proto_tcl.c: In function 'di_to_speed': rfid_proto_tcl.c:257:1: warning: control reaches end of non-void function [-Wreturn-type] 257 | } | ^ make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_proto_mifare_ul.lo rfid_proto_mifare_ul.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_proto_mifare_ul.c -fPIC -DPIC -o .libs/rfid_proto_mifare_ul.o make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_proto_mifare_classic.lo rfid_proto_mifare_classic.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_proto_mifare_classic.c -fPIC -DPIC -o .libs/rfid_proto_mifare_classic.o make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_proto_icode.lo rfid_proto_icode.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_proto_icode.c -fPIC -DPIC -o .libs/rfid_proto_icode.o rfid_proto_icode.c: In function 'icode_read': rfid_proto_icode.c:41:13: warning: unused variable 'ret' [-Wunused-variable] 41 | int ret; | ^~~ rfid_proto_icode.c:40:23: warning: unused variable 'tx' [-Wunused-variable] 40 | unsigned char tx[2]; | ^~ rfid_proto_icode.c:39:22: warning: unused variable 'real_rx_len' [-Wunused-variable] 39 | unsigned int real_rx_len = sizeof(rx_buf); | ^~~~~~~~~~~ rfid_proto_icode.c: In function 'icode_write': rfid_proto_icode.c:55:13: warning: unused variable 'ret' [-Wunused-variable] 55 | int ret; | ^~~ rfid_proto_icode.c:54:22: warning: unused variable 'rx_len' [-Wunused-variable] 54 | unsigned int rx_len = sizeof(rx); | ^~~~~~ rfid_proto_icode.c:52:23: warning: unused variable 'tx' [-Wunused-variable] 52 | unsigned char tx[6]; | ^~ rfid_proto_icode.c:51:22: warning: unused variable 'i' [-Wunused-variable] 51 | unsigned int i; | ^ rfid_proto_icode.c: In function 'icode_init': rfid_proto_icode.c:92:33: warning: pointer targets in passing argument 4 of 'rfid_layer2_getopt' differ in signedness [-Wpointer-sign] 92 | uid, &uid_len); | ^~~~~~~~ | | | int * In file included from ../include/librfid/rfid_protocol.h:4, from rfid_proto_icode.c:29: ../include/librfid/rfid_layer2.h:36:53: note: expected 'unsigned int *' but argument is of type 'int *' 36 | void *optval, unsigned int *optlen); | ~~~~~~~~~~~~~~^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_proto_tagit.lo rfid_proto_tagit.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_proto_tagit.c -fPIC -DPIC -o .libs/rfid_proto_tagit.o rfid_proto_tagit.c: In function 'tagit_read': rfid_proto_tagit.c:62:13: warning: unused variable 'ret' [-Wunused-variable] 62 | int ret; | ^~~ rfid_proto_tagit.c:61:23: warning: unused variable 'tx' [-Wunused-variable] 61 | unsigned char tx[2]; | ^~ rfid_proto_tagit.c:60:22: warning: unused variable 'real_rx_len' [-Wunused-variable] 60 | unsigned int real_rx_len = sizeof(rx_buf); | ^~~~~~~~~~~ rfid_proto_tagit.c: In function 'tagit_write': rfid_proto_tagit.c:76:13: warning: unused variable 'ret' [-Wunused-variable] 76 | int ret; | ^~~ rfid_proto_tagit.c:75:22: warning: unused variable 'rx_len' [-Wunused-variable] 75 | unsigned int rx_len = sizeof(rx); | ^~~~~~ rfid_proto_tagit.c:73:23: warning: unused variable 'tx' [-Wunused-variable] 73 | unsigned char tx[6]; | ^~ rfid_proto_tagit.c:72:22: warning: unused variable 'i' [-Wunused-variable] 72 | unsigned int i; | ^ make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_reader_rc632_common.lo rfid_reader_rc632_common.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_reader_rc632_common.c -fPIC -DPIC -o .libs/rfid_reader_rc632_common.o make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_access_mifare_classic.lo rfid_access_mifare_classic.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_access_mifare_classic.c -fPIC -DPIC -o .libs/rfid_access_mifare_classic.o make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_asic_rc632.lo rfid_asic_rc632.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_asic_rc632.c -fPIC -DPIC -o .libs/rfid_asic_rc632.o In file included from rfid_asic_rc632.c:31: rfid_asic_rc632.c: In function 'best_prescaler': ../include/librfid/rfid.h:35:45: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ rfid_asic_rc632.c:234:9: note: in expansion of macro 'DEBUGP' 234 | DEBUGP("timeout %u usec, prescaler = %u, divisor = %u\n", | ^~~~~~ rfid_asic_rc632.c: In function 'rc632_wait_idle_timer': ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:116:25: note: in expansion of macro 'DEBUGP' 116 | DEBUGP("status_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:275:17: note: in expansion of macro 'DEBUGP_STATUS_FLAG' 275 | DEBUGP_STATUS_FLAG(stat); | ^~~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:100:38: note: in expansion of macro 'DEBUGP' 100 | #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \ | ^~~~~~ rfid_asic_rc632.c:279:25: note: in expansion of macro 'DEBUGP_ERROR_FLAG' 279 | DEBUGP_ERROR_FLAG(err); | ^~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:144:17: note: in expansion of macro 'DEBUGP' 144 | DEBUGP("interrupt_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:290:25: note: in expansion of macro 'DEBUGP_INTERRUPT_FLAG' 290 | DEBUGP_INTERRUPT_FLAG(irq); | ^~~~~~~~~~~~~~~~~~~~~ rfid_asic_rc632.c: In function 'rc632_wait_idle': ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:116:25: note: in expansion of macro 'DEBUGP' 116 | DEBUGP("status_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:329:25: note: in expansion of macro 'DEBUGP_STATUS_FLAG' 329 | DEBUGP_STATUS_FLAG(foo); | ^~~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:100:38: note: in expansion of macro 'DEBUGP' 100 | #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \ | ^~~~~~ rfid_asic_rc632.c:333:33: note: in expansion of macro 'DEBUGP_ERROR_FLAG' 333 | DEBUGP_ERROR_FLAG(foo); | ^~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:144:17: note: in expansion of macro 'DEBUGP' 144 | DEBUGP("interrupt_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:338:33: note: in expansion of macro 'DEBUGP_INTERRUPT_FLAG' 338 | DEBUGP_INTERRUPT_FLAG(foo); | ^~~~~~~~~~~~~~~~~~~~~ rfid_asic_rc632.c: In function 'rc632_transmit': ../include/librfid/rfid.h:35:45: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ rfid_asic_rc632.c:371:9: note: in expansion of macro 'DEBUGP' 371 | DEBUGP("timeout=%u, tx_len=%u\n", timeout, len); | ^~~~~~ rfid_asic_rc632.c: In function 'rc632_transceive': ../include/librfid/rfid.h:35:45: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ rfid_asic_rc632.c:424:9: note: in expansion of macro 'DEBUGP' 424 | DEBUGP("timeout=%u, rx_len=%u, tx_len=%u\n", timer, *rx_len, tx_len); | ^~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:116:25: note: in expansion of macro 'DEBUGP' 116 | DEBUGP("status_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:439:9: note: in expansion of macro 'DEBUGP_STATUS_FLAG' 439 | DEBUGP_STATUS_FLAG(tmp); | ^~~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:116:25: note: in expansion of macro 'DEBUGP' 116 | DEBUGP("status_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:441:9: note: in expansion of macro 'DEBUGP_STATUS_FLAG' 441 | DEBUGP_STATUS_FLAG(tmp); | ^~~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:116:25: note: in expansion of macro 'DEBUGP' 116 | DEBUGP("status_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:443:9: note: in expansion of macro 'DEBUGP_STATUS_FLAG' 443 | DEBUGP_STATUS_FLAG(tmp); | ^~~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:100:38: note: in expansion of macro 'DEBUGP' 100 | #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("errmake[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' or_flag: 0x%0.2x",value); \ | ^~~~~~ rfid_asic_rc632.c:445:9: note: in expansion of macro 'DEBUGP_ERROR_FLAG' 445 | DEBUGP_ERROR_FLAG(tmp); | ^~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:116:25: note: in expansion of macro 'DEBUGP' 116 | DEBUGP("status_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:504:25: note: in expansion of macro 'DEBUGP_STATUS_FLAG' 504 | DEBUGP_STATUS_FLAG(tmp); | ^~~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:100:38: note: in expansion of macro 'DEBUGP' 100 | #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \ | ^~~~~~ rfid_asic_rc632.c:506:25: note: in expansion of macro 'DEBUGP_ERROR_FLAG' 506 | DEBUGP_ERROR_FLAG(tmp); | ^~~~~~~~~~~~~~~~~ rfid_asic_rc632.c: In function 'rc632_receive': ../include/librfid/rfid.h:35:45: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ rfid_asic_rc632.c:528:9: note: in expansion of macro 'DEBUGP' 528 | DEBUGP("timeout=%u, rx_len=%u\n", timer, *rx_len); | ^~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:116:25: note: in expansion of macro 'DEBUGP' 116 | DEBUGP("status_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:570:25: note: in expansion of macro 'DEBUGP_STATUS_FLAG' 570 | DEBUGP_STATUS_FLAG(tmp); | ^~~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:100:38: note: in expansion of macro 'DEBUGP' 100 | #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \ | ^~~~~~ rfid_asic_rc632.c:572:25: note: in expansion of macro 'DEBUGP_ERROR_FLAG' 572 | DEBUGP_ERROR_FLAG(tmp); | ^~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:525:18: warning: unused variable 'cur_tx_len' [-Wunused-variable] 525 | int ret, cur_tx_len, i; | ^~~~~~~~~~ rfid_asic_rc632.c: In function 'rc632_calc_crc16_from': rfid_asic_rc632.c:645:9: warning: "/*" within comment [-Wcomment] 645 | /* FIXME: what to do with crc result? */ | rfid_asic_rc632.c:616:35: warning: unused variable 'crc_msb' [-Wunused-variable] 616 | u_int8_t crc_lsb = 0x00 , crc_msb = 0x00; | ^~~~~~~ rfid_asic_rc632.c:616:18: warning: unused variable 'crc_lsb' [-Wunused-variable] 616 | u_int8_t crc_lsb = 0x00 , crc_msb = 0x00; | ^~~~~~~ rfid_asic_rc632.c: In function 'rc632_iso14443a_set_speed': rfid_asic_rc632.c:1154:18: warning: unused variable 'reg' [-Wunused-variable] 1154 | u_int8_t reg; | ^~~ rfid_asic_rc632.c: In function 'rc632_iso15693_transceive_ac': rfid_asic_rc632.c:1696:51: warning: passing argument 5 of 'rc632_transceive' from incompatible pointer type [-Wincompatible-pointer-types] 1696 | (u_int8_t *) resp, rx_len, | ^~~~~~ | | | unsigned int * rfid_asic_rc632.c:416:28: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'unsigned int *' 416 | u_int8_t *rx_len, | ~~~~~~~~~~^~~~~~ In file included from rfid_asic_rc632.c:31: ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:100:38: note: in expansion of macro 'DEBUGP' 100 | #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \ | ^~~~~~ rfid_asic_rc632.c:1705:9: note: in expansion of macro 'DEBUGP_ERROR_FLAG' 1705 | DEBUGP_ERROR_FLAG(error_flag); | ^~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:1687:26: warning: unused variable 'mask_len_bytes' [-Wunused-variable] 1687 | int ret, tx_len, mask_len_bytes; | ^~~~~~~~~~~~~~ rfid_asic_rc632.c:1687:18: warning: unused variable 'tx_len' [-Wunused-variable] 1687 | int ret, tx_len, mask_len_bytes; | ^~~~~~ At top level: rfid_asic_rc632.c:1972:1: warning: 'rc632_mifare_transceive' defined but not used [-Wunused-function] 1972 | rc632_mifare_transceive(struct rfid_asic_handle *handle, | ^~~~~~~~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:1667:13: warning: 'uuid_reversecpy' defined but not used [-Wunused-function] 1667 | static void uuid_reversecpy(unsigned char* out, unsigned char* in, int len) | ^~~~~~~~~~~~~~~ rfid_asic_rc632.c:1587:1: warning: 'rc632_iso15693_icl_init' defined but not used [-Wunused-function] 1587 | rc632_iso15693_icl_init(struct rfid_asic_handle *h) | ^~~~~~~~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:1532:29: warning: 'icode1_fast_patch' defined but not used [-Wunused-variable] 1532 | static struct register_file icode1_fast_patch[] = { | ^~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:859:1: warning: 'rc632_iso14443a_fini' defined but not used [-Wunused-function] 859 | rc632_iso14443a_fini(struct iso14443a_handle *handle_14443) | ^~~~~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:673:1: warning: 'generic_fifo_read' defined but not used [-Wunused-function] 673 | generic_fifo_read() | ^~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:666:1: warning: 'generic_fifo_write' defined but not used [-Wunused-function] 666 | generic_fifo_write() | ^~~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:613:1: warning: 'rc632_calc_crc16_from' defined but not used [-Wunused-function] 613 | rc632_calc_crc16_from(struct rfid_asic_handle *handle) | ^~~~~~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:584:1: warning: 'rc632_read_eeprom' defined but not used [-Wunused-function] 584 | rc632_read_eeprom(struct rfid_asic_handle *handle) | ^~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:520:1: warning: 'rc632_receive' defined but not used [-Wunused-function] 520 | rc632_receive(struct rfid_asic_handle *handle, | ^~~~~~~~~~~~~ rfid_asic_rc632.c:363:1: warning: 'rc632_transmit' defined but not used [-Wunused-function] 363 | rc632_transmit(struct rfid_asic_handle *handle, | ^~~~~~~~~~~~~~ In file included from rfid_asic_rc632.c:31: rfid_asic_rc632.c: In function 'rc632_timer_set': ../include/librfid/rfid.h:35:29: warning: 'best_divisor' may be used uninitialized in this function [-Wmaybe-uninitialized] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~ rfid_asic_rc632.c:202:34: note: 'best_divisor' was declared here 202 | u_int8_t best_prescaler, best_divisor, i; | ^~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rfid_reader_openpcd.lo rfid_reader_openpcd.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rfid_reader_openpcd.c -fPIC -DPIC -o .libs/rfid_reader_openpcd.o make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' rfid_reader_openpcd.c: In function 'openpcd_send_command': rfid_reader_openpcd.c:77:13: warning: unused variable 'ret' [-Wunused-variable] 77 | int ret; | ^~~ rfid_reader_openpcd.c: In function 'openpcd_getopt': rfid_reader_openpcd.c:358:13: warning: unused variable 'rc' [-Wunused-variable] 358 | int rc; | ^~ rfid_reader_openpcd.c: In function 'openpcd_close': rfid_reader_openpcd.c:447:44: warning: unused variable 'rath' [-Wunused-variable] 447 | struct rfid_asic_transport_handle *rath = rh->ah->rath; | ^~~~ At top level: rfid_reader_openpcd.c:279:12: warning: 'openpcd_set_environment' defined but not used [-Wunused-function] 279 | static int openpcd_set_environment(struct rfid_reader_handle *rh, | ^~~~~~~~~~~~~~~~~~~~~~~ rfid_reader_openpcd.c:257:12: warning: 'openpcd_get_environment' defined but not used [-Wunused-function] 257 | static int openpcd_get_environment(struct rfid_reader_handle *rh, | ^~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lusb -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o librfid.la -rpath /usr/lib64 -Wc,-nostartfiles -version-info 0:0:0 rfid.lo rfid_layer2.lo rfid_protocol.lo rfid_reader.lo rfid_scan.lo rfid_layer2_iso14443a.lo rfid_layer2_iso14443b.lo rfid_iso14443_common.lo rfid_layer2_iso15693.lo rfid_proto_tcl.lo rfid_proto_mifare_ul.lo rfid_proto_mifare_classic.lo rfid_proto_icode.lo rfid_proto_tagit.lo rfid_asic_rc632.lo rfid_reader_rc632_common.lo rfid_access_mifare_classic.lo rfid_reader_openpcd.lo gcc -shared .libs/rfid.o .libs/rfid_layer2.o .libs/rfid_protocol.o .libs/rfid_reader.o .libs/rfid_scan.o .libs/rfid_layer2_iso14443a.o .libs/rfid_layer2_iso14443b.o .libs/rfid_iso14443_common.o .libs/rfid_layer2_iso15693.o .libs/rfid_proto_tcl.o .libs/rfid_proto_mifare_ul.o .libs/rfid_proto_mifare_classic.o .libs/rfid_proto_icode.o .libs/rfid_proto_tagit.o .libs/rfid_asic_rc632.o .libs/rfid_reader_rc632_common.o .libs/rfid_access_mifare_classic.o .libs/rfid_reader_openpcd.o -lusb -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -nostartfiles -Wl,-soname -Wl,librfid.so.0 -o .libs/librfid.so.0.0.0 (cd .libs && rm -f librfid.so.0 && ln -s librfid.so.0.0.0 librfid.so.0) (cd .libs && rm -f librfid.so && ln -s librfid.so.0.0.0 librfid.so) creating librfid.la (cd .libs && rm -f librfid.la && ln -s ../librfid.la librfid.la) make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' Making all in utils make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/utils' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c common.c In file included from ../include/librfid/rfid_asic.h:6, from ../include/librfid/rfid_reader.h:4, from ../include/librfid/rfid_scan.h:4, from common.c:12: ../include/librfid/rfid_asic_rc632.h:62:53: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration 62 | struct iso15693_anticol_resp *resp, | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/librfid/rfid_scan.h:4, from common.c:12: ../include/librfid/rfid_reader.h:68:45: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration 68 | struct iso15693_anticol_resp *resp, | ^~~~~~~~~~~~~~~~~~~~~ common.c: In function 'hexdump': common.c:28:25: warning: variable 'left' set but not used [-Wunused-but-set-variable] 28 | unsigned int i, left; | ^~~~ make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/utils' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/utils' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c mifare-tool.c In file included from ../include/librfid/rfid_asic.h:6, from ../include/librfid/rfid_reader.h:4, from ../include/librfid/rfid_scan.h:4, from mifare-tool.c:33: ../include/librfid/rfid_asic_rc632.h:62:53: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration 62 | struct iso15693_anticol_resp *resp, | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/librfid/rfid_scan.h:4, from mifare-tool.c:33: ../include/librfid/rfid_reader.h:68:45: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration 68 | struct iso15693_anticol_resp *resp, | ^~~~~~~~~~~~~~~~~~~~~ mifare-tool.c: In function 'main': mifare-tool.c:139:52: warning: pointer targets in passing argument 1 of 'mifare_cl_auth' differ in signedness [-Wpointer-sign] 139 | if (mifare_cl_auth(key, page) >= 0) | ^~~ | | | char * mifare-tool.c:67:42: note: expected 'unsigned char *' but argument is of type 'char *' 67 | static int mifare_cl_auth(unsigned char *key, int page) | ~~~~~~~~~~~~~~~^~~ mifare-tool.c:145:33: warning: pointer targets in passing argument 1 of 'hexread' differ in signedness [-Wpointer-sign] 145 | hexread(key, optarg, strlen(optarg)); | ^~~ | | | char * In file included from mifare-tool.c:43: librfid-tool.h:14:24: note: expected 'unsigned char *' but argument is of type 'char *' 14 | hexread(unsigned char *result, const unsigned char *in, unsigned int len); | ~~~~~~~~~~~~~~~^~~~~~ mifare-tool.c:145:38: warning: pointer targets in passing argument 2 of 'hexread' differ in signedness [-Wpointer-sign] 145 | hexread(key, optarg, strlen(optarg)); | ^~~~~~ | | | char * In file included from mifare-tool.c:43: librfid-tool.h:14:53: note: expected 'const unsigned char *' but argument is of type 'char *' 14 | hexread(unsigned char *result, const unsigned char *in, unsigned int len); | ~~~~~~~~~~~~~~~~~~~~~^~ mifare-tool.c:154:44: warning: pointer targets in passing argument 1 of 'mifare_cl_auth' differ in signedness [-Wpointer-sign] 154 | if (mifare_cl_auth(key, page) < 0) | ^~~ | | | char * mifare-tool.c:67:42: note: expected 'unsigned char *' but argument is of type 'char *' 67 | static int mifare_cl_auth(unsigned char *key, int page) | ~~~~~~~~~~~~~~~^~~ mifare-tool.c:163:59: warning: pointer targets in passing argument 3 of 'rfid_protocol_read' differ in signedness [-Wpointer-sign] 163 | rc = rfid_protocol_read(ph, page, buf, &len); | ^~~ | | | char * In file included from ../include/librfid/rfid_scan.h:6, from mifare-tool.c:33: ../include/librfid/rfid_protocol.h:18:35: note: expected 'unsigned char *' but argument is of type 'char *' 18 | unsigned char *rx_data, | ~~~~~~~~~~~~~~~^~~~~~~ mifare-tool.c:163:64: warning: pointer targets in passing argument 4 of 'rfid_protocol_read' differ in signedness [-Wpointer-sign] 163 | rc = rfid_protocol_read(ph, page, buf, &len); | ^~~~ | | | int * In file included from ../include/librfid/rfid_scan.h:6, from mifare-tool.c:33: ../include/librfid/rfid_protocol.h:19:34: note: expected 'unsigned int *' but argument is of type 'int *' 19 | unsigned int *rx_len); | ~~~~~~~~~~~~~~^~~~~~ mifare-tool.c:171:34: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 171 | if (page & 0x3 == 0x3) { | ^ mifare-tool.c:176:58: warning: pointer targets in passing argument 2 of 'mfcl_parse_access' differ in signedness [-Wpointer-sign] 176 | mfcl_parse_access(&s, buf+6); | ~~~^~ | | | char * In file included from mifare-tool.c:41: ../include/librfid/rfid_access_mifare_classic.h:10:62: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 10 | int mfcl_parse_access(struct mfcl_access_sect *ac, u_int8_t *encoded); | ~~~~~~~~~~^~~~~~~ mifare-tool.c:175:42: warning: unused variable 'recreated' [-Wunused-variable] 175 | u_int8_t recreated[4]; | ^~~~~~~~~ mifare-tool.c:196:52: warning: pointer targets in passing argument 1 of 'mifare_cl_auth' differ in signedness [-Wpointer-sign] 196 | if (mifare_cl_auth(key, page) < 0) | ^~~ | | | char * mifare-tool.c:67:42: note: expected 'unsigned char *' but argument is of type 'char *' 67 | static int mifare_cl_auth(unsigned char *key, int page) | ~~~~~~~~~~~~~~~^~~ mifare-tool.c:205:67: warning: pointer targets in passing argument 3 of 'rfid_protocol_read' differ in signedness [-Wpointer-sign] 205 | rc = rfid_protocol_read(ph, page, buf, &len); | ^~~ | | | char * In file included from ../include/librfid/rfid_scan.h:6, from mifare-tool.c:33: ../include/librfid/rfid_protocol.h:18:35: note: expected 'unsigned char *' but argument is of type 'char *' 18 | unsigned char *rx_data, | ~~~~~~~~~~~~~~~^~~~~~~ mifare-tool.c:205:72: warning: pointer targets in passing argument 4 of 'rfid_protocol_read' differ in signedness [-Wpointer-sign] 205 | rc = rfid_protocol_read(ph, page, buf, &len); | ^~~~ | | | int * In file included from ../include/librfid/rfid_scan.h:6, from mifare-tool.c:33: ../include/librfid/rfid_protocol.h:19:34: note: expected 'unsigned int *' but argument is of type 'int *' 19 | unsigned int *rx_len); | ~~~~~~~~~~~~~~^~~~~~ mifare-tool.c:217:39: warning: pointer targets in passing argument 1 of 'hexread' differ in simake[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/utils' gnedness [-Wpointer-sign] 217 | len = hexread(buf, argv[optind], len); | ^~~ | | | char * In file included from mifare-tool.c:43: librfid-tool.h:14:24: note: expected 'unsigned char *' but argument is of type 'char *' 14 | hexread(unsigned char *result, const unsigned char *in, unsigned int len); | ~~~~~~~~~~~~~~~^~~~~~ mifare-tool.c:217:48: warning: pointer targets in passing argument 2 of 'hexread' differ in signedness [-Wpointer-sign] 217 | len = hexread(buf, argv[optind], len); | ~~~~^~~~~~~~ | | | char * In file included from mifare-tool.c:43: librfid-tool.h:14:53: note: expected 'const unsigned char *' but argument is of type 'char *' 14 | hexread(unsigned char *result, const unsigned char *in, unsigned int len); | ~~~~~~~~~~~~~~~~~~~~~^~ mifare-tool.c:222:44: warning: pointer targets in passing argument 1 of 'mifare_cl_auth' differ in signedness [-Wpointer-sign] 222 | if (mifare_cl_auth(key, page) < 0) | ^~~ | | | char * mifare-tool.c:67:42: note: expected 'unsigned char *' but argument is of type 'char *' 67 | static int mifare_cl_auth(unsigned char *key, int page) | ~~~~~~~~~~~~~~~^~~ mifare-tool.c:224:60: warning: pointer targets in passing argument 3 of 'rfid_protocol_write' differ in signedness [-Wpointer-sign] 224 | rc = rfid_protocol_write(ph, page, buf, len); | ^~~ | | | char * In file included from ../include/librfid/rfid_scan.h:6, from mifare-tool.c:33: ../include/librfid/rfid_protocol.h:24:35: note: expected 'unsigned char *' but argument is of type 'char *' 24 | unsigned char *tx_data, | ~~~~~~~~~~~~~~~^~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/utils' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c librfid-tool.c make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/utils' In file included from ../include/librfid/rfid_asic.h:6, from ../include/librfid/rfid_reader.h:4, from ../include/librfid/rfid_scan.h:4, from librfid-tool.c:33: ../include/librfid/rfid_asic_rc632.h:62:53: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration 62 | struct iso15693_anticol_resp *resp, | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/librfid/rfid_scan.h:4, from librfid-tool.c:33: ../include/librfid/rfid_reader.h:68:45: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration 68 | struct iso15693_anticol_resp *resp, | ^~~~~~~~~~~~~~~~~~~~~ In file included from librfid-tool.c:41: librfid-tool.c: In function 'mifare_classic_dump': ../include/librfid/rfid_protocol_mifare_classic.h:9:41: warning: pointer targets in passing argument 2 of 'mfcl_set_key' differ in signedness [-Wpointer-sign] 9 | #define MIFARE_CL_KEYA_DEFAULT_INFINEON "\xff\xff\xff\xff\xff\xff" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * librfid-tool.c:272:39: note: in expansion of macro 'MIFARE_CL_KEYA_DEFAULT_INFINEON' 272 | rc = mfcl_set_key(ph, MIFARE_CL_KEYA_DEFAULT_INFINEON); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/librfid/rfid_protocol_mifare_classic.h:43:73: note: expected 'unsigned char *' but argument is of type 'char *' 43 | extern int mfcl_set_key(struct rfid_protocol_handle *ph, unsigned char *key); | ~~~~~~~~~~~~~~~^~~ librfid-tool.c: In function 'do_regdump': librfid-tool.c:418:9: warning: implicit declaration of function 'rc632_register_dump' [-Wimplicit-function-declaration] 418 | rc632_register_dump(rh->ah, buffer); | ^~~~~~~~~~~~~~~~~~~ librfid-tool.c: In function 'main': librfid-tool.c:726:50: warning: pointer targets in passing argument 1 of 'iso7816_read_binary' differ in signedness [-Wpointer-sign] 726 | rc = iso7816_read_binary(buf, &len); | ^~~ | | | char * librfid-tool.c:130:36: note: expected 'unsigned char *' but argument is of type 'char *' 130 | iso7816_read_binary(unsigned char *buf, unsigned int *len) | ~~~~~~~~~~~~~~~^~~ librfid-tool.c:726:55: warning: pointer targets in passing argument 2 of 'iso7816_read_binary' differ in signedness [-Wpointer-sign] 726 | rc = iso7816_read_binary(buf, &len); | ^~~~ | | | int * librfid-tool.c:130:55: note: expected 'unsigned int *' but argument is of type 'int *' 130 | iso7816_read_binary(unsigned char *buf, unsigned int *len) | ~~~~~~~~~~~~~~^~~ librfid-tool.c:584:13: warning: unused variable 'i' [-Wunused-variable] 584 | int i, len, protocol = -1, layer2 = -1; | ^ librfid-tool.c: In function 'mifare_classic_dump': librfid-tool.c:288:1: warning: control reaches end of non-void function [-Wreturn-type] 288 | } | ^ At top level: librfid-tool.c:522:1: warning: 'merge_options' defined but not used [-Wunused-function] 522 | merge_options(struct option *oldopts, const struct option *newopts, | ^~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/utils' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c send_script.c In file included from ../include/librfid/rfid_asic.h:6, from ../include/librfid/rfid_reader.h:4, from send_script.c:27: ../include/librfid/rfid_asic_rc632.h:62:53: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration 62 | struct iso15693_anticol_resp *resp, | ^~~~~~~~~~~~~~~~~~~~~ In file included from send_script.c:27: ../include/librfid/rfid_reader.h:68:45: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration 68 | struct iso15693_anticol_resp *resp, | ^~~~~~~~~~~~~~~~~~~~~ send_script.c: In function 'hexdump': send_script.c:41:25: warning: variable 'left' set but not used [-Wunused-but-set-variable] 41 | unsigned int i, left, llen = len; | ^~~~ send_script.c: In function 'init': send_script.c:72:23: warning: unused variable 'buf' [-Wunused-variable] 72 | unsigned char buf[0x3f]; | ^~~ send_script.c: In function 'send_command': send_script.c:162:43: warning: pointer targets in passing argument 2 of 'rfid_protocol_transceive' differ in signedness [-Wpointer-sign] 162 | rv = rfid_protocol_transceive(ph, sbuf, slen, rbuf, &rlen, 0, 0); | ^~~~ | | | char * In file included from send_script.c:29: ../include/librfid/rfid_protocol.h:12:51: note: expected 'const unsigned char *' but argument is of type 'char *' 12 | const unsigned char *tx_buf, unsigned int tx_len, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ send_script.c:162:55: warning: pointer targets in passing argument 4 of 'rfid_protocol_transceive' differ in signedness [-Wpointer-sign] 162 | rv = rfid_protocol_transceive(ph, sbuf, slen, rbuf, &rlen, 0, 0); | ^~~~ | | | char * In file included from send_script.c:29: ../include/librfid/rfid_protocol.h:13:45: note: expected 'unsigned char *' but argument is of type 'char *' 13 | unsigned char *rx_buf, unsigned int *rx_len, | ~~~~~~~~~~~~~~~^~~~~~ send_script.c:162:61: warning: pointer targets in passing argument 5 of 'rfid_protocol_transceive' differ in signedness [-Wpointer-sign] 162 | rv = rfid_protocol_transceive(ph, sbuf, slen, rbuf, &rlen, 0, 0); | ^~~~~ | | | int * In file included from send_script.c:29: ../include/librfid/rfid_protocol.h:13:67: note: expected 'unsigned int *' but argument is of type 'int *' 13 | unsigned char *rx_buf, unsigned int *rx_len, | ~~~~~~~~~~~~~~^~~~~~ send_script.c: In function 'main': send_script.c:271:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 271 | while (next = nextline(fh)) { | ^~~~ make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/utils' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/utils' /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -DHAVE_LIBUSB -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lusb -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o librfid-tool librfid-tool.o common.o ../src/librfid.la mkdir .libs gcc -std=gnu99 -DHAVE_LIBUSB -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/librfid-tool librfid-tool.o common.o -lusb ../src/.libs/librfid.so -Wl,--rpath -Wl,/usr/lib64 creating librfid-tool make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/utils' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/utils' /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -DHAVE_LIBUSB -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lusb -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mifare-tool mifare-tool.o common.o ../src/librfid.la gcc -std=gnu99 -DHAVE_LIBUSB -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/mifare-tool mifare-tool.o common.o -lusb ../src/.libs/librfid.so -Wl,--rpath -Wl,/usr/lib64 creating mifare-tool make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/utils' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/utils' /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -DHAVE_LIBUSB -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lusb -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o librfid-send_script send_script.o ../src/librfid.la gcc -std=gnu99 -DHAVE_LIBUSB -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/librfid-send_script send_script.o -lusb ../src/.libs/librfid.so -Wl,--rpath -Wl,/usr/lib64 creating librfid-send_script make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/utils' make[1]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TOoKAs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64 ++ dirname /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64 + cd librfid-0.2.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64 'INSTALL=/usr/bin/install -p' Making install in etc make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/etc' Making install in udev make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/etc/udev' make[3]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/etc/udev' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/etc/udev' make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/etc/udev' make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/etc' make[3]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/etc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/etc' make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/etc' make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/etc' Making install in include make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/include' Making install in librfid make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/include/librfid' make[3]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/include/librfid' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/include/librfid" || mkdir -p -- "/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid" /usr/bin/install -p -m 644 'rfid.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid.h' /usr/bin/install -p -m 644 'rfid_scan.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_scan.h' /usr/bin/install -p -m 644 'rfid_asic.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_asic.h' /usr/bin/install -p -m 644 'rfid_asic_rc632.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_asic_rc632.h' /usr/bin/install -p -m 644 'rfid_layer2.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_layer2.h' /usr/bin/install -p -m 644 'rfid_layer2_iso14443a.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_layer2_iso14443a.h' /usr/bin/install -p -m 644 'rfid_layer2_iso14443b.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_layer2_iso14443b.h' /usr/bin/install -p -m 644 'rfid_layer2_iso15693.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_layer2_iso15693.h' /usr/bin/install -p -m 644 'rfid_layer2_icode1.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_layer2_icode1.h' /usr/bin/install -p -m 644 'rfid_protocol.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_protocol.h' /usr/bin/install -p -m 644 'rfid_protocol_tcl.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_protocol_tcl.h' /usr/bin/install -p -m 644 'rfid_protocol_mifare_ul.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_protocol_mifare_ul.h' /usr/bin/install -p -m 644 'rfid_protocol_mifare_classic.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_protocol_mifare_classic.h' /usr/bin/install -p -m 644 'rfid_protocol_tagit.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_protocol_tagit.h' /usr/bin/install -p -m 644 'rfid_protocol_icode.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_protocol_icode.h' /usr/bin/install -p -m 644 'rfid_reader.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_reader.h' /usr/bin/install -p -m 644 'rfid_system.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_system.h' /usr/bin/install -p -m 644 'rfid_access_mifare_classic.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_access_mifare_classic.h' /usr/bin/install -p -m 644 'rfid_reader_cm5121.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_reader_cm5121.h' /usr/bin/install -p -m 644 'rfid_reader_spidev.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_reader_spidev.h' /usr/bin/install -p -m 644 'rfid_reader_openpcd.h' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/include/librfid/rfid_reader_openpcd.h' make[3]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/include/librfid' make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/include/librfid' make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/include' make[3]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/include' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/include' make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/include' make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/include' Making install in src make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' test -z "/usr/lib64" || mkdir -p -- "/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/lib64" /bin/sh ../libtool --mode=install /usr/bin/install -p 'librfid.la' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/lib64/librfid.la' /usr/bin/install -p .libs/librfid.so.0.0.0 /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/lib64/librfid.so.0.0.0 (cd /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/lib64 && { ln -s -f librfid.so.0.0.0 librfid.so.0 || { rm -f librfid.so.0 && ln -s librfid.so.0.0.0 librfid.so.0; }; }) (cd /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/lib64 && { ln -s -f librfid.so.0.0.0 librfid.so || { rm -f librfid.so && ln -s librfid.so.0.0.0 librfid.so; }; }) /usr/bin/install -p .libs/librfid.lai /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/lib64/librfid.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' test -z "/usr/lib64/pkgconfig" || mkdir -p -- "/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/lib64/pkgconfig" /usr/bin/install -p -m 644 'librfid.pc' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/lib64/pkgconfig/librfid.pc' make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' Making install in utils make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/utils' make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/utils' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -p 'librfid-tool' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/bin/librfid-tool' libtool: install: warning: `../src/librfid.la' has not been installed in `/usr/lib64' /usr/bin/install -p .libs/librfid-tool /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/bin/librfid-tool /bin/sh ../libtool --mode=install /usr/bin/install -p 'mifare-tool' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/bin/mifare-tool' libtool: install: warning: `../src/librfid.la' has not been installed in `/usr/lib64' /usr/bin/install -p .libs/mifare-tool /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/bin/mifare-tool /bin/sh ../libtool --mode=install /usr/bin/install -p 'librfid-send_script' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/bin/librfid-send_script' libtool: install: warning: `../src/librfid.la' has not been installed in `/usr/lib64' /usr/bin/install -p .libs/librfid-send_script /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/bin/librfid-send_script test -z "/usr/share/man/man1" || mkdir -p -- "/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/share/man/man1" /usr/bin/install -p -m 644 './librfid-tool.1' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/share/man/man1/librfid-tool.1' /usr/bin/install -p -m 644 './mifare-tool.1' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/share/man/man1/mifare-tool.1' /usr/bin/install -p -m 644 './librfid-send_script.1' '/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/share/man/man1/librfid-send_script.1' make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/utils' make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/utils' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0' make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0' make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0' + find /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64 -name '*.la' -delete + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.2.0-23.fc35 --unique-debug-suffix -0.2.0-23.fc35.x86_64 --unique-debug-src-base librfid-0.2.0-23.fc35.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/librfid-0.2.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/bin/librfid-tool explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/bin/librfid-send_script extracting debug info from /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/bin/librfid-send_script extracting debug info from /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/bin/librfid-tool explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/bin/mifare-tool explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/lib64/librfid.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/lib64/librfid.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/bin/mifare-tool original debug info size: 408kB, size after compression: 344kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 449 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: librfid-0.2.0-23.fc35.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AOa7iz + umask 022 + cd /builddir/build/BUILD + cd librfid-0.2.0 + DOCDIR=/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/share/doc/librfid + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/share/doc/librfid + cp -pr README /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/share/doc/librfid + cp -pr TODO /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/share/doc/librfid + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TDecEO + umask 022 + cd /builddir/build/BUILD + cd librfid-0.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/share/licenses/librfid + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/share/licenses/librfid + cp -pr COPYING /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/share/licenses/librfid + RPM_EC=0 ++ jobs -p + exit 0 Provides: librfid = 0.2.0-23.fc35 librfid(x86-64) = 0.2.0-23.fc35 librfid.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) librfid.so.0()(64bit) libusb-0.1.so.4()(64bit) rtld(GNU_HASH) Processing files: librfid-devel-0.2.0-23.fc35.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tJKT0J + umask 022 + cd /builddir/build/BUILD + cd librfid-0.2.0 + DOCDIR=/builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/share/doc/librfid-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/share/doc/librfid-devel + cp -pr README /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64/usr/share/doc/librfid-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: librfid-devel = 0.2.0-23.fc35 librfid-devel(x86-64) = 0.2.0-23.fc35 pkgconfig(librfid) = 0.2.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config librfid.so.0()(64bit) Processing files: librfid-debugsource-0.2.0-23.fc35.x86_64 Provides: librfid-debugsource = 0.2.0-23.fc35 librfid-debugsource(x86-64) = 0.2.0-23.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: librfid-debuginfo-0.2.0-23.fc35.x86_64 Provides: debuginfo(build-id) = 00b68ae35b6c88d1a8bf44933fe3f0b677a40ed1 debuginfo(build-id) = 2585d546c79cc910bf98283efb951c13556015a6 debuginfo(build-id) = 5c0c6debc6402fcd513a10a4294877713c25ff98 debuginfo(build-id) = 5e68710a38a235536e63224e04680048ecad1947 librfid-debuginfo = 0.2.0-23.fc35 librfid-debuginfo(x86-64) = 0.2.0-23.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: librfid-debugsource(x86-64) = 0.2.0-23.fc35 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64 Wrote: /builddir/build/RPMS/librfid-debugsource-0.2.0-23.fc35.x86_64.rpm Wrote: /builddir/build/RPMS/librfid-debuginfo-0.2.0-23.fc35.x86_64.rpm Wrote: /builddir/build/RPMS/librfid-devel-0.2.0-23.fc35.x86_64.rpm Wrote: /builddir/build/RPMS/librfid-0.2.0-23.fc35.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AhMes5 + umask 022 + cd /builddir/build/BUILD + cd librfid-0.2.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/librfid-0.2.0-23.fc35.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0