<86>Jun  4 04:17:57 userdel[526256]: delete user 'rooter'
<86>Jun  4 04:17:57 userdel[526256]: removed group 'rooter' owned by 'rooter'
<86>Jun  4 04:17:57 userdel[526256]: removed shadow group 'rooter' owned by 'rooter'
<86>Jun  4 04:17:57 groupadd[526261]: group added to /etc/group: name=rooter, GID=987
<86>Jun  4 04:17:57 groupadd[526261]: group added to /etc/gshadow: name=rooter
<86>Jun  4 04:17:57 groupadd[526261]: new group: name=rooter, GID=987
<86>Jun  4 04:17:57 useradd[526268]: new user: name=rooter, UID=987, GID=987, home=/root, shell=/bin/bash
<86>Jun  4 04:17:57 userdel[526282]: delete user 'builder'
<86>Jun  4 04:17:57 userdel[526282]: removed group 'builder' owned by 'builder'
<86>Jun  4 04:17:57 userdel[526282]: removed shadow group 'builder' owned by 'builder'
<86>Jun  4 04:17:57 groupadd[526288]: group added to /etc/group: name=builder, GID=988
<86>Jun  4 04:17:57 groupadd[526288]: group added to /etc/gshadow: name=builder
<86>Jun  4 04:17:57 groupadd[526288]: new group: name=builder, GID=988
<86>Jun  4 04:17:57 useradd[526297]: new user: name=builder, UID=988, GID=988, home=/usr/src, shell=/bin/bash
<13>Jun  4 04:17:58 rpmi: libusb-1.0.26-alt1 sisyphus+298877.100.1.1 1650636949 installed
<13>Jun  4 04:17:58 rpmi: libusb-compat-0.1.5-alt1 sisyphus+275409.100.2.2 1624579099 installed
<13>Jun  4 04:17:58 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed
<13>Jun  4 04:17:58 rpmi: libstdc++12-devel-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed
<13>Jun  4 04:17:59 rpmi: gcc12-c++-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed
<13>Jun  4 04:17:59 rpmi: gcc-c++-12-alt1 sisyphus+300988.300.1.1 1654033914 installed
<13>Jun  4 04:17:59 rpmi: libusb-compat-devel-0.1.5-alt1 sisyphus+275409.100.2.2 1624579099 installed
<13>Jun  4 04:17:59 rpmi: chrpath-0.16-alt1 sisyphus+278100.500.1.1 1626056638 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/librfid-0.2.0-alt3_22.nosrc.rpm (w1.gzdio)
Installing librfid-0.2.0-alt3_22.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.12596
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf librfid-0.2.0
+ echo 'Source #0 (librfid-0.2.0.tar.bz2):'
Source #0 (librfid-0.2.0.tar.bz2):
+ /bin/bzip2 -dc /usr/src/RPM/SOURCES/librfid-0.2.0.tar.bz2
+ /bin/tar -xf -
+ cd librfid-0.2.0
+ /bin/chmod -c -Rf u+rwX,go-w .
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.12596
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd librfid-0.2.0
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=' -march=i586 -mtune=generic'
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static
checking build system type... i586-alt-linux-gnu
checking host system type... i586-alt-linux-gnu
checking target system type... i586-alt-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i586-alt-linux-gcc... i586-alt-linux-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 i586-alt-linux-gcc accepts -g... yes
checking for i586-alt-linux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i586-alt-linux-gcc... none
checking whether i586-alt-linux-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... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by i586-alt-linux-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... (cached) pass_all
checking how to run the C preprocessor... i586-alt-linux-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 for i586-alt-linux-g++... i586-alt-linux-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i586-alt-linux-g++ accepts -g... yes
checking dependency style of i586-alt-linux-g++... none
checking how to run the C++ preprocessor... i586-alt-linux-g++ -E
checking for i586-alt-linux-g77... no
checking for i586-alt-linux-xlf... no
checking for i586-alt-linux-f77... no
checking for i586-alt-linux-frt... no
checking for i586-alt-linux-pgf77... no
checking for i586-alt-linux-cf77... no
checking for i586-alt-linux-fort77... no
checking for i586-alt-linux-fl32... no
checking for i586-alt-linux-af77... no
checking for i586-alt-linux-xlf90... no
checking for i586-alt-linux-f90... no
checking for i586-alt-linux-pgf90... no
checking for i586-alt-linux-pghpf... no
checking for i586-alt-linux-epcf90... no
checking for i586-alt-linux-gfortran... no
checking for i586-alt-linux-g95... no
checking for i586-alt-linux-xlf95... no
checking for i586-alt-linux-f95... no
checking for i586-alt-linux-fort... no
checking for i586-alt-linux-ifort... no
checking for i586-alt-linux-ifc... no
checking for i586-alt-linux-efc... no
checking for i586-alt-linux-pgf95... no
checking for i586-alt-linux-lf95... no
checking for i586-alt-linux-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 i586-alt-linux-gcc object... failed
checking for objdir... .libs
checking for i586-alt-linux-ar... no
checking for ar... ar
checking for i586-alt-linux-ranlib... no
checking for ranlib... ranlib
checking for i586-alt-linux-strip... no
checking for strip... strip
checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for i586-alt-linux-gcc option to produce PIC... -fPIC
checking if i586-alt-linux-gcc PIC flag -fPIC works... yes
checking if i586-alt-linux-gcc static flag -static works... no
checking if i586-alt-linux-gcc supports -c -o file.o... yes
checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) 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
checking for ld used by i586-alt-linux-g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for i586-alt-linux-g++ option to produce PIC... -fPIC
checking if i586-alt-linux-g++ PIC flag -fPIC works... yes
checking if i586-alt-linux-g++ static flag -static works... no
checking if i586-alt-linux-g++ supports -c -o file.o... yes
checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
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
+ make -j16
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 '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_iso14443_common.lo rfid_iso14443_common.c
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c rfid_iso14443_common.c  -fPIC -DPIC -o .libs/rfid_iso14443_common.o
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_scan.lo rfid_scan.c
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c rfid_scan.c  -fPIC -DPIC -o .libs/rfid_scan.o
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid.lo rfid.c
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -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 '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_layer2.lo rfid_layer2.c
mkdir .libs
mkdir: cannot create directory '.libs': File exists
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -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];
      |           ^
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_reader.lo rfid_reader.c
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c rfid_reader.c  -fPIC -DPIC -o .libs/rfid_reader.o
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_protocol.lo rfid_protocol.c
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c rfid_protocol.c  -fPIC -DPIC -o .libs/rfid_protocol.o
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]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_reader_rc632_common.lo rfid_reader_rc632_common.c
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c rfid_reader_rc632_common.c  -fPIC -DPIC -o .libs/rfid_reader_rc632_common.o
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_layer2_iso14443b.lo rfid_layer2_iso14443b.c
mkdir .libs
mkdir: cannot create directory '.libs': File exists
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -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 '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_proto_mifare_ul.lo rfid_proto_mifare_ul.c
mkdir .libs
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c rfid_proto_mifare_ul.c  -fPIC -DPIC -o .libs/rfid_proto_mifare_ul.o
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_proto_icode.lo rfid_proto_icode.c
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -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 '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_proto_mifare_classic.lo rfid_proto_mifare_classic.c
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c rfid_proto_mifare_classic.c  -fPIC -DPIC -o .libs/rfid_proto_mifare_classic.o
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_layer2_iso14443a.lo rfid_layer2_iso14443a.c
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c rfid_layer2_iso14443a.c  -fPIC -DPIC -o .libs/rfid_layer2_iso14443a.o
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]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_layer2_iso15693.lo rfid_layer2_iso15693.c
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -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)
      |                         ~~~~~~~~~~~~~~^~~~~~
