+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/librfid.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2gf8zH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf librfid-0.2.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/librfid-0.2.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd librfid-0.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wQqZPb + umask 022 + cd /builddir/build/BUILD + cd librfid-0.2.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking whether gcc and cc understand -c and -o together... yes checking for an ANSI C-conforming const... yes checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-frt... no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-cf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-pghpf... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for riscv64-redhat-linux-gnu-g95... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-ifort... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for build environment... UNIX checking whether byte ordering is bigendian... no checking for usb_close in -lusb... yes configure: creating ./config.status config.status: creating Makefile config.status: creating etc/Makefile config.status: creating etc/udev/Makefile config.status: creating src/Makefile config.status: creating include/Makefile config.status: creating include/librfid/Makefile config.status: creating utils/Makefile config.status: creating src/librfid.pc config.status: creating win32/Makefile config.status: executing depfiles commands + make -j4 Making all in etc make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/etc' Making all in udev make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/etc/udev' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/etc/udev' make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/etc' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/etc' make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/etc' Making all in include make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/include' Making all in librfid make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/include/librfid' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/include/librfid' make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/include' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/include' make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/include' Making all in src make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid.lo rfid.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_layer2.lo rfid_layer2.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_protocol.lo rfid_protocol.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_reader.lo rfid_reader.c mkdir .libs gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_layer2.c -fPIC -DPIC -o .libs/rfid_layer2.o gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_reader.c -fPIC -DPIC -o .libs/rfid_reader.o gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid.c -fPIC -DPIC -o .libs/rfid.o gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_protocol.c -fPIC -DPIC -o .libs/rfid_protocol.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; ^~~~ 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 rfid_protocol.c: In function 'rfid_protocol_getopt': rfid_protocol.c:115:18: warning: unused variable 'optchar' [-Wunused-variable] unsigned char *optchar = optval; ^~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_scan.lo rfid_scan.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_layer2_iso14443a.lo rfid_layer2_iso14443a.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_layer2_iso14443b.lo rfid_layer2_iso14443b.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_iso14443_common.lo rfid_iso14443_common.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_scan.c -fPIC -DPIC -o .libs/rfid_scan.o gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_layer2_iso14443a.c -fPIC -DPIC -o .libs/rfid_layer2_iso14443a.o gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_iso14443_common.c -fPIC -DPIC -o .libs/rfid_iso14443_common.o gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_layer2_iso14443b.c -fPIC -DPIC -o .libs/rfid_layer2_iso14443b.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_layer2_iso15693.lo rfid_layer2_iso15693.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_proto_tcl.lo rfid_proto_tcl.c 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; ^~~~~~~~ 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: ^~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_proto_mifare_ul.lo rfid_proto_mifare_ul.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_proto_mifare_classic.lo rfid_proto_mifare_classic.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_proto_tcl.c -fPIC -DPIC -o .libs/rfid_proto_tcl.o gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_layer2_iso15693.c -fPIC -DPIC -o .libs/rfid_layer2_iso15693.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_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:77:1: note: expected 'const struct iso15693_anticol_cmd *' but argument is of type 'u_int8_t * {aka unsigned char *}' iso15693_transceive_acf(struct rfid_layer2_handle *handle, ^~~~~~~~~~~~~~~~~~~~~~~ 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_proto_tcl.c: In function 'di_to_speed': rfid_proto_tcl.c:257:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rfid_layer2_iso15693.c: In function 'iso15693_setopt': rfid_layer2_iso15693.c:429:6: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] if (val > 0xff) ^ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_proto_mifare_ul.c -fPIC -DPIC -o .libs/rfid_proto_mifare_ul.o gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_proto_mifare_classic.c -fPIC -DPIC -o .libs/rfid_proto_mifare_classic.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_proto_icode.lo rfid_proto_icode.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_proto_tagit.lo rfid_proto_tagit.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_asic_rc632.lo rfid_asic_rc632.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_reader_rc632_common.lo rfid_reader_rc632_common.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_proto_icode.c -fPIC -DPIC -o .libs/rfid_proto_icode.o gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_proto_tagit.c -fPIC -DPIC -o .libs/rfid_proto_tagit.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:0, 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, ^~~~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_asic_rc632.c -fPIC -DPIC -o .libs/rfid_asic_rc632.o gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_reader_rc632_common.c -fPIC -DPIC -o .libs/rfid_reader_rc632_common.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_access_mifare_classic.lo rfid_access_mifare_classic.c 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; ^ /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rfid_reader_openpcd.lo rfid_reader_openpcd.c In file included from rfid_asic_rc632.c:31:0: 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:0: 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:0: 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:0: ../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:0: ../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:412:1: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'unsigned int *' rc632_transceive(struct rfid_asic_handle *handle, ^~~~~~~~~~~~~~~~ In file included from rfid_asic_rc632.c:31:0: ../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, ^~~~~~~~~~~~~~ rfid_asic_rc632.c: In function 'rc632_timer_set': rfid_asic_rc632.c:64:9: warning: 'best_divisor' may be used uninitialized in this function [-Wmaybe-uninitialized] return handle->rath->rat->priv.rc632.fn.reg_write(handle->rath, reg, val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:202:27: note: 'best_divisor' was declared here u_int8_t best_prescaler, best_divisor, i; ^~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c rfid_access_mifare_classic.c -fPIC -DPIC -o .libs/rfid_access_mifare_classic.o gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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, ^~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -lusb -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o librfid.la -rpath /usr/lib64 -Wc,-nostartfiles -version-info 0:0:0 rfid.lo rfid_layer2.lo rfid_protocol.lo rfid_reader.lo rfid_scan.lo rfid_layer2_iso14443a.lo rfid_layer2_iso14443b.lo rfid_iso14443_common.lo rfid_layer2_iso15693.lo rfid_proto_tcl.lo rfid_proto_mifare_ul.lo rfid_proto_mifare_classic.lo rfid_proto_icode.lo rfid_proto_tagit.lo rfid_asic_rc632.lo rfid_reader_rc632_common.lo rfid_access_mifare_classic.lo rfid_reader_openpcd.lo gcc -shared .libs/rfid.o .libs/rfid_layer2.o .libs/rfid_protocol.o .libs/rfid_reader.o .libs/rfid_scan.o .libs/rfid_layer2_iso14443a.o .libs/rfid_layer2_iso14443b.o .libs/rfid_iso14443_common.o .libs/rfid_layer2_iso15693.o .libs/rfid_proto_tcl.o .libs/rfid_proto_mifare_ul.o .libs/rfid_proto_mifare_classic.o .libs/rfid_proto_icode.o .libs/rfid_proto_tagit.o .libs/rfid_asic_rc632.o .libs/rfid_reader_rc632_common.o .libs/rfid_access_mifare_classic.o .libs/rfid_reader_openpcd.o -lusb -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -nostartfiles -Wl,-soname -Wl,librfid.so.0 -o .libs/librfid.so.0.0.0 (cd .libs && rm -f librfid.so.0 && ln -s librfid.so.0.0.0 librfid.so.0) (cd .libs && rm -f librfid.so && ln -s librfid.so.0.0.0 librfid.so) creating librfid.la (cd .libs && rm -f librfid.la && ln -s ../librfid.la librfid.la) make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' Making all in utils make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/utils' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c librfid-tool.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c common.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c mifare-tool.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c send_script.c In file included from ../include/librfid/rfid_asic.h:6:0, 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:0, 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:0: 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:0: 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:0, 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:0, 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:27: 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:0: ../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); ^~~~~~~~~~~~~~~~~ In file included from ../include/librfid/rfid_asic.h:6:0, 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, ^~~~~~~~~~~~~~~~~~~~~ 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:0, 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:0, 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:0: 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:23: 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:0: 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:0, 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, ^~~~~~~~~~~~~~~~~~~ In file included from ../include/librfid/rfid_asic.h:6:0, 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:0, 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 ../include/librfid/rfid_scan.h:4:0, 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, ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/librfid/rfid_asic.h:6:0, 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:0: ../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; ^~~~ In file included from librfid-tool.c:41:0: 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; ^~~~ ../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); ^~~~~~~~~~~~ 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:0: ../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:0: ../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:0: ../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)) { ^~~~ 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, ^~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -DHAVE_LIBUSB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -lusb -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mifare-tool mifare-tool.o common.o ../src/librfid.la /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -DHAVE_LIBUSB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -lusb -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o librfid-send_script send_script.o ../src/librfid.la /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -DHAVE_LIBUSB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -lusb -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o librfid-tool librfid-tool.o common.o ../src/librfid.la mkdir .libs gcc -std=gnu99 -DHAVE_LIBUSB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/mifare-tool mifare-tool.o common.o -lusb ../src/.libs/librfid.so -Wl,--rpath -Wl,/usr/lib64 gcc -std=gnu99 -DHAVE_LIBUSB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/librfid-send_script send_script.o -lusb ../src/.libs/librfid.so -Wl,--rpath -Wl,/usr/lib64 creating mifare-tool creating librfid-send_script gcc -std=gnu99 -DHAVE_LIBUSB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/librfid-tool librfid-tool.o common.o -lusb ../src/.libs/librfid.so -Wl,--rpath -Wl,/usr/lib64 creating librfid-tool make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/utils' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yfKiSj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64 + cd librfid-0.2.0 + rm -rf /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64 Making install in etc make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/etc' Making install in udev make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/etc/udev' make[3]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/etc/udev' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/etc/udev' make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/etc/udev' make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/etc' make[3]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/etc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/etc' make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/etc' make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/etc' Making install in include make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/include' Making install in librfid make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/include/librfid' make[3]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/include/librfid' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/include/librfid" || mkdir -p -- "/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid" /usr/bin/install -c -m 644 'rfid.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid.h' /usr/bin/install -c -m 644 'rfid_scan.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_scan.h' /usr/bin/install -c -m 644 'rfid_asic.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_asic.h' /usr/bin/install -c -m 644 'rfid_asic_rc632.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_asic_rc632.h' /usr/bin/install -c -m 644 'rfid_layer2.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_layer2.h' /usr/bin/install -c -m 644 'rfid_layer2_iso14443a.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_layer2_iso14443a.h' /usr/bin/install -c -m 644 'rfid_layer2_iso14443b.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_layer2_iso14443b.h' /usr/bin/install -c -m 644 'rfid_layer2_iso15693.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_layer2_iso15693.h' /usr/bin/install -c -m 644 'rfid_layer2_icode1.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_layer2_icode1.h' /usr/bin/install -c -m 644 'rfid_protocol.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_protocol.h' /usr/bin/install -c -m 644 'rfid_protocol_tcl.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_protocol_tcl.h' /usr/bin/install -c -m 644 'rfid_protocol_mifare_ul.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_protocol_mifare_ul.h' /usr/bin/install -c -m 644 'rfid_protocol_mifare_classic.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_protocol_mifare_classic.h' /usr/bin/install -c -m 644 'rfid_protocol_tagit.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_protocol_tagit.h' /usr/bin/install -c -m 644 'rfid_protocol_icode.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_protocol_icode.h' /usr/bin/install -c -m 644 'rfid_reader.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_reader.h' /usr/bin/install -c -m 644 'rfid_system.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_system.h' /usr/bin/install -c -m 644 'rfid_access_mifare_classic.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_access_mifare_classic.h' /usr/bin/install -c -m 644 'rfid_reader_cm5121.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_reader_cm5121.h' /usr/bin/install -c -m 644 'rfid_reader_spidev.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_reader_spidev.h' /usr/bin/install -c -m 644 'rfid_reader_openpcd.h' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/include/librfid/rfid_reader_openpcd.h' make[3]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/include/librfid' make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/include/librfid' make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/include' make[3]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/include' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/include' make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/include' make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/include' Making install in src make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/src' test -z "/usr/lib64" || mkdir -p -- "/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/lib64" /bin/sh ../libtool --mode=install /usr/bin/install -c 'librfid.la' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/lib64/librfid.la' /usr/bin/install -c .libs/librfid.so.0.0.0 /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/lib64/librfid.so.0.0.0 (cd /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/lib64 && { ln -s -f librfid.so.0.0.0 librfid.so.0 || { rm -f librfid.so.0 && ln -s librfid.so.0.0.0 librfid.so.0; }; }) (cd /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/lib64 && { ln -s -f librfid.so.0.0.0 librfid.so || { rm -f librfid.so && ln -s librfid.so.0.0.0 librfid.so; }; }) /usr/bin/install -c .libs/librfid.lai /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/lib64/librfid.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' test -z "/usr/lib64/pkgconfig" || mkdir -p -- "/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/lib64/pkgconfig" /usr/bin/install -c -m 644 'librfid.pc' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/lib64/pkgconfig/librfid.pc' make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/src' Making install in utils make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/utils' make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0/utils' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'librfid-tool' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/bin/librfid-tool' libtool: install: warning: `../src/librfid.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/librfid-tool /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/bin/librfid-tool /bin/sh ../libtool --mode=install /usr/bin/install -c 'mifare-tool' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/bin/mifare-tool' libtool: install: warning: `../src/librfid.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/mifare-tool /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/bin/mifare-tool /bin/sh ../libtool --mode=install /usr/bin/install -c 'librfid-send_script' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/bin/librfid-send_script' libtool: install: warning: `../src/librfid.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/librfid-send_script /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/bin/librfid-send_script test -z "/usr/share/man/man1" || mkdir -p -- "/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/share/man/man1" /usr/bin/install -c -m 644 './librfid-tool.1' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/share/man/man1/librfid-tool.1' /usr/bin/install -c -m 644 './mifare-tool.1' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/share/man/man1/mifare-tool.1' /usr/bin/install -c -m 644 './librfid-send_script.1' '/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/share/man/man1/librfid-send_script.1' make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/utils' make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0/utils' make[1]: Entering directory '/builddir/build/BUILD/librfid-0.2.0' make[2]: Entering directory '/builddir/build/BUILD/librfid-0.2.0' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0' make[1]: Leaving directory '/builddir/build/BUILD/librfid-0.2.0' + find /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64 -name '*.la' -exec rm -f '{}' ';' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: librfid-0.2.0-15.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.28noy4 + umask 022 + cd /builddir/build/BUILD + cd librfid-0.2.0 + DOCDIR=/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/share/doc/librfid + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/share/doc/librfid + cp -pr COPYING /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/share/doc/librfid + cp -pr README /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/share/doc/librfid + cp -pr TODO /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/share/doc/librfid + exit 0 Provides: librfid = 0.2.0-15.fc28 librfid(riscv-64) = 0.2.0-15.fc28 librfid.so.0()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) librfid.so.0()(64bit) libusb-0.1.so.4()(64bit) rtld(GNU_HASH) Processing files: librfid-devel-0.2.0-15.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.97nTpa + umask 022 + cd /builddir/build/BUILD + cd librfid-0.2.0 + DOCDIR=/builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/share/doc/librfid-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/share/doc/librfid-devel + cp -pr README /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64/usr/share/doc/librfid-devel + exit 0 Provides: librfid-devel = 0.2.0-15.fc28 librfid-devel(riscv-64) = 0.2.0-15.fc28 pkgconfig(librfid) = 0.2.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config librfid.so.0()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64 Wrote: /builddir/build/SRPMS/librfid-0.2.0-15.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/librfid-0.2.0-15.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/librfid-devel-0.2.0-15.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.n2bBJ7 + umask 022 + cd /builddir/build/BUILD + cd librfid-0.2.0 + rm -rf /builddir/build/BUILDROOT/librfid-0.2.0-15.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff