<86>Jan 9 08:32:02 userdel[80267]: delete user 'rooter' <86>Jan 9 08:32:02 userdel[80267]: removed group 'rooter' owned by 'rooter' <86>Jan 9 08:32:02 userdel[80267]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 9 08:32:02 groupadd[80305]: group added to /etc/group: name=rooter, GID=585 <86>Jan 9 08:32:02 groupadd[80305]: group added to /etc/gshadow: name=rooter <86>Jan 9 08:32:02 groupadd[80305]: new group: name=rooter, GID=585 <86>Jan 9 08:32:02 useradd[80329]: new user: name=rooter, UID=585, GID=585, home=/root, shell=/bin/bash <86>Jan 9 08:32:02 userdel[80383]: delete user 'builder' <86>Jan 9 08:32:02 userdel[80383]: removed group 'builder' owned by 'builder' <86>Jan 9 08:32:02 userdel[80383]: removed shadow group 'builder' owned by 'builder' <86>Jan 9 08:32:02 groupadd[80418]: group added to /etc/group: name=builder, GID=586 <86>Jan 9 08:32:02 groupadd[80418]: group added to /etc/gshadow: name=builder <86>Jan 9 08:32:02 groupadd[80418]: new group: name=builder, GID=586 <86>Jan 9 08:32:02 useradd[80434]: new user: name=builder, UID=586, GID=586, home=/usr/src, shell=/bin/bash Package libpcsclite was not found in the pkg-config search path. Perhaps you should add the directory containing `libpcsclite.pc' to the PKG_CONFIG_PATH environment variable No package 'libpcsclite' found Package libpcsclite was not found in the pkg-config search path. Perhaps you should add the directory containing `libpcsclite.pc' to the PKG_CONFIG_PATH environment variable No package 'libpcsclite' found <13>Jan 9 08:32:05 rpmi: libusb-1.0.22-alt1 1525452055 installed <13>Jan 9 08:32:05 rpmi: libusb-compat-0.1.5-alt1 1404810477 installed <13>Jan 9 08:32:05 rpmi: libpcsclite-1.8.23-alt1 1513827863 installed <13>Jan 9 08:32:05 rpmi: libverto-0.3.0-alt1_5 1525957714 installed <13>Jan 9 08:32:05 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003161 installed <13>Jan 9 08:32:05 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 9 08:32:05 rpmi: libcom_err-1.44.5-alt1 sisyphus.218838.100 1546206118 installed <13>Jan 9 08:32:05 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Jan 9 08:32:05 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed <13>Jan 9 08:32:05 rpmi: rpm-macros-alternatives-0.5.0-alt1 sisyphus.219012.300 1546745004 installed <13>Jan 9 08:32:05 rpmi: alternatives-0.5.0-alt1 sisyphus.219012.300 1546745004 installed <13>Jan 9 08:32:05 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Jan 9 08:32:05 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Jan 9 08:32:05 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed <13>Jan 9 08:32:05 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Jan 9 08:32:05 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <86>Jan 9 08:32:05 groupadd[95555]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 9 08:32:05 groupadd[95555]: group added to /etc/gshadow: name=_keytab <86>Jan 9 08:32:05 groupadd[95555]: new group: name=_keytab, GID=499 <13>Jan 9 08:32:05 rpmi: libkrb5-1.16.2-alt2 sisyphus.216877.200 1543483297 installed <13>Jan 9 08:32:05 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Jan 9 08:32:05 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jan 9 08:32:05 rpmi: python-modules-encodings-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 08:32:05 rpmi: python-modules-compiler-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 08:32:05 rpmi: python-modules-email-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 08:32:05 rpmi: python-modules-unittest-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 08:32:05 rpmi: python-modules-nis-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 08:32:06 rpmi: python-modules-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 08:32:06 rpmi: libpcsclite-devel-1.8.23-alt1 1513827863 installed <13>Jan 9 08:32:06 rpmi: libusb-compat-devel-0.1.5-alt1 1404810477 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/pcsc-lite-rutokens-1.0.4-alt1.nosrc.rpm Installing pcsc-lite-rutokens-1.0.4-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.84332 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf pcsc-lite-rutokens-1.0.4 + echo 'Source #0 (pcsc-lite-rutokens-1.0.4.tar):' Source #0 (pcsc-lite-rutokens-1.0.4.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/pcsc-lite-rutokens-1.0.4.tar + cd pcsc-lite-rutokens-1.0.4 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.59202 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pcsc-lite-rutokens-1.0.4 + ./reconf + test -f Makefile + rm -rf '*.cache' '*.m4' + rm -f config.guess config.sub depcomp ltmain.sh config.log config.status + cat m4/acx_pthread.m4 + autoreconf --verbose --install autoreconf-default: Entering directory `.' autoreconf-default: configure.in: not using Gettext autoreconf-default: running: aclocal -I m4 aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:179: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... configure.in:179: the top level autoreconf-default: configure.in: tracing configure.in:179: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... configure.in:179: the top level autoreconf-default: configure.in: creating directory build autoreconf-default: running: libtoolize --copy libtoolize-default: putting auxiliary files in AC_CONFIG_AUX_DIR, `build'. libtoolize-default: copying file `build/ltmain.sh' libtoolize-default: putting macros in `m4'. libtoolize-default: copying file `m4/libtool.m4' libtoolize-default: copying file `m4/ltoptions.m4' libtoolize-default: copying file `m4/ltsugar.m4' libtoolize-default: copying file `m4/ltversion.m4' libtoolize-default: copying file `m4/lt~obsolete.m4' libtoolize-default: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize-default: rerunning libtoolize-default, to keep the correct libtool macros in-tree. autoreconf-default: configure.in: not using Intltool autoreconf-default: configure.in: not using gtk-doc aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:179: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... configure.in:179: the top level autoreconf-default: running: /usr/bin/autoconf-2.60 configure.in:179: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... configure.in:179: the top level autoreconf-default: running: /usr/bin/autoheader-2.60 configure.in:179: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... configure.in:179: the top level autoreconf-default: running: automake --add-missing --copy --no-force automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:179: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... configure.in:179: the top level configure.in:27: installing 'build/compile' configure.in:18: installing 'build/config.guess' configure.in:18: installing 'build/config.sub' configure.in:12: installing 'build/install-sh' configure.in:12: installing 'build/missing' automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am: installing 'build/depcomp' configure.in: installing 'build/ylwrap' autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --disable-static --enable-usbdropdir=/usr/lib/pcsc/drivers --enable-udevrules configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of i586-alt-linux-gcc... none checking how to run the C preprocessor... i586-alt-linux-gcc -E checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for flex... no checking for lex... no checking for i586-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libpcsclite >= 1.3.3... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -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 ifdhandler.h usability... yes checking ifdhandler.h presence... yes checking for ifdhandler.h... yes checking whether IFD_NO_SUCH_DEVICE is declared... yes checking whether TAG_IFD_POLLING_THREAD is declared... yes checking reader.h usability... yes checking reader.h presence... yes checking for reader.h... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ANSI C header files... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for string.h... (cached) yes checking for errno.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for select... yes checking for strerror... yes checking for strncpy... yes checking for memcpy... yes checking for strlcpy... yes checking for libusb... yes checking usb.h usability... yes checking usb.h presence... yes checking for usb.h... yes checking for usb_init... yes checking for usb_get_string_simple... yes checking for usb_detach_kernel_driver_np... yes checking if libusb is emulated by libusb-compat... yes checking for -fvisibility=hidden... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for SCardEstablishContext... yes checking whether /usr/bin/ld accepts --as-needed... yes librutokens has been configured with following options: Version: 1.0.4 User binaries: /usr/bin Configuration files: /etc Host: i586-alt-linux-gnu Compiler: i586-alt-linux-gcc Preprocessor flags: Compiler flags: -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector Preprocessor flags: Linker flags: -Wl,--as-needed Libraries: PTHREAD_CFLAGS: -pthread PTHREAD_LIBS: BUNDLE_HOST: Linux DYN_LIB_EXT: so LIBUSB_CFLAGS: LIBUSB_LIBS: -lusb SYMBOL_VISIBILITY: -fvisibility=hidden install udev rules: yes multi threading: yes bundle directory name: ifd-rutokens.bundle USB drop directory: /usr/lib/pcsc/drivers compiled for pcsc-lite: yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating m4/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext + LDFLAGS= + make -j8 make all-recursive Making all in m4 make[2]: Nothing to be done for 'all'. Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.4` -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c -o librutokens_la-array_hexdump.lo `test -f 'array_hexdump.c' || echo './'`array_hexdump.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=0x01000004 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c array_hexdump.c -fPIC -DPIC -o .libs/librutokens_la-array_hexdump.o array_hexdump.c: In function 'array_hexdump': array_hexdump.c:33:18: warning: variable 'left' set but not used [-Wunused-but-set-variable] unsigned int i, left; ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.4` -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c -o librutokens_la-apdu.lo `test -f 'apdu.c' || echo './'`apdu.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=0x01000004 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c apdu.c -fPIC -DPIC -o .libs/librutokens_la-apdu.o make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.4` -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c -o librutokens_la-utils.lo `test -f 'utils.c' || echo './'`utils.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=0x01000004 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c utils.c -fPIC -DPIC -o .libs/librutokens_la-utils.o In file included from utils.c:27: utils.c: In function 'GetNewReaderIndex': debug.h:57:118: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ utils.c:50:3: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("Lun: %d is already used", Lun); ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ utils.c:50:3: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("Lun: %d is already used", Lun); ^~~~~~~~~~~~~~~ debug.h:55:101: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) ^ utils.c:61:2: note: in expansion of macro 'DEBUG_CRITICAL' DEBUG_CRITICAL("ReaderIndex[] is full"); ^~~~~~~~~~~~~~ utils.c: In function 'LunToReaderIndex': debug.h:57:118: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ utils.c:73:2: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("Lun: %X not found", Lun); ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ utils.c:73:2: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("Lun: %X not found", Lun); ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.4` -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c -o librutokens_la-infopath.lo `test -f 'infopath.c' || echo './'`infopath.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=0x01000004 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c infopath.c -fPIC -DPIC -o .libs/librutokens_la-infopath.o In file included from debug.h:52, from infopath.c:28: infopath.c: In function 'infoFileName': /usr/include/PCSC/debuglog.h:107:53: warning: too many arguments for format [-Wformat-extra-args] #define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data) ^~~~~~~~~~~~~ debug.h:66:65: note: in expansion of macro 'Log2' #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^~~~ infopath.c:68:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("Can't find library path, use default path to Info.plist", LogLevel); ^~~~~~~~~~~ In file included from infopath.c:28: debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ infopath.c:68:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("Can't find library path, use default path to Info.plist", LogLevel); ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ infopath.c:68:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("Can't find library path, use default path to Info.plist", LogLevel); ^~~~~~~~~~~ infopath.c:88:39: warning: '/Info.plist' directive output may be truncated writing 11 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(infofile, FILENAME_MAX, "%s/Info.plist", libraryPath); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from infopath.c:22: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 12 and 4107 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.4` -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c -o librutokens_la-strlcpy.lo `test -f 'strlcpy.c' || echo './'`strlcpy.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=0x01000004 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c strlcpy.c -fPIC -DPIC -o .libs/librutokens_la-strlcpy.o make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.4` -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c -o librutokens_la-ifdhandler.lo `test -f 'ifdhandler.c' || echo './'`ifdhandler.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=0x01000004 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c ifdhandler.c -fPIC -DPIC -o .libs/librutokens_la-ifdhandler.o In file included from debug.h:52, from ifdhandler.c:35: ifdhandler.c: In function 'IFDHCreateChannelByName': /usr/include/PCSC/debuglog.h:108:61: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] #define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2) ^~~~~~~~~~~~~ debug.h:68:73: note: in expansion of macro 'Log3' #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^~~~ ifdhandler.c:67:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, device: %s", Lun, lpcDevice); ^~~~~~~~~~~ ifdhandler.c:67:21: note: format string is defined here DEBUG_INFO3("lun: %X, device: %s", Lun, lpcDevice); ~^ %lX In file included from ifdhandler.c:35: debug.h:68:122: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:67:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, device: %s", Lun, lpcDevice); ^~~~~~~~~~~ debug.h:68:129: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:67:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, device: %s", Lun, lpcDevice); ^~~~~~~~~~~ debug.h:68:118: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:67:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, device: %s", Lun, lpcDevice); ^~~~~~~~~~~ In file included from ifdhandler.c:35: debug.h:55:101: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) ^ ifdhandler.c:85:3: note: in expansion of macro 'DEBUG_CRITICAL' DEBUG_CRITICAL("OpenUSBByName failed"); ^~~~~~~~~~~~~~ debug.h:55:101: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) ^ ifdhandler.c:102:4: note: in expansion of macro 'DEBUG_CRITICAL' DEBUG_CRITICAL("IFDHICCPresence failed"); ^~~~~~~~~~~~~~ In file included from debug.h:52, from ifdhandler.c:35: ifdhandler.c: In function 'IFDHCreateChannel': /usr/include/PCSC/debuglog.h:107:53: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] #define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data) ^~~~~~~~~~~~~ debug.h:66:65: note: in expansion of macro 'Log2' #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^~~~ ifdhandler.c:159:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("lun: %X", Lun); ^~~~~~~~~~~ ifdhandler.c:159:21: note: format string is defined here DEBUG_INFO2("lun: %X", Lun); ~^ %lX In file included from ifdhandler.c:35: debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:159:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("lun: %X", Lun); ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:159:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("lun: %X", Lun); ^~~~~~~~~~~ In file included from ifdhandler.c:35: debug.h:55:101: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) ^ ifdhandler.c:177:3: note: in expansion of macro 'DEBUG_CRITICAL' DEBUG_CRITICAL("failed"); ^~~~~~~~~~~~~~ In file included from debug.h:52, from ifdhandler.c:35: ifdhandler.c: In function 'IFDHCloseChannel': /usr/include/PCSC/debuglog.h:107:53: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] #define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data) ^~~~~~~~~~~~~ debug.h:66:65: note: in expansion of macro 'Log2' #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^~~~ ifdhandler.c:206:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("lun: %X", Lun); ^~~~~~~~~~~ ifdhandler.c:206:21: note: format string is defined here DEBUG_INFO2("lun: %X", Lun); ~^ %lX In file included from ifdhandler.c:35: debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:206:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("lun: %X", Lun); ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:206:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("lun: %X", Lun); ^~~~~~~~~~~ In file included from debug.h:52, from ifdhandler.c:35: ifdhandler.c: In function 'IFDHSleep': /usr/include/PCSC/debuglog.h:107:53: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] #define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data) ^~~~~~~~~~~~~ debug.h:66:65: note: in expansion of macro 'Log2' #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^~~~ ifdhandler.c:237:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("lun: %X", Lun); ^~~~~~~~~~~ ifdhandler.c:237:21: note: format string is defined here DEBUG_INFO2("lun: %X", Lun); ~^ %lX In file included from ifdhandler.c:35: debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:237:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("lun: %X", Lun); ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:237:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("lun: %X", Lun); ^~~~~~~~~~~ In file included from debug.h:52, from ifdhandler.c:35: ifdhandler.c: In function 'IFDHTimedSleep': /usr/include/PCSC/debuglog.h:107:53: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] #define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data) ^~~~~~~~~~~~~ debug.h:66:65: note: in expansion of macro 'Log2' #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^~~~ ifdhandler.c:252:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("lun: %X", Lun); ^~~~~~~~~~~ ifdhandler.c:252:21: note: format string is defined here DEBUG_INFO2("lun: %X", Lun); ~^ %lX In file included from ifdhandler.c:35: debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:252:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("lun: %X", Lun); ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:252:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("lun: %X", Lun); ^~~~~~~~~~~ In file included from debug.h:52, from ifdhandler.c:35: ifdhandler.c: In function 'IFDHGetCapabilities': /usr/include/PCSC/debuglog.h:108:61: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] #define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2) ^~~~~~~~~~~~~ debug.h:68:73: note: in expansion of macro 'Log3' #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^~~~ ifdhandler.c:279:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); ^~~~~~~~~~~ ifdhandler.c:279:21: note: format string is defined here DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); ~^ %lX In file included from debug.h:52, from ifdhandler.c:35: /usr/include/PCSC/debuglog.h:108:61: warning: format '%X' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] #define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2) ^~~~~~~~~~~~~ debug.h:68:73: note: in expansion of macro 'Log3' #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^~~~ ifdhandler.c:279:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); ^~~~~~~~~~~ ifdhandler.c:279:32: note: format string is defined here DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); ~^ %lX In file included from ifdhandler.c:35: debug.h:68:122: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:279:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); ^~~~~~~~~~~ debug.h:68:129: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:279:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); ^~~~~~~~~~~ debug.h:68:118: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:279:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:352:5: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("Reader supports %d slot(s)", *Value); ^~~~~~~~~~~ debug.h:66:106: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ~~~~^~~~~~~ ifdhandler.c:352:5: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("Reader supports %d slot(s)", *Value); ^~~~~~~~~~~ In file included from debug.h:52, from ifdhandler.c:35: ifdhandler.c: In function 'IFDHSetCapabilities': /usr/include/PCSC/debuglog.h:108:61: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] #define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2) ^~~~~~~~~~~~~ debug.h:68:73: note: in expansion of macro 'Log3' #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^~~~ ifdhandler.c:416:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); ^~~~~~~~~~~ ifdhandler.c:416:21: note: format string is defined here DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); ~^ %lX In file included from debug.h:52, from ifdhandler.c:35: /usr/include/PCSC/debuglog.h:108:61: warning: format '%X' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] #define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2) ^~~~~~~~~~~~~ debug.h:68:73: note: in expansion of macro 'Log3' #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^~~~ ifdhandler.c:416:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); ^~~~~~~~~~~ ifdhandler.c:416:32: note: format string is defined here DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); ~^ %lX In file included from ifdhandler.c:35: debug.h:68:122: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:416:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); ^~~~~~~~~~~ debug.h:68:129: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:416:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); ^~~~~~~~~~~ debug.h:68:118: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:416:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); ^~~~~~~~~~~ In file included from debug.h:52, from ifdhandler.c:35: ifdhandler.c: In function 'IFDHSetProtocolParameters': /usr/include/PCSC/debuglog.h:108:61: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] #define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2) ^~~~~~~~~~~~~ debug.h:68:73: note: in expansion of macro 'Log3' #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^~~~ ifdhandler.c:446:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, protocol T=%d", Lun, Protocol-1); ^~~~~~~~~~~ ifdhandler.c:446:21: note: format string is defined here DEBUG_INFO3("lun: %X, protocol T=%d", Lun, Protocol-1); ~^ %lX In file included from debug.h:52, from ifdhandler.c:35: /usr/include/PCSC/debuglog.h:108:61: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long unsigned int' [-Wformat=] #define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2) ^~~~~~~~~~~~~ debug.h:68:73: note: in expansion of macro 'Log3' #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^~~~ ifdhandler.c:446:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, protocol T=%d", Lun, Protocol-1); ^~~~~~~~~~~ ifdhandler.c:446:36: note: format string is defined here DEBUG_INFO3("lun: %X, protocol T=%d", Lun, Protocol-1); ~^ %ld In file included from ifdhandler.c:35: debug.h:68:122: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:446:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, protocol T=%d", Lun, Protocol-1); ^~~~~~~~~~~ debug.h:68:129: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:446:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, protocol T=%d", Lun, Protocol-1); ^~~~~~~~~~~ debug.h:68:129: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ ifdhandler.c:446:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, protocol T=%d", Lun, Protocol-1); ^~~~~~~~~~~ In file included from debug.h:52, from ifdhandler.c:35: ifdhandler.c: In function 'IFDHPowerICC': /usr/include/PCSC/debuglog.h:108:61: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] #define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2) ^~~~~~~~~~~~~ debug.h:68:73: note: in expansion of macro 'Log3' #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^~~~ ifdhandler.c:501:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, action: %s", Lun, actions[Action-IFD_POWER_UP]); ^~~~~~~~~~~ ifdhandler.c:501:21: note: format string is defined here DEBUG_INFO3("lun: %X, action: %s", Lun, actions[Action-IFD_POWER_UP]); ~^ %lX In file included from ifdhandler.c:35: debug.h:68:122: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:501:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, action: %s", Lun, actions[Action-IFD_POWER_UP]); ^~~~~~~~~~~ debug.h:68:129: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:501:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, action: %s", Lun, actions[Action-IFD_POWER_UP]); ^~~~~~~~~~~ debug.h:68:129: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ ifdhandler.c:501:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, action: %s", Lun, actions[Action-IFD_POWER_UP]); ^~~~~~~~~~~ In file included from ifdhandler.c:35: debug.h:55:101: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) ^ ifdhandler.c:522:5: note: in expansion of macro 'DEBUG_CRITICAL' DEBUG_CRITICAL("PowerDown failed"); ^~~~~~~~~~~~~~ debug.h:55:101: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) ^ ifdhandler.c:534:5: note: in expansion of macro 'DEBUG_CRITICAL' DEBUG_CRITICAL("PowerUp failed"); ^~~~~~~~~~~~~~ debug.h:55:101: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) ^ ifdhandler.c:551:4: note: in expansion of macro 'DEBUG_CRITICAL' DEBUG_CRITICAL("Action not supported"); ^~~~~~~~~~~~~~ In file included from debug.h:52, from ifdhandler.c:35: ifdhandler.c: In function 'IFDHTransmitToICC': /usr/include/PCSC/debuglog.h:107:53: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] #define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data) ^~~~~~~~~~~~~ debug.h:66:65: note: in expansion of macro 'Log2' #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^~~~ ifdhandler.c:602:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("lun: %X", Lun); ^~~~~~~~~~~ ifdhandler.c:602:21: note: format string is defined here DEBUG_INFO2("lun: %X", Lun); ~^ %lX In file included from ifdhandler.c:35: debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:602:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("lun: %X", Lun); ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:602:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("lun: %X", Lun); ^~~~~~~~~~~ In file included from debug.h:52, from ifdhandler.c:35: ifdhandler.c: In function 'IFDHControl': /usr/include/PCSC/debuglog.h:108:61: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] #define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2) ^~~~~~~~~~~~~ debug.h:68:73: note: in expansion of macro 'Log3' #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^~~~ ifdhandler.c:639:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, ControlCode: 0x%X", Lun, dwControlCode); ^~~~~~~~~~~ ifdhandler.c:639:21: note: format string is defined here DEBUG_INFO3("lun: %X, ControlCode: 0x%X", Lun, dwControlCode); ~^ %lX In file included from debug.h:52, from ifdhandler.c:35: /usr/include/PCSC/debuglog.h:108:61: warning: format '%X' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] #define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2) ^~~~~~~~~~~~~ debug.h:68:73: note: in expansion of macro 'Log3' #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^~~~ ifdhandler.c:639:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, ControlCode: 0x%X", Lun, dwControlCode); ^~~~~~~~~~~ ifdhandler.c:639:40: note: format string is defined here DEBUG_INFO3("lun: %X, ControlCode: 0x%X", Lun, dwControlCode); ~^ %lX In file included from ifdhandler.c:35: debug.h:68:122: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:639:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, ControlCode: 0x%X", Lun, dwControlCode); ^~~~~~~~~~~ debug.h:68:129: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:639:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, ControlCode: 0x%X", Lun, dwControlCode); ^~~~~~~~~~~ debug.h:68:118: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ ifdhandler.c:639:2: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("lun: %X, ControlCode: 0x%X", Lun, dwControlCode); ^~~~~~~~~~~ debug.h:72:128: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO_XXD(msg, buffer, size) if (LogLevel & DEBUG_LEVEL_INFO) log_xxd(PCSC_LOG_INFO, msg, buffer, size); else (msg, buffer, size) ^ ifdhandler.c:640:2: note: in expansion of macro 'DEBUG_INFO_XXD' DEBUG_INFO_XXD("Control TxBuffer: ", TxBuffer, TxLength); ^~~~~~~~~~~~~~ debug.h:72:136: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO_XXD(msg, buffer, size) if (LogLevel & DEBUG_LEVEL_INFO) log_xxd(PCSC_LOG_INFO, msg, buffer, size); else (msg, buffer, size) ^ ifdhandler.c:640:2: note: in expansion of macro 'DEBUG_INFO_XXD' DEBUG_INFO_XXD("Control TxBuffer: ", TxBuffer, TxLength); ^~~~~~~~~~~~~~ debug.h:72:124: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO_XXD(msg, buffer, size) if (LogLevel & DEBUG_LEVEL_INFO) log_xxd(PCSC_LOG_INFO, msg, buffer, size); else (msg, buffer, size) ^ ifdhandler.c:640:2: note: in expansion of macro 'DEBUG_INFO_XXD' DEBUG_INFO_XXD("Control TxBuffer: ", TxBuffer, TxLength); ^~~~~~~~~~~~~~ In file included from debug.h:52, from ifdhandler.c:35: ifdhandler.c: In function 'IFDHICCPresence': /usr/include/PCSC/debuglog.h:107:53: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] #define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data) ^~~~~~~~~~~~~ debug.h:77:73: note: in expansion of macro 'Log2' #define DEBUG_PERIODIC2(fmt, data) if (LogLevel & DEBUG_LEVEL_PERIODIC) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^~~~ ifdhandler.c:670:2: note: in expansion of macro 'DEBUG_PERIODIC2' DEBUG_PERIODIC2("lun: %X", Lun); ^~~~~~~~~~~~~~~ ifdhandler.c:670:25: note: format string is defined here DEBUG_PERIODIC2("lun: %X", Lun); ~^ %lX In file included from ifdhandler.c:35: debug.h:77:115: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_PERIODIC2(fmt, data) if (LogLevel & DEBUG_LEVEL_PERIODIC) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ ifdhandler.c:670:2: note: in expansion of macro 'DEBUG_PERIODIC2' DEBUG_PERIODIC2("lun: %X", Lun); ^~~~~~~~~~~~~~~ debug.h:77:111: warning: statement with no effect [-Wunused-value] #define DEBUG_PERIODIC2(fmt, data) if (LogLevel & DEBUG_LEVEL_PERIODIC) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ ifdhandler.c:670:2: note: in expansion of macro 'DEBUG_PERIODIC2' DEBUG_PERIODIC2("lun: %X", Lun); ^~~~~~~~~~~~~~~ debug.h:77:115: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_PERIODIC2(fmt, data) if (LogLevel & DEBUG_LEVEL_PERIODIC) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ ifdhandler.c:719:2: note: in expansion of macro 'DEBUG_PERIODIC2' DEBUG_PERIODIC2("Card %s", ^~~~~~~~~~~~~~~ debug.h:77:115: warning: statement with no effect [-Wunused-value] #define DEBUG_PERIODIC2(fmt, data) if (LogLevel & DEBUG_LEVEL_PERIODIC) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ~~~~^~~~~~~ ifdhandler.c:719:2: note: in expansion of macro 'DEBUG_PERIODIC2' DEBUG_PERIODIC2("Card %s", ^~~~~~~~~~~~~~~ ifdhandler.c: In function 'init_driver': debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:742:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("LogLevel from Info.plist: 0x%.4X", LogLevel); ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:742:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("LogLevel from Info.plist: 0x%.4X", LogLevel); ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:752:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("LogLevel from IFDLIB_ifdLogLevel: 0x%.4X", LogLevel); ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:752:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("LogLevel from IFDLIB_ifdLogLevel: 0x%.4X", LogLevel); ^~~~~~~~~~~ debug.h:64:89: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO(fmt) if (LogLevel & DEBUG_LEVEL_INFO) Log1(PCSC_LOG_INFO, fmt); else (fmt) ^ ifdhandler.c:755:2: note: in expansion of macro 'DEBUG_INFO' DEBUG_INFO("Driver version: " VERSION); ^~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:756:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("LogLevel: 0x%.4X", LogLevel); ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ ifdhandler.c:756:2: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("LogLevel: 0x%.4X", LogLevel); ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.4` -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c -o librutokens_la-convert_apdu.lo `test -f 'convert_apdu.c' || echo './'`convert_apdu.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=0x01000004 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c convert_apdu.c -fPIC -DPIC -o .libs/librutokens_la-convert_apdu.o In file included from convert_apdu.c:26: convert_apdu.c: In function 'convert_doinfo_to_rtprot': debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ convert_apdu.c:90:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x80 (file size) = %02x %02x", dohdr[0], dohdr[1]); ^~~~~~~~~~~ debug.h:84:130: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ convert_apdu.c:90:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x80 (file size) = %02x %02x", dohdr[0], dohdr[1]); ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ convert_apdu.c:90:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x80 (file size) = %02x %02x", dohdr[0], dohdr[1]); ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ convert_apdu.c:94:3: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("tag 0xA5 = %s", array_hexdump(data_a5, data_a5_len)); ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ convert_apdu.c:98:3: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("data_len = %u", data_len); ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ convert_apdu.c:98:3: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("data_len = %u", data_len); ^~~~~~~~~~~ debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ convert_apdu.c:102:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x83 (Type,ID) = %02x %02x", dohdr[2], dohdr[3]); ^~~~~~~~~~~ debug.h:84:130: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ convert_apdu.c:102:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x83 (Type,ID) = %02x %02x", dohdr[2], dohdr[3]); ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ convert_apdu.c:102:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x83 (Type,ID) = %02x %02x", dohdr[2], dohdr[3]); ^~~~~~~~~~~ convert_apdu.c:101:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (read_tag(p, data_len, 0x83, &dohdr[2], 2) == 0) ^ In file included from convert_apdu.c:26: debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ convert_apdu.c:111:3: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("tag 0x86 = %s", array_hexdump(&dohdr[17], 15)); ^~~~~~~~~~~ convert_apdu.c: In function 'convert_fcp_to_rtprot': debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ convert_apdu.c:126:3: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("data_len = %u", data_len); ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ convert_apdu.c:126:3: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("data_len = %u", data_len); ^~~~~~~~~~~ debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ convert_apdu.c:131:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Tag = %02x len = %u", p[0], p[1]); ^~~~~~~~~~~ debug.h:84:130: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ convert_apdu.c:131:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Tag = %02x len = %u", p[0], p[1]); ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ convert_apdu.c:131:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Tag = %02x len = %u", p[0], p[1]); ^~~~~~~~~~~ debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ convert_apdu.c:139:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x82 (file type) = %02x %02x", rtprot[4], rtprot[5]); ^~~~~~~~~~~ debug.h:84:130: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ convert_apdu.c:139:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x82 (file type) = %02x %02x", rtprot[4], rtprot[5]); ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ convert_apdu.c:139:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x82 (file type) = %02x %02x", rtprot[4], rtprot[5]); ^~~~~~~~~~~ debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ convert_apdu.c:144:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x83 (file id) = %02x %02x", rtprot[6], rtprot[7]); ^~~~~~~~~~~ debug.h:84:130: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ convert_apdu.c:144:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x83 (file id) = %02x %02x", rtprot[6], rtprot[7]); ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ convert_apdu.c:144:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x83 (file id) = %02x %02x", rtprot[6], rtprot[7]); ^~~~~~~~~~~ debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ convert_apdu.c:148:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x81 (complete file size) = %02x %02x", ^~~~~~~~~~~ debug.h:84:130: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ convert_apdu.c:148:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x81 (complete file size) = %02x %02x", ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ convert_apdu.c:148:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x81 (complete file size) = %02x %02x", ^~~~~~~~~~~ debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ convert_apdu.c:153:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x80 (file size) = %02x %02x", rtprot[2], rtprot[3]); ^~~~~~~~~~~ debug.h:84:130: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ convert_apdu.c:153:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x80 (file size) = %02x %02x", rtprot[2], rtprot[3]); ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ convert_apdu.c:153:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("tag 0x80 (file size) = %02x %02x", rtprot[2], rtprot[3]); ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ convert_apdu.c:160:3: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("tag 0x86 = %s", array_hexdump(&rtprot[17], 15)); ^~~~~~~~~~~ convert_apdu.c: In function 'convert_rtprot_to_doinfo': debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ convert_apdu.c:173:3: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("data_len = %u", data_len); ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ convert_apdu.c:173:3: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("data_len = %u", data_len); ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ convert_apdu.c:208:4: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("for tag 0xA5 incorrect data_len = %u", data_len); ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ convert_apdu.c:208:4: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("for tag 0xA5 incorrect data_len = %u", data_len); ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ convert_apdu.c:216:2: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("doinfo = %s", array_hexdump(doinfo, doinfo_len)); ^~~~~~~~~~~ convert_apdu.c: In function 'convert_rtprot_to_fcp': debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ convert_apdu.c:236:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("data_len = %u", data_len); ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ convert_apdu.c:236:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("data_len = %u", data_len); ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ convert_apdu.c:257:2: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("fcp = %s", array_hexdump(fcp, sizeof(fcp))); ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.4` -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c -o librutokens_la-commands.lo `test -f 'commands.c' || echo './'`commands.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=0x01000004 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c commands.c -fPIC -DPIC -o .libs/librutokens_la-commands.o In file included from commands.c:37: commands.c: In function 'CmdPowerOn': debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ commands.c:105:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("ICC Power On failed: %s", strerror(errno)); ^~~~~~~~~~~ commands.c:87:22: warning: unused variable 'device_descriptor' [-Wunused-variable] _device_descriptor *device_descriptor = get_device_descriptor(reader_index); ^~~~~~~~~~~~~~~~~ In file included from commands.c:37: commands.c: In function 'CmdPowerOff': debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ commands.c:129:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("ICC Power Off failed: %s", strerror(errno)); ^~~~~~~~~~~ commands.c:122:22: warning: unused variable 'device_descriptor' [-Wunused-variable] _device_descriptor *device_descriptor = get_device_descriptor(reader_index); ^~~~~~~~~~~~~~~~~ In file included from commands.c:37: commands.c: In function 'CmdGetSlotStatus': debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ commands.c:151:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("ICC Slot Status failed: %s", strerror(errno)); ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:161:3: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("Busy: 0x%02X", *status); ^~~~~~~~~~~ debug.h:82:107: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ~~~~^~~~~~~ commands.c:161:3: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("Busy: 0x%02X", *status); ^~~~~~~~~~~ commands.c:166:5: warning: implicit declaration of function 'usleep'; did you mean 'fseek'? [-Wimplicit-function-declaration] usleep(10000); /* 10 ms */ ^~~~~~ fseek In file included from commands.c:37: debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ commands.c:173:6: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("ICC Slot Status failed: %s", strerror(errno)); ^~~~~~~~~~~ commands.c:144:22: warning: unused variable 'device_descriptor' [-Wunused-variable] _device_descriptor *device_descriptor = get_device_descriptor(reader_index); ^~~~~~~~~~~~~~~~~ In file included from commands.c:37: commands.c: In function 'CmdTranslateTxBuffer': debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ commands.c:229:4: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("out of memory (tx_length = %u)", *tx_length); ^~~~~~~~~~~ debug.h:66:106: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ~~~~^~~~~~~ commands.c:229:4: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("out of memory (tx_length = %u)", *tx_length); ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:240:4: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("convert_fcp_to_rtprot = %i", len); ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:240:4: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("convert_fcp_to_rtprot = %i", len); ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:251:4: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("convert_doinfo_to_rtprot = %i", len); ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:251:4: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("convert_doinfo_to_rtprot = %i", len); ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:258:3: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("le = %u", (*send_buf_trn)[4]); ^~~~~~~~~~~ debug.h:82:107: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ~~~~^~~~~~~ commands.c:258:3: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("le = %u", (*send_buf_trn)[4]); ^~~~~~~~~~~ commands.c: In function 'CmdTranslateRxBuffer': debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:283:4: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("convert_rtprot_to_fcp = %i", len); ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:283:4: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("convert_rtprot_to_fcp = %i", len); ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:298:4: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("convert_rtprot_to_doinfo = %i", len); ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:298:4: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("convert_rtprot_to_doinfo = %i", len); ^~~~~~~~~~~ commands.c: In function 'CmdXfrBlock': debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ commands.c:353:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("buffer %s; *rx_length = %d", array_hexdump(tx_buffer, tx_length), *rx_length); ^~~~~~~~~~~ debug.h:84:130: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ commands.c:353:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("buffer %s; *rx_length = %d", array_hexdump(tx_buffer, tx_length), *rx_length); ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:357:2: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("iso.le = %d", iso.le); ^~~~~~~~~~~ debug.h:82:107: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ~~~~^~~~~~~ commands.c:357:2: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("iso.le = %d", iso.le); ^~~~~~~~~~~ commands.c:340:22: warning: unused variable 'device_descriptor' [-Wunused-variable] _device_descriptor *device_descriptor = get_device_descriptor(reader_index); ^~~~~~~~~~~~~~~~~ commands.c:339:15: warning: unused variable 'return_value' [-Wunused-variable] RESPONSECODE return_value = IFD_SUCCESS; ^~~~~~~~~~~~ In file included from commands.c:37: commands.c: In function 'CmdTransmit': debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ commands.c:415:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("ICC Xfr Block failed: %s", strerror(errno)); ^~~~~~~~~~~ debug.h:64:89: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO(fmt) if (LogLevel & DEBUG_LEVEL_INFO) Log1(PCSC_LOG_INFO, fmt); else (fmt) ^ commands.c:421:3: note: in expansion of macro 'DEBUG_INFO' DEBUG_INFO("error get status"); ^~~~~~~~~~ commands.c:406:22: warning: unused variable 'device_descriptor' [-Wunused-variable] _device_descriptor *device_descriptor = get_device_descriptor(reader_index); ^~~~~~~~~~~~~~~~~ In file included from commands.c:37: commands.c: In function 'CmdReceive': debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ commands.c:446:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("ICC Data Block failed: %s", strerror(errno)); ^~~~~~~~~~~ debug.h:64:89: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO(fmt) if (LogLevel & DEBUG_LEVEL_INFO) Log1(PCSC_LOG_INFO, fmt); else (fmt) ^ commands.c:453:3: note: in expansion of macro 'DEBUG_INFO' DEBUG_INFO("error get status"); ^~~~~~~~~~ commands.c:437:22: warning: unused variable 'device_descriptor' [-Wunused-variable] _device_descriptor *device_descriptor = get_device_descriptor(reader_index); ^~~~~~~~~~~~~~~~~ In file included from commands.c:37: commands.c: In function 'CmdReceiveSW': debug.h:64:89: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO(fmt) if (LogLevel & DEBUG_LEVEL_INFO) Log1(PCSC_LOG_INFO, fmt); else (fmt) ^ commands.c:478:3: note: in expansion of macro 'DEBUG_INFO' DEBUG_INFO("status = ICC_STATUS_MUTE"); ^~~~~~~~~~ debug.h:80:90: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM(fmt) if (LogLevel & DEBUG_LEVEL_COMM) Log1(PCSC_LOG_DEBUG, fmt); else (fmt) ^ commands.c:483:3: note: in expansion of macro 'DEBUG_COMM' DEBUG_COMM("status = ICC_STATUS_READY_SW"); ^~~~~~~~~~ commands.c:485:31: warning: pointer targets in passing argument 2 of 'CmdReceive' differ in signedness [-Wpointer-sign] if(CmdReceive(reader_index, &sw_len, sw) != IFD_SUCCESS) ^~~~~~~ commands.c:434:14: note: expected 'unsigned int *' but argument is of type 'int *' RESPONSECODE CmdReceive(unsigned int reader_index, unsigned int *rx_length, ^~~~~~~~~~ In file included from commands.c:37: debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ commands.c:488:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Get SW %x %x", sw[0], sw[1]); ^~~~~~~~~~~ debug.h:84:130: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ commands.c:488:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Get SW %x %x", sw[0], sw[1]); ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ commands.c:488:3: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Get SW %x %x", sw[0], sw[1]); ^~~~~~~~~~~ commands.c: In function 'CmdPrepareT0Hdr': debug.h:80:90: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM(fmt) if (LogLevel & DEBUG_LEVEL_COMM) Log1(PCSC_LOG_DEBUG, fmt); else (fmt) ^ commands.c:508:5: note: in expansion of macro 'DEBUG_COMM' DEBUG_COMM("case 1"); ^~~~~~~~~~ debug.h:80:90: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM(fmt) if (LogLevel & DEBUG_LEVEL_COMM) Log1(PCSC_LOG_DEBUG, fmt); else (fmt) ^ commands.c:516:4: note: in expansion of macro 'DEBUG_COMM' DEBUG_COMM("case 2"); ^~~~~~~~~~ debug.h:80:90: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM(fmt) if (LogLevel & DEBUG_LEVEL_COMM) Log1(PCSC_LOG_DEBUG, fmt); else (fmt) ^ commands.c:527:4: note: in expansion of macro 'DEBUG_COMM' DEBUG_COMM("case 3"); ^~~~~~~~~~ commands.c: In function 'CmdSendTPDU': debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ commands.c:549:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("send tpdu command %s, len: %d", array_hexdump(sbuf, slen), slen); ^~~~~~~~~~~ debug.h:84:130: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ commands.c:549:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("send tpdu command %s, len: %d", array_hexdump(sbuf, slen), slen); ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:576:4: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("get Data %d", iso.le); ^~~~~~~~~~~ debug.h:82:107: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ~~~~^~~~~~~ commands.c:576:4: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("get Data %d", iso.le); ^~~~~~~~~~~ commands.c:585:34: warning: pointer targets in passing argument 2 of 'CmdReceive' differ in signedness [-Wpointer-sign] r = CmdReceive(reader_index, rrecv, rbuf); ^~~~~ commands.c:434:14: note: expected 'unsigned int *' but argument is of type 'int *' RESPONSECODE CmdReceive(unsigned int reader_index, unsigned int *rx_length, ^~~~~~~~~~ In file included from commands.c:37: debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:588:5: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("get TPDU Anser %s", array_hexdump(rbuf, *rrecv)); ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:611:4: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("send Data %d", iso.lc); ^~~~~~~~~~~ debug.h:82:107: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ~~~~^~~~~~~ commands.c:611:4: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("send Data %d", iso.lc); ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:619:5: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("send TPDU Data %s", array_hexdump(iso.data, iso.lc)); ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ commands.c:674:2: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("recv %d bytes", *rrecv); ^~~~~~~~~~~ debug.h:82:107: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ~~~~^~~~~~~ commands.c:674:2: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("recv %d bytes", *rrecv); ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.4` -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c -o librutokens_la-rutokens_usb.lo `test -f 'rutokens_usb.c' || echo './'`rutokens_usb.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=0x01000004 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c rutokens_usb.c -fPIC -DPIC -o .libs/librutokens_la-rutokens_usb.o In file included from rutokens_usb.c:37: rutokens_usb.c: In function 'OpenUSBByName': debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:108:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Reader index: %X, Device: %s", reader_index, device); ^~~~~~~~~~~ debug.h:84:130: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:108:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Reader index: %X, Device: %s", reader_index, device); ^~~~~~~~~~~ debug.h:84:119: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:108:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Reader index: %X, Device: %s", reader_index, device); ^~~~~~~~~~~ In file included from rutokens_usb.c:37: debug.h:57:118: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:117:4: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("device name does not start with \"usb:\": %s", device); ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:117:4: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("device name does not start with \"usb:\": %s", device); ^~~~~~~~~~~~~~~ debug.h:57:118: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:140:5: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("device name can't be parsed: %s", device); ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:140:5: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("device name can't be parsed: %s", device); ^~~~~~~~~~~~~~~ debug.h:57:118: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:146:5: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("device name can't be parsed: %s", device); ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:146:5: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("device name can't be parsed: %s", device); ^~~~~~~~~~~~~~~ debug.h:57:118: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:155:5: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("device name can't be parsed: %s", device); ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:155:5: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("device name can't be parsed: %s", device); ^~~~~~~~~~~~~~~ debug.h:57:118: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:184:5: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("can't parse using libusb scheme: %s", device); ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:184:5: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("can't parse using libusb scheme: %s", device); ^~~~~~~~~~~~~~~ debug.h:57:118: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:220:5: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("can't parse using libudev scheme: %s", device); ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:220:5: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("can't parse using libudev scheme: %s", device); ^~~~~~~~~~~~~~~ debug.h:57:118: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:225:4: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("can't parse device naming sheme: %s", device); ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:225:4: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("can't parse device naming sheme: %s", device); ^~~~~~~~~~~~~~~ debug.h:55:101: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) ^ rutokens_usb.c:240:3: note: in expansion of macro 'DEBUG_CRITICAL' DEBUG_CRITICAL("No USB busses found"); ^~~~~~~~~~~~~~ debug.h:57:118: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:247:3: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("USB driver with index %X already in use", ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) ^ rutokens_usb.c:247:3: note: in expansion of macro 'DEBUG_CRITICAL2' DEBUG_CRITICAL2("USB driver with index %X already in use", ^~~~~~~~~~~~~~~ In file included from rutokens_usb.c:37: debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ rutokens_usb.c:258:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("Manufacturer: %s", keyValue); ^~~~~~~~~~~ debug.h:66:106: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ~~~~^~~~~~~ rutokens_usb.c:258:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("Manufacturer: %s", keyValue); ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ rutokens_usb.c:262:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("LTPBundleFindValueWithKey error. Can't find %s", infofile); ^~~~~~~~~~~ debug.h:66:106: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ~~~~^~~~~~~ rutokens_usb.c:262:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("LTPBundleFindValueWithKey error. Can't find %s", infofile); ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ rutokens_usb.c:267:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("ProductString: %s", keyValue); ^~~~~~~~~~~ debug.h:66:106: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ~~~~^~~~~~~ rutokens_usb.c:267:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("ProductString: %s", keyValue); ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ^ rutokens_usb.c:273:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("Copyright: %s", keyValue); ^~~~~~~~~~~ debug.h:66:106: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) ~~~~^~~~~~~ rutokens_usb.c:273:3: note: in expansion of macro 'DEBUG_INFO2' DEBUG_INFO2("Copyright: %s", keyValue); ^~~~~~~~~~~ debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:329:6: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Checking device: %s/%s", bus->dirname, dev->filename); ^~~~~~~~~~~ debug.h:84:130: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:329:6: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Checking device: %s/%s", bus->dirname, dev->filename); ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ rutokens_usb.c:329:6: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Checking device: %s/%s", bus->dirname, dev->filename); ^~~~~~~~~~~ debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:334:8: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Comparing with device: %s/%s", usbDevice[r].dirname, usbDevice[r].filename); ^~~~~~~~~~~ debug.h:84:130: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:334:8: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Comparing with device: %s/%s", usbDevice[r].dirname, usbDevice[r].filename); ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ rutokens_usb.c:334:8: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Comparing with device: %s/%s", usbDevice[r].dirname, usbDevice[r].filename); ^~~~~~~~~~~ debug.h:68:122: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:344:7: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("USB device %s/%s already in use. Checking next one.", bus->dirname, dev->filename); ^~~~~~~~~~~ debug.h:68:129: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:344:7: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("USB device %s/%s already in use. Checking next one.", bus->dirname, dev->filename); ^~~~~~~~~~~ debug.h:68:129: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ rutokens_usb.c:344:7: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("USB device %s/%s already in use. Checking next one.", bus->dirname, dev->filename); ^~~~~~~~~~~ debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:348:6: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Trying to open USB bus/device: %s/%s", bus->dirname, dev->filename); ^~~~~~~~~~~ debug.h:84:130: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:348:6: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Trying to open USB bus/device: %s/%s", bus->dirname, dev->filename); ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ rutokens_usb.c:348:6: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Trying to open USB bus/device: %s/%s", bus->dirname, dev->filename); ^~~~~~~~~~~ debug.h:61:148: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL4(fmt, data1, data2, data3) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log4(PCSC_LOG_CRITICAL, fmt, data1, data2, data3); else (fmt, data1, data2, data3) ^ rutokens_usb.c:353:7: note: in expansion of macro 'DEBUG_CRITICAL4' DEBUG_CRITICAL4("Can't usb_open(%s/%s): %s", bus->dirname, dev->filename, strerror(errno)); ^~~~~~~~~~~~~~~ debug.h:61:155: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL4(fmt, data1, data2, data3) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log4(PCSC_LOG_CRITICAL, fmt, data1, data2, data3); else (fmt, data1, data2, data3) ^ rutokens_usb.c:353:7: note: in expansion of macro 'DEBUG_CRITICAL4' DEBUG_CRITICAL4("Can't usb_open(%s/%s): %s", bus->dirname, dev->filename, strerror(errno)); ^~~~~~~~~~~~~~~ debug.h:61:162: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL4(fmt, data1, data2, data3) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log4(PCSC_LOG_CRITICAL, fmt, data1, data2, data3); else (fmt, data1, data2, data3) ^ rutokens_usb.c:353:7: note: in expansion of macro 'DEBUG_CRITICAL4' DEBUG_CRITICAL4("Can't usb_open(%s/%s): %s", bus->dirname, dev->filename, strerror(errno)); ^~~~~~~~~~~~~~~ debug.h:59:134: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log3(PCSC_LOG_CRITICAL, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:361:7: note: in expansion of macro 'DEBUG_CRITICAL3' DEBUG_CRITICAL3("No dev->config found for %s/%s", bus->dirname, dev->filename); ^~~~~~~~~~~~~~~ debug.h:59:141: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log3(PCSC_LOG_CRITICAL, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:361:7: note: in expansion of macro 'DEBUG_CRITICAL3' DEBUG_CRITICAL3("No dev->config found for %s/%s", bus->dirname, dev->filename); ^~~~~~~~~~~~~~~ debug.h:59:141: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log3(PCSC_LOG_CRITICAL, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ rutokens_usb.c:361:7: note: in expansion of macro 'DEBUG_CRITICAL3' DEBUG_CRITICAL3("No dev->config found for %s/%s", bus->dirname, dev->filename); ^~~~~~~~~~~~~~~ debug.h:59:134: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log3(PCSC_LOG_CRITICAL, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:369:7: note: in expansion of macro 'DEBUG_CRITICAL3' DEBUG_CRITICAL3("Can't find a device interface on %s/%s", bus->dirname, dev->filename); ^~~~~~~~~~~~~~~ debug.h:59:141: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log3(PCSC_LOG_CRITICAL, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:369:7: note: in expansion of macro 'DEBUG_CRITICAL3' DEBUG_CRITICAL3("Can't find a device interface on %s/%s", bus->dirname, dev->filename); ^~~~~~~~~~~~~~~ debug.h:59:141: warning: statement with no effect [-Wunused-value] #define DEBUG_CRITICAL3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log3(PCSC_LOG_CRITICAL, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ rutokens_usb.c:369:7: note: in expansion of macro 'DEBUG_CRITICAL3' DEBUG_CRITICAL3("Can't find a device interface on %s/%s", bus->dirname, dev->filename); ^~~~~~~~~~~~~~~ debug.h:70:136: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO4(fmt, data1, data2, data3) if (LogLevel & DEBUG_LEVEL_INFO) Log4(PCSC_LOG_INFO, fmt, data1, data2, data3); else (fmt, data1, data2, data3) ^ rutokens_usb.c:374:7: note: in expansion of macro 'DEBUG_INFO4' DEBUG_INFO4("Extra field for %s/%s has a wrong length: %d", bus->dirname, dev->filename, usb_interface->altsetting->extralen); ^~~~~~~~~~~ debug.h:70:143: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO4(fmt, data1, data2, data3) if (LogLevel & DEBUG_LEVEL_INFO) Log4(PCSC_LOG_INFO, fmt, data1, data2, data3); else (fmt, data1, data2, data3) ^ rutokens_usb.c:374:7: note: in expansion of macro 'DEBUG_INFO4' DEBUG_INFO4("Extra field for %s/%s has a wrong length: %d", bus->dirname, dev->filename, usb_interface->altsetting->extralen); ^~~~~~~~~~~ debug.h:70:150: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO4(fmt, data1, data2, data3) if (LogLevel & DEBUG_LEVEL_INFO) Log4(PCSC_LOG_INFO, fmt, data1, data2, data3); else (fmt, data1, data2, data3) ^ rutokens_usb.c:374:7: note: in expansion of macro 'DEBUG_INFO4' DEBUG_INFO4("Extra field for %s/%s has a wrong length: %d", bus->dirname, dev->filename, usb_interface->altsetting->extralen); ^~~~~~~~~~~ debug.h:70:150: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO4(fmt, data1, data2, data3) if (LogLevel & DEBUG_LEVEL_INFO) Log4(PCSC_LOG_INFO, fmt, data1, data2, data3); else (fmt, data1, data2, data3) ~~~~~~~~~~~~~~~~~~^~~~~~~~ rutokens_usb.c:374:7: note: in expansion of macro 'DEBUG_INFO4' DEBUG_INFO4("Extra field for %s/%s has a wrong length: %d", bus->dirname, dev->filename, usb_interface->altsetting->extralen); ^~~~~~~~~~~ rutokens_usb.c:373:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (usb_interface->altsetting->extralen != 54) ^ In file included from rutokens_usb.c:37: debug.h:61:148: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL4(fmt, data1, data2, data3) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log4(PCSC_LOG_CRITICAL, fmt, data1, data2, data3); else (fmt, data1, data2, data3) ^ rutokens_usb.c:380:7: note: in expansion of macro 'DEBUG_CRITICAL4' DEBUG_CRITICAL4("Can't claim interface %s/%s: %s", bus->dirname, dev->filename, strerror(errno)); ^~~~~~~~~~~~~~~ debug.h:61:155: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL4(fmt, data1, data2, data3) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log4(PCSC_LOG_CRITICAL, fmt, data1, data2, data3); else (fmt, data1, data2, data3) ^ rutokens_usb.c:380:7: note: in expansion of macro 'DEBUG_CRITICAL4' DEBUG_CRITICAL4("Can't claim interface %s/%s: %s", bus->dirname, dev->filename, strerror(errno)); ^~~~~~~~~~~~~~~ debug.h:61:162: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_CRITICAL4(fmt, data1, data2, data3) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log4(PCSC_LOG_CRITICAL, fmt, data1, data2, data3); else (fmt, data1, data2, data3) ^ rutokens_usb.c:380:7: note: in expansion of macro 'DEBUG_CRITICAL4' DEBUG_CRITICAL4("Can't claim interface %s/%s: %s", bus->dirname, dev->filename, strerror(errno)); ^~~~~~~~~~~~~~~ debug.h:70:136: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO4(fmt, data1, data2, data3) if (LogLevel & DEBUG_LEVEL_INFO) Log4(PCSC_LOG_INFO, fmt, data1, data2, data3); else (fmt, data1, data2, data3) ^ rutokens_usb.c:384:6: note: in expansion of macro 'DEBUG_INFO4' DEBUG_INFO4("Found Vendor/Product: %04X/%04X (%s)", dev->descriptor.idVendor, dev->descriptor.idProduct, keyValue); ^~~~~~~~~~~ debug.h:70:143: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO4(fmt, data1, data2, data3) if (LogLevel & DEBUG_LEVEL_INFO) Log4(PCSC_LOG_INFO, fmt, data1, data2, data3); else (fmt, data1, data2, data3) ^ rutokens_usb.c:384:6: note: in expansion of macro 'DEBUG_INFO4' DEBUG_INFO4("Found Vendor/Product: %04X/%04X (%s)", dev->descriptor.idVendor, dev->descriptor.idProduct, keyValue); ^~~~~~~~~~~ debug.h:70:150: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO4(fmt, data1, data2, data3) if (LogLevel & DEBUG_LEVEL_INFO) Log4(PCSC_LOG_INFO, fmt, data1, data2, data3); else (fmt, data1, data2, data3) ^ rutokens_usb.c:384:6: note: in expansion of macro 'DEBUG_INFO4' DEBUG_INFO4("Found Vendor/Product: %04X/%04X (%s)", dev->descriptor.idVendor, dev->descriptor.idProduct, keyValue); ^~~~~~~~~~~ debug.h:70:150: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO4(fmt, data1, data2, data3) if (LogLevel & DEBUG_LEVEL_INFO) Log4(PCSC_LOG_INFO, fmt, data1, data2, data3); else (fmt, data1, data2, data3) ~~~~~~~~~~~~~~~~~~^~~~~~~~ rutokens_usb.c:384:6: note: in expansion of macro 'DEBUG_INFO4' DEBUG_INFO4("Found Vendor/Product: %04X/%04X (%s)", dev->descriptor.idVendor, dev->descriptor.idProduct, keyValue); ^~~~~~~~~~~ debug.h:68:122: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:385:6: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("Using USB bus/device: %s/%s", bus->dirname, dev->filename); ^~~~~~~~~~~ debug.h:68:129: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:385:6: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("Using USB bus/device: %s/%s", bus->dirname, dev->filename); ^~~~~~~~~~~ debug.h:68:129: warning: statement with no effect [-Wunused-value] #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ rutokens_usb.c:385:6: note: in expansion of macro 'DEBUG_INFO3' DEBUG_INFO3("Using USB bus/device: %s/%s", bus->dirname, dev->filename); ^~~~~~~~~~~ rutokens_usb.c:106:13: warning: variable 'previous_reader_index' set but not used [-Wunused-but-set-variable] static int previous_reader_index = -1; ^~~~~~~~~~~~~~~~~~~~~ In file included from rutokens_usb.c:37: rutokens_usb.c: In function 'CloseUSB': debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:435:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Closing USB device: %s/%s", ^~~~~~~~~~~ debug.h:84:130: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ^ rutokens_usb.c:435:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Closing USB device: %s/%s", ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) ~~~~~~~~~~~^~~~~~~~ rutokens_usb.c:435:2: note: in expansion of macro 'DEBUG_COMM3' DEBUG_COMM3("Closing USB device: %s/%s", ^~~~~~~~~~~ debug.h:80:90: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM(fmt) if (LogLevel & DEBUG_LEVEL_COMM) Log1(PCSC_LOG_DEBUG, fmt); else (fmt) ^ rutokens_usb.c:445:3: note: in expansion of macro 'DEBUG_COMM' DEBUG_COMM("Last slot closed. Release resources"); ^~~~~~~~~~ rutokens_usb.c: In function 'ControlUSB': debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ rutokens_usb.c:510:2: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("request: 0x%02X", request); ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) ^ rutokens_usb.c:510:2: note: in expansion of macro 'DEBUG_COMM2' DEBUG_COMM2("request: 0x%02X", request); ^~~~~~~~~~~ debug.h:89:124: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_XXD(msg, buffer, size) if (LogLevel & DEBUG_LEVEL_COMM) log_xxd(PCSC_LOG_DEBUG, msg, buffer, size); else (msg, buffer, size) ^ rutokens_usb.c:513:3: note: in expansion of macro 'DEBUG_XXD' DEBUG_XXD("send: ", bytes, size); ^~~~~~~~~ debug.h:89:132: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_XXD(msg, buffer, size) if (LogLevel & DEBUG_LEVEL_COMM) log_xxd(PCSC_LOG_DEBUG, msg, buffer, size); else (msg, buffer, size) ^ rutokens_usb.c:513:3: note: in expansion of macro 'DEBUG_XXD' DEBUG_XXD("send: ", bytes, size); ^~~~~~~~~ debug.h:89:120: warning: statement with no effect [-Wunused-value] #define DEBUG_XXD(msg, buffer, size) if (LogLevel & DEBUG_LEVEL_COMM) log_xxd(PCSC_LOG_DEBUG, msg, buffer, size); else (msg, buffer, size) ^ rutokens_usb.c:513:3: note: in expansion of macro 'DEBUG_XXD' DEBUG_XXD("send: ", bytes, size); ^~~~~~~~~ rutokens_usb.c:512:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (0 == (requesttype & 0x80)) ^ In file included from rutokens_usb.c:37: debug.h:89:124: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_XXD(msg, buffer, size) if (LogLevel & DEBUG_LEVEL_COMM) log_xxd(PCSC_LOG_DEBUG, msg, buffer, size); else (msg, buffer, size) ^ rutokens_usb.c:520:4: note: in expansion of macro 'DEBUG_XXD' DEBUG_XXD("receive: ", bytes, ret); ^~~~~~~~~ debug.h:89:132: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define DEBUG_XXD(msg, buffer, size) if (LogLevel & DEBUG_LEVEL_COMM) log_xxd(PCSC_LOG_DEBUG, msg, buffer, size); else (msg, buffer, size) ^ rutokens_usb.c:520:4: note: in expansion of macro 'DEBUG_XXD' DEBUG_XXD("receive: ", bytes, ret); ^~~~~~~~~ debug.h:89:120: warning: statement with no effect [-Wunused-value] #define DEBUG_XXD(msg, buffer, size) if (LogLevel & DEBUG_LEVEL_COMM) log_xxd(PCSC_LOG_DEBUG, msg, buffer, size); else (msg, buffer, size) ^ rutokens_usb.c:520:4: note: in expansion of macro 'DEBUG_XXD' DEBUG_XXD("receive: ", bytes, ret); ^~~~~~~~~ rutokens_usb.c:519:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (requesttype & 0x80) ^ rutokens_usb.c: In function 'OpenUSBByName': rutokens_usb.c:300:47: warning: 'device_product' may be used uninitialized in this function [-Wmaybe-uninitialized] && (vendorID != device_vendor || productID != device_product)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~ rutokens_usb.c:300:17: warning: 'device_vendor' may be used uninitialized in this function [-Wmaybe-uninitialized] && (vendorID != device_vendor || productID != device_product)) ~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.4` -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c -o librutokens_la-tokenparser.lo `test -f 'tokenparser.c' || echo './'`tokenparser.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=0x01000004 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -c tokenparser.c -fPIC -DPIC -o .libs/librutokens_la-tokenparser.o tokenparser.c:1149:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -pthread -I/usr/include/PCSC -pthread -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.4` -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-stack-protector -Wl,--as-needed -o librutokens.la -rpath /usr/lib librutokens_la-apdu.lo librutokens_la-array_hexdump.lo librutokens_la-commands.lo librutokens_la-convert_apdu.lo librutokens_la-ifdhandler.lo librutokens_la-infopath.lo librutokens_la-utils.lo librutokens_la-rutokens_usb.lo librutokens_la-tokenparser.lo librutokens_la-strlcpy.lo -lusb libtool: link: i586-alt-linux-gcc -shared -fPIC -DPIC .libs/librutokens_la-apdu.o .libs/librutokens_la-array_hexdump.o .libs/librutokens_la-commands.o .libs/librutokens_la-convert_apdu.o .libs/librutokens_la-ifdhandler.o .libs/librutokens_la-infopath.o .libs/librutokens_la-utils.o .libs/librutokens_la-rutokens_usb.o .libs/librutokens_la-tokenparser.o .libs/librutokens_la-strlcpy.o -lusb -pthread -pthread -O2 -march=i586 -mtune=generic -Wl,--as-needed -pthread -Wl,-soname -Wl,librutokens.so.0 -o .libs/librutokens.so.0.0.0 libtool: link: (cd ".libs" && rm -f "librutokens.so.0" && ln -s "librutokens.so.0.0.0" "librutokens.so.0") libtool: link: (cd ".libs" && rm -f "librutokens.so" && ln -s "librutokens.so.0.0.0" "librutokens.so") libtool: link: ( cd ".libs" && rm -f "librutokens.la" && ln -s "../librutokens.la" "librutokens.la" ) make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.78313 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/pcsc-lite-rutokens-buildroot + : + /bin/rm -rf -- /usr/src/tmp/pcsc-lite-rutokens-buildroot + cd pcsc-lite-rutokens-1.0.4 + /usr/bin/make 'INSTALL=/bin/install -p' prefix=/usr/src/tmp/pcsc-lite-rutokens-buildroot/usr exec_prefix=/usr/src/tmp/pcsc-lite-rutokens-buildroot/usr bindir=/usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/bin sbindir=/usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/sbin sysconfdir=/usr/src/tmp/pcsc-lite-rutokens-buildroot/etc datadir=/usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/share includedir=/usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/include libdir=/usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/lib libexecdir=/usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/lib localstatedir=/usr/src/tmp/pcsc-lite-rutokens-buildroot/var/lib sharedstatedir=/usr/src/tmp/pcsc-lite-rutokens-buildroot/var/lib mandir=/usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/share/man infodir=/usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/share/info install DESTDIR=/usr/src/tmp/pcsc-lite-rutokens-buildroot make: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4' Making install in m4 make[1]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/m4' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/m4' 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/pcsc-lite-rutokens-1.0.4/m4' make[1]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/m4' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' cat ./Info.plist.src | sed s/BUNDLE/ifd-rutokens.bundle/\ | sed s/VERSION/1.0.4/ | sed s/TARGET/librutokens.so/ > Info.plist /bin/sh /usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/build/install-sh -d /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/lib/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/ cp Info.plist /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/lib/pcsc/drivers/ifd-rutokens.bundle/Contents/ cp .libs/librutokens.so /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/lib/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.4 ln -fs librutokens.so.1.0.4 /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/lib/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so cp: cannot create regular file '/etc/udev/rules.d/': No such file or directory RutonenS udev rules file is copied to /etc/udev/rules.d/ make[1]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4/src' make[1]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4' 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/pcsc-lite-rutokens-1.0.4' make[1]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4' make: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.4' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/pcsc-lite-rutokens-buildroot (auto) mode of './usr/lib/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.4' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/pcsc-lite-rutokens-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/pcsc-lite-rutokens-buildroot/ (default) Compressing files in /usr/src/tmp/pcsc-lite-rutokens-buildroot (auto) Adjusting library links in /usr/src/tmp/pcsc-lite-rutokens-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/pcsc-lite-rutokens-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.4: undefined symbol: log_xxd verify-elf: WARNING: ./usr/lib/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.4: undefined symbol: log_msg verify-elf: WARNING: ./usr/lib/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.4: undefined symbol: dladdr verify-elf: WARNING: ./usr/lib/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.4: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: pcsc-lite-rutokens-1.0.4-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.78313 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pcsc-lite-rutokens-1.0.4 + DOCDIR=/usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/share/doc/pcsc-lite-rutokens-1.0.4 + export DOCDIR + rm -rf /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/share/doc/pcsc-lite-rutokens-1.0.4 + /bin/mkdir -p /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/share/doc/pcsc-lite-rutokens-1.0.4 + cp -prL AUTHORS COPYING NEWS README /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/share/doc/pcsc-lite-rutokens-1.0.4 + chmod -R go-w /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/share/doc/pcsc-lite-rutokens-1.0.4 + chmod -R a+rX /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/share/doc/pcsc-lite-rutokens-1.0.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6qSUUi find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.biPAbJ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Provides: rutokens-driver, ifd-rutokens Requires: pcsc-lite, libc.so.6 >= set:poiedc, libc.so.6(ALT_2.24), libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2.5), libc.so.6(GLIBC_2.3.4), libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.3.2), libusb-0.1.so.4 >= set:iew8DHnBFzWlddVCVCYIi2, 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.rWUW2x Creating pcsc-lite-rutokens-debuginfo package Processing files: pcsc-lite-rutokens-debuginfo-1.0.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.EKGhCC find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NDO3yO find-requires: running scripts (debuginfo) Requires: pcsc-lite-rutokens = 1.0.4-alt1, debug(libc.so.6), debug(libpthread.so.0), debug(libusb-0.1.so.4) Wrote: /usr/src/RPM/RPMS/i586/pcsc-lite-rutokens-1.0.4-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/pcsc-lite-rutokens-debuginfo-1.0.4-alt1.i586.rpm 10.31user 2.02system 0:19.76elapsed 62%CPU (0avgtext+0avgdata 27220maxresident)k 0inputs+0outputs (0major+904044minor)pagefaults 0swaps 20.12user 4.90system 0:34.12elapsed 73%CPU (0avgtext+0avgdata 121800maxresident)k 168inputs+0outputs (0major+1356806minor)pagefaults 0swaps --- pcsc-lite-rutokens-1.0.4-alt1.i586.rpm.repo 2016-09-16 09:01:16.000000000 +0000 +++ pcsc-lite-rutokens-1.0.4-alt1.i586.rpm.hasher 2019-01-09 08:32:29.544499953 +0000 @@ -14,2 +14,3 @@ Requires: rpmlib(SetVersions) +Requires: libc.so.6(ALT_2.24) Requires: libc.so.6(GLIBC_2.0)