rfid_layer2_iso15693.c: 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)
      | ^~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_proto_tagit.lo rfid_proto_tagit.c
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -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 '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_proto_tcl.lo rfid_proto_tcl.c
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -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 '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_asic_rc632.lo rfid_asic_rc632.c
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -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 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 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 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("error_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 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,
      |                  ~~~~~~~~~~^~~~~~
../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;
      |                  ^~~~~~
rfid_asic_rc632.c: 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,
      | ^~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_access_mifare_classic.lo rfid_access_mifare_classic.c
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c rfid_access_mifare_classic.c  -fPIC -DPIC -o .libs/rfid_access_mifare_classic.o
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-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    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_reader_openpcd.lo rfid_reader_openpcd.c
 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c rfid_reader_openpcd.c  -fPIC -DPIC -o .libs/rfid_reader_openpcd.o
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;
      |                                            ^~~~
rfid_reader_openpcd.c: 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]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
/bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -std=gnu99  -DHAVE_LIBUSB  -D__LIBRFID__  -DLIBRFID_STATIC -DENABLE_OPENPCD    -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -lusb  -o librfid.la -rpath /usr/lib -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    
i586-alt-linux-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  -march=i586 -mtune=generic -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 '/usr/src/RPM/BUILD/librfid-0.2.0/src'
Making all in utils
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
i586-alt-linux-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  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -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,
      |                                                     ^~~~~~~~~~~~~~~~~~~~~
