<86>Nov 6 07:29:07 userdel[11469]: delete user 'rooter' <86>Nov 6 07:29:07 userdel[11469]: removed group 'rooter' owned by 'rooter' <86>Nov 6 07:29:07 userdel[11469]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 6 07:29:07 groupadd[11496]: group added to /etc/group: name=rooter, GID=978 <86>Nov 6 07:29:07 groupadd[11496]: group added to /etc/gshadow: name=rooter <86>Nov 6 07:29:07 groupadd[11496]: new group: name=rooter, GID=978 <86>Nov 6 07:29:07 useradd[11515]: new user: name=rooter, UID=978, GID=978, home=/root, shell=/bin/bash <86>Nov 6 07:29:07 userdel[11561]: delete user 'builder' <86>Nov 6 07:29:07 userdel[11561]: removed group 'builder' owned by 'builder' <86>Nov 6 07:29:07 userdel[11561]: removed shadow group 'builder' owned by 'builder' <86>Nov 6 07:29:07 groupadd[11594]: group added to /etc/group: name=builder, GID=979 <86>Nov 6 07:29:07 groupadd[11594]: group added to /etc/gshadow: name=builder <86>Nov 6 07:29:07 groupadd[11594]: new group: name=builder, GID=979 <86>Nov 6 07:29:07 useradd[11617]: new user: name=builder, UID=979, GID=979, home=/usr/src, shell=/bin/bash <13>Nov 6 07:29:09 rpmi: libusb-1.0.22-alt1 1525452011 installed <13>Nov 6 07:29:09 rpmi: libusb-compat-0.1.5-alt1 1404810476 installed <13>Nov 6 07:29:09 rpmi: libusb-compat-devel-0.1.5-alt1 1404810476 installed <13>Nov 6 07:29:09 rpmi: chrpath-0.16-alt1 1453066315 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/librfid-0.2.0-alt3_15.nosrc.rpm (w1.gzdio) Installing librfid-0.2.0-alt3_15.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.33160 + 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.33160 + 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 -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + 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=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --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... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-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 x86_64-alt-linux-gcc... x86_64-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-gcc... none checking whether x86_64-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 x86_64-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... x86_64-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 x86_64-alt-linux-g++... no checking for x86_64-alt-linux-c++... no checking for x86_64-alt-linux-gpp... no checking for x86_64-alt-linux-aCC... no checking for x86_64-alt-linux-CC... no checking for x86_64-alt-linux-cxx... no checking for x86_64-alt-linux-cc++... no checking for x86_64-alt-linux-cl.exe... no checking for x86_64-alt-linux-FCC... no checking for x86_64-alt-linux-KCC... no checking for x86_64-alt-linux-RCC... no checking for x86_64-alt-linux-xlC_r... no checking for x86_64-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 x86_64-alt-linux-g77... no checking for x86_64-alt-linux-xlf... no checking for x86_64-alt-linux-f77... no checking for x86_64-alt-linux-frt... no checking for x86_64-alt-linux-pgf77... no checking for x86_64-alt-linux-cf77... no checking for x86_64-alt-linux-fort77... no checking for x86_64-alt-linux-fl32... no checking for x86_64-alt-linux-af77... no checking for x86_64-alt-linux-xlf90... no checking for x86_64-alt-linux-f90... no checking for x86_64-alt-linux-pgf90... no checking for x86_64-alt-linux-pghpf... no checking for x86_64-alt-linux-epcf90... no checking for x86_64-alt-linux-gfortran... no checking for x86_64-alt-linux-g95... no checking for x86_64-alt-linux-xlf95... no checking for x86_64-alt-linux-f95... no checking for x86_64-alt-linux-fort... no checking for x86_64-alt-linux-ifort... no checking for x86_64-alt-linux-ifc... no checking for x86_64-alt-linux-efc... no checking for x86_64-alt-linux-pgf95... no checking for x86_64-alt-linux-lf95... no checking for x86_64-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 x86_64-alt-linux-gcc object... ok checking for objdir... .libs checking for x86_64-alt-linux-ar... no checking for ar... ar checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for x86_64-alt-linux-strip... no checking for strip... strip checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool checking for build environment... UNIX checking whether byte ordering is bigendian... no checking for usb_close in -lusb... yes configure: creating ./config.status config.status: creating Makefile config.status: creating etc/Makefile config.status: creating etc/udev/Makefile config.status: creating src/Makefile config.status: creating include/Makefile config.status: creating include/librfid/Makefile config.status: creating utils/Makefile config.status: creating src/librfid.pc config.status: creating win32/Makefile config.status: executing depfiles commands + make -j16 Making all in etc Making all in udev make[2]: Nothing to be done for 'all'. make[2]: Nothing to be done for 'all-am'. Making all in include Making all in librfid make[2]: Nothing to be done for 'all'. make[2]: Nothing to be done for 'all-am'. Making all in src make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-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 -fPIC -DPIC -c -o rfid_iso14443_common.lo rfid_iso14443_common.c x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid_scan.lo rfid_scan.c x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid_proto_mifare_ul.lo rfid_proto_mifare_ul.c x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid_reader.lo rfid_reader.c x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid_layer2.lo rfid_layer2.c x86_64-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 -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]; ^ rfid_layer2.c: In function 'rfid_layer2_setopt': rfid_layer2.c:121:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("----> sizeof(ph->uid): %d\n",sizeof(ph->uid)); ~^ ~~~~~~~~~~~~~~~ %ld 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 x86_64-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 -fPIC -DPIC -c -o rfid_proto_mifare_classic.lo rfid_proto_mifare_classic.c x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid_layer2_iso14443a.lo rfid_layer2_iso14443a.c x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid_proto_icode.lo rfid_proto_icode.c x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid_protocol.lo rfid_protocol.c mkdir .libs x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid_layer2_iso15693.lo rfid_layer2_iso15693.c x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid.lo rfid.c x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid_layer2_iso14443b.lo rfid_layer2_iso14443b.c x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid_proto_tagit.lo rfid_proto_tagit.c x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid_reader_rc632_common.lo rfid_reader_rc632_common.c x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid_proto_tcl.lo rfid_proto_tcl.c x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid_access_mifare_classic.lo rfid_access_mifare_classic.c x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid_reader_openpcd.lo rfid_reader_openpcd.c x86_64-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 -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 x86_64-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 -fPIC -DPIC -c -o rfid_asic_rc632.lo rfid_asic_rc632.c x86_64-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 -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 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", ~^ %lu 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 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); ~^ %lu 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 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); ~^ %lu 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 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); ~^ %lu 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 x86_64-alt-linux-gcc -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -lusb -o librfid.la -rpath /usr/lib64 -Wc,-nostartfiles -version-info 0:0:0 rfid.lo rfid_layer2.lo rfid_protocol.lo rfid_reader.lo rfid_scan.lo rfid_layer2_iso14443a.lo rfid_layer2_iso14443b.lo rfid_iso14443_common.lo rfid_layer2_iso15693.lo rfid_proto_tcl.lo rfid_proto_mifare_ul.lo rfid_proto_mifare_classic.lo rfid_proto_icode.lo rfid_proto_tagit.lo rfid_asic_rc632.lo rfid_reader_rc632_common.lo rfid_access_mifare_classic.lo rfid_reader_openpcd.lo x86_64-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 -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' x86_64-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 -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' x86_64-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 -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' x86_64-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 -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' x86_64-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 -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' /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -std=gnu99 -DHAVE_LIBUSB -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -lusb -o mifare-tool mifare-tool.o common.o ../src/librfid.la mkdir .libs x86_64-alt-linux-gcc -std=gnu99 -DHAVE_LIBUSB -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -o .libs/mifare-tool mifare-tool.o common.o -lusb ../src/.libs/librfid.so -Wl,--rpath -Wl,/usr/lib64 creating mifare-tool make[1]: Leaving directory '/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 x86_64-alt-linux-gcc -std=gnu99 -DHAVE_LIBUSB -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -lusb -o librfid-send_script send_script.o ../src/librfid.la x86_64-alt-linux-gcc -std=gnu99 -DHAVE_LIBUSB -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -o .libs/librfid-send_script send_script.o -lusb ../src/.libs/librfid.so -Wl,--rpath -Wl,/usr/lib64 creating librfid-send_script make[1]: Leaving directory '/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 x86_64-alt-linux-gcc -std=gnu99 -DHAVE_LIBUSB -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -lusb -o librfid-tool librfid-tool.o common.o ../src/librfid.la x86_64-alt-linux-gcc -std=gnu99 -DHAVE_LIBUSB -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -o .libs/librfid-tool librfid-tool.o common.o -lusb ../src/.libs/librfid.so -Wl,--rpath -Wl,/usr/lib64 creating librfid-tool make[1]: Leaving directory '/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.85373 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/librfid-buildroot + : + /bin/rm -rf -- /usr/src/tmp/librfid-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd librfid-0.2.0 + make install 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/lib64" || mkdir -p -- "/usr/src/tmp/librfid-buildroot/usr/lib64" /bin/sh ../libtool --mode=install /bin/install -c 'librfid.la' '/usr/src/tmp/librfid-buildroot/usr/lib64/librfid.la' /bin/install -c .libs/librfid.so.0.0.0 /usr/src/tmp/librfid-buildroot/usr/lib64/librfid.so.0.0.0 (cd /usr/src/tmp/librfid-buildroot/usr/lib64 && { ln -s -f librfid.so.0.0.0 librfid.so.0 || { rm -f librfid.so.0 && ln -s librfid.so.0.0.0 librfid.so.0; }; }) (cd /usr/src/tmp/librfid-buildroot/usr/lib64 && { ln -s -f librfid.so.0.0.0 librfid.so || { rm -f librfid.so && ln -s librfid.so.0.0.0 librfid.so; }; }) /bin/install -c .libs/librfid.lai /usr/src/tmp/librfid-buildroot/usr/lib64/librfid.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' test -z "/usr/lib64/pkgconfig" || mkdir -p -- "/usr/src/tmp/librfid-buildroot/usr/lib64/pkgconfig" /bin/install -c -m 644 'librfid.pc' '/usr/src/tmp/librfid-buildroot/usr/lib64/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/lib64' /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/lib64' /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/lib64' /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/lib64 /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/lib': 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/lib64,/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/lib64,/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/lib64,/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/lib64,/usr/libexec,/usr/lib,/usr/sbin} -type f -perm -111` + chrpath -d /usr/src/tmp/librfid-buildroot/usr/lib64/librfid.so.0.0.0 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/librfid-buildroot (auto) mode of './usr/lib64/librfid.so.0.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/librfid-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/lib64/pkgconfig/librfid.pc: Cflags: '-I${sysincludedir} -I${includedir}' --> '-I${sysincludedir}' /usr/lib64/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/lib64: 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) Hardlinking identical .pyc and .pyo files Processing files: librfid-0.2.0-alt3_15 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.48901 + 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.tP0LXb find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) lib.prov: /usr/src/tmp/librfid-buildroot/usr/lib64/librfid.so.0: 80 symbols, 17 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9DUiWS find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: librfid.so.0()(64bit) = set:kdQxyj35083QMlaZ4YypBKMVZ09lx8pb9lcXsB9BN569KEZKT4jZ5rO317G0Tj7SotIpKDGexYbHC2YE80VqsGI9a0y1eLsUZaA89I2IJU4RAdPu8JmvFJflSfzTE1Jx1bMmIPhZ2hljX1USq2x8vcc1znufCBl05Z9xMf Requires: /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libusb-0.1.so.4()(64bit) >= 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.tVyiwD Creating librfid-debuginfo package Processing files: librfid-devel-0.2.0-alt3_15 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.10630 + 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.f9inrs 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.t3qrMk find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: pkgconfig(librfid) = 0.2.0 Requires: librfid = 0.2.0-alt3_15, /usr/lib64/librfid.so.0.0.0, /usr/lib64/pkgconfig Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dM3yxg 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.dNXAMf find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.J6thsi find-requires: running scripts (debuginfo) Provides: debug64(librfid.so.0) Requires: librfid = 0.2.0-alt3_15, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libusb-0.1.so.4) Removing 1 extra deps from librfid-devel due to dependency on librfid Wrote: /usr/src/RPM/RPMS/x86_64/librfid-0.2.0-alt3_15.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/librfid-devel-0.2.0-alt3_15.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/librfid-debuginfo-0.2.0-alt3_15.x86_64.rpm (w2.lzdio) 6.02user 4.30system 0:14.70elapsed 70%CPU (0avgtext+0avgdata 39716maxresident)k 0inputs+0outputs (0major+1568971minor)pagefaults 0swaps 1.76user 1.02system 0:19.09elapsed 14%CPU (0avgtext+0avgdata 120524maxresident)k 0inputs+0outputs (34446major+153893minor)pagefaults 0swaps --- librfid-0.2.0-alt3_15.x86_64.rpm.repo 2017-09-30 02:41:21.000000000 +0000 +++ librfid-0.2.0-alt3_15.x86_64.rpm.hasher 2022-11-06 07:29:25.483369466 +0000 @@ -24,7 +24,7 @@ Provides: librfid = 0.2.0-alt3_15 -File: /usr/bin/librfid-send_script 100755 root:root b952e215376db777a00c832ca32d7096 -File: /usr/bin/librfid-tool 100755 root:root f4dfc7cdbabdd36a4c0afb879b2e3bed -File: /usr/bin/mifare-tool 100755 root:root 04e5ce93362ce85b16442e76c4b8a788 +File: /usr/bin/librfid-send_script 100755 root:root cc25b91b40b161179ba924ca17b2744e +File: /usr/bin/librfid-tool 100755 root:root b76961a20ad3449a903ad2d6122bc24d +File: /usr/bin/mifare-tool 100755 root:root 98efd1178b54fcda966a9a2c863ca714 File: /usr/lib64/librfid.so.0 120777 root:root librfid.so.0.0.0 -File: /usr/lib64/librfid.so.0.0.0 100644 root:root b98559fc58a74181204ccffc67f65139 +File: /usr/lib64/librfid.so.0.0.0 100644 root:root 8945dfd7b9f1dd761a80716b9a663b4f File: /usr/share/doc/librfid-0.2.0 40755 root:root @@ -36,2 +36,2 @@ File: /usr/share/man/man1/mifare-tool.1.xz 100644 root:root 04c5d16596738a01d50e4500d18976a1 -RPMIdentity: 494260f76f0a3a84b76a99ea8e06f01165738c8e10d5046197a810767f2202ec045c46cf54b5176fa9af1aa866ac3328befc2879c1c729017c664e6b475615d5 +RPMIdentity: a3c0507f5246dc3d119705fd7da5baed6706f456758e250358dc0c411975229b1bf4e3dd22d6076c345bbe2fd353d9f3571e2f63ebe3f976495d34c9ce8ef2e5 --- librfid-debuginfo-0.2.0-alt3_15.x86_64.rpm.repo 2017-09-30 02:41:21.000000000 +0000 +++ librfid-debuginfo-0.2.0-alt3_15.x86_64.rpm.hasher 2022-11-06 07:29:25.555334754 +0000 @@ -1,13 +1,13 @@ -/usr/lib/debug/.build-id/44 40755 root:root -/usr/lib/debug/.build-id/44/82e3ad8dbac426d3b6a90131c9c7075f1842af 120777 root:root ../../../../lib64/librfid.so.0.0.0 -/usr/lib/debug/.build-id/44/82e3ad8dbac426d3b6a90131c9c7075f1842af.debug 120777 root:root ../../usr/lib64/librfid.so.0.0.0.debug -/usr/lib/debug/.build-id/7d 40755 root:root -/usr/lib/debug/.build-id/7d/336c80e68d4cf78b67101f90746e02504d8eff 120777 root:root ../../../../bin/librfid-tool -/usr/lib/debug/.build-id/7d/336c80e68d4cf78b67101f90746e02504d8eff.debug 120777 root:root ../../usr/bin/librfid-tool.debug -/usr/lib/debug/.build-id/ec 40755 root:root -/usr/lib/debug/.build-id/ec/e14ea1d2985fd0edfe03fe2c70fc579a90d893 120777 root:root ../../../../bin/librfid-send_script -/usr/lib/debug/.build-id/ec/e14ea1d2985fd0edfe03fe2c70fc579a90d893.debug 120777 root:root ../../usr/bin/librfid-send_script.debug -/usr/lib/debug/.build-id/ee 40755 root:root -/usr/lib/debug/.build-id/ee/11dd28acf997bf5a0d70b5c3a34129c0d6f011 120777 root:root ../../../../bin/mifare-tool -/usr/lib/debug/.build-id/ee/11dd28acf997bf5a0d70b5c3a34129c0d6f011.debug 120777 root:root ../../usr/bin/mifare-tool.debug +/usr/lib/debug/.build-id/41 40755 root:root +/usr/lib/debug/.build-id/41/164988bc5a436c93d6456d905be33caece997e 120777 root:root ../../../../bin/librfid-tool +/usr/lib/debug/.build-id/41/164988bc5a436c93d6456d905be33caece997e.debug 120777 root:root ../../usr/bin/librfid-tool.debug +/usr/lib/debug/.build-id/7b 40755 root:root +/usr/lib/debug/.build-id/7b/830120fb3e25a95dda4c7b800016de7b69a951 120777 root:root ../../../../lib64/librfid.so.0.0.0 +/usr/lib/debug/.build-id/7b/830120fb3e25a95dda4c7b800016de7b69a951.debug 120777 root:root ../../usr/lib64/librfid.so.0.0.0.debug +/usr/lib/debug/.build-id/cc 40755 root:root +/usr/lib/debug/.build-id/cc/b0afd6782b4a5bc1a61a20568b6fed01d32033 120777 root:root ../../../../bin/librfid-send_script +/usr/lib/debug/.build-id/cc/b0afd6782b4a5bc1a61a20568b6fed01d32033.debug 120777 root:root ../../usr/bin/librfid-send_script.debug +/usr/lib/debug/.build-id/d1 40755 root:root +/usr/lib/debug/.build-id/d1/496902b769407325cc1f86cee00be8d66ab173 120777 root:root ../../../../bin/mifare-tool +/usr/lib/debug/.build-id/d1/496902b769407325cc1f86cee00be8d66ab173.debug 120777 root:root ../../usr/bin/mifare-tool.debug /usr/lib/debug/usr/bin/librfid-send_script.debug 100644 root:root @@ -75,18 +75,18 @@ Provides: librfid-debuginfo = 0.2.0-alt3_15 -File: /usr/lib/debug/.build-id/44 40755 root:root -File: /usr/lib/debug/.build-id/44/82e3ad8dbac426d3b6a90131c9c7075f1842af 120777 root:root ../../../../lib64/librfid.so.0.0.0 -File: /usr/lib/debug/.build-id/44/82e3ad8dbac426d3b6a90131c9c7075f1842af.debug 120777 root:root ../../usr/lib64/librfid.so.0.0.0.debug -File: /usr/lib/debug/.build-id/7d 40755 root:root -File: /usr/lib/debug/.build-id/7d/336c80e68d4cf78b67101f90746e02504d8eff 120777 root:root ../../../../bin/librfid-tool -File: /usr/lib/debug/.build-id/7d/336c80e68d4cf78b67101f90746e02504d8eff.debug 120777 root:root ../../usr/bin/librfid-tool.debug -File: /usr/lib/debug/.build-id/ec 40755 root:root -File: /usr/lib/debug/.build-id/ec/e14ea1d2985fd0edfe03fe2c70fc579a90d893 120777 root:root ../../../../bin/librfid-send_script -File: /usr/lib/debug/.build-id/ec/e14ea1d2985fd0edfe03fe2c70fc579a90d893.debug 120777 root:root ../../usr/bin/librfid-send_script.debug -File: /usr/lib/debug/.build-id/ee 40755 root:root -File: /usr/lib/debug/.build-id/ee/11dd28acf997bf5a0d70b5c3a34129c0d6f011 120777 root:root ../../../../bin/mifare-tool -File: /usr/lib/debug/.build-id/ee/11dd28acf997bf5a0d70b5c3a34129c0d6f011.debug 120777 root:root ../../usr/bin/mifare-tool.debug -File: /usr/lib/debug/usr/bin/librfid-send_script.debug 100644 root:root bc2e2b7c8b897ca452a9d8b2433da626 -File: /usr/lib/debug/usr/bin/librfid-tool.debug 100644 root:root 9512678b707012ba95443b58efc6907b -File: /usr/lib/debug/usr/bin/mifare-tool.debug 100644 root:root 67386ed0f4ca2adfa848177a2a1e842a -File: /usr/lib/debug/usr/lib64/librfid.so.0.0.0.debug 100644 root:root 3cfbbe84e35d2cda9074e13a51217b11 +File: /usr/lib/debug/.build-id/41 40755 root:root +File: /usr/lib/debug/.build-id/41/164988bc5a436c93d6456d905be33caece997e 120777 root:root ../../../../bin/librfid-tool +File: /usr/lib/debug/.build-id/41/164988bc5a436c93d6456d905be33caece997e.debug 120777 root:root ../../usr/bin/librfid-tool.debug +File: /usr/lib/debug/.build-id/7b 40755 root:root +File: /usr/lib/debug/.build-id/7b/830120fb3e25a95dda4c7b800016de7b69a951 120777 root:root ../../../../lib64/librfid.so.0.0.0 +File: /usr/lib/debug/.build-id/7b/830120fb3e25a95dda4c7b800016de7b69a951.debug 120777 root:root ../../usr/lib64/librfid.so.0.0.0.debug +File: /usr/lib/debug/.build-id/cc 40755 root:root +File: /usr/lib/debug/.build-id/cc/b0afd6782b4a5bc1a61a20568b6fed01d32033 120777 root:root ../../../../bin/librfid-send_script +File: /usr/lib/debug/.build-id/cc/b0afd6782b4a5bc1a61a20568b6fed01d32033.debug 120777 root:root ../../usr/bin/librfid-send_script.debug +File: /usr/lib/debug/.build-id/d1 40755 root:root +File: /usr/lib/debug/.build-id/d1/496902b769407325cc1f86cee00be8d66ab173 120777 root:root ../../../../bin/mifare-tool +File: /usr/lib/debug/.build-id/d1/496902b769407325cc1f86cee00be8d66ab173.debug 120777 root:root ../../usr/bin/mifare-tool.debug +File: /usr/lib/debug/usr/bin/librfid-send_script.debug 100644 root:root ef1a70c2d4350b0cf0d755173dd760ff +File: /usr/lib/debug/usr/bin/librfid-tool.debug 100644 root:root 5010614d7c26c6b1d89eda4524fda002 +File: /usr/lib/debug/usr/bin/mifare-tool.debug 100644 root:root 4a0637e6f402a76ac4c4bc8d3132b135 +File: /usr/lib/debug/usr/lib64/librfid.so.0.0.0.debug 100644 root:root 56842e72d4e69d3d832c012c99e5573a File: /usr/lib/debug/usr/lib64/librfid.so.0.debug 120777 root:root librfid.so.0.0.0.debug @@ -143,2 +143,2 @@ File: /usr/src/debug/librfid-0.2.0/utils/send_script.c 100644 root:root 50aac14d7ed050a2ca2c871cbe03e1a4 -RPMIdentity: e1627eb02ebd3e9d68127551110c5d7a7fa61475a1c5c025ffac9f29ae3ef7ddec0afadddb9449c78d03e2a0dc1ebc5a19f1cab630e211c9356be506992994f5 +RPMIdentity: 6071782016296a31af124d6a9266e5ec9bd1c6336aaf80e3f41f1f9f430d795d4c7468e5e36f244a3034453e7d4a002d03f4f024a7d13c1959c9b71acc2e0896 --- librfid-devel-0.2.0-alt3_15.x86_64.rpm.repo 2017-09-30 02:41:21.000000000 +0000 +++ librfid-devel-0.2.0-alt3_15.x86_64.rpm.hasher 2022-11-06 07:29:25.609308721 +0000 @@ -57,2 +57,2 @@ File: /usr/share/doc/librfid-devel-0.2.0/README 100644 root:root cfdd773049601208c4ce48110fa4482c -RPMIdentity: d7727ff6520539e8b28a9c1bbad7f1bca856abbe6b85cac69a5900be3bd77cab7fe9414421408a80db7a2813dea4a235a788583022fb9d606c8b19f026022b36 +RPMIdentity: 9504dcd2edbd42fc23a6aaa9185c0a548cb7f4a4001a9a8dcf3e43ca9f38462ff824e15b230a43bbc61a3b78cd1b419fc1ea89e69be3613cd6936780f4a24ee5