<86>Mar  1 09:11:28 userdel[1475058]: delete user 'rooter'
<86>Mar  1 09:11:28 groupadd[1475106]: group added to /etc/group: name=rooter, GID=687
<86>Mar  1 09:11:28 groupadd[1475106]: group added to /etc/gshadow: name=rooter
<86>Mar  1 09:11:28 groupadd[1475106]: new group: name=rooter, GID=687
<86>Mar  1 09:11:28 useradd[1475110]: new user: name=rooter, UID=687, GID=687, home=/root, shell=/bin/bash
<86>Mar  1 09:11:28 userdel[1475121]: delete user 'builder'
<86>Mar  1 09:11:28 userdel[1475121]: removed group 'builder' owned by 'builder'
<86>Mar  1 09:11:28 userdel[1475121]: removed shadow group 'builder' owned by 'builder'
<86>Mar  1 09:11:28 groupadd[1475132]: group added to /etc/group: name=builder, GID=688
<86>Mar  1 09:11:28 groupadd[1475132]: group added to /etc/gshadow: name=builder
<86>Mar  1 09:11:28 groupadd[1475132]: new group: name=builder, GID=688
<86>Mar  1 09:11:28 useradd[1475138]: new user: name=builder, UID=688, GID=688, home=/usr/src, shell=/bin/bash
<13>Mar  1 09:11:32 rpmi: libusb-1.0.22-alt1 1525452055 installed
<13>Mar  1 09:11:32 rpmi: libusb-compat-0.1.5-alt1 1404810477 installed
<13>Mar  1 09:11:32 rpmi: libusb-compat-devel-0.1.5-alt1 1404810477 installed
<13>Mar  1 09:11:32 rpmi: chrpath-0.16-alt1 1453066316 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/librfid-0.2.0-alt3_15.nosrc.rpm
Installing librfid-0.2.0-alt3_15.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.97092
+ 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.97092
+ 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 -march=i586 -mtune=generic -fPIC -DPIC'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC'
+ export FFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -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++... no
checking for i586-alt-linux-c++... no
checking for i586-alt-linux-gpp... no
checking for i586-alt-linux-aCC... no
checking for i586-alt-linux-CC... no
checking for i586-alt-linux-cxx... no
checking for i586-alt-linux-cc++... no
checking for i586-alt-linux-cl.exe... no
checking for i586-alt-linux-FCC... no
checking for i586-alt-linux-KCC... no
checking for i586-alt-linux-RCC... no
checking for i586-alt-linux-xlC_r... no
checking for i586-alt-linux-xlC... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
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... ok
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
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 -j8
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 -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_layer2.lo rfid_layer2.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 -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:4: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  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 -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 -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 -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_layer2_iso14443b.lo rfid_layer2_iso14443b.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 -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]
 out_attrib:
 ^~~~~~~~~~
rfid_layer2_iso14443b.c: In function 'iso14443b_setopt':
rfid_layer2_iso14443b.c:380:2: warning: label 'defaukt' defined but not used [-Wunused-label]
  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 -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 -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 -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 -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:18: warning: unused variable 'optchar' [-Wunused-variable]
   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 -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 -march=i586 -mtune=generic -fPIC -DPIC -c rfid.c  -fPIC -DPIC -o .libs/rfid.o
rfid.c: In function 'rfid_hexdump':
rfid.c:41:18: warning: variable 'left' set but not used [-Wunused-but-set-variable]
  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 -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 -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 -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 -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:8: warning: unused variable 'aqptr' [-Wunused-variable]
  char *aqptr = (char *) atqa;
        ^~~~~
rfid_layer2_iso14443a.c:123:15: warning: variable 'uid_size' set but not used [-Wunused-but-set-variable]
  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 -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 -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:41: warning: passing argument 2 of 'iso15693_transceive_acf' from incompatible pointer type [-Wincompatible-pointer-types]
   ret = iso15693_transceive_acf(handle, (u_int8_t *) &acf, tx_len, &resp, &rx_len, &boc);
                                         ^~~~~~~~~~~~~~~~~
rfid_layer2_iso15693.c:78:39: note: expected 'const struct iso15693_anticol_cmd *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'}
    const struct iso15693_anticol_cmd *acf,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
rfid_layer2_iso15693.c:211:75: warning: pointer targets in passing argument 5 of 'iso15693_transceive_acf' differ in signedness [-Wpointer-sign]
   ret = iso15693_transceive_acf(handle, (u_int8_t *) &acf, tx_len, &resp, &rx_len, &boc);
                                                                           ^~~~~~~