../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 '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
i586-alt-linux-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  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -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,
      |                                                     ^~~~~~~~~~~~~~~~~~~~~
../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 *
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:
../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 *
../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 *
../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 *
../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 signedness [-Wpointer-sign]
  217 |                         len = hexread(buf, argv[optind], len);
      |                                       ^~~
      |                                       |
      |                                       char *
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 *
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 *
../include/librfid/rfid_protocol.h:24:35: note: expected 'unsigned char *' but argument is of type 'char *'
   24 |                    unsigned char *tx_data,
      |                    ~~~~~~~~~~~~~~~^~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
i586-alt-linux-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  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -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,
      |                                                     ^~~~~~~~~~~~~~~~~~~~~
../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 *
../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 *
../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 '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
i586-alt-linux-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  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c librfid-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 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,
      |                                                     ^~~~~~~~~~~~~~~~~~~~~
../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 | }
      | ^
librfid-tool.c: 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]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
/bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -std=gnu99  -DHAVE_LIBUSB  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -lusb  -o librfid-send_script  send_script.o ../src/librfid.la 
i586-alt-linux-gcc -std=gnu99 -DHAVE_LIBUSB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o .libs/librfid-send_script send_script.o  -lusb ../src/.libs/librfid.so 
creating librfid-send_script
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
/bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -std=gnu99  -DHAVE_LIBUSB  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -lusb  -o mifare-tool  mifare-tool.o common.o ../src/librfid.la 
mkdir .libs
i586-alt-linux-gcc -std=gnu99 -DHAVE_LIBUSB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o .libs/mifare-tool mifare-tool.o common.o  -lusb ../src/.libs/librfid.so 
creating mifare-tool
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
/bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -std=gnu99  -DHAVE_LIBUSB  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -lusb  -o librfid-tool  librfid-tool.o common.o ../src/librfid.la 
i586-alt-linux-gcc -std=gnu99 -DHAVE_LIBUSB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o .libs/librfid-tool librfid-tool.o common.o  -lusb ../src/.libs/librfid.so 
creating librfid-tool
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
make[1]: Nothing to be done for 'all-am'.
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.86442
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/librfid-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/librfid-buildroot
+ PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ cd librfid-0.2.0
+ make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/librfid-buildroot
make: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0'
Making install in etc
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/etc'
Making install in udev
make[2]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/etc/udev'
make[3]: Entering directory '/usr/src/RPM/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 '/usr/src/RPM/BUILD/librfid-0.2.0/etc/udev'
make[2]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/etc/udev'
make[2]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/etc'
make[3]: Entering directory '/usr/src/RPM/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 '/usr/src/RPM/BUILD/librfid-0.2.0/etc'
make[2]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/etc'
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/etc'
Making install in include
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/include'
Making install in librfid
make[2]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/include/librfid'
make[3]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/include/librfid'
make[3]: Nothing to be done for 'install-exec-am'.
test -z "/usr/include/librfid" || mkdir -p -- "/usr/src/tmp/librfid-buildroot/usr/include/librfid"
 /usr/libexec/rpm-build/install -p -m 644 'rfid.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_scan.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_scan.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_asic.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_asic.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_asic_rc632.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_asic_rc632.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_layer2.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_layer2.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_layer2_iso14443a.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_layer2_iso14443a.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_layer2_iso14443b.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_layer2_iso14443b.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_layer2_iso15693.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_layer2_iso15693.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_layer2_icode1.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_layer2_icode1.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_protocol.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_protocol.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_protocol_tcl.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_protocol_tcl.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_protocol_mifare_ul.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_protocol_mifare_ul.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_protocol_mifare_classic.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_protocol_mifare_classic.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_protocol_tagit.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_protocol_tagit.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_protocol_icode.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_protocol_icode.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_reader.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_reader.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_system.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_system.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_access_mifare_classic.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_access_mifare_classic.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_reader_cm5121.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_reader_cm5121.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_reader_spidev.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_reader_spidev.h'
 /usr/libexec/rpm-build/install -p -m 644 'rfid_reader_openpcd.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_reader_openpcd.h'
make[3]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/include/librfid'
make[2]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/include/librfid'
make[2]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/include'
make[3]: Entering directory '/usr/src/RPM/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 '/usr/src/RPM/BUILD/librfid-0.2.0/include'
make[2]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/include'
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/include'
Making install in src
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
test -z "/usr/lib" || mkdir -p -- "/usr/src/tmp/librfid-buildroot/usr/lib"
 /bin/sh ../libtool --mode=install /usr/libexec/rpm-build/install -p  'librfid.la' '/usr/src/tmp/librfid-buildroot/usr/lib/librfid.la'
