<86>Nov 14 02:57:23 userdel[3822124]: delete user 'rooter' <86>Nov 14 02:57:23 userdel[3822124]: removed group 'rooter' owned by 'rooter' <86>Nov 14 02:57:23 userdel[3822124]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 14 02:57:23 groupadd[3822158]: group added to /etc/group: name=rooter, GID=1805 <86>Nov 14 02:57:23 groupadd[3822158]: group added to /etc/gshadow: name=rooter <86>Nov 14 02:57:23 groupadd[3822158]: new group: name=rooter, GID=1805 <86>Nov 14 02:57:23 useradd[3822187]: new user: name=rooter, UID=1805, GID=1805, home=/root, shell=/bin/bash, from=none <86>Nov 14 02:57:23 userdel[3822227]: delete user 'builder' <86>Nov 14 02:57:23 userdel[3822227]: removed group 'builder' owned by 'builder' <86>Nov 14 02:57:23 userdel[3822227]: removed shadow group 'builder' owned by 'builder' <86>Nov 14 02:57:23 groupadd[3822255]: group added to /etc/group: name=builder, GID=1806 <86>Nov 14 02:57:23 groupadd[3822255]: group added to /etc/gshadow: name=builder <86>Nov 14 02:57:23 groupadd[3822255]: new group: name=builder, GID=1806 <86>Nov 14 02:57:23 useradd[3822291]: new user: name=builder, UID=1806, GID=1806, home=/usr/src, shell=/bin/bash, from=none 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>Nov 14 02:57:26 rpmi: libusb-1.0.27-alt1 sisyphus+347412.100.1.1 1714739651 installed <13>Nov 14 02:57:26 rpmi: libusb-compat-0.1.8-alt1 sisyphus+339464.100.1.1 1706693618 installed <13>Nov 14 02:57:26 rpmi: libpcsclite-2.3.0-alt1 sisyphus+354307.100.1.1 1722717462 installed <13>Nov 14 02:57:26 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Nov 14 02:57:26 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>Nov 14 02:57:26 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349835 installed <13>Nov 14 02:57:26 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>Nov 14 02:57:26 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Nov 14 02:57:26 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Nov 14 02:57:26 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 14 02:57:26 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 14 02:57:26 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Nov 14 02:57:26 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Nov 14 02:57:26 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Nov 14 02:57:27 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Nov 14 02:57:27 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Nov 14 02:57:27 rpmi: python3-3.12.7-alt1 sisyphus+358796.100.1.1 1727844808 installed <13>Nov 14 02:57:27 rpmi: python3-base-3.12.7-alt1 sisyphus+358796.100.1.1 1727844808 installed <13>Nov 14 02:57:27 rpmi: libpcsclite-devel-2.3.0-alt1 sisyphus+354307.100.1.1 1722717462 installed <13>Nov 14 02:57:27 rpmi: libusb-compat-devel-0.1.8-alt1 sisyphus+339464.100.1.1 1706693618 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/pcsc-lite-rutokens-1.0.9-alt1.nosrc.rpm (w1.gzdio) Installing pcsc-lite-rutokens-1.0.9-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.57307 + 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.9 + echo 'Source #0 (pcsc-lite-rutokens-1.0.9.tar):' Source #0 (pcsc-lite-rutokens-1.0.9.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/pcsc-lite-rutokens-1.0.9.tar + cd pcsc-lite-rutokens-1.0.9 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.57307 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pcsc-lite-rutokens-1.0.9 + ./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: export WARNINGS= autoreconf-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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' autoreconf-default: configure.in: tracing 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_DIRS([m4])' to configure.in, libtoolize-default: and rerunning libtoolize-default and aclocal. autoreconf-default: configure.in: not using Intltool autoreconf-default: configure.in: not using Gtkdoc autoreconf-default: running: aclocal -I m4 aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf-default: running: /usr/bin/autoconf-2.71 configure.in:21: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:21: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:1075: AM_CONFIG_HEADER is expanded from... configure.in:21: the top level configure.in:33: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... aclocal.m4:944: AM_PROG_LEX is expanded from... configure.in:33: the top level configure.in:58: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.in:58: You should run autoupdate. m4/libtool.m4:101: AM_PROG_LIBTOOL is expanded from... configure.in:58: the top level configure.in:64: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:64: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:64: the top level configure.in:71: warning: The macro `AC_HEADER_TIME' is obsolete. configure.in:71: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.in:71: the top level configure.in:183: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:200: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from... configure.in:183: the top level configure.in:192: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:192: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:192: the top level configure.in:196: warning: The macro `AC_LANG_C' is obsolete. configure.in:196: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... acinclude.m4:82: ACX_PTHREAD is expanded from... configure.in:196: the top level configure.in:196: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:196: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:82: ACX_PTHREAD is expanded from... configure.in:196: the top level configure.in:206: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:206: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:206: the top level configure.in:216: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:216: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:216: the top level configure.in:229: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:229: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:229: the top level configure.in:251: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:251: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:251: the top level configure.in:257: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:257: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:257: the top level configure.in:266: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:266: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:266: the top level autoreconf-default: running: /usr/bin/autoheader-2.71 autoheader-2.71: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf-default: running: automake --add-missing --copy --no-force automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext --disable-static --enable-usbdropdir=/usr/lib64/pcsc/drivers --enable-udevrules configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-alt-linux-gcc... x86_64-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 the compiler supports GNU C... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to enable C11 features... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-gcc... none checking how to run the C preprocessor... x86_64-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 x86_64-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 stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for ifdhandler.h... yes checking for x86_64-alt-linux-gcc options needed to detect all undeclared functions... none needed checking whether IFD_NO_SUCH_DEVICE is declared... yes checking whether TAG_IFD_POLLING_THREAD is declared... yes checking for reader.h... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for 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 how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-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 x86_64-alt-linux-file... no checking for file... file checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-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 x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for egrep... (cached) /usr/bin/grep -E checking for errno.h... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for termios.h... yes checking for string.h... (cached) yes checking for errno.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for stdarg.h... yes checking for arpa/inet.h... yes checking for an ANSI C-conforming const... yes checking for size_t... 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 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... 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 -m elf_x86_64 accepts --as-needed... yes librutokens has been configured with following options: Version: 1.0.9 User binaries: /usr/bin Configuration files: /etc Host: x86_64-alt-linux-gnu Compiler: x86_64-alt-linux-gcc Preprocessor flags: Compiler flags: -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-stack-protector Preprocessor flags: Linker flags: -Wl,--as-needed Libraries: PTHREAD_CFLAGS: 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/lib64/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 -j16 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.9/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.9` -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-stack-protector -c -o librutokens_la-strlcpy.lo `test -f 'strlcpy.c' || echo './'`strlcpy.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=0x01000009 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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.9/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.9` -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-stack-protector -c -o librutokens_la-utils.lo `test -f 'utils.c' || echo './'`utils.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=0x01000009 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ utils.c:50:17: note: in expansion of macro 'DEBUG_CRITICAL2' 50 | DEBUG_CRITICAL2("Lun: %d is already used", Lun); | ^~~~~~~~~~~~~~~ debug.h:57:118: warning: statement with no effect [-Wunused-value] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ~~~~^~~~~~~ utils.c:50:17: note: in expansion of macro 'DEBUG_CRITICAL2' 50 | DEBUG_CRITICAL2("Lun: %d is already used", Lun); | ^~~~~~~~~~~~~~~ debug.h:55:101: warning: statement with no effect [-Wunused-value] 55 | #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) | ^ utils.c:61:9: note: in expansion of macro 'DEBUG_CRITICAL' 61 | 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] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ utils.c:73:9: note: in expansion of macro 'DEBUG_CRITICAL2' 73 | DEBUG_CRITICAL2("Lun: %X not found", Lun); | ^~~~~~~~~~~~~~~ debug.h:57:118: warning: statement with no effect [-Wunused-value] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ~~~~^~~~~~~ utils.c:73:9: note: in expansion of macro 'DEBUG_CRITICAL2' 73 | DEBUG_CRITICAL2("Lun: %X not found", Lun); | ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.9` -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-stack-protector -c -o librutokens_la-apdu.lo `test -f 'apdu.c' || echo './'`apdu.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=0x01000009 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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.9/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.9` -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-stack-protector -c -o librutokens_la-array_hexdump.lo `test -f 'array_hexdump.c' || echo './'`array_hexdump.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=0x01000009 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:25: warning: variable 'left' set but not used [-Wunused-but-set-variable] 33 | unsigned int i, left; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.9` -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-stack-protector -c -o librutokens_la-infopath.lo `test -f 'infopath.c' || echo './'`infopath.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=0x01000009 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:109:53: warning: too many arguments for format [-Wformat-extra-args] 109 | #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' 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^~~~ infopath.c:68:17: note: in expansion of macro 'DEBUG_INFO2' 68 | DEBUG_INFO2("Can't find library path, use default path to Info.plist", LogLevel); | ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ infopath.c:68:17: note: in expansion of macro 'DEBUG_INFO2' 68 | 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] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ infopath.c:68:17: note: in expansion of macro 'DEBUG_INFO2' 68 | DEBUG_INFO2("Can't find library path, use default path to Info.plist", LogLevel); | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.9` -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-stack-protector -c -o librutokens_la-convert_apdu.lo `test -f 'convert_apdu.c' || echo './'`convert_apdu.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=0x01000009 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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] 84 | #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:17: note: in expansion of macro 'DEBUG_COMM3' 90 | 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] 84 | #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:17: note: in expansion of macro 'DEBUG_COMM3' 90 | DEBUG_COMM3("tag 0x80 (file size) = %02x %02x", dohdr[0], dohdr[1]); | ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] 84 | #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:17: note: in expansion of macro 'DEBUG_COMM3' 90 | 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] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ convert_apdu.c:94:17: note: in expansion of macro 'DEBUG_COMM2' 94 | DEBUG_COMM2("tag 0xA5 = %s", array_hexdump(data_a5, data_a5_len)); | ^~~~~~~~~~~ In file included from debug.h:52: /usr/include/PCSC/debuglog.h:109:53: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 109 | #define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data) | ^~~~~~~~~~~~~ debug.h:82:65: note: in expansion of macro 'Log2' 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^~~~ convert_apdu.c:98:17: note: in expansion of macro 'DEBUG_COMM2' 98 | DEBUG_COMM2("data_len = %u", data_len); | ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ convert_apdu.c:98:17: note: in expansion of macro 'DEBUG_COMM2' 98 | DEBUG_COMM2("data_len = %u", data_len); | ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ convert_apdu.c:98:17: note: in expansion of macro 'DEBUG_COMM2' 98 | DEBUG_COMM2("data_len = %u", data_len); | ^~~~~~~~~~~ debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] 84 | #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:17: note: in expansion of macro 'DEBUG_COMM3' 102 | 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] 84 | #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:17: note: in expansion of macro 'DEBUG_COMM3' 102 | DEBUG_COMM3("tag 0x83 (Type,ID) = %02x %02x", dohdr[2], dohdr[3]); | ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] 84 | #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:17: note: in expansion of macro 'DEBUG_COMM3' 102 | DEBUG_COMM3("tag 0x83 (Type,ID) = %02x %02x", dohdr[2], dohdr[3]); | ^~~~~~~~~~~ convert_apdu.c:101:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 101 | if (read_tag(p, data_len, 0x83, &dohdr[2], 2) == 0) | ^ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ convert_apdu.c:111:17: note: in expansion of macro 'DEBUG_COMM2' 111 | DEBUG_COMM2("tag 0x86 = %s", array_hexdump(&dohdr[17], 15)); | ^~~~~~~~~~~ convert_apdu.c: In function 'convert_fcp_to_rtprot': /usr/include/PCSC/debuglog.h:109:53: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 109 | #define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data) | ^~~~~~~~~~~~~ debug.h:82:65: note: in expansion of macro 'Log2' 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^~~~ convert_apdu.c:126:17: note: in expansion of macro 'DEBUG_COMM2' 126 | DEBUG_COMM2("data_len = %u", data_len); | ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ convert_apdu.c:126:17: note: in expansion of macro 'DEBUG_COMM2' 126 | DEBUG_COMM2("data_len = %u", data_len); | ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ convert_apdu.c:126:17: note: in expansion of macro 'DEBUG_COMM2' 126 | DEBUG_COMM2("data_len = %u", data_len); | ^~~~~~~~~~~ debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] 84 | #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:17: note: in expansion of macro 'DEBUG_COMM3' 131 | 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] 84 | #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:17: note: in expansion of macro 'DEBUG_COMM3' 131 | DEBUG_COMM3("Tag = %02x len = %u", p[0], p[1]); | ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] 84 | #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:17: note: in expansion of macro 'DEBUG_COMM3' 131 | 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] 84 | #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:9: note: in expansion of macro 'DEBUG_COMM3' 139 | 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] 84 | #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:9: note: in expansion of macro 'DEBUG_COMM3' 139 | DEBUG_COMM3("tag 0x82 (file type) = %02x %02x", rtprot[4], rtprot[5]); | ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] 84 | #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:9: note: in expansion of macro 'DEBUG_COMM3' 139 | 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] 84 | #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:9: note: in expansion of macro 'DEBUG_COMM3' 144 | 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] 84 | #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:9: note: in expansion of macro 'DEBUG_COMM3' 144 | DEBUG_COMM3("tag 0x83 (file id) = %02x %02x", rtprot[6], rtprot[7]); | ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] 84 | #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:9: note: in expansion of macro 'DEBUG_COMM3' 144 | 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] 84 | #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:17: note: in expansion of macro 'DEBUG_COMM3' 148 | 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] 84 | #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:17: note: in expansion of macro 'DEBUG_COMM3' 148 | DEBUG_COMM3("tag 0x81 (complete file size) = %02x %02x", | ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] 84 | #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:17: note: in expansion of macro 'DEBUG_COMM3' 148 | 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] 84 | #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:17: note: in expansion of macro 'DEBUG_COMM3' 153 | 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] 84 | #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:17: note: in expansion of macro 'DEBUG_COMM3' 153 | DEBUG_COMM3("tag 0x80 (file size) = %02x %02x", rtprot[2], rtprot[3]); | ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] 84 | #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:17: note: in expansion of macro 'DEBUG_COMM3' 153 | 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] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ convert_apdu.c:160:17: note: in expansion of macro 'DEBUG_COMM2' 160 | DEBUG_COMM2("tag 0x86 = %s", array_hexdump(&rtprot[17], 15)); | ^~~~~~~~~~~ convert_apdu.c: In function 'convert_rtprot_to_doinfo': /usr/include/PCSC/debuglog.h:109:53: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 109 | #define Log2(priority, fmt, data) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data) | ^~~~~~~~~~~~~ debug.h:82:65: note: in expansion of macro 'Log2' 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^~~~ convert_apdu.c:173:17: note: in expansion of macro 'DEBUG_COMM2' 173 | DEBUG_COMM2("data_len = %u", data_len); | ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ convert_apdu.c:173:17: note: in expansion of macro 'DEBUG_COMM2' 173 | DEBUG_COMM2("data_len = %u", data_len); | ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ convert_apdu.c:173:17: note: in expansion of macro 'DEBUG_COMM2' 173 | DEBUG_COMM2("data_len = %u", data_len); | ^~~~~~~~~~~ /usr/include/PCSC/debuglog.h:109:53: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 109 | #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' 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^~~~ convert_apdu.c:208:25: note: in expansion of macro 'DEBUG_INFO2' 208 | DEBUG_INFO2("for tag 0xA5 incorrect data_len = %u", data_len); | ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ convert_apdu.c:208:25: note: in expansion of macro 'DEBUG_INFO2' 208 | DEBUG_INFO2("for tag 0xA5 incorrect data_len = %u", data_len); | ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ convert_apdu.c:208:25: note: in expansion of macro 'DEBUG_INFO2' 208 | 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] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ convert_apdu.c:216:9: note: in expansion of macro 'DEBUG_COMM2' 216 | DEBUG_COMM2("doinfo = %s", array_hexdump(doinfo, doinfo_len)); | ^~~~~~~~~~~ convert_apdu.c: In function 'convert_rtprot_to_fcp': /usr/include/PCSC/debuglog.h:109:53: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 109 | #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' 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^~~~ convert_apdu.c:236:17: note: in expansion of macro 'DEBUG_INFO2' 236 | DEBUG_INFO2("data_len = %u", data_len); | ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ convert_apdu.c:236:17: note: in expansion of macro 'DEBUG_INFO2' 236 | DEBUG_INFO2("data_len = %u", data_len); | ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ convert_apdu.c:236:17: note: in expansion of macro 'DEBUG_INFO2' 236 | DEBUG_INFO2("data_len = %u", data_len); | ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ convert_apdu.c:257:9: note: in expansion of macro 'DEBUG_COMM2' 257 | DEBUG_COMM2("fcp = %s", array_hexdump(fcp, sizeof(fcp))); | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.9` -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-stack-protector -c -o librutokens_la-commands.lo `test -f 'commands.c' || echo './'`commands.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=0x01000009 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-stack-protector -c commands.c -fPIC -DPIC -o .libs/librutokens_la-commands.o In file included from commands.c:39: rutokens_usb.h:32:48: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration 32 | struct usb_interface *get_usb_interface(struct usb_device *dev); | ^~~~~~~~~~ In file included from commands.c:38: commands.c: In function 'CmdPowerOn': debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ commands.c:106:17: note: in expansion of macro 'DEBUG_INFO2' 106 | DEBUG_INFO2("ICC Power On failed: %s", strerror(errno)); | ^~~~~~~~~~~ commands.c:88:29: warning: unused variable 'device_descriptor' [-Wunused-variable] 88 | _device_descriptor *device_descriptor = get_device_descriptor(reader_index); | ^~~~~~~~~~~~~~~~~ commands.c: In function 'CmdPowerOff': debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ commands.c:130:17: note: in expansion of macro 'DEBUG_INFO2' 130 | DEBUG_INFO2("ICC Power Off failed: %s", strerror(errno)); | ^~~~~~~~~~~ commands.c:123:29: warning: unused variable 'device_descriptor' [-Wunused-variable] 123 | _device_descriptor *device_descriptor = get_device_descriptor(reader_index); | ^~~~~~~~~~~~~~~~~ commands.c: In function 'CmdGetSlotStatus': debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ commands.c:152:17: note: in expansion of macro 'DEBUG_INFO2' 152 | 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] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:162:17: note: in expansion of macro 'DEBUG_COMM2' 162 | DEBUG_COMM2("Busy: 0x%02X", *status); | ^~~~~~~~~~~ debug.h:82:107: warning: statement with no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ~~~~^~~~~~~ commands.c:162:17: note: in expansion of macro 'DEBUG_COMM2' 162 | DEBUG_COMM2("Busy: 0x%02X", *status); | ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ commands.c:174:41: note: in expansion of macro 'DEBUG_INFO2' 174 | DEBUG_INFO2("ICC Slot Status failed: %s", strerror(errno)); | ^~~~~~~~~~~ commands.c:145:29: warning: unused variable 'device_descriptor' [-Wunused-variable] 145 | _device_descriptor *device_descriptor = get_device_descriptor(reader_index); | ^~~~~~~~~~~~~~~~~ commands.c: In function 'CmdTranslateTxBuffer': debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ commands.c:230:25: note: in expansion of macro 'DEBUG_INFO2' 230 | DEBUG_INFO2("out of memory (tx_length = %u)", *tx_length); | ^~~~~~~~~~~ debug.h:66:106: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ~~~~^~~~~~~ commands.c:230:25: note: in expansion of macro 'DEBUG_INFO2' 230 | 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] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:241:25: note: in expansion of macro 'DEBUG_COMM2' 241 | DEBUG_COMM2("convert_fcp_to_rtprot = %i", len); | ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:241:25: note: in expansion of macro 'DEBUG_COMM2' 241 | DEBUG_COMM2("convert_fcp_to_rtprot = %i", len); | ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:252:25: note: in expansion of macro 'DEBUG_COMM2' 252 | DEBUG_COMM2("convert_doinfo_to_rtprot = %i", len); | ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:252:25: note: in expansion of macro 'DEBUG_COMM2' 252 | DEBUG_COMM2("convert_doinfo_to_rtprot = %i", len); | ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:259:17: note: in expansion of macro 'DEBUG_COMM2' 259 | DEBUG_COMM2("le = %u", (*send_buf_trn)[4]); | ^~~~~~~~~~~ debug.h:82:107: warning: statement with no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ~~~~^~~~~~~ commands.c:259:17: note: in expansion of macro 'DEBUG_COMM2' 259 | 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] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:284:25: note: in expansion of macro 'DEBUG_COMM2' 284 | DEBUG_COMM2("convert_rtprot_to_fcp = %i", len); | ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:284:25: note: in expansion of macro 'DEBUG_COMM2' 284 | DEBUG_COMM2("convert_rtprot_to_fcp = %i", len); | ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:299:25: note: in expansion of macro 'DEBUG_COMM2' 299 | DEBUG_COMM2("convert_rtprot_to_doinfo = %i", len); | ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:299:25: note: in expansion of macro 'DEBUG_COMM2' 299 | 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] 84 | #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) | ^ commands.c:354:9: note: in expansion of macro 'DEBUG_COMM3' 354 | 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] 84 | #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) | ~~~~~~~~~~~^~~~~~~~ commands.c:354:9: note: in expansion of macro 'DEBUG_COMM3' 354 | 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] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:358:9: note: in expansion of macro 'DEBUG_COMM2' 358 | DEBUG_COMM2("iso.le = %d", iso.le); | ^~~~~~~~~~~ debug.h:82:107: warning: statement with no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ~~~~^~~~~~~ commands.c:358:9: note: in expansion of macro 'DEBUG_COMM2' 358 | DEBUG_COMM2("iso.le = %d", iso.le); | ^~~~~~~~~~~ commands.c:341:29: warning: unused variable 'device_descriptor' [-Wunused-variable] 341 | _device_descriptor *device_descriptor = get_device_descriptor(reader_index); | ^~~~~~~~~~~~~~~~~ commands.c:340:22: warning: unused variable 'return_value' [-Wunused-variable] 340 | RESPONSECODE return_value = IFD_SUCCESS; | ^~~~~~~~~~~~ commands.c: In function 'CmdTransmit': debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ commands.c:416:17: note: in expansion of macro 'DEBUG_INFO2' 416 | DEBUG_INFO2("ICC Xfr Block failed: %s", strerror(errno)); | ^~~~~~~~~~~ debug.h:64:89: warning: statement with no effect [-Wunused-value] 64 | #define DEBUG_INFO(fmt) if (LogLevel & DEBUG_LEVEL_INFO) Log1(PCSC_LOG_INFO, fmt); else (fmt) | ^ commands.c:422:17: note: in expansion of macro 'DEBUG_INFO' 422 | DEBUG_INFO("error get status"); | ^~~~~~~~~~ commands.c:407:29: warning: unused variable 'device_descriptor' [-Wunused-variable] 407 | _device_descriptor *device_descriptor = get_device_descriptor(reader_index); | ^~~~~~~~~~~~~~~~~ commands.c: In function 'CmdReceive': debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ commands.c:447:17: note: in expansion of macro 'DEBUG_INFO2' 447 | DEBUG_INFO2("ICC Data Block failed: %s", strerror(errno)); | ^~~~~~~~~~~ debug.h:64:89: warning: statement with no effect [-Wunused-value] 64 | #define DEBUG_INFO(fmt) if (LogLevel & DEBUG_LEVEL_INFO) Log1(PCSC_LOG_INFO, fmt); else (fmt) | ^ commands.c:454:17: note: in expansion of macro 'DEBUG_INFO' 454 | DEBUG_INFO("error get status"); | ^~~~~~~~~~ commands.c:438:29: warning: unused variable 'device_descriptor' [-Wunused-variable] 438 | _device_descriptor *device_descriptor = get_device_descriptor(reader_index); | ^~~~~~~~~~~~~~~~~ commands.c: In function 'CmdReceiveSW': debug.h:64:89: warning: statement with no effect [-Wunused-value] 64 | #define DEBUG_INFO(fmt) if (LogLevel & DEBUG_LEVEL_INFO) Log1(PCSC_LOG_INFO, fmt); else (fmt) | ^ commands.c:479:17: note: in expansion of macro 'DEBUG_INFO' 479 | DEBUG_INFO("status = ICC_STATUS_MUTE"); | ^~~~~~~~~~ debug.h:80:90: warning: statement with no effect [-Wunused-value] 80 | #define DEBUG_COMM(fmt) if (LogLevel & DEBUG_LEVEL_COMM) Log1(PCSC_LOG_DEBUG, fmt); else (fmt) | ^ commands.c:484:17: note: in expansion of macro 'DEBUG_COMM' 484 | DEBUG_COMM("status = ICC_STATUS_READY_SW"); | ^~~~~~~~~~ commands.c:486:45: warning: pointer targets in passing argument 2 of 'CmdReceive' differ in signedness [-Wpointer-sign] 486 | if(CmdReceive(reader_index, &sw_len, sw) != IFD_SUCCESS) | ^~~~~~~ | | | int * commands.c:435:66: note: expected 'unsigned int *' but argument is of type 'int *' 435 | RESPONSECODE CmdReceive(unsigned int reader_index, unsigned int *rx_length, | ~~~~~~~~~~~~~~^~~~~~~~~ debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] 84 | #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) | ^ commands.c:489:17: note: in expansion of macro 'DEBUG_COMM3' 489 | 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] 84 | #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) | ^ commands.c:489:17: note: in expansion of macro 'DEBUG_COMM3' 489 | DEBUG_COMM3("Get SW %x %x", sw[0], sw[1]); | ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] 84 | #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) | ~~~~~~~~~~~^~~~~~~~ commands.c:489:17: note: in expansion of macro 'DEBUG_COMM3' 489 | 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] 80 | #define DEBUG_COMM(fmt) if (LogLevel & DEBUG_LEVEL_COMM) Log1(PCSC_LOG_DEBUG, fmt); else (fmt) | ^ commands.c:509:33: note: in expansion of macro 'DEBUG_COMM' 509 | DEBUG_COMM("case 1"); | ^~~~~~~~~~ debug.h:80:90: warning: statement with no effect [-Wunused-value] 80 | #define DEBUG_COMM(fmt) if (LogLevel & DEBUG_LEVEL_COMM) Log1(PCSC_LOG_DEBUG, fmt); else (fmt) | ^ commands.c:517:25: note: in expansion of macro 'DEBUG_COMM' 517 | DEBUG_COMM("case 2"); | ^~~~~~~~~~ debug.h:80:90: warning: statement with no effect [-Wunused-value] 80 | #define DEBUG_COMM(fmt) if (LogLevel & DEBUG_LEVEL_COMM) Log1(PCSC_LOG_DEBUG, fmt); else (fmt) | ^ commands.c:528:25: note: in expansion of macro 'DEBUG_COMM' 528 | DEBUG_COMM("case 3"); | ^~~~~~~~~~ In file included from debug.h:52: commands.c: In function 'CmdSendTPDU': /usr/include/PCSC/debuglog.h:110:61: warning: format '%d' expects argument of type 'int', but argument 7 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 110 | #define Log3(priority, fmt, data1, data2) log_msg(priority, "%s:%d:%s() " fmt, __FILE__, __LINE__, __FUNCTION__, data1, data2) | ^~~~~~~~~~~~~ debug.h:84:73: note: in expansion of macro 'Log3' 84 | #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) | ^~~~ commands.c:550:9: note: in expansion of macro 'DEBUG_COMM3' 550 | DEBUG_COMM3("send tpdu command %s, len: %d", array_hexdump(sbuf, slen), slen); | ^~~~~~~~~~~ debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] 84 | #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) | ^ commands.c:550:9: note: in expansion of macro 'DEBUG_COMM3' 550 | 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] 84 | #define DEBUG_COMM3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_COMM) Log3(PCSC_LOG_DEBUG, fmt, data1, data2); else (fmt, data1, data2) | ~~~~~~~~~~~^~~~~~~~ commands.c:550:9: note: in expansion of macro 'DEBUG_COMM3' 550 | 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] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:577:25: note: in expansion of macro 'DEBUG_COMM2' 577 | DEBUG_COMM2("get Data %d", iso.le); | ^~~~~~~~~~~ debug.h:82:107: warning: statement with no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ~~~~^~~~~~~ commands.c:577:25: note: in expansion of macro 'DEBUG_COMM2' 577 | DEBUG_COMM2("get Data %d", iso.le); | ^~~~~~~~~~~ commands.c:586:62: warning: pointer targets in passing argument 2 of 'CmdReceive' differ in signedness [-Wpointer-sign] 586 | r = CmdReceive(reader_index, rrecv, rbuf); | ^~~~~ | | | int * commands.c:435:66: note: expected 'unsigned int *' but argument is of type 'int *' 435 | RESPONSECODE CmdReceive(unsigned int reader_index, unsigned int *rx_length, | ~~~~~~~~~~~~~~^~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:589:33: note: in expansion of macro 'DEBUG_COMM2' 589 | 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] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:612:25: note: in expansion of macro 'DEBUG_COMM2' 612 | DEBUG_COMM2("send Data %d", iso.lc); | ^~~~~~~~~~~ debug.h:82:107: warning: statement with no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ~~~~^~~~~~~ commands.c:612:25: note: in expansion of macro 'DEBUG_COMM2' 612 | DEBUG_COMM2("send Data %d", iso.lc); | ^~~~~~~~~~~ debug.h:82:107: warning: left-hand operand of comma expression has no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:620:33: note: in expansion of macro 'DEBUG_COMM2' 620 | 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] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ commands.c:675:9: note: in expansion of macro 'DEBUG_COMM2' 675 | DEBUG_COMM2("recv %d bytes", *rrecv); | ^~~~~~~~~~~ debug.h:82:107: warning: statement with no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ~~~~^~~~~~~ commands.c:675:9: note: in expansion of macro 'DEBUG_COMM2' 675 | DEBUG_COMM2("recv %d bytes", *rrecv); | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.9` -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-stack-protector -c -o librutokens_la-ifdhandler.lo `test -f 'ifdhandler.c' || echo './'`ifdhandler.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=0x01000009 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-stack-protector -c ifdhandler.c -fPIC -DPIC -o .libs/librutokens_la-ifdhandler.o In file included from ifdhandler.c:34: rutokens_usb.h:32:48: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration 32 | struct usb_interface *get_usb_interface(struct usb_device *dev); | ^~~~~~~~~~ In file included from debug.h:52, from ifdhandler.c:35: ifdhandler.c: In function 'IFDHCreateChannelByName': /usr/include/PCSC/debuglog.h:110:61: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 110 | #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' 68 | #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:9: note: in expansion of macro 'DEBUG_INFO3' 67 | DEBUG_INFO3("lun: %X, device: %s", Lun, lpcDevice); | ^~~~~~~~~~~ debug.h:68:122: warning: left-hand operand of comma expression has no effect [-Wunused-value] 68 | #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:9: note: in expansion of macro 'DEBUG_INFO3' 67 | DEBUG_INFO3("lun: %X, device: %s", Lun, lpcDevice); | ^~~~~~~~~~~ debug.h:68:129: warning: left-hand operand of comma expression has no effect [-Wunused-value] 68 | #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:9: note: in expansion of macro 'DEBUG_INFO3' 67 | DEBUG_INFO3("lun: %X, device: %s", Lun, lpcDevice); | ^~~~~~~~~~~ debug.h:68:118: warning: statement with no effect [-Wunused-value] 68 | #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:9: note: in expansion of macro 'DEBUG_INFO3' 67 | DEBUG_INFO3("lun: %X, device: %s", Lun, lpcDevice); | ^~~~~~~~~~~ debug.h:55:101: warning: statement with no effect [-Wunused-value] 55 | #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) | ^ ifdhandler.c:85:17: note: in expansion of macro 'DEBUG_CRITICAL' 85 | DEBUG_CRITICAL("OpenUSBByName failed"); | ^~~~~~~~~~~~~~ debug.h:55:101: warning: statement with no effect [-Wunused-value] 55 | #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) | ^ ifdhandler.c:102:25: note: in expansion of macro 'DEBUG_CRITICAL' 102 | DEBUG_CRITICAL("IFDHICCPresence failed"); | ^~~~~~~~~~~~~~ ifdhandler.c: In function 'IFDHCreateChannel': /usr/include/PCSC/debuglog.h:109:53: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 109 | #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' 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^~~~ ifdhandler.c:161:9: note: in expansion of macro 'DEBUG_INFO2' 161 | DEBUG_INFO2("lun: %X", Lun); | ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:161:9: note: in expansion of macro 'DEBUG_INFO2' 161 | DEBUG_INFO2("lun: %X", Lun); | ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:161:9: note: in expansion of macro 'DEBUG_INFO2' 161 | DEBUG_INFO2("lun: %X", Lun); | ^~~~~~~~~~~ debug.h:55:101: warning: statement with no effect [-Wunused-value] 55 | #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) | ^ ifdhandler.c:179:17: note: in expansion of macro 'DEBUG_CRITICAL' 179 | DEBUG_CRITICAL("failed"); | ^~~~~~~~~~~~~~ ifdhandler.c: In function 'IFDHCloseChannel': /usr/include/PCSC/debuglog.h:109:53: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 109 | #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' 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^~~~ ifdhandler.c:208:9: note: in expansion of macro 'DEBUG_INFO2' 208 | DEBUG_INFO2("lun: %X", Lun); | ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:208:9: note: in expansion of macro 'DEBUG_INFO2' 208 | DEBUG_INFO2("lun: %X", Lun); | ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:208:9: note: in expansion of macro 'DEBUG_INFO2' 208 | DEBUG_INFO2("lun: %X", Lun); | ^~~~~~~~~~~ ifdhandler.c: In function 'IFDHSleep': /usr/include/PCSC/debuglog.h:109:53: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 109 | #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' 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^~~~ ifdhandler.c:239:9: note: in expansion of macro 'DEBUG_INFO2' 239 | DEBUG_INFO2("lun: %X", Lun); | ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:239:9: note: in expansion of macro 'DEBUG_INFO2' 239 | DEBUG_INFO2("lun: %X", Lun); | ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:239:9: note: in expansion of macro 'DEBUG_INFO2' 239 | DEBUG_INFO2("lun: %X", Lun); | ^~~~~~~~~~~ ifdhandler.c: In function 'IFDHTimedSleep': /usr/include/PCSC/debuglog.h:109:53: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 109 | #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' 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^~~~ ifdhandler.c:254:9: note: in expansion of macro 'DEBUG_INFO2' 254 | DEBUG_INFO2("lun: %X", Lun); | ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:254:9: note: in expansion of macro 'DEBUG_INFO2' 254 | DEBUG_INFO2("lun: %X", Lun); | ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:254:9: note: in expansion of macro 'DEBUG_INFO2' 254 | DEBUG_INFO2("lun: %X", Lun); | ^~~~~~~~~~~ ifdhandler.c: In function 'IFDHGetCapabilities': /usr/include/PCSC/debuglog.h:110:61: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 110 | #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' 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^~~~ ifdhandler.c:281:9: note: in expansion of macro 'DEBUG_INFO3' 281 | DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); | ^~~~~~~~~~~ /usr/include/PCSC/debuglog.h:110:61: warning: format '%X' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 110 | #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' 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^~~~ ifdhandler.c:281:9: note: in expansion of macro 'DEBUG_INFO3' 281 | DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); | ^~~~~~~~~~~ debug.h:68:122: warning: left-hand operand of comma expression has no effect [-Wunused-value] 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^ ifdhandler.c:281:9: note: in expansion of macro 'DEBUG_INFO3' 281 | 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] 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^ ifdhandler.c:281:9: note: in expansion of macro 'DEBUG_INFO3' 281 | DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); | ^~~~~~~~~~~ debug.h:68:118: warning: statement with no effect [-Wunused-value] 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^ ifdhandler.c:281:9: note: in expansion of macro 'DEBUG_INFO3' 281 | 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] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:354:33: note: in expansion of macro 'DEBUG_INFO2' 354 | DEBUG_INFO2("Reader supports %d slot(s)", *Value); | ^~~~~~~~~~~ debug.h:66:106: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ~~~~^~~~~~~ ifdhandler.c:354:33: note: in expansion of macro 'DEBUG_INFO2' 354 | DEBUG_INFO2("Reader supports %d slot(s)", *Value); | ^~~~~~~~~~~ ifdhandler.c: In function 'IFDHSetCapabilities': /usr/include/PCSC/debuglog.h:110:61: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 110 | #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' 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^~~~ ifdhandler.c:418:9: note: in expansion of macro 'DEBUG_INFO3' 418 | DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); | ^~~~~~~~~~~ /usr/include/PCSC/debuglog.h:110:61: warning: format '%X' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 110 | #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' 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^~~~ ifdhandler.c:418:9: note: in expansion of macro 'DEBUG_INFO3' 418 | DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); | ^~~~~~~~~~~ debug.h:68:122: warning: left-hand operand of comma expression has no effect [-Wunused-value] 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^ ifdhandler.c:418:9: note: in expansion of macro 'DEBUG_INFO3' 418 | 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] 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^ ifdhandler.c:418:9: note: in expansion of macro 'DEBUG_INFO3' 418 | DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); | ^~~~~~~~~~~ debug.h:68:118: warning: statement with no effect [-Wunused-value] 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^ ifdhandler.c:418:9: note: in expansion of macro 'DEBUG_INFO3' 418 | DEBUG_INFO3("lun: %X, tag: 0x%X", Lun, Tag); | ^~~~~~~~~~~ ifdhandler.c: In function 'IFDHSetProtocolParameters': /usr/include/PCSC/debuglog.h:110:61: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 110 | #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' 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^~~~ ifdhandler.c:448:9: note: in expansion of macro 'DEBUG_INFO3' 448 | DEBUG_INFO3("lun: %X, protocol T=%d", Lun, Protocol-1); | ^~~~~~~~~~~ /usr/include/PCSC/debuglog.h:110:61: warning: format '%d' expects argument of type 'int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 110 | #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' 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^~~~ ifdhandler.c:448:9: note: in expansion of macro 'DEBUG_INFO3' 448 | DEBUG_INFO3("lun: %X, protocol T=%d", Lun, Protocol-1); | ^~~~~~~~~~~ debug.h:68:122: warning: left-hand operand of comma expression has no effect [-Wunused-value] 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^ ifdhandler.c:448:9: note: in expansion of macro 'DEBUG_INFO3' 448 | 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] 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^ ifdhandler.c:448:9: note: in expansion of macro 'DEBUG_INFO3' 448 | DEBUG_INFO3("lun: %X, protocol T=%d", Lun, Protocol-1); | ^~~~~~~~~~~ debug.h:68:129: warning: statement with no effect [-Wunused-value] 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ~~~~~~~~~~~^~~~~~~~ ifdhandler.c:448:9: note: in expansion of macro 'DEBUG_INFO3' 448 | DEBUG_INFO3("lun: %X, protocol T=%d", Lun, Protocol-1); | ^~~~~~~~~~~ ifdhandler.c: In function 'IFDHPowerICC': /usr/include/PCSC/debuglog.h:110:61: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 110 | #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' 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^~~~ ifdhandler.c:503:9: note: in expansion of macro 'DEBUG_INFO3' 503 | DEBUG_INFO3("lun: %X, action: %s", Lun, actions[Action-IFD_POWER_UP]); | ^~~~~~~~~~~ debug.h:68:122: warning: left-hand operand of comma expression has no effect [-Wunused-value] 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^ ifdhandler.c:503:9: note: in expansion of macro 'DEBUG_INFO3' 503 | 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] 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^ ifdhandler.c:503:9: note: in expansion of macro 'DEBUG_INFO3' 503 | DEBUG_INFO3("lun: %X, action: %s", Lun, actions[Action-IFD_POWER_UP]); | ^~~~~~~~~~~ debug.h:68:129: warning: statement with no effect [-Wunused-value] 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ~~~~~~~~~~~^~~~~~~~ ifdhandler.c:503:9: note: in expansion of macro 'DEBUG_INFO3' 503 | DEBUG_INFO3("lun: %X, action: %s", Lun, actions[Action-IFD_POWER_UP]); | ^~~~~~~~~~~ debug.h:55:101: warning: statement with no effect [-Wunused-value] 55 | #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) | ^ ifdhandler.c:524:33: note: in expansion of macro 'DEBUG_CRITICAL' 524 | DEBUG_CRITICAL("PowerDown failed"); | ^~~~~~~~~~~~~~ debug.h:55:101: warning: statement with no effect [-Wunused-value] 55 | #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) | ^ ifdhandler.c:536:33: note: in expansion of macro 'DEBUG_CRITICAL' 536 | DEBUG_CRITICAL("PowerUp failed"); | ^~~~~~~~~~~~~~ debug.h:55:101: warning: statement with no effect [-Wunused-value] 55 | #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) | ^ ifdhandler.c:553:25: note: in expansion of macro 'DEBUG_CRITICAL' 553 | DEBUG_CRITICAL("Action not supported"); | ^~~~~~~~~~~~~~ ifdhandler.c: In function 'IFDHTransmitToICC': /usr/include/PCSC/debuglog.h:109:53: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 109 | #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' 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^~~~ ifdhandler.c:604:9: note: in expansion of macro 'DEBUG_INFO2' 604 | DEBUG_INFO2("lun: %X", Lun); | ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:604:9: note: in expansion of macro 'DEBUG_INFO2' 604 | DEBUG_INFO2("lun: %X", Lun); | ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:604:9: note: in expansion of macro 'DEBUG_INFO2' 604 | DEBUG_INFO2("lun: %X", Lun); | ^~~~~~~~~~~ ifdhandler.c: In function 'IFDHControl': /usr/include/PCSC/debuglog.h:110:61: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 110 | #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' 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^~~~ ifdhandler.c:641:9: note: in expansion of macro 'DEBUG_INFO3' 641 | DEBUG_INFO3("lun: %X, ControlCode: 0x%X", Lun, dwControlCode); | ^~~~~~~~~~~ /usr/include/PCSC/debuglog.h:110:61: warning: format '%X' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 110 | #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' 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^~~~ ifdhandler.c:641:9: note: in expansion of macro 'DEBUG_INFO3' 641 | DEBUG_INFO3("lun: %X, ControlCode: 0x%X", Lun, dwControlCode); | ^~~~~~~~~~~ debug.h:68:122: warning: left-hand operand of comma expression has no effect [-Wunused-value] 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^ ifdhandler.c:641:9: note: in expansion of macro 'DEBUG_INFO3' 641 | 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] 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^ ifdhandler.c:641:9: note: in expansion of macro 'DEBUG_INFO3' 641 | DEBUG_INFO3("lun: %X, ControlCode: 0x%X", Lun, dwControlCode); | ^~~~~~~~~~~ debug.h:68:118: warning: statement with no effect [-Wunused-value] 68 | #define DEBUG_INFO3(fmt, data1, data2) if (LogLevel & DEBUG_LEVEL_INFO) Log3(PCSC_LOG_INFO, fmt, data1, data2); else (fmt, data1, data2) | ^ ifdhandler.c:641:9: note: in expansion of macro 'DEBUG_INFO3' 641 | 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] 72 | #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:642:9: note: in expansion of macro 'DEBUG_INFO_XXD' 642 | DEBUG_INFO_XXD("Control TxBuffer: ", TxBuffer, TxLength); | ^~~~~~~~~~~~~~ debug.h:72:136: warning: left-hand operand of comma expression has no effect [-Wunused-value] 72 | #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:642:9: note: in expansion of macro 'DEBUG_INFO_XXD' 642 | DEBUG_INFO_XXD("Control TxBuffer: ", TxBuffer, TxLength); | ^~~~~~~~~~~~~~ debug.h:72:124: warning: statement with no effect [-Wunused-value] 72 | #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:642:9: note: in expansion of macro 'DEBUG_INFO_XXD' 642 | DEBUG_INFO_XXD("Control TxBuffer: ", TxBuffer, TxLength); | ^~~~~~~~~~~~~~ ifdhandler.c: In function 'IFDHICCPresence': /usr/include/PCSC/debuglog.h:109:53: warning: format '%X' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 109 | #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' 77 | #define DEBUG_PERIODIC2(fmt, data) if (LogLevel & DEBUG_LEVEL_PERIODIC) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^~~~ ifdhandler.c:672:9: note: in expansion of macro 'DEBUG_PERIODIC2' 672 | DEBUG_PERIODIC2("lun: %X", Lun); | ^~~~~~~~~~~~~~~ debug.h:77:115: warning: left-hand operand of comma expression has no effect [-Wunused-value] 77 | #define DEBUG_PERIODIC2(fmt, data) if (LogLevel & DEBUG_LEVEL_PERIODIC) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ ifdhandler.c:672:9: note: in expansion of macro 'DEBUG_PERIODIC2' 672 | DEBUG_PERIODIC2("lun: %X", Lun); | ^~~~~~~~~~~~~~~ debug.h:77:111: warning: statement with no effect [-Wunused-value] 77 | #define DEBUG_PERIODIC2(fmt, data) if (LogLevel & DEBUG_LEVEL_PERIODIC) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ ifdhandler.c:672:9: note: in expansion of macro 'DEBUG_PERIODIC2' 672 | DEBUG_PERIODIC2("lun: %X", Lun); | ^~~~~~~~~~~~~~~ debug.h:77:115: warning: left-hand operand of comma expression has no effect [-Wunused-value] 77 | #define DEBUG_PERIODIC2(fmt, data) if (LogLevel & DEBUG_LEVEL_PERIODIC) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ ifdhandler.c:721:9: note: in expansion of macro 'DEBUG_PERIODIC2' 721 | DEBUG_PERIODIC2("Card %s", | ^~~~~~~~~~~~~~~ debug.h:77:115: warning: statement with no effect [-Wunused-value] 77 | #define DEBUG_PERIODIC2(fmt, data) if (LogLevel & DEBUG_LEVEL_PERIODIC) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ~~~~^~~~~~~ ifdhandler.c:721:9: note: in expansion of macro 'DEBUG_PERIODIC2' 721 | 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] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:744:17: note: in expansion of macro 'DEBUG_INFO2' 744 | DEBUG_INFO2("LogLevel from Info.plist: 0x%.4X", LogLevel); | ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:744:17: note: in expansion of macro 'DEBUG_INFO2' 744 | 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] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:754:17: note: in expansion of macro 'DEBUG_INFO2' 754 | DEBUG_INFO2("LogLevel from IFDLIB_ifdLogLevel: 0x%.4X", LogLevel); | ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:754:17: note: in expansion of macro 'DEBUG_INFO2' 754 | DEBUG_INFO2("LogLevel from IFDLIB_ifdLogLevel: 0x%.4X", LogLevel); | ^~~~~~~~~~~ debug.h:64:89: warning: statement with no effect [-Wunused-value] 64 | #define DEBUG_INFO(fmt) if (LogLevel & DEBUG_LEVEL_INFO) Log1(PCSC_LOG_INFO, fmt); else (fmt) | ^ ifdhandler.c:757:9: note: in expansion of macro 'DEBUG_INFO' 757 | DEBUG_INFO("Driver version: " VERSION); | ^~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:758:9: note: in expansion of macro 'DEBUG_INFO2' 758 | DEBUG_INFO2("LogLevel: 0x%.4X", LogLevel); | ^~~~~~~~~~~ debug.h:66:102: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ ifdhandler.c:758:9: note: in expansion of macro 'DEBUG_INFO2' 758 | DEBUG_INFO2("LogLevel: 0x%.4X", LogLevel); | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.9` -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-stack-protector -c -o librutokens_la-tokenparser.lo `test -f 'tokenparser.c' || echo './'`tokenparser.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=0x01000009 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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] 1149 | #endif | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.9` -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-stack-protector -c -o librutokens_la-rutokens_usb.lo `test -f 'rutokens_usb.c' || echo './'`rutokens_usb.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=0x01000009 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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] 84 | #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:111:9: note: in expansion of macro 'DEBUG_COMM3' 111 | 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] 84 | #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:111:9: note: in expansion of macro 'DEBUG_COMM3' 111 | DEBUG_COMM3("Reader index: %X, Device: %s", reader_index, device); | ^~~~~~~~~~~ debug.h:84:119: warning: statement with no effect [-Wunused-value] 84 | #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:111:9: note: in expansion of macro 'DEBUG_COMM3' 111 | DEBUG_COMM3("Reader index: %X, Device: %s", reader_index, device); | ^~~~~~~~~~~ debug.h:57:118: warning: left-hand operand of comma expression has no effect [-Wunused-value] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:120:25: note: in expansion of macro 'DEBUG_CRITICAL2' 120 | DEBUG_CRITICAL2("device name does not start with \"usb:\": %s", device); | ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:120:25: note: in expansion of macro 'DEBUG_CRITICAL2' 120 | 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] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:143:33: note: in expansion of macro 'DEBUG_CRITICAL2' 143 | DEBUG_CRITICAL2("device name can't be parsed: %s", device); | ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:143:33: note: in expansion of macro 'DEBUG_CRITICAL2' 143 | 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] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:149:33: note: in expansion of macro 'DEBUG_CRITICAL2' 149 | DEBUG_CRITICAL2("device name can't be parsed: %s", device); | ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:149:33: note: in expansion of macro 'DEBUG_CRITICAL2' 149 | 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] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:158:33: note: in expansion of macro 'DEBUG_CRITICAL2' 158 | DEBUG_CRITICAL2("device name can't be parsed: %s", device); | ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:158:33: note: in expansion of macro 'DEBUG_CRITICAL2' 158 | 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] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:187:33: note: in expansion of macro 'DEBUG_CRITICAL2' 187 | DEBUG_CRITICAL2("can't parse using libusb scheme: %s", device); | ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:187:33: note: in expansion of macro 'DEBUG_CRITICAL2' 187 | 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] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:223:33: note: in expansion of macro 'DEBUG_CRITICAL2' 223 | DEBUG_CRITICAL2("can't parse using libudev scheme: %s", device); | ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:223:33: note: in expansion of macro 'DEBUG_CRITICAL2' 223 | 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] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:228:25: note: in expansion of macro 'DEBUG_CRITICAL2' 228 | DEBUG_CRITICAL2("can't parse device naming sheme: %s", device); | ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:228:25: note: in expansion of macro 'DEBUG_CRITICAL2' 228 | DEBUG_CRITICAL2("can't parse device naming sheme: %s", device); | ^~~~~~~~~~~~~~~ debug.h:55:101: warning: statement with no effect [-Wunused-value] 55 | #define DEBUG_CRITICAL(fmt) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log1(PCSC_LOG_CRITICAL, fmt); else (fmt) | ^ rutokens_usb.c:247:17: note: in expansion of macro 'DEBUG_CRITICAL' 247 | DEBUG_CRITICAL("No USB busses found"); | ^~~~~~~~~~~~~~ debug.h:57:118: warning: left-hand operand of comma expression has no effect [-Wunused-value] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:254:17: note: in expansion of macro 'DEBUG_CRITICAL2' 254 | DEBUG_CRITICAL2("USB driver with index %X already in use", | ^~~~~~~~~~~~~~~ debug.h:57:114: warning: statement with no effect [-Wunused-value] 57 | #define DEBUG_CRITICAL2(fmt, data) if (LogLevel & DEBUG_LEVEL_CRITICAL) Log2(PCSC_LOG_CRITICAL, fmt, data); else (fmt, data) | ^ rutokens_usb.c:254:17: note: in expansion of macro 'DEBUG_CRITICAL2' 254 | DEBUG_CRITICAL2("USB driver with index %X already in use", | ^~~~~~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ rutokens_usb.c:265:17: note: in expansion of macro 'DEBUG_INFO2' 265 | DEBUG_INFO2("Manufacturer: %s", keyValue); | ^~~~~~~~~~~ debug.h:66:106: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ~~~~^~~~~~~ rutokens_usb.c:265:17: note: in expansion of macro 'DEBUG_INFO2' 265 | DEBUG_INFO2("Manufacturer: %s", keyValue); | ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ rutokens_usb.c:269:17: note: in expansion of macro 'DEBUG_INFO2' 269 | DEBUG_INFO2("LTPBundleFindValueWithKey error. Can't find %s", infofile); | ^~~~~~~~~~~ debug.h:66:106: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ~~~~^~~~~~~ rutokens_usb.c:269:17: note: in expansion of macro 'DEBUG_INFO2' 269 | 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] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ rutokens_usb.c:274:17: note: in expansion of macro 'DEBUG_INFO2' 274 | DEBUG_INFO2("ProductString: %s", keyValue); | ^~~~~~~~~~~ debug.h:66:106: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ~~~~^~~~~~~ rutokens_usb.c:274:17: note: in expansion of macro 'DEBUG_INFO2' 274 | DEBUG_INFO2("ProductString: %s", keyValue); | ^~~~~~~~~~~ debug.h:66:106: warning: left-hand operand of comma expression has no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ^ rutokens_usb.c:280:17: note: in expansion of macro 'DEBUG_INFO2' 280 | DEBUG_INFO2("Copyright: %s", keyValue); | ^~~~~~~~~~~ debug.h:66:106: warning: statement with no effect [-Wunused-value] 66 | #define DEBUG_INFO2(fmt, data) if (LogLevel & DEBUG_LEVEL_INFO) Log2(PCSC_LOG_INFO, fmt, data); else (fmt, data) | ~~~~^~~~~~~ rutokens_usb.c:280:17: note: in expansion of macro 'DEBUG_INFO2' 280 | DEBUG_INFO2("Copyright: %s", keyValue); | ^~~~~~~~~~~ debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] 84 | #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:336:41: note: in expansion of macro 'DEBUG_COMM3' 336 | 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] 84 | #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:336:41: note: in expansion of macro 'DEBUG_COMM3' 336 | DEBUG_COMM3("Checking device: %s/%s", bus->dirname, dev->filename); | ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] 84 | #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:336:41: note: in expansion of macro 'DEBUG_COMM3' 336 | 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] 84 | #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:341:57: note: in expansion of macro 'DEBUG_COMM3' 341 | 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] 84 | #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:341:57: note: in expansion of macro 'DEBUG_COMM3' 341 | DEBUG_COMM3("Comparing with device: %s/%s", usbDevice[r].dirname, usbDevice[r].filename); | ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] 84 | #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:341:57: note: in expansion of macro 'DEBUG_COMM3' 341 | 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] 68 | #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:351:49: note: in expansion of macro 'DEBUG_INFO3' 351 | 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] 68 | #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:351:49: note: in expansion of macro 'DEBUG_INFO3' 351 | 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] 68 | #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:351:49: note: in expansion of macro 'DEBUG_INFO3' 351 | 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] 84 | #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:355:41: note: in expansion of macro 'DEBUG_COMM3' 355 | 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] 84 | #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:355:41: note: in expansion of macro 'DEBUG_COMM3' 355 | 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] 84 | #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:355:41: note: in expansion of macro 'DEBUG_COMM3' 355 | 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] 61 | #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:360:49: note: in expansion of macro 'DEBUG_CRITICAL4' 360 | 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] 61 | #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:360:49: note: in expansion of macro 'DEBUG_CRITICAL4' 360 | 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] 61 | #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:360:49: note: in expansion of macro 'DEBUG_CRITICAL4' 360 | 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] 59 | #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:368:49: note: in expansion of macro 'DEBUG_CRITICAL3' 368 | 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] 59 | #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:368:49: note: in expansion of macro 'DEBUG_CRITICAL3' 368 | DEBUG_CRITICAL3("No dev->config found for %s/%s", bus->dirname, dev->filename); | ^~~~~~~~~~~~~~~ debug.h:59:141: warning: statement with no effect [-Wunused-value] 59 | #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:368:49: note: in expansion of macro 'DEBUG_CRITICAL3' 368 | 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] 59 | #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:376:49: note: in expansion of macro 'DEBUG_CRITICAL3' 376 | 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] 59 | #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:376:49: note: in expansion of macro 'DEBUG_CRITICAL3' 376 | 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] 59 | #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:376:49: note: in expansion of macro 'DEBUG_CRITICAL3' 376 | 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] 70 | #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:381:49: note: in expansion of macro 'DEBUG_INFO4' 381 | 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] 70 | #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:381:49: note: in expansion of macro 'DEBUG_INFO4' 381 | 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] 70 | #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:381:49: note: in expansion of macro 'DEBUG_INFO4' 381 | 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] 70 | #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:381:49: note: in expansion of macro 'DEBUG_INFO4' 381 | DEBUG_INFO4("Extra field for %s/%s has a wrong length: %d", bus->dirname, dev->filename, usb_interface->altsetting->extralen); | ^~~~~~~~~~~ rutokens_usb.c:380:44: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 380 | if (usb_interface->altsetting->extralen != 54) | ^ debug.h:61:148: warning: left-hand operand of comma expression has no effect [-Wunused-value] 61 | #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:387:49: note: in expansion of macro 'DEBUG_CRITICAL4' 387 | 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] 61 | #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:387:49: note: in expansion of macro 'DEBUG_CRITICAL4' 387 | 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] 61 | #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:387:49: note: in expansion of macro 'DEBUG_CRITICAL4' 387 | 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] 70 | #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:391:41: note: in expansion of macro 'DEBUG_INFO4' 391 | 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] 70 | #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:391:41: note: in expansion of macro 'DEBUG_INFO4' 391 | 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] 70 | #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:391:41: note: in expansion of macro 'DEBUG_INFO4' 391 | 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] 70 | #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:391:41: note: in expansion of macro 'DEBUG_INFO4' 391 | 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] 68 | #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:392:41: note: in expansion of macro 'DEBUG_INFO3' 392 | 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] 68 | #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:392:41: note: in expansion of macro 'DEBUG_INFO3' 392 | DEBUG_INFO3("Using USB bus/device: %s/%s", bus->dirname, dev->filename); | ^~~~~~~~~~~ debug.h:68:129: warning: statement with no effect [-Wunused-value] 68 | #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:392:41: note: in expansion of macro 'DEBUG_INFO3' 392 | DEBUG_INFO3("Using USB bus/device: %s/%s", bus->dirname, dev->filename); | ^~~~~~~~~~~ rutokens_usb.c:106:20: warning: variable 'previous_reader_index' set but not used [-Wunused-but-set-variable] 106 | static int previous_reader_index = -1; | ^~~~~~~~~~~~~~~~~~~~~ rutokens_usb.c: In function 'CloseUSB': debug.h:84:123: warning: left-hand operand of comma expression has no effect [-Wunused-value] 84 | #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:456:9: note: in expansion of macro 'DEBUG_COMM3' 456 | DEBUG_COMM3("Closing USB device: %s/%s", | ^~~~~~~~~~~ debug.h:84:130: warning: left-hand operand of comma expression has no effect [-Wunused-value] 84 | #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:456:9: note: in expansion of macro 'DEBUG_COMM3' 456 | DEBUG_COMM3("Closing USB device: %s/%s", | ^~~~~~~~~~~ debug.h:84:130: warning: statement with no effect [-Wunused-value] 84 | #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:456:9: note: in expansion of macro 'DEBUG_COMM3' 456 | DEBUG_COMM3("Closing USB device: %s/%s", | ^~~~~~~~~~~ debug.h:80:90: warning: statement with no effect [-Wunused-value] 80 | #define DEBUG_COMM(fmt) if (LogLevel & DEBUG_LEVEL_COMM) Log1(PCSC_LOG_DEBUG, fmt); else (fmt) | ^ rutokens_usb.c:466:17: note: in expansion of macro 'DEBUG_COMM' 466 | 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] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ rutokens_usb.c:532:9: note: in expansion of macro 'DEBUG_COMM2' 532 | DEBUG_COMM2("request: 0x%02X", request); | ^~~~~~~~~~~ debug.h:82:103: warning: statement with no effect [-Wunused-value] 82 | #define DEBUG_COMM2(fmt, data) if (LogLevel & DEBUG_LEVEL_COMM) Log2(PCSC_LOG_DEBUG, fmt, data); else (fmt, data) | ^ rutokens_usb.c:532:9: note: in expansion of macro 'DEBUG_COMM2' 532 | DEBUG_COMM2("request: 0x%02X", request); | ^~~~~~~~~~~ debug.h:89:124: warning: left-hand operand of comma expression has no effect [-Wunused-value] 89 | #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:535:17: note: in expansion of macro 'DEBUG_XXD' 535 | DEBUG_XXD("send: ", bytes, size); | ^~~~~~~~~ debug.h:89:132: warning: left-hand operand of comma expression has no effect [-Wunused-value] 89 | #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:535:17: note: in expansion of macro 'DEBUG_XXD' 535 | DEBUG_XXD("send: ", bytes, size); | ^~~~~~~~~ debug.h:89:120: warning: statement with no effect [-Wunused-value] 89 | #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:535:17: note: in expansion of macro 'DEBUG_XXD' 535 | DEBUG_XXD("send: ", bytes, size); | ^~~~~~~~~ rutokens_usb.c:534:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 534 | if (0 == (requesttype & 0x80)) | ^ debug.h:89:124: warning: left-hand operand of comma expression has no effect [-Wunused-value] 89 | #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:542:18: note: in expansion of macro 'DEBUG_XXD' 542 | DEBUG_XXD("receive: ", bytes, ret); | ^~~~~~~~~ debug.h:89:132: warning: left-hand operand of comma expression has no effect [-Wunused-value] 89 | #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:542:18: note: in expansion of macro 'DEBUG_XXD' 542 | DEBUG_XXD("receive: ", bytes, ret); | ^~~~~~~~~ debug.h:89:120: warning: statement with no effect [-Wunused-value] 89 | #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:542:18: note: in expansion of macro 'DEBUG_XXD' 542 | DEBUG_XXD("receive: ", bytes, ret); | ^~~~~~~~~ rutokens_usb.c:541:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 541 | if (requesttype & 0x80) | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -pthread -I/usr/include/PCSC -fvisibility=hidden -DRUTOKENS_VERSION=`./convert_version.pl 1.0.9` -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-stack-protector -avoid-version -export-symbols export-symbols.sym -Wl,--as-needed -o librutokens.la -rpath /usr/lib64 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: echo "{ global:" > .libs/librutokens.ver libtool: link: cat export-symbols.sym | /usr/bin/sed -e "s/\(.*\)/\1;/" >> .libs/librutokens.ver libtool: link: echo "local: *; };" >> .libs/librutokens.ver libtool: link: if test -r librutokens-altlinux.ver; then cp librutokens-altlinux.ver .libs/librutokens.ver; fi libtool: link: x86_64-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 -g -O2 -flto=auto -Wl,--as-needed -pthread -Wl,-soname -Wl,librutokens.so -Wl,-version-script -Wl,.libs/librutokens.ver -o .libs/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.9/src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.35081 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd pcsc-lite-rutokens-1.0.9 + /usr/bin/make 'INSTALL=/usr/libexec/rpm-build/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/lib64 libexecdir=/usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/lib localstatedir=/usr/src/tmp/pcsc-lite-rutokens-buildroot/var/lib runstatedir=/usr/src/tmp/pcsc-lite-rutokens-buildroot/var/run 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.9' Making install in m4 make[1]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/m4' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/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.9/m4' make[1]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/m4' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/src' cat ./Info.plist.src | sed s/BUNDLE/ifd-rutokens.bundle/\ | sed s/VERSION/1.0.9/ | sed s/TARGET/librutokens.so/ > Info.plist /bin/sh /usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9/build/install-sh -d /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/ cp Info.plist /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/ cp .libs/librutokens.so /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9; ln -fs librutokens.so.1.0.9 /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/lib64/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.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9' make[2]: Entering directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9' 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.9' make[1]: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9' make: Leaving directory '/usr/src/RPM/BUILD/pcsc-lite-rutokens-1.0.9' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/pcsc-lite-rutokens-buildroot (auto) mode of './usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9' 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,gnuconfig) 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/lib64: (from :0) 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/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9: undefined symbol: log_xxd verify-elf: WARNING: ./usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9: undefined symbol: log_msg Splitting links to aliased files under /{,s}bin in /usr/src/tmp/pcsc-lite-rutokens-buildroot Processing files: pcsc-lite-rutokens-1.0.9-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.63533 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pcsc-lite-rutokens-1.0.9 + DOCDIR=/usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/share/doc/pcsc-lite-rutokens-1.0.9 + export DOCDIR + rm -rf /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/share/doc/pcsc-lite-rutokens-1.0.9 + /bin/mkdir -p /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/share/doc/pcsc-lite-rutokens-1.0.9 + cp -prL AUTHORS COPYING NEWS README /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/share/doc/pcsc-lite-rutokens-1.0.9 + chmod -R go-w /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/share/doc/pcsc-lite-rutokens-1.0.9 + chmod -R a+rX /usr/src/tmp/pcsc-lite-rutokens-buildroot/usr/share/doc/pcsc-lite-rutokens-1.0.9 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JhVrSf find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UNBY9O find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: rutokens-driver, ifd-rutokens Requires: pcsc-lite, libc.so.6()(64bit) >= set:poiedc, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.2)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.38)(64bit), libusb-0.1.so.4()(64bit) >= 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.YOVukQ Creating pcsc-lite-rutokens-debuginfo package Processing files: pcsc-lite-rutokens-debuginfo-1.0.9-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Eec5ay find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rtrMNT find-requires: running scripts (debuginfo) Requires: pcsc-lite-rutokens = 1.0.9-alt1, debug64(libc.so.6), debug64(libusb-0.1.so.4) Adding to pcsc-lite-rutokens-debuginfo a strict dependency on pcsc-lite-rutokens Wrote: /usr/src/RPM/RPMS/x86_64/pcsc-lite-rutokens-1.0.9-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/pcsc-lite-rutokens-debuginfo-1.0.9-alt1.x86_64.rpm (w2.lzdio) 4.41user 5.05system 0:13.25elapsed 71%CPU (0avgtext+0avgdata 43008maxresident)k 0inputs+0outputs (0major+975888minor)pagefaults 0swaps 3.76user 2.74system 0:24.09elapsed 27%CPU (0avgtext+0avgdata 137616maxresident)k 128inputs+0outputs (0major+224328minor)pagefaults 0swaps --- pcsc-lite-rutokens-1.0.9-alt1.x86_64.rpm.repo 2023-02-20 05:04:31.000000000 +0000 +++ pcsc-lite-rutokens-1.0.9-alt1.x86_64.rpm.hasher 2024-11-14 02:57:43.773526527 +0000 @@ -14,3 +14,2 @@ Requires: rpmlib(SetVersions) -Requires: libc.so.6(ALT_2.24)(64bit) Requires: libc.so.6(GLIBC_2.14)(64bit) @@ -20,2 +19,3 @@ Requires: libc.so.6(GLIBC_2.34)(64bit) +Requires: libc.so.6(GLIBC_2.38)(64bit) Requires: libusb-0.1.so.4()(64bit) >= set:iew8DHnBFzWlddVCVCYIi2 @@ -31,3 +31,3 @@ File: /usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so 120777 root:root librutokens.so.1.0.9 -File: /usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9 100644 root:root 56c503e6fbf48f8f0bb9d49da07e81da +File: /usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9 100644 root:root c9ec4fc1e6549771147abf1fa09c5487 File: /usr/share/doc/pcsc-lite-rutokens-1.0.9 40755 root:root @@ -37,2 +37,2 @@ File: /usr/share/doc/pcsc-lite-rutokens-1.0.9/README 100644 root:root 1af8e432081f3bb185451b5ebddb93a4 -RPMIdentity: 8267b93c161ce204f471513e8fa1a58255b6d21c5e324f7e8d7743d0235565a56cb0ad83de8a2b1747ca73c6295d3d0e598a6f97b6039586ea9a9277386af8f9 +RPMIdentity: 7390cb8665c0345f8b045a1f33041ae2a947c14577e2c106dc63076489c09e16ec8a0f5e804f4c3460d0498b367bb91b1ea419e018bccad3601a5bd47670c056 --- pcsc-lite-rutokens-debuginfo-1.0.9-alt1.x86_64.rpm.repo 2023-02-20 05:04:31.000000000 +0000 +++ pcsc-lite-rutokens-debuginfo-1.0.9-alt1.x86_64.rpm.hasher 2024-11-14 02:57:43.868528049 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/75 40755 root:root -/usr/lib/debug/.build-id/75/0e0aab6a37b3dd7023e488d3ad6977e8feafa7 120777 root:root ../../../../lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9 -/usr/lib/debug/.build-id/75/0e0aab6a37b3dd7023e488d3ad6977e8feafa7.debug 120777 root:root ../../usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9.debug +/usr/lib/debug/.build-id/1e 40755 root:root +/usr/lib/debug/.build-id/1e/b2dbd97e79bc8791f87d98dbc883cb2974e30c 120777 root:root ../../../../lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9 +/usr/lib/debug/.build-id/1e/b2dbd97e79bc8791f87d98dbc883cb2974e30c.debug 120777 root:root ../../usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9.debug /usr/lib/debug/usr/lib64/pcsc 40755 root:root @@ -37,5 +37,5 @@ Provides: pcsc-lite-rutokens-debuginfo = 1.0.9-alt1:sisyphus+315491.100.1.1 -File: /usr/lib/debug/.build-id/75 40755 root:root -File: /usr/lib/debug/.build-id/75/0e0aab6a37b3dd7023e488d3ad6977e8feafa7 120777 root:root ../../../../lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9 -File: /usr/lib/debug/.build-id/75/0e0aab6a37b3dd7023e488d3ad6977e8feafa7.debug 120777 root:root ../../usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9.debug +File: /usr/lib/debug/.build-id/1e 40755 root:root +File: /usr/lib/debug/.build-id/1e/b2dbd97e79bc8791f87d98dbc883cb2974e30c 120777 root:root ../../../../lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9 +File: /usr/lib/debug/.build-id/1e/b2dbd97e79bc8791f87d98dbc883cb2974e30c.debug 120777 root:root ../../usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9.debug File: /usr/lib/debug/usr/lib64/pcsc 40755 root:root @@ -45,3 +45,3 @@ File: /usr/lib/debug/usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux 40755 root:root -File: /usr/lib/debug/usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9.debug 100644 root:root 9b8d126f0ef20377f2ed9b376b4ed92d +File: /usr/lib/debug/usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.1.0.9.debug 100644 root:root 13d87ae135d539a448e791bfdcda95de File: /usr/lib/debug/usr/lib64/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so.debug 120777 root:root librutokens.so.1.0.9.debug @@ -69,2 +69,2 @@ File: /usr/src/debug/pcsc-lite-rutokens-1.0.9/src/utils.h 100644 root:root 4fabba788fe30345cff6890f6b110ed4 -RPMIdentity: 2ae3deb0b3a6825e8d596502673e3a1b8c9280084c6a9ac195d6ca4b6cbbeecd4b6173df9c45b15f6de25e787ecde26802d726d9e69be54c11371d4571e5bb2e +RPMIdentity: 15267df331282edc3cb330868bff7674a321441ec509fe0ccf95a865ec3e6e1035156a09ce594486bd47af7690160554964daec691d46c35c78430b3d59b3c3b