rfid_layer2_iso15693.c:77:1: note: expected 'unsigned int *' but argument is of type 'int *'
 iso15693_transceive_acf(struct rfid_layer2_handle *handle,
 ^~~~~~~~~~~~~~~~~~~~~~~
At top level:
rfid_layer2_iso15693.c:439:12: warning: 'transceive_inventory' defined but not used [-Wunused-function]
 static int transceive_inventory(struct rfid_layer2_handle *l2h)
            ^~~~~~~~~~~~~~~~~~~~
rfid_layer2_iso15693.c:257:1: warning: 'iso15693_select' defined but not used [-Wunused-function]
 iso15693_select(struct rfid_layer2_handle *handle)
 ^~~~~~~~~~~~~~~
rfid_layer2_iso15693.c: In function 'iso15693_setopt':
rfid_layer2_iso15693.c:350:15: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
  unsigned int val;
               ^~~
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 -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 -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 -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 -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:6: warning: unused variable 'ret' [-Wunused-variable]
  int ret;
      ^~~
rfid_proto_tagit.c:61:16: warning: unused variable 'tx' [-Wunused-variable]
  unsigned char tx[2];
                ^~
rfid_proto_tagit.c:60:15: warning: unused variable 'real_rx_len' [-Wunused-variable]
  unsigned int real_rx_len = sizeof(rx_buf);
               ^~~~~~~~~~~
rfid_proto_tagit.c: In function 'tagit_write':
rfid_proto_tagit.c:76:6: warning: unused variable 'ret' [-Wunused-variable]
  int ret;
      ^~~
rfid_proto_tagit.c:75:15: warning: unused variable 'rx_len' [-Wunused-variable]
  unsigned int rx_len = sizeof(rx);
               ^~~~~~
rfid_proto_tagit.c:73:16: warning: unused variable 'tx' [-Wunused-variable]
  unsigned char tx[6];
                ^~
rfid_proto_tagit.c:72:15: warning: unused variable 'i' [-Wunused-variable]
  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 -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 -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:6: warning: unused variable 'ret' [-Wunused-variable]
  int ret;
      ^~~
rfid_proto_icode.c:40:16: warning: unused variable 'tx' [-Wunused-variable]
  unsigned char tx[2];
                ^~
rfid_proto_icode.c:39:15: warning: unused variable 'real_rx_len' [-Wunused-variable]
  unsigned int real_rx_len = sizeof(rx_buf);
               ^~~~~~~~~~~
rfid_proto_icode.c: In function 'icode_write':
rfid_proto_icode.c:55:6: warning: unused variable 'ret' [-Wunused-variable]
  int ret;
      ^~~
rfid_proto_icode.c:54:15: warning: unused variable 'rx_len' [-Wunused-variable]
  unsigned int rx_len = sizeof(rx);
               ^~~~~~
rfid_proto_icode.c:52:16: warning: unused variable 'tx' [-Wunused-variable]
  unsigned char tx[6];
                ^~
rfid_proto_icode.c:51:15: warning: unused variable 'i' [-Wunused-variable]
  unsigned int i;
               ^
rfid_proto_icode.c: In function 'icode_init':
rfid_proto_icode.c:92:12: warning: pointer targets in passing argument 4 of 'rfid_layer2_getopt' differ in signedness [-Wpointer-sign]
       uid, &uid_len);
            ^~~~~~~~
In file included from ../include/librfid/rfid_protocol.h:4,
                 from rfid_proto_icode.c:29:
../include/librfid/rfid_layer2.h:35:5: note: expected 'unsigned int *' but argument is of type 'int *'
 int rfid_layer2_getopt(struct rfid_layer2_handle *l2h, int optname,
     ^~~~~~~~~~~~~~~~~~
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 -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 -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 -march=i586 -mtune=generic -fPIC -DPIC -c -o rfid_proto_mifare_ul.lo rfid_proto_mifare_ul.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 -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 -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 -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 -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 -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:6: warning: unused variable 'ret' [-Wunused-variable]
  int ret;
      ^~~
rfid_reader_openpcd.c: In function 'openpcd_getopt':
rfid_reader_openpcd.c:358:6: warning: unused variable 'rc' [-Wunused-variable]
  int rc;
      ^~
rfid_reader_openpcd.c: In function 'openpcd_close':
rfid_reader_openpcd.c:447:37: warning: unused variable 'rath' [-Wunused-variable]
  struct rfid_asic_transport_handle *rath = rh->ah->rath;
                                     ^~~~
At top level:
rfid_reader_openpcd.c:279:12: warning: 'openpcd_set_environment' defined but not used [-Wunused-function]
 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]
 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=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 -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 -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:16: warning: unused variable 'prlg_len' [-Wunused-variable]
   unsigned int prlg_len;
                ^~~~~~~~
rfid_proto_tcl.c:618:15: warning: variable 'ack_len' set but not used [-Wunused-but-set-variable]
  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]
 }
 ^
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 -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 -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=]
 #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args)
                                             ^~~~~~~~~~~~~
rfid_asic_rc632.c:234:2: note: in expansion of macro 'DEBUGP'
  DEBUGP("timeout %u usec, prescaler = %u, divisor = %u\n",
  ^~~~~~
rfid_asic_rc632.c:234:19: note: format string is defined here
  DEBUGP("timeout %u usec, prescaler = %u, divisor = %u\n",
                  ~^
                  %llu
In file included from rfid_asic_rc632.c:31:
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=]
 #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args)
                                             ^~~~~~~~~~~~~
../include/librfid/rfid_asic_rc632.h:116:4: note: in expansion of macro 'DEBUGP'
    DEBUGP("status_flag: 0x%0.2x",foo); \
    ^~~~~~
rfid_asic_rc632.c:275:3: note: in expansion of macro 'DEBUGP_STATUS_FLAG'
   DEBUGP_STATUS_FLAG(stat);
   ^~~~~~~~~~~~~~~~~~
../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=]
 #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'
 #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \
                                      ^~~~~~