/usr/libexec/rpm-build/install -p .libs/librfid.so.0.0.0 /usr/src/tmp/librfid-buildroot/usr/lib/librfid.so.0.0.0
(cd /usr/src/tmp/librfid-buildroot/usr/lib && { 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 /usr/src/tmp/librfid-buildroot/usr/lib && { ln -s -f librfid.so.0.0.0 librfid.so || { rm -f librfid.so && ln -s librfid.so.0.0.0 librfid.so; }; })
/usr/libexec/rpm-build/install -p .libs/librfid.lai /usr/src/tmp/librfid-buildroot/usr/lib/librfid.la
libtool: install: warning: remember to run `libtool --finish /usr/lib'
test -z "/usr/lib/pkgconfig" || mkdir -p -- "/usr/src/tmp/librfid-buildroot/usr/lib/pkgconfig"
 /usr/libexec/rpm-build/install -p -m 644 'librfid.pc' '/usr/src/tmp/librfid-buildroot/usr/lib/pkgconfig/librfid.pc'
make[2]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src'
Making install in utils
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
make[2]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
test -z "/usr/bin" || mkdir -p -- "/usr/src/tmp/librfid-buildroot/usr/bin"
  /bin/sh ../libtool --mode=install /usr/libexec/rpm-build/install -p 'librfid-tool' '/usr/src/tmp/librfid-buildroot/usr/bin/librfid-tool'
libtool: install: warning: `../src/librfid.la' has not been installed in `/usr/lib'
/usr/libexec/rpm-build/install -p .libs/librfid-tool /usr/src/tmp/librfid-buildroot/usr/bin/librfid-tool
  /bin/sh ../libtool --mode=install /usr/libexec/rpm-build/install -p 'mifare-tool' '/usr/src/tmp/librfid-buildroot/usr/bin/mifare-tool'
libtool: install: warning: `../src/librfid.la' has not been installed in `/usr/lib'
/usr/libexec/rpm-build/install -p .libs/mifare-tool /usr/src/tmp/librfid-buildroot/usr/bin/mifare-tool
  /bin/sh ../libtool --mode=install /usr/libexec/rpm-build/install -p 'librfid-send_script' '/usr/src/tmp/librfid-buildroot/usr/bin/librfid-send_script'
libtool: install: warning: `../src/librfid.la' has not been installed in `/usr/lib'
/usr/libexec/rpm-build/install -p .libs/librfid-send_script /usr/src/tmp/librfid-buildroot/usr/bin/librfid-send_script
test -z "/usr/share/man/man1" || mkdir -p -- "/usr/src/tmp/librfid-buildroot/usr/share/man/man1"
 /usr/libexec/rpm-build/install -p -m 644 './librfid-tool.1' '/usr/src/tmp/librfid-buildroot/usr/share/man/man1/librfid-tool.1'
 /usr/libexec/rpm-build/install -p -m 644 './mifare-tool.1' '/usr/src/tmp/librfid-buildroot/usr/share/man/man1/mifare-tool.1'
 /usr/libexec/rpm-build/install -p -m 644 './librfid-send_script.1' '/usr/src/tmp/librfid-buildroot/usr/share/man/man1/librfid-send_script.1'
make[2]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/utils'
make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0'
make[2]: Entering directory '/usr/src/RPM/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 '/usr/src/RPM/BUILD/librfid-0.2.0'
make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0'
make: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0'
+ find /usr/src/tmp/librfid-buildroot -name '*.la' -delete
++ find /usr/src/tmp/librfid-buildroot/usr/bin /usr/src/tmp/librfid-buildroot/usr/lib /usr/src/tmp/librfid-buildroot/usr/libexec /usr/src/tmp/librfid-buildroot/usr/lib /usr/src/tmp/librfid-buildroot/usr/sbin -type f -perm -111 '!' -name '*.la'
find: '/usr/src/tmp/librfid-buildroot/usr/libexec': No such file or directory
find: '/usr/src/tmp/librfid-buildroot/usr/sbin': No such file or directory
+ for i in `find /usr/src/tmp/librfid-buildroot{/usr/bin,/usr/lib,/usr/libexec,/usr/lib,/usr/sbin} -type f -perm -111 ! -name '*.la' `
+ chrpath -d /usr/src/tmp/librfid-buildroot/usr/bin/librfid-send_script
+ for i in `find /usr/src/tmp/librfid-buildroot{/usr/bin,/usr/lib,/usr/libexec,/usr/lib,/usr/sbin} -type f -perm -111 ! -name '*.la' `
+ chrpath -d /usr/src/tmp/librfid-buildroot/usr/bin/mifare-tool
+ for i in `find /usr/src/tmp/librfid-buildroot{/usr/bin,/usr/lib,/usr/libexec,/usr/lib,/usr/sbin} -type f -perm -111 ! -name '*.la' `
+ chrpath -d /usr/src/tmp/librfid-buildroot/usr/bin/librfid-tool
+ for i in `find /usr/src/tmp/librfid-buildroot{/usr/bin,/usr/lib,/usr/libexec,/usr/lib,/usr/sbin} -type f -perm -111 ! -name '*.la' `
+ chrpath -d /usr/src/tmp/librfid-buildroot/usr/lib/librfid.so.0.0.0
+ for i in `find /usr/src/tmp/librfid-buildroot{/usr/bin,/usr/lib,/usr/libexec,/usr/lib,/usr/sbin} -type f -perm -111 ! -name '*.la' `
+ chrpath -d /usr/src/tmp/librfid-buildroot/usr/lib/librfid.so.0.0.0
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/librfid-buildroot (auto)
mode of './usr/lib/librfid.so.0.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
Verifying and fixing files in /usr/src/tmp/librfid-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig)
/usr/lib/pkgconfig/librfid.pc: Cflags: '-I${sysincludedir} -I${includedir}' --> '-I${sysincludedir}'
/usr/lib/pkgconfig/librfid.pc: Libs: '-L${libdir}  -lrfid' --> '-lrfid'
Checking contents of files in /usr/src/tmp/librfid-buildroot/ (default)
Compressing files in /usr/src/tmp/librfid-buildroot (auto)
Adjusting library links in /usr/src/tmp/librfid-buildroot
./usr/lib: (from <cmdline>:0)
	librfid.so.0 -> librfid.so.0.0.0
