D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: /home/pterjan/rpmbuild/SPECS/hidapi.spec line 49: autopatch: no matching patches in range Installing /home/pterjan/rpmbuild/SRPMS/hidapi-0.14.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sP4arC Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.j4ahJE + umask 022 + cd /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build + rm -rf hidapi-hidapi-0.14.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/hidapi-0.14.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hidapi-hidapi-0.14.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qtmYA4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hidapi-hidapi-0.14.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf --install --verbose --force autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:20: installing './ar-lib' configure.ac:20: installing './compile' configure.ac:21: installing './config.guess' configure.ac:21: installing './config.sub' configure.ac:18: installing './install-sh' configure.ac:18: installing './missing' hidtest/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-testgui --disable-static This build script for HIDAPI is deprecated. Consider using CMake instead. checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 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 xargs -n works... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-linux-gnu-gcc... 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 gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for x86_64-mageia-linux-gnu-ar... no checking for x86_64-mageia-linux-gnu-lib... no checking for x86_64-mageia-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu 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 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 whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking command to parse /usr/bin/nm -B output from 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-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the 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 x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for x86_64-mageia-linux-gnu-gcc... no checking for x86_64-mageia-linux-gnu-objcc... no checking for x86_64-mageia-linux-gnu-objc... no checking for x86_64-mageia-linux-gnu-cc... no checking for x86_64-mageia-linux-gnu-CC... no checking for x86_64-mageia-linux-gnu-clang... no checking for gcc... gcc checking whether the compiler supports GNU Objective C... no checking whether gcc accepts -g... no checking dependency style of gcc... none checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking operating system... x86_64-mageia-linux-gnu (Linux back-end) checking for libudev... yes checking for clock_gettime in -lrt... yes checking for libusb... 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 PTHREAD_PRIO_INHERIT... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating pc/hidapi-hidraw.pc config.status: creating pc/hidapi-libusb.pc config.status: creating Makefile config.status: creating hidtest/Makefile config.status: creating libusb/Makefile config.status: creating linux/Makefile config.status: creating mac/Makefile config.status: creating testgui/Makefile config.status: creating windows/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in linux make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/linux' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../hidapi/ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o hid.lo hid.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../hidapi/ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c hid.c -fPIC -DPIC -o .libs/hid.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/linux' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/linux' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -version-info 0:0:0 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libhidapi-hidraw.la -rpath /usr/lib64 hid.lo -ludev libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/hid.o -O2 -g -Werror=format-security -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ludev -Wl,-soname -Wl,libhidapi-hidraw.so.0 -o .libs/libhidapi-hidraw.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libhidapi-hidraw.so.0" && ln -s "libhidapi-hidraw.so.0.0.0" "libhidapi-hidraw.so.0") libtool: link: (cd ".libs" && rm -f "libhidapi-hidraw.so" && ln -s "libhidapi-hidraw.so.0.0.0" "libhidapi-hidraw.so") libtool: link: ( cd ".libs" && rm -f "libhidapi-hidraw.la" && ln -s "../libhidapi-hidraw.la" "libhidapi-hidraw.la" ) make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/linux' Making all in libusb make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/libusb' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../hidapi -I/usr/include/libusb-1.0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o hid.lo hid.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../hidapi -I/usr/include/libusb-1.0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c hid.c -fPIC -DPIC -o .libs/hid.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/libusb' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/libusb' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -version-info 0:0:0 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libhidapi-libusb.la -rpath /usr/lib64 hid.lo -lrt -lusb-1.0 libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/hid.o -O2 -g -Werror=format-security -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrt -lusb-1.0 -Wl,-soname -Wl,libhidapi-libusb.so.0 -o .libs/libhidapi-libusb.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libhidapi-libusb.so.0" && ln -s "libhidapi-libusb.so.0.0.0" "libhidapi-libusb.so.0") libtool: link: (cd ".libs" && rm -f "libhidapi-libusb.so" && ln -s "libhidapi-libusb.so.0.0.0" "libhidapi-libusb.so") libtool: link: ( cd ".libs" && rm -f "libhidapi-libusb.la" && ln -s "../libhidapi-libusb.la" "libhidapi-libusb.la" ) make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/libusb' Making all in hidtest make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/hidtest' gcc -DHAVE_CONFIG_H -I. -I.. -I../hidapi/ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o test.o test.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/hidtest' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/hidtest' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hidtest-hidraw test.o ../linux/libhidapi-hidraw.la libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/hidtest-hidraw test.o ../linux/.libs/libhidapi-hidraw.so -ludev make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/hidtest' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/hidtest' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hidtest-libusb test.o ../libusb/libhidapi-libusb.la libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/hidtest-libusb test.o ../libusb/.libs/libhidapi-libusb.so -lrt -lusb-1.0 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/hidtest' make[2]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ido4OR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build + mkdir /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hidapi-hidapi-0.14.0 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' Making install in linux make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/linux' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/linux' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libhidapi-hidraw.la '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/lib64' libtool: install: /usr/bin/install -p .libs/libhidapi-hidraw.so.0.0.0 /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/lib64/libhidapi-hidraw.so.0.0.0 libtool: install: (cd /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/lib64 && { ln -s -f libhidapi-hidraw.so.0.0.0 libhidapi-hidraw.so.0 || { rm -f libhidapi-hidraw.so.0 && ln -s libhidapi-hidraw.so.0.0.0 libhidapi-hidraw.so.0; }; }) libtool: install: (cd /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/lib64 && { ln -s -f libhidapi-hidraw.so.0.0.0 libhidapi-hidraw.so || { rm -f libhidapi-hidraw.so && ln -s libhidapi-hidraw.so.0.0.0 libhidapi-hidraw.so; }; }) libtool: install: /usr/bin/install -p .libs/libhidapi-hidraw.lai /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/lib64/libhidapi-hidraw.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/include/hidapi' /usr/bin/install -p -m 644 ../hidapi/hidapi.h '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/include/hidapi' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/linux' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/linux' Making install in libusb make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/libusb' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/libusb' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libhidapi-libusb.la '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/lib64' libtool: install: /usr/bin/install -p .libs/libhidapi-libusb.so.0.0.0 /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/lib64/libhidapi-libusb.so.0.0.0 libtool: install: (cd /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/lib64 && { ln -s -f libhidapi-libusb.so.0.0.0 libhidapi-libusb.so.0 || { rm -f libhidapi-libusb.so.0 && ln -s libhidapi-libusb.so.0.0.0 libhidapi-libusb.so.0; }; }) libtool: install: (cd /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/lib64 && { ln -s -f libhidapi-libusb.so.0.0.0 libhidapi-libusb.so || { rm -f libhidapi-libusb.so && ln -s libhidapi-libusb.so.0.0.0 libhidapi-libusb.so; }; }) libtool: install: /usr/bin/install -p .libs/libhidapi-libusb.lai /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/lib64/libhidapi-libusb.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/include/hidapi' /usr/bin/install -p -m 644 ../hidapi/hidapi.h hidapi_libusb.h '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/include/hidapi' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/libusb' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/libusb' Making install in hidtest make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/hidtest' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/hidtest' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/hidtest' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/hidtest' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/share/doc/hidapi' /usr/bin/install -p -m 644 README.md AUTHORS.txt LICENSE-bsd.txt LICENSE-gpl3.txt LICENSE-orig.txt LICENSE.txt '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/share/doc/hidapi' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 pc/hidapi-hidraw.pc pc/hidapi-libusb.pc '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/lib64/pkgconfig' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0' + find /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT -name '*.la' -delete + rm -rf /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/share/doc/hidapi + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.14.0-1.mga10 --unique-debug-suffix -0.14.0-1.mga10.x86_64 --unique-debug-src-base hidapi-0.14.0-1.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/hidapi-0.14.0-1.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: lib64hidapi0-0.14.0-1.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4vM85F + umask 022 + cd /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build + cd hidapi-hidapi-0.14.0 + DOCDIR=/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/share/doc/lib64hidapi0 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/share/doc/lib64hidapi0 + cp -pr /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/AUTHORS.txt /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/share/doc/lib64hidapi0 + cp -pr /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/README.md /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/share/doc/lib64hidapi0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yJKaj4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build + cd hidapi-hidapi-0.14.0 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/share/licenses/lib64hidapi0 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/share/licenses/lib64hidapi0 + cp -pr /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/LICENSE-bsd.txt /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/share/licenses/lib64hidapi0 + cp -pr /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/LICENSE-gpl3.txt /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/share/licenses/lib64hidapi0 + cp -pr /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/LICENSE-orig.txt /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/share/licenses/lib64hidapi0 + cp -pr /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/hidapi-hidapi-0.14.0/LICENSE.txt /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT/usr/share/licenses/lib64hidapi0 + RPM_EC=0 ++ jobs -p + exit 0 Provides: lib64hidapi0 = 0.14.0-1.mga10 lib64hidapi0(x86-64) = 0.14.0-1.mga10 libhidapi-hidraw.so.0()(64bit) libhidapi-libusb.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) libusb-1.0.so.0()(64bit) Processing files: lib64hidapi-devel-0.14.0-1.mga10.x86_64 Provides: devel(libhidapi-hidraw(64bit)) devel(libhidapi-libusb(64bit)) hidapi-devel = 0.14.0-1.mga10 lib64hidapi-devel = 0.14.0-1.mga10 lib64hidapi-devel(x86-64) = 0.14.0-1.mga10 pkgconfig(hidapi-hidraw) = 0.14.0 pkgconfig(hidapi-libusb) = 0.14.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: devel(libudev(64bit)) devel(libusb-1.0(64bit)) pkgconfig Processing files: hidapi-debugsource-0.14.0-1.mga10.x86_64 Provides: hidapi-debugsource = 0.14.0-1.mga10 hidapi-debugsource(x86-64) = 0.14.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lib64hidapi0-debuginfo-0.14.0-1.mga10.x86_64 Provides: debuginfo(build-id) = 199bf70efcef1f5576f3f5004522368c6685e07b debuginfo(build-id) = 95d9c3fd6ed40cb667b9f10018510d81b5cfa7da lib64hidapi0-debuginfo = 0.14.0-1.mga10 lib64hidapi0-debuginfo(x86-64) = 0.14.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: hidapi-debugsource(x86-64) = 0.14.0-1.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64hidapi-devel-0.14.0-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64hidapi0-0.14.0-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/hidapi-debugsource-0.14.0-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64hidapi0-debuginfo-0.14.0-1.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2JHmC7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build + test -d /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/hidapi-0.14.0-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: /home/pterjan/rpmbuild/SPECS/hidapi.spec line 49: autopatch: no matching patches in range D: [iurt_root_command] Success!