rfid_asic_rc632.c:279:4: note: in expansion of macro 'DEBUGP_ERROR_FLAG'
    DEBUGP_ERROR_FLAG(err);
    ^~~~~~~~~~~~~~~~~
../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=]
 #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'
                 DEBUGP("interrupt_flag: 0x%0.2x",foo); \
                 ^~~~~~
rfid_asic_rc632.c:290:4: note: in expansion of macro 'DEBUGP_INTERRUPT_FLAG'
    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=]
 #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args)
                                             ^~~~~~~~~~~~~
../include/librfid/rfid_asic_rc632.h:116:4: note: in expansion of macro 'DEBUGP'
    DEBUGP("status_flag: 0x%0.2x",foo); \
    ^~~~~~
rfid_asic_rc632.c:329:4: note: in expansion of macro 'DEBUGP_STATUS_FLAG'
    DEBUGP_STATUS_FLAG(foo);
    ^~~~~~~~~~~~~~~~~~
../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=]
 #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'
 #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \
                                      ^~~~~~
rfid_asic_rc632.c:333:5: note: in expansion of macro 'DEBUGP_ERROR_FLAG'
     DEBUGP_ERROR_FLAG(foo);
     ^~~~~~~~~~~~~~~~~
../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=]
 #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'
                 DEBUGP("interrupt_flag: 0x%0.2x",foo); \
                 ^~~~~~
rfid_asic_rc632.c:338:5: note: in expansion of macro 'DEBUGP_INTERRUPT_FLAG'
     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=]
 #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args)
                                             ^~~~~~~~~~~~~
rfid_asic_rc632.c:371:2: note: in expansion of macro 'DEBUGP'
  DEBUGP("timeout=%u, tx_len=%u\n", timeout, len);
  ^~~~~~
rfid_asic_rc632.c:371:19: note: format string is defined here
  DEBUGP("timeout=%u, tx_len=%u\n", timeout, len);
                  ~^
                  %llu
In file included from rfid_asic_rc632.c:31:
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=]
 #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args)
                                             ^~~~~~~~~~~~~
rfid_asic_rc632.c:424:2: note: in expansion of macro 'DEBUGP'
  DEBUGP("timeout=%u, rx_len=%u, tx_len=%u\n", timer, *rx_len, tx_len);
  ^~~~~~
rfid_asic_rc632.c:424:19: note: format string is defined here
  DEBUGP("timeout=%u, rx_len=%u, tx_len=%u\n", timer, *rx_len, tx_len);
                  ~^
                  %llu
In file included from rfid_asic_rc632.c:31:
../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=]
 #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args)
                                             ^~~~~~~~~~~~~
../include/librfid/rfid_asic_rc632.h:116:4: note: in expansion of macro 'DEBUGP'
    DEBUGP("status_flag: 0x%0.2x",foo); \
    ^~~~~~
rfid_asic_rc632.c:439:2: note: in expansion of macro 'DEBUGP_STATUS_FLAG'
  DEBUGP_STATUS_FLAG(tmp);
  ^~~~~~~~~~~~~~~~~~
../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=]
 #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args)
                                             ^~~~~~~~~~~~~
../include/librfid/rfid_asic_rc632.h:116:4: note: in expansion of macro 'DEBUGP'
    DEBUGP("status_flag: 0x%0.2x",foo); \
    ^~~~~~
rfid_asic_rc632.c:441:2: note: in expansion of macro 'DEBUGP_STATUS_FLAG'
  DEBUGP_STATUS_FLAG(tmp);
  ^~~~~~~~~~~~~~~~~~
../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=]
 #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args)
                                             ^~~~~~~~~~~~~
../include/librfid/rfid_asic_rc632.h:116:4: note: in expansion of macro 'DEBUGP'
    DEBUGP("status_flag: 0x%0.2x",foo); \
    ^~~~~~
rfid_asic_rc632.c:443:2: note: in expansion of macro 'DEBUGP_STATUS_FLAG'
  DEBUGP_STATUS_FLAG(tmp);
  ^~~~~~~~~~~~~~~~~~
../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=]
 #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'
 #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \
                                      ^~~~~~
rfid_asic_rc632.c:445:2: note: in expansion of macro 'DEBUGP_ERROR_FLAG'
  DEBUGP_ERROR_FLAG(tmp);
  ^~~~~~~~~~~~~~~~~
../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=]
 #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args)
                                             ^~~~~~~~~~~~~
../include/librfid/rfid_asic_rc632.h:116:4: note: in expansion of macro 'DEBUGP'
    DEBUGP("status_flag: 0x%0.2x",foo); \
    ^~~~~~