Verifying ELF objects in /usr/src/tmp/librfid-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
verify-elf: WARNING: ./usr/bin/librfid-send_script: uses non-LFS functions: fopen
Processing files: librfid-0.2.0-alt3_22
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.80828
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd librfid-0.2.0
+ DOCDIR=/usr/src/tmp/librfid-buildroot/usr/share/doc/librfid-0.2.0
+ export DOCDIR
+ rm -rf /usr/src/tmp/librfid-buildroot/usr/share/doc/librfid-0.2.0
+ /bin/mkdir -p /usr/src/tmp/librfid-buildroot/usr/share/doc/librfid-0.2.0
+ cp -prL --no-dereference COPYING /usr/src/tmp/librfid-buildroot/usr/share/doc/librfid-0.2.0
+ chmod -R go-w /usr/src/tmp/librfid-buildroot/usr/share/doc/librfid-0.2.0
+ chmod -R a+rX /usr/src/tmp/librfid-buildroot/usr/share/doc/librfid-0.2.0
+ cp -prL README TODO /usr/src/tmp/librfid-buildroot/usr/share/doc/librfid-0.2.0
+ chmod -R go-w /usr/src/tmp/librfid-buildroot/usr/share/doc/librfid-0.2.0
+ chmod -R a+rX /usr/src/tmp/librfid-buildroot/usr/share/doc/librfid-0.2.0
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2Tu2Dg
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
lib.prov: /usr/src/tmp/librfid-buildroot/usr/lib/librfid.so.0: 80 symbols, 17 bpp
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cQQAsc
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
Provides: librfid.so.0 = set:kdQxyj35083QMlaZ4YypBKMVZ09lx8pb9lcXsB9BN569KEZKT4jZ5rO317G0Tj7SotIpKDGexYbHC2YE80VqsGI9a0y1eLsUZaA89I2IJU4RAdPu8JmvFJflSfzTE1Jx1bMmIPhZ2hljX1USq2x8vcc1znufCBl05Z9xMf
Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libusb-0.1.so.4 >= set:iew87SN6RHqqOdPJIAcVqXh5, rtld(GNU_HASH)
Requires(rpmlib): rpmlib(SetVersions)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.j46GrN
Creating librfid-debuginfo package
Processing files: librfid-devel-0.2.0-alt3_22
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.74089
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd librfid-0.2.0
+ DOCDIR=/usr/src/tmp/librfid-buildroot/usr/share/doc/librfid-devel-0.2.0
+ export DOCDIR
+ rm -rf /usr/src/tmp/librfid-buildroot/usr/share/doc/librfid-devel-0.2.0
+ /bin/mkdir -p /usr/src/tmp/librfid-buildroot/usr/share/doc/librfid-devel-0.2.0
+ cp -prL README /usr/src/tmp/librfid-buildroot/usr/share/doc/librfid-devel-0.2.0
+ chmod -R go-w /usr/src/tmp/librfid-buildroot/usr/share/doc/librfid-devel-0.2.0
+ chmod -R a+rX /usr/src/tmp/librfid-buildroot/usr/share/doc/librfid-devel-0.2.0
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qNlfR8
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xZEk2G
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
Provides: pkgconfig(librfid) = 0.2.0
Requires: librfid = 0.2.0-alt3_22, /usr/lib/librfid.so.0.0.0, /usr/lib/pkgconfig
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tmHFBX
Processing files: librfid-debuginfo-0.2.0-alt3_22
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Rga91n
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7Lkwsl
find-requires: running scripts (debuginfo)
Provides: debug(librfid.so.0)
Requires: librfid = 0.2.0-alt3_22, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libusb-0.1.so.4)
Adding to librfid-devel a strict dependency on librfid
Adding to librfid-debuginfo a strict dependency on librfid
Removing 1 extra deps from librfid-devel due to dependency on librfid
Wrote: /usr/src/RPM/RPMS/i586/librfid-0.2.0-alt3_22.i586.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/i586/librfid-devel-0.2.0-alt3_22.i586.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/i586/librfid-debuginfo-0.2.0-alt3_22.i586.rpm (w2.lzdio)
5.53user 4.06system 0:13.37elapsed 71%CPU (0avgtext+0avgdata 37084maxresident)k
0inputs+0outputs (0major+1402196minor)pagefaults 0swaps
8.50user 6.85system 0:18.35elapsed 83%CPU (0avgtext+0avgdata 103140maxresident)k
48inputs+0outputs (30381major+1664707minor)pagefaults 0swaps
--- librfid-0.2.0-alt3_22.i586.rpm.repo	2020-12-26 14:45:59.000000000 +0000
+++ librfid-0.2.0-alt3_22.i586.rpm.hasher	2022-06-04 04:18:14.314312418 +0000
@@ -18,2 +18,3 @@
 Requires: libc.so.6(GLIBC_2.3.4)  
+Requires: libc.so.6(GLIBC_2.34)  
 Requires: libc.so.6(GLIBC_2.4)  
@@ -25,7 +26,7 @@
 Provides: librfid = 0.2.0-alt3_22:sisyphus+263984.100.1.1
-File: /usr/bin/librfid-send_script	100755	root:root	52e52d8b3cc61e33813ebaadee869fa8	
-File: /usr/bin/librfid-tool	100755	root:root	5c6f158623a1c6fe2627b2ca3b552a8e	
-File: /usr/bin/mifare-tool	100755	root:root	d8265e3ae0cc886f55beb6876ff37dc5	
+File: /usr/bin/librfid-send_script	100755	root:root	04713312d14505726cebc8975684a9b8	
+File: /usr/bin/librfid-tool	100755	root:root	8b1cbd691a02209ce995f47b72117db4	
+File: /usr/bin/mifare-tool	100755	root:root	085d872b8da7fcdee46607e6fac9e5a5	
 File: /usr/lib/librfid.so.0	120777	root:root		librfid.so.0.0.0
-File: /usr/lib/librfid.so.0.0.0	100644	root:root	c5f496c9017b05ae906968380dba0aed	
+File: /usr/lib/librfid.so.0.0.0	100644	root:root	6482f5f838d3fdb6bed44eb1ceef489d	
 File: /usr/share/doc/librfid-0.2.0	40755	root:root		
@@ -37,2 +38,2 @@
 File: /usr/share/man/man1/mifare-tool.1.xz	100644	root:root	04c5d16596738a01d50e4500d18976a1	