rfid_asic_rc632.c:504:4: note: in expansion of macro 'DEBUGP_STATUS_FLAG'
    DEBUGP_STATUS_FLAG(tmp);
    ^~~~~~~~~~~~~~~~~~
../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=]
 #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'
 #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \
                                      ^~~~~~
rfid_asic_rc632.c:506:4: note: in expansion of macro 'DEBUGP_ERROR_FLAG'
    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=]
 #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args)
                                             ^~~~~~~~~~~~~
rfid_asic_rc632.c:528:2: note: in expansion of macro 'DEBUGP'
  DEBUGP("timeout=%u, rx_len=%u\n", timer, *rx_len);
  ^~~~~~
rfid_asic_rc632.c:528:19: note: format string is defined here
  DEBUGP("timeout=%u, rx_len=%u\n", timer, *rx_len);
                  ~^
                  %llu
In file included from rfid_asic_rc632.c:31:
../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=]
 #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args)
                                             ^~~~~~~~~~~~~
../include/librfid/rfid_asic_rc632.h:116:4: note: in expansion of macro 'DEBUGP'
    DEBUGP("status_flag: 0x%0.2x",foo); \
    ^~~~~~
rfid_asic_rc632.c:570:4: note: in expansion of macro 'DEBUGP_STATUS_FLAG'
    DEBUGP_STATUS_FLAG(tmp);
    ^~~~~~~~~~~~~~~~~~
../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=]
 #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'
 #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \
                                      ^~~~~~
rfid_asic_rc632.c:572:4: note: in expansion of macro 'DEBUGP_ERROR_FLAG'
    DEBUGP_ERROR_FLAG(tmp);
    ^~~~~~~~~~~~~~~~~
rfid_asic_rc632.c:525:11: warning: unused variable 'cur_tx_len' [-Wunused-variable]
  int ret, cur_tx_len, i;
           ^~~~~~~~~~
rfid_asic_rc632.c: In function 'rc632_calc_crc16_from':
rfid_asic_rc632.c:645:2: warning: "/*" within comment [-Wcomment]
  /* FIXME: what to do with crc result? */
   
rfid_asic_rc632.c:616:28: warning: unused variable 'crc_msb' [-Wunused-variable]
  u_int8_t crc_lsb = 0x00 , crc_msb = 0x00;
                            ^~~~~~~
rfid_asic_rc632.c:616:11: warning: unused variable 'crc_lsb' [-Wunused-variable]
  u_int8_t crc_lsb = 0x00 , crc_msb = 0x00;
           ^~~~~~~
rfid_asic_rc632.c: In function 'rc632_iso14443a_set_speed':
rfid_asic_rc632.c:1154:11: warning: unused variable 'reg' [-Wunused-variable]
  u_int8_t reg;
           ^~~
rfid_asic_rc632.c: In function 'rc632_iso15693_transceive_ac':
rfid_asic_rc632.c:1696:30: warning: passing argument 5 of 'rc632_transceive' from incompatible pointer type [-Wincompatible-pointer-types]
           (u_int8_t *) resp, rx_len,
                              ^~~~~~
rfid_asic_rc632.c:416:14: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'unsigned int *'
    u_int8_t *rx_len,
    ~~~~~~~~~~^~~~~~
In file included from rfid_asic_rc632.c:31:
../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=]
 #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'
 #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \
                                      ^~~~~~
rfid_asic_rc632.c:1705:2: note: in expansion of macro 'DEBUGP_ERROR_FLAG'
  DEBUGP_ERROR_FLAG(error_flag);
  ^~~~~~~~~~~~~~~~~
rfid_asic_rc632.c:1687:19: warning: unused variable 'mask_len_bytes' [-Wunused-variable]
  int ret, tx_len, mask_len_bytes;
                   ^~~~~~~~~~~~~~
rfid_asic_rc632.c:1687:11: warning: unused variable 'tx_len' [-Wunused-variable]
  int ret, tx_len, mask_len_bytes;
           ^~~~~~
At top level:
rfid_asic_rc632.c:1972:1: warning: 'rc632_mifare_transceive' defined but not used [-Wunused-function]
 rc632_mifare_transceive(struct rfid_asic_handle *handle,
 ^~~~~~~~~~~~~~~~~~~~~~~
rfid_asic_rc632.c:1667:13: warning: 'uuid_reversecpy' defined but not used [-Wunused-function]
 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]
 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]
 static struct register_file icode1_fast_patch[] = {
                             ^~~~~~~~~~~~~~~~~
rfid_asic_rc632.c:859:1: warning: 'rc632_iso14443a_fini' defined but not used [-Wunused-function]
 rc632_iso14443a_fini(struct iso14443a_handle *handle_14443)
 ^~~~~~~~~~~~~~~~~~~~
rfid_asic_rc632.c:673:1: warning: 'generic_fifo_read' defined but not used [-Wunused-function]
 generic_fifo_read()
 ^~~~~~~~~~~~~~~~~
rfid_asic_rc632.c:666:1: warning: 'generic_fifo_write' defined but not used [-Wunused-function]
 generic_fifo_write()
 ^~~~~~~~~~~~~~~~~~
rfid_asic_rc632.c:613:1: warning: 'rc632_calc_crc16_from' defined but not used [-Wunused-function]
 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]
 rc632_read_eeprom(struct rfid_asic_handle *handle)
 ^~~~~~~~~~~~~~~~~