-RPMIdentity: 41cd68b61a3c3cfc38b59a4741149814331ef8bcb35d1ef256f91155d072f30b1193c998812bb238d80d7d7400efaa059c81bc83d3b3e2956acdaa84bd91aa47
+RPMIdentity: 629692013392ca56449450ab10cc7fa1b98ed88b6e9b39ff0bf2a7005c42d0878739416b7404fadb507fe319ca2d5c74019d1e6fdfa01c65a552abf239cb5d15
--- librfid-debuginfo-0.2.0-alt3_22.i586.rpm.repo	2020-12-26 14:45:59.000000000 +0000
+++ librfid-debuginfo-0.2.0-alt3_22.i586.rpm.hasher	2022-06-04 04:18:14.365313158 +0000
@@ -1,13 +1,13 @@
-/usr/lib/debug/.build-id/4d	40755	root:root	
-/usr/lib/debug/.build-id/4d/63d37c5db524a1a255c71f13b833ac2052ecd1	120777	root:root	../../../../bin/librfid-tool
-/usr/lib/debug/.build-id/4d/63d37c5db524a1a255c71f13b833ac2052ecd1.debug	120777	root:root	../../usr/bin/librfid-tool.debug
-/usr/lib/debug/.build-id/dc	40755	root:root	
-/usr/lib/debug/.build-id/dc/dbab30c94c912e677485b71d5a697eabbb6849	120777	root:root	../../../librfid.so.0.0.0
-/usr/lib/debug/.build-id/dc/dbab30c94c912e677485b71d5a697eabbb6849.debug	120777	root:root	../../usr/lib/librfid.so.0.0.0.debug
-/usr/lib/debug/.build-id/eb	40755	root:root	
-/usr/lib/debug/.build-id/eb/ebc8a98bb0ae832251c605d63b1b01deb6d5dd	120777	root:root	../../../../bin/librfid-send_script
-/usr/lib/debug/.build-id/eb/ebc8a98bb0ae832251c605d63b1b01deb6d5dd.debug	120777	root:root	../../usr/bin/librfid-send_script.debug
-/usr/lib/debug/.build-id/fb	40755	root:root	
-/usr/lib/debug/.build-id/fb/ecdd9066f2fa1b33f4cb0fd80a581b9cf44321	120777	root:root	../../../../bin/mifare-tool
-/usr/lib/debug/.build-id/fb/ecdd9066f2fa1b33f4cb0fd80a581b9cf44321.debug	120777	root:root	../../usr/bin/mifare-tool.debug
+/usr/lib/debug/.build-id/11	40755	root:root	
+/usr/lib/debug/.build-id/11/d72f7f679421bf6b22a170895a3ca04da63022	120777	root:root	../../../../bin/mifare-tool
+/usr/lib/debug/.build-id/11/d72f7f679421bf6b22a170895a3ca04da63022.debug	120777	root:root	../../usr/bin/mifare-tool.debug
+/usr/lib/debug/.build-id/3e	40755	root:root	
+/usr/lib/debug/.build-id/3e/e46f0db369faf7593b368f846e7404edc0c1db	120777	root:root	../../../../bin/librfid-tool
+/usr/lib/debug/.build-id/3e/e46f0db369faf7593b368f846e7404edc0c1db.debug	120777	root:root	../../usr/bin/librfid-tool.debug
+/usr/lib/debug/.build-id/a3	40755	root:root	
+/usr/lib/debug/.build-id/a3/951bbdd1957c7c4633ee0f7c5d9252571e136c	120777	root:root	../../../librfid.so.0.0.0
+/usr/lib/debug/.build-id/a3/951bbdd1957c7c4633ee0f7c5d9252571e136c.debug	120777	root:root	../../usr/lib/librfid.so.0.0.0.debug
+/usr/lib/debug/.build-id/d8	40755	root:root	
+/usr/lib/debug/.build-id/d8/287fe3c60bb0fb124a79b58c3c89d473f86344	120777	root:root	../../../../bin/librfid-send_script
+/usr/lib/debug/.build-id/d8/287fe3c60bb0fb124a79b58c3c89d473f86344.debug	120777	root:root	../../usr/bin/librfid-send_script.debug
 /usr/lib/debug/usr/bin/librfid-send_script.debug	100644	root:root	
@@ -72,18 +72,18 @@
 Provides: librfid-debuginfo = 0.2.0-alt3_22:sisyphus+263984.100.1.1
-File: /usr/lib/debug/.build-id/4d	40755	root:root		
-File: /usr/lib/debug/.build-id/4d/63d37c5db524a1a255c71f13b833ac2052ecd1	120777	root:root		../../../../bin/librfid-tool
-File: /usr/lib/debug/.build-id/4d/63d37c5db524a1a255c71f13b833ac2052ecd1.debug	120777	root:root		../../usr/bin/librfid-tool.debug
-File: /usr/lib/debug/.build-id/dc	40755	root:root		
-File: /usr/lib/debug/.build-id/dc/dbab30c94c912e677485b71d5a697eabbb6849	120777	root:root		../../../librfid.so.0.0.0
-File: /usr/lib/debug/.build-id/dc/dbab30c94c912e677485b71d5a697eabbb6849.debug	120777	root:root		../../usr/lib/librfid.so.0.0.0.debug
-File: /usr/lib/debug/.build-id/eb	40755	root:root		
-File: /usr/lib/debug/.build-id/eb/ebc8a98bb0ae832251c605d63b1b01deb6d5dd	120777	root:root		../../../../bin/librfid-send_script
-File: /usr/lib/debug/.build-id/eb/ebc8a98bb0ae832251c605d63b1b01deb6d5dd.debug	120777	root:root		../../usr/bin/librfid-send_script.debug
-File: /usr/lib/debug/.build-id/fb	40755	root:root		
-File: /usr/lib/debug/.build-id/fb/ecdd9066f2fa1b33f4cb0fd80a581b9cf44321	120777	root:root		../../../../bin/mifare-tool
-File: /usr/lib/debug/.build-id/fb/ecdd9066f2fa1b33f4cb0fd80a581b9cf44321.debug	120777	root:root		../../usr/bin/mifare-tool.debug
-File: /usr/lib/debug/usr/bin/librfid-send_script.debug	100644	root:root	b6767cd9adbf26d4cfe96ce82666ff49	
-File: /usr/lib/debug/usr/bin/librfid-tool.debug	100644	root:root	621c67034b43da5aa629a25ca466d492	
-File: /usr/lib/debug/usr/bin/mifare-tool.debug	100644	root:root	6fb350aa0bab64b9908c7b6599f77ac7	
-File: /usr/lib/debug/usr/lib/librfid.so.0.0.0.debug	100644	root:root	188fb0bfdaa9f4fd67541876084d12ae	
+File: /usr/lib/debug/.build-id/11	40755	root:root		
+File: /usr/lib/debug/.build-id/11/d72f7f679421bf6b22a170895a3ca04da63022	120777	root:root		../../../../bin/mifare-tool
+File: /usr/lib/debug/.build-id/11/d72f7f679421bf6b22a170895a3ca04da63022.debug	120777	root:root		../../usr/bin/mifare-tool.debug
+File: /usr/lib/debug/.build-id/3e	40755	root:root		
+File: /usr/lib/debug/.build-id/3e/e46f0db369faf7593b368f846e7404edc0c1db	120777	root:root		../../../../bin/librfid-tool
+File: /usr/lib/debug/.build-id/3e/e46f0db369faf7593b368f846e7404edc0c1db.debug	120777	root:root		../../usr/bin/librfid-tool.debug
+File: /usr/lib/debug/.build-id/a3	40755	root:root		
+File: /usr/lib/debug/.build-id/a3/951bbdd1957c7c4633ee0f7c5d9252571e136c	120777	root:root		../../../librfid.so.0.0.0
+File: /usr/lib/debug/.build-id/a3/951bbdd1957c7c4633ee0f7c5d9252571e136c.debug	120777	root:root		../../usr/lib/librfid.so.0.0.0.debug
+File: /usr/lib/debug/.build-id/d8	40755	root:root		
+File: /usr/lib/debug/.build-id/d8/287fe3c60bb0fb124a79b58c3c89d473f86344	120777	root:root		../../../../bin/librfid-send_script
+File: /usr/lib/debug/.build-id/d8/287fe3c60bb0fb124a79b58c3c89d473f86344.debug	120777	root:root		../../usr/bin/librfid-send_script.debug
+File: /usr/lib/debug/usr/bin/librfid-send_script.debug	100644	root:root	3058a183e1dca1d89f5dd6f0506832fa	
+File: /usr/lib/debug/usr/bin/librfid-tool.debug	100644	root:root	32fcbe6ad598bd7633fea4c7fd2c19f3	
+File: /usr/lib/debug/usr/bin/mifare-tool.debug	100644	root:root	0bee175df5fa24c36619455568a69d32	
+File: /usr/lib/debug/usr/lib/librfid.so.0.0.0.debug	100644	root:root	cfcf16d5fc631bc9c595ed860600ca5b	
 File: /usr/lib/debug/usr/lib/librfid.so.0.debug	120777	root:root		librfid.so.0.0.0.debug
@@ -137,2 +137,2 @@
 File: /usr/src/debug/librfid-0.2.0/utils/send_script.c	100644	root:root	50aac14d7ed050a2ca2c871cbe03e1a4	
-RPMIdentity: 53fc00424e61875170838fa261188e7603f8b66be5de04dc91387174b6ffec59bf1f0760051d481d639a1a67a332170e9fd34c9c35930d4b360f4e09e403641d
+RPMIdentity: 6936f6370412a48be60d030d5dbbfe00a8d3d2556d3ae48e5cc3f2f51b6573bb9c89f8a5f0412ba09c7548f4379a7e1532e284b195284c3b91f56763b133c1bb