rfid_asic_rc632.c:520:1: warning: 'rc632_receive' defined but not used [-Wunused-function]
 rc632_receive(struct rfid_asic_handle *handle,
 ^~~~~~~~~~~~~
rfid_asic_rc632.c:363:1: warning: 'rc632_transmit' defined but not used [-Wunused-function]
 rc632_transmit(struct rfid_asic_handle *handle,
 ^~~~~~~~~~~~~~
In file included from rfid_asic_rc632.c:31:
rfid_asic_rc632.c: In function 'rc632_timer_set':
../include/librfid/rfid.h:35:29: warning: 'best_divisor' may be used uninitialized in this function [-Wmaybe-uninitialized]
 #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args)
                             ^~~~~~~
rfid_asic_rc632.c:202:27: note: 'best_divisor' was declared here
  u_int8_t best_prescaler, best_divisor, 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=link i586-alt-linux-gcc -std=gnu99  -DHAVE_LIBUSB  -D__LIBRFID__  -DLIBRFID_STATIC -DENABLE_OPENPCD    -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:18: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration
           struct iso15693_anticol_resp *resp,
                  ^~~~~~~~~~~~~~~~~~~~~
In file included from ../include/librfid/rfid_scan.h:4,
                 from librfid-tool.c:33:
../include/librfid/rfid_reader.h:68:17: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration
          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]
 #define MIFARE_CL_KEYA_DEFAULT_INFINEON "\xff\xff\xff\xff\xff\xff"
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
librfid-tool.c:272:25: note: in expansion of macro 'MIFARE_CL_KEYA_DEFAULT_INFINEON'
   rc = mfcl_set_key(ph, MIFARE_CL_KEYA_DEFAULT_INFINEON);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/librfid/rfid_protocol_mifare_classic.h:43:12: note: expected 'unsigned char *' but argument is of type 'char *'
 extern int mfcl_set_key(struct rfid_protocol_handle *ph, unsigned char *key);
            ^~~~~~~~~~~~
librfid-tool.c: In function 'do_regdump':
librfid-tool.c:418:2: warning: implicit declaration of function 'rc632_register_dump' [-Wimplicit-function-declaration]
  rc632_register_dump(rh->ah, buffer);
  ^~~~~~~~~~~~~~~~~~~
librfid-tool.c: In function 'main':
librfid-tool.c:726:29: warning: pointer targets in passing argument 1 of 'iso7816_read_binary' differ in signedness [-Wpointer-sign]
    rc = iso7816_read_binary(buf, &len);
                             ^~~
librfid-tool.c:130:1: note: expected 'unsigned char *' but argument is of type 'char *'
 iso7816_read_binary(unsigned char *buf, unsigned int *len)
 ^~~~~~~~~~~~~~~~~~~
librfid-tool.c:726:34: warning: pointer targets in passing argument 2 of 'iso7816_read_binary' differ in signedness [-Wpointer-sign]
    rc = iso7816_read_binary(buf, &len);
                                  ^~~~
librfid-tool.c:130:1: note: expected 'unsigned int *' but argument is of type 'int *'
 iso7816_read_binary(unsigned char *buf, unsigned int *len)
 ^~~~~~~~~~~~~~~~~~~
librfid-tool.c:584:6: warning: unused variable 'i' [-Wunused-variable]
  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]
 }
 ^
At top level:
librfid-tool.c:522:1: warning: 'merge_options' defined but not used [-Wunused-function]
 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'
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 -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:18: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration
           struct iso15693_anticol_resp *resp,
                  ^~~~~~~~~~~~~~~~~~~~~
In file included from ../include/librfid/rfid_scan.h:4,
                 from common.c:12:
../include/librfid/rfid_reader.h:68:17: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration
          struct iso15693_anticol_resp *resp,
                 ^~~~~~~~~~~~~~~~~~~~~
common.c: In function 'hexdump':
common.c:28:18: warning: variable 'left' set but not used [-Wunused-but-set-variable]
  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 -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:18: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration
           struct iso15693_anticol_resp *resp,
                  ^~~~~~~~~~~~~~~~~~~~~
In file included from send_script.c:27:
../include/librfid/rfid_reader.h:68:17: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration
          struct iso15693_anticol_resp *resp,
                 ^~~~~~~~~~~~~~~~~~~~~
send_script.c: In function 'hexdump':
send_script.c:41:18: warning: variable 'left' set but not used [-Wunused-but-set-variable]
  unsigned int i, left, llen = len;
                  ^~~~
send_script.c: In function 'init':
send_script.c:72:16: warning: unused variable 'buf' [-Wunused-variable]
  unsigned char buf[0x3f];
                ^~~
send_script.c: In function 'send_command':
send_script.c:162:36: warning: pointer targets in passing argument 2 of 'rfid_protocol_transceive' differ in signedness [-Wpointer-sign]
  rv = rfid_protocol_transceive(ph, sbuf, slen, rbuf, &rlen, 0, 0);
                                    ^~~~
In file included from send_script.c:29:
../include/librfid/rfid_protocol.h:11:5: note: expected 'const unsigned char *' but argument is of type 'char *'
 int rfid_protocol_transceive(struct rfid_protocol_handle *ph,
     ^~~~~~~~~~~~~~~~~~~~~~~~
send_script.c:162:48: warning: pointer targets in passing argument 4 of 'rfid_protocol_transceive' differ in signedness [-Wpointer-sign]
  rv = rfid_protocol_transceive(ph, sbuf, slen, rbuf, &rlen, 0, 0);
                                                ^~~~
In file included from send_script.c:29:
../include/librfid/rfid_protocol.h:11:5: note: expected 'unsigned char *' but argument is of type 'char *'
 int rfid_protocol_transceive(struct rfid_protocol_handle *ph,
     ^~~~~~~~~~~~~~~~~~~~~~~~
send_script.c:162:54: warning: pointer targets in passing argument 5 of 'rfid_protocol_transceive' differ in signedness [-Wpointer-sign]
  rv = rfid_protocol_transceive(ph, sbuf, slen, rbuf, &rlen, 0, 0);
                                                      ^~~~~
In file included from send_script.c:29:
../include/librfid/rfid_protocol.h:11:5: note: expected 'unsigned int *' but argument is of type 'int *'
 int rfid_protocol_transceive(struct rfid_protocol_handle *ph,
     ^~~~~~~~~~~~~~~~~~~~~~~~
send_script.c: In function 'main':
send_script.c:271:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  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 -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:18: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration
           struct iso15693_anticol_resp *resp,
                  ^~~~~~~~~~~~~~~~~~~~~
In file included from ../include/librfid/rfid_scan.h:4,
                 from mifare-tool.c:33:
../include/librfid/rfid_reader.h:68:17: warning: 'struct iso15693_anticol_resp' declared inside parameter list will not be visible outside of this definition or declaration
          struct iso15693_anticol_resp *resp,
                 ^~~~~~~~~~~~~~~~~~~~~
mifare-tool.c: In function 'main':
mifare-tool.c:139:24: warning: pointer targets in passing argument 1 of 'mifare_cl_auth' differ in signedness [-Wpointer-sign]
     if (mifare_cl_auth(key, page) >= 0)
                        ^~~
mifare-tool.c:67:12: note: expected 'unsigned char *' but argument is of type 'char *'
 static int mifare_cl_auth(unsigned char *key, int page)
            ^~~~~~~~~~~~~~
mifare-tool.c:145:12: warning: pointer targets in passing argument 1 of 'hexread' differ in signedness [-Wpointer-sign]
    hexread(key, optarg, strlen(optarg));
            ^~~
In file included from mifare-tool.c:43:
librfid-tool.h:14:1: note: expected 'unsigned char *' but argument is of type 'char *'
 hexread(unsigned char *result, const unsigned char *in, unsigned int len);
 ^~~~~~~
mifare-tool.c:145:17: warning: pointer targets in passing argument 2 of 'hexread' differ in signedness [-Wpointer-sign]
    hexread(key, optarg, strlen(optarg));
                 ^~~~~~
In file included from mifare-tool.c:43:
librfid-tool.h:14:1: note: expected 'const unsigned char *' but argument is of type 'char *'
 hexread(unsigned char *result, const unsigned char *in, unsigned int len);
 ^~~~~~~
mifare-tool.c:154:23: warning: pointer targets in passing argument 1 of 'mifare_cl_auth' differ in signedness [-Wpointer-sign]
    if (mifare_cl_auth(key, page) < 0)
                       ^~~
mifare-tool.c:67:12: note: expected 'unsigned char *' but argument is of type 'char *'
 static int mifare_cl_auth(unsigned char *key, int page)
            ^~~~~~~~~~~~~~
mifare-tool.c:163:38: warning: pointer targets in passing argument 3 of 'rfid_protocol_read' differ in signedness [-Wpointer-sign]
    rc = rfid_protocol_read(ph, page, buf, &len);
                                      ^~~
In file included from ../include/librfid/rfid_scan.h:6,
                 from mifare-tool.c:33:
../include/librfid/rfid_protocol.h:16:1: note: expected 'unsigned char *' but argument is of type 'char *'
 rfid_protocol_read(struct rfid_protocol_handle *ph,
 ^~~~~~~~~~~~~~~~~~
mifare-tool.c:163:43: warning: pointer targets in passing argument 4 of 'rfid_protocol_read' differ in signedness [-Wpointer-sign]
    rc = rfid_protocol_read(ph, page, buf, &len);
                                           ^~~~
In file included from ../include/librfid/rfid_scan.h:6,
                 from mifare-tool.c:33:
../include/librfid/rfid_protocol.h:16:1: note: expected 'unsigned int *' but argument is of type 'int *'
 rfid_protocol_read(struct rfid_protocol_handle *ph,
 ^~~~~~~~~~~~~~~~~~
mifare-tool.c:171:13: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    if (page & 0x3 == 0x3) {
             ^
mifare-tool.c:176:30: warning: pointer targets in passing argument 2 of 'mfcl_parse_access' differ in signedness [-Wpointer-sign]
     mfcl_parse_access(&s, buf+6);
                           ~~~^~
In file included from mifare-tool.c:41:
../include/librfid/rfid_access_mifare_classic.h:10:5: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *'
 int mfcl_parse_access(struct mfcl_access_sect *ac, u_int8_t *encoded);
     ^~~~~~~~~~~~~~~~~
mifare-tool.c:175:14: warning: unused variable 'recreated' [-Wunused-variable]
     u_int8_t recreated[4];
              ^~~~~~~~~
mifare-tool.c:196:24: warning: pointer targets in passing argument 1 of 'mifare_cl_auth' differ in signedness [-Wpointer-sign]
     if (mifare_cl_auth(key, page) < 0)
                        ^~~
mifare-tool.c:67:12: note: expected 'unsigned char *' but argument is of type 'char *'
 static int mifare_cl_auth(unsigned char *key, int page)
            ^~~~~~~~~~~~~~
mifare-tool.c:205:39: warning: pointer targets in passing argument 3 of 'rfid_protocol_read' differ in signedness [-Wpointer-sign]
     rc = rfid_protocol_read(ph, page, buf, &len);
                                       ^~~
In file included from ../include/librfid/rfid_scan.h:6,
                 from mifare-tool.c:33:
../include/librfid/rfid_protocol.h:16:1: note: expected 'unsigned char *' but argument is of type 'char *'
 rfid_protocol_read(struct rfid_protocol_handle *ph,
 ^~~~~~~~~~~~~~~~~~
mifare-tool.c:205:44: warning: pointer targets in passing argument 4 of 'rfid_protocol_read' differ in signedness [-Wpointer-sign]
     rc = rfid_protocol_read(ph, page, buf, &len);
                                            ^~~~
In file included from ../include/librfid/rfid_scan.h:6,
                 from mifare-tool.c:33:
../include/librfid/rfid_protocol.h:16:1: note: expected 'unsigned int *' but argument is of type 'int *'
 rfid_protocol_read(struct rfid_protocol_handle *ph,
 ^~~~~~~~~~~~~~~~~~
mifare-tool.c:217:18: warning: pointer targets in passing argument 1 of 'hexread' differ in signedness [-Wpointer-sign]
    len = hexread(buf, argv[optind], len);
                  ^~~
In file included from mifare-tool.c:43:
librfid-tool.h:14:1: note: expected 'unsigned char *' but argument is of type 'char *'
 hexread(unsigned char *result, const unsigned char *in, unsigned int len);
 ^~~~~~~
mifare-tool.c:217:27: warning: pointer targets in passing argument 2 of 'hexread' differ in signedness [-Wpointer-sign]
    len = hexread(buf, argv[optind], len);
                       ~~~~^~~~~~~~
In file included from mifare-tool.c:43:
librfid-tool.h:14:1: note: expected 'const unsigned char *' but argument is of type 'char *'
 hexread(unsigned char *result, const unsigned char *in, unsigned int len);
 ^~~~~~~
mifare-tool.c:222:23: warning: pointer targets in passing argument 1 of 'mifare_cl_auth' differ in signedness [-Wpointer-sign]
    if (mifare_cl_auth(key, page) < 0)
                       ^~~
mifare-tool.c:67:12: note: expected 'unsigned char *' but argument is of type 'char *'
 static int mifare_cl_auth(unsigned char *key, int page)
            ^~~~~~~~~~~~~~
mifare-tool.c:224:39: warning: pointer targets in passing argument 3 of 'rfid_protocol_write' differ in signedness [-Wpointer-sign]
    rc = rfid_protocol_write(ph, page, buf, len);
                                       ^~~
In file included from ../include/librfid/rfid_scan.h:6,
                 from mifare-tool.c:33:
../include/librfid/rfid_protocol.h:22:1: note: expected 'unsigned char *' but argument is of type 'char *'
 rfid_protocol_write(struct rfid_protocol_handle *ph,
 ^~~~~~~~~~~~~~~~~~~
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 -march=i586 -mtune=generic -fPIC -DPIC -lusb  -o librfid-tool  librfid-tool.o common.o ../src/librfid.la 
mkdir .libs
i586-alt-linux-gcc -std=gnu99 -DHAVE_LIBUSB -pipe -frecord-gcc-switches -Wall -g -O2 -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]: 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 -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 -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 -march=i586 -mtune=generic -fPIC -DPIC -lusb  -o mifare-tool  mifare-tool.o common.o ../src/librfid.la 
i586-alt-linux-gcc -std=gnu99 -DHAVE_LIBUSB -pipe -frecord-gcc-switches -Wall -g -O2 -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]: Nothing to be done for 'all-am'.
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.30800
+ 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
+ cd librfid-0.2.0
+ make 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"
 /bin/install -c -m 644 'rfid.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid.h'
 /bin/install -c -m 644 'rfid_scan.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_scan.h'
 /bin/install -c -m 644 'rfid_asic.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_asic.h'
 /bin/install -c -m 644 'rfid_asic_rc632.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_asic_rc632.h'
 /bin/install -c -m 644 'rfid_layer2.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_layer2.h'
 /bin/install -c -m 644 'rfid_layer2_iso14443a.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_layer2_iso14443a.h'
 /bin/install -c -m 644 'rfid_layer2_iso14443b.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_layer2_iso14443b.h'
 /bin/install -c -m 644 'rfid_layer2_iso15693.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_layer2_iso15693.h'
 /bin/install -c -m 644 'rfid_layer2_icode1.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_layer2_icode1.h'
 /bin/install -c -m 644 'rfid_protocol.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_protocol.h'
 /bin/install -c -m 644 'rfid_protocol_tcl.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_protocol_tcl.h'
 /bin/install -c -m 644 'rfid_protocol_mifare_ul.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_protocol_mifare_ul.h'
 /bin/install -c -m 644 'rfid_protocol_mifare_classic.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_protocol_mifare_classic.h'
 /bin/install -c -m 644 'rfid_protocol_tagit.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_protocol_tagit.h'
 /bin/install -c -m 644 'rfid_protocol_icode.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_protocol_icode.h'
 /bin/install -c -m 644 'rfid_reader.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_reader.h'
 /bin/install -c -m 644 'rfid_system.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_system.h'
 /bin/install -c -m 644 'rfid_access_mifare_classic.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_access_mifare_classic.h'
 /bin/install -c -m 644 'rfid_reader_cm5121.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_reader_cm5121.h'
 /bin/install -c -m 644 'rfid_reader_spidev.h' '/usr/src/tmp/librfid-buildroot/usr/include/librfid/rfid_reader_spidev.h'
 /bin/install -c -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 /bin/install -c  'librfid.la' '/usr/src/tmp/librfid-buildroot/usr/lib/librfid.la'
/bin/install -c .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; }; })
/bin/install -c .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"
 /bin/install -c -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 /bin/install -c 'librfid-tool' '/usr/src/tmp/librfid-buildroot/usr/bin/librfid-tool'
libtool: install: warning: `../src/librfid.la' has not been installed in `/usr/lib'
/bin/install -c .libs/librfid-tool /usr/src/tmp/librfid-buildroot/usr/bin/librfid-tool
  /bin/sh ../libtool --mode=install /bin/install -c 'mifare-tool' '/usr/src/tmp/librfid-buildroot/usr/bin/mifare-tool'
libtool: install: warning: `../src/librfid.la' has not been installed in `/usr/lib'
/bin/install -c .libs/mifare-tool /usr/src/tmp/librfid-buildroot/usr/bin/mifare-tool
  /bin/sh ../libtool --mode=install /bin/install -c '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'
/bin/install -c .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"
 /bin/install -c -m 644 './librfid-tool.1' '/usr/src/tmp/librfid-buildroot/usr/share/man/man1/librfid-tool.1'
 /bin/install -c -m 644 './mifare-tool.1' '/usr/src/tmp/librfid-buildroot/usr/share/man/man1/mifare-tool.1'
 /bin/install -c -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' -exec rm -f '{}' ';'
++ 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
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`
+ 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`
+ 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`
+ 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`
+ 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`
+ 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)
/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:
	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
Hardlinking identical .pyc and .pyo files
Processing files: librfid-0.2.0-alt3_15
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.6543
+ 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 COPYING 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.VpULuC
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,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.JWukuy
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks)
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.3), libc.so.6(GLIBC_2.3.4), 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.I9svOF
Creating librfid-debuginfo package
Processing files: librfid-devel-0.2.0-alt3_15
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.7992
+ 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.y5IGsK
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kirP2d
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks)
Provides: pkgconfig(librfid) = 0.2.0
Requires: librfid = 0.2.0-alt3_15, /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.uadqQ5
Processing files: librfid-debuginfo-0.2.0-alt3_15
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GIkjtd
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tPwwnY
find-requires: running scripts (debuginfo)
Provides: debug(librfid.so.0)
Requires: librfid = 0.2.0-alt3_15, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libusb-0.1.so.4)
Removing 1 extra deps from librfid-devel due to dependency on librfid
Wrote: /usr/src/RPM/RPMS/i586/librfid-0.2.0-alt3_15.i586.rpm
Wrote: /usr/src/RPM/RPMS/i586/librfid-devel-0.2.0-alt3_15.i586.rpm
Wrote: /usr/src/RPM/RPMS/i586/librfid-debuginfo-0.2.0-alt3_15.i586.rpm
10.37user 2.64system 0:24.69elapsed 52%CPU (0avgtext+0avgdata 32708maxresident)k
0inputs+0outputs (0major+1344915minor)pagefaults 0swaps
14.08user 4.72system 0:34.61elapsed 54%CPU (0avgtext+0avgdata 115004maxresident)k
40inputs+0outputs (0major+1654604minor)pagefaults 0swaps