Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target x86_64 --nodeps /builddir/build/SPECS/libhid.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672021565.973786/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fb807a452d0>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f5tdk5m4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f5tdk5m4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ad7f8301bfc340088c1674c469a3c911', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672021565.973786/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f5tdk5m4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target x86_64 --nodeps /builddir/build/SPECS/libhid.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1658361600
Wrote: /builddir/build/SRPMS/libhid-0.2.17-44.fc38.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb  --target x86_64 --nodeps /builddir/build/SPECS/libhid.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672021565.973786/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fb807a452d0>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f5tdk5m4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f5tdk5m4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'dfb2ab3d433f4e56b29bb3c598226237', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672021565.973786/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f5tdk5m4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb  --target x86_64 --nodeps /builddir/build/SPECS/libhid.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1658361600
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.utlAI3
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf libhid-0.2.17
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libhid-0.2.17.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libhid-0.2.17
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (libhid-0.2.17-fix_manpage.patch):'
Patch #0 (libhid-0.2.17-fix_manpage.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix_manpage --fuzz=0
patching file doc/man/Makefile.am
+ echo 'Patch #3 (libhid-0.2.17-fix_python.patch):'
Patch #3 (libhid-0.2.17-fix_python.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix_python --fuzz=0
patching file swig/Makefile.am
+ sed -i 's|AC_PROG_SWIG(1.3)|AC_PROG_SWIG(3.0)|' configure.ac
+ autoreconf -i
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in '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'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
configure.ac:24: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.ac:24: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:781: AM_CONFIG_HEADER is expanded from...
configure.ac:24: the top level
configure.ac:33: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:33: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/md_arg_enable_custom.m4:1: MD_ARG_ENABLE_CUSTOM is expanded from...
configure.ac:33: the top level
configure.ac:34: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:34: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/md_arg_enable_custom.m4:1: MD_ARG_ENABLE_CUSTOM is expanded from...
configure.ac:34: the top level
configure.ac:35: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:35: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/md_arg_enable_custom.m4:1: MD_ARG_ENABLE_CUSTOM is expanded from...
configure.ac:35: the top level
configure.ac:36: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:36: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/md_arg_enable_custom.m4:1: MD_ARG_ENABLE_CUSTOM is expanded from...
configure.ac:36: the top level
configure.ac:37: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:37: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/md_arg_enable_custom.m4:1: MD_ARG_ENABLE_CUSTOM is expanded from...
configure.ac:37: the top level
configure.ac:44: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:44: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/md_arg_with_custom.m4:1: MD_ARG_WITH_CUSTOM is expanded from...
configure.ac:44: the top level
configure.ac:47: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:47: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/md_arg_enable_custom.m4:1: MD_ARG_ENABLE_CUSTOM is expanded from...
configure.ac:47: the top level
configure.ac:61: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
m4/md_check_libusb018b.m4:1: MD_CHECK_LIBUSB018B is expanded from...
configure.ac:61: the top level
configure.ac:69: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:69: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:69: the top level
configure.ac:73: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:73: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:73: the top level
configure.ac:95: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:95: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
m4/ac_python_devel.m4:77: AC_PYTHON_DEVEL is expanded from...
m4/swig_python.m4:61: SWIG_PYTHON is expanded from...
configure.ac:95: the top level
configure.ac:108: warning: The macro `AC_WARN' is obsolete.
configure.ac:108: You should run autoupdate.
./lib/autoconf/oldnames.m4:33: AC_WARN is expanded from...
m4/md_conf_db2man.m4:1: MD_CONF_DB2MAN is expanded from...
configure.ac:108: the top level
configure.ac:61: installing './compile'
configure.ac:59: installing './config.guess'
configure.ac:59: installing './config.sub'
configure.ac:28: installing './install-sh'
configure.ac:28: installing './missing'
Makefile.am:42: warning: wildcard $(PACKAGE: non-POSIX variable name
Makefile.am:42: (probably a GNU make extension)
Makefile.debian:1: warning: shell head -1 debian/changelog 2>/dev/null | sed -e '1s,.*(\([^)]*\)).*,\1,': non-POSIX variable name
Makefile.debian:1: (probably a GNU make extension)
Makefile.am:44:   'Makefile.debian' included from here
Makefile.debian:2: warning: shell test -x `which dpkg-architecture 2>/dev/null` && dpkg-architecture -qDEB_BUILD_ARCH 2>/dev/null || echo i386: non-POSIX variable name
Makefile.debian:2: (probably a GNU make extension)
Makefile.am:44:   'Makefile.debian' included from here
Makefile.debian:12: warning: error run 'make dist' to create the tarball: non-POSIX variable name
Makefile.debian:12: (probably a GNU make extension)
Makefile.am:44:   'Makefile.debian' included from here
Makefile.am: installing './INSTALL'
Makefile.am: installing './COPYING' using GNU General Public License v3 file
Makefile.am:     Consider adding the COPYING file to the version control system
Makefile.am:     for your code, to avoid questions about which license your project uses
doc/Makefile.am:12: warning: wildcard ../src/*.c: non-POSIX variable name
doc/Makefile.am:12: (probably a GNU make extension)
doc/Makefile.am:12: warning: wildcard ../include/*.h: non-POSIX variable name
doc/Makefile.am:12: (probably a GNU make extension)
doc/Makefile.am:12: warning: wildcard ../hidparser/*.[ch]: non-POSIX variable name
doc/Makefile.am:12: (probably a GNU make extension)
doc/Makefile.am:12: warning: wildcard *.dox: non-POSIX variable name
doc/Makefile.am:12: (probably a GNU make extension)
doc/Makefile.am:12: warning: variable 'DOXY_SOURCES' is defined but no program or
doc/Makefile.am:12: library has 'DOXY' as canonical name (possible typo)
doc/man/Makefile.am:6: warning: '%'-style pattern rules are a GNU make extension
doc/man/Makefile.am:10: warning: wildcard *.[0-9]: non-POSIX variable name
doc/man/Makefile.am:10: (probably a GNU make extension)
hidparser/Makefile.am: installing './depcomp'
hidparser/Makefile.am:13: installing './py-compile'
src/Makefile.am:53: warning: wildcard *.loT: non-POSIX variable name
src/Makefile.am:53: (probably a GNU make extension)
src/Makefile.am:54: warning: wildcard *.i: non-POSIX variable name
src/Makefile.am:54: (probably a GNU make extension)
src/Makefile.am:55: warning: wildcard *.s: non-POSIX variable name
src/Makefile.am:55: (probably a GNU make extension)
swig/Makefile.am:12: warning: echo $(CFLAGS: non-POSIX variable name
swig/Makefile.am:12: (probably a GNU make extension)
swig/Makefile.am:66: warning: wildcard *.pyc: non-POSIX variable name
swig/Makefile.am:66: (probably a GNU make extension)
swig/Makefile.am:67: warning: patsubst %.i,%.py,$(wildcard *.i: non-POSIX variable name
swig/Makefile.am:67: (probably a GNU make extension)
swig/Makefile.am:68: warning: wildcard *.s: non-POSIX variable name
swig/Makefile.am:68: (probably a GNU make extension)
swig/Makefile.am:70: warning: wildcard *_wrap.c: non-POSIX variable name
swig/Makefile.am:70: (probably a GNU make extension)
swig/Makefile.am:70: warning: wildcard *_wrap.i: non-POSIX variable name
swig/Makefile.am:70: (probably a GNU make extension)
swig/Makefile.am:71: warning: wildcard *.o: non-POSIX variable name
swig/Makefile.am:71: (probably a GNU make extension)
swig/Makefile.am:72: warning: wildcard *.so: non-POSIX variable name
swig/Makefile.am:72: (probably a GNU make extension)
swig/Makefile.am:73: warning: wildcard *.lo *.loT: non-POSIX variable name
swig/Makefile.am:73: (probably a GNU make extension)
swig/Makefile.am:74: warning: wildcard *.la: non-POSIX variable name
swig/Makefile.am:74: (probably a GNU make extension)
test/Makefile.am:32: warning: wildcard *.loT: non-POSIX variable name
test/Makefile.am:32: (probably a GNU make extension)
test/Makefile.am:33: warning: wildcard *.i: non-POSIX variable name
test/Makefile.am:33: (probably a GNU make extension)
test/Makefile.am:34: warning: wildcard *.s: non-POSIX variable name
test/Makefile.am:34: (probably a GNU make extension)
+ echo 'Patch #1 (libhid-0.2.17-fix_compiler_flags.patch):'
Patch #1 (libhid-0.2.17-fix_compiler_flags.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix_compiler_flags --fuzz=0
patching file configure
Hunk #1 succeeded at 14810 (offset 1205 lines).
+ echo 'Patch #2 (libhid-0.2.17-buildfix.patch):'
Patch #2 (libhid-0.2.17-buildfix.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file test/lshid.c
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YNPAcj
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd libhid-0.2.17
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']'
++ find . -type f -name configure -print
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup	2022-12-26 02:27:26.998046246 +0000
+++ ./configure	2022-12-26 02:27:27.025046549 +0000
@@ -1794,7 +1794,7 @@
 #ifdef __cplusplus
 extern "C"
 #endif
-char $2 ();
+__attribute__ ((used)) char $2 ();
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup	2022-12-26 02:27:27.025046549 +0000
+++ ./configure	2022-12-26 02:27:27.042046739 +0000
@@ -8210,7 +8210,7 @@
 # Transform an extracted symbol line into a proper C declaration.
 # Some systems (esp. on ia64) link data and code symbols differently,
 # so use this general approach.
-lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 $lt_cdecl_hook\
 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
@@ -16672,7 +16672,7 @@
 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config.sub
++ basename ./config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config.guess
++ basename ./config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config.guess'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']'
++ find . -name ltmain.sh
+ for i in $(find . -name ltmain.sh)
+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh
++ grep -q runstatedir=DIR ./configure
++ echo --runstatedir=/run
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --disable-werror --without-doxygen --disable-swig
checking for a BSD-compatible install... /usr/bin/install -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 whether to enable maintainer-specific portions of Makefiles... no
checking whether to enable pedantic compiler checks... (cached) no
checking whether to enable proper compiler warnings... (cached) yes
checking whether to enable compiler warnings as errors... (cached) no
checking whether to enable debugging... (cached) no
checking whether to enable gdb-enhanced debugging symbols... (cached) no
checking whether to use documentation generated by doxygen... (cached) no
checking whether to enable swig python wrapper... (cached) no
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for target OS... Linux
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-redhat-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 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 usb.h... yes
checking for x86_64-redhat-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 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-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-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-redhat-linux-gnu-file... no
checking for file... file
checking for x86_64-redhat-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 8216:  -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory
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-redhat-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
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 whether make sets $(MAKE)... (cached) yes
checking for egrep... (cached) /usr/bin/grep -E
checking for _Bool... yes
checking for stdbool.h that conforms to C99... yes
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking for preprocessor stringizing operator... yes
configure: enabled compiler warnings.
configure: doxygen disabled by configuration (use --with-doxygen to enable).
./configure: line 15791: -Wl,-z,relro: command not found
configure: Using db2man stylesheet: /usr/share/sgml/docbook/xsl-stylesheets-1.79.2/manpages/docbook.xsl
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating hidparser/Makefile
config.status: creating swig/Makefile
config.status: creating test/Makefile
config.status: creating doc/doxygen.rc
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/www/Makefile
config.status: creating pkgconfig/libhid.pc
config.status: creating rpm/libhid.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
.------------------------------------------------------------------------------
| Configuration to be used:
|
|   CPP     : gcc -E
|   CPPFLAGS: -DNDEBUG
|   CC      : gcc
|   CFLAGS  : -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W
|   CXX     : g++
|   CXXFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W
|   LD      : /usr/bin/ld -m elf_x86_64
|   LDFLAGS : -lusb
`------------------------------------------------------------------------------
+ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+ make -j2 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lusb'
make  all-recursive
make[1]: Entering directory '/builddir/build/BUILD/libhid-0.2.17'
Making all in hidparser
make[2]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/hidparser'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c -o hidparser.lo hidparser.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c hidparser.c  -fPIC -DPIC -o .libs/hidparser.o
/bin/sh ../libtool  --tag=CC   --mode=link gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -static -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lusb -o libhidparser.la  hidparser.lo  
libtool: link: ar cr .libs/libhidparser.a  .libs/hidparser.o
libtool: link: ranlib .libs/libhidparser.a
libtool: link: ( cd ".libs" && rm -f "libhidparser.la" && ln -s "../libhidparser.la" "libhidparser.la" )
make[2]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/hidparser'
Making all in src
make[2]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/src'
gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c -o libhid-detach-device.o libhid-detach-device.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c -o linux.lo linux.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c linux.c  -fPIC -DPIC -o .libs/linux.o
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c -o hid_initialisation.lo hid_initialisation.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c hid_initialisation.c  -fPIC -DPIC -o .libs/hid_initialisation.o
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c -o hid_preparation.lo hid_preparation.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c hid_preparation.c  -fPIC -DPIC -o .libs/hid_preparation.o
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c -o hid_opening.lo hid_opening.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c hid_opening.c  -fPIC -DPIC -o .libs/hid_opening.o
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c -o hid_parsing.lo hid_parsing.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c hid_parsing.c  -fPIC -DPIC -o .libs/hid_parsing.o
hid_opening.c: In function 'hid_get_usb_handle':
hid_opening.c:127:47: warning: '%s' directive output may be truncated writing up to 4096 bytes into a region of size 32 [-Wformat-truncation=]
  127 |       snprintf(hidif->id, sizeof(hidif->id), "%s/%s[%d]",
      |                                               ^~
In file included from /usr/include/stdio.h:906,
                 from ../include/hid.h:4,
                 from hid_opening.c:3:
In function 'snprintf',
    inlined from 'hid_find_usb_device' at hid_opening.c:127:7,
    inlined from 'hid_get_usb_handle' at hid_opening.c:184:20:
/usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 5 and 8207 bytes into a destination of size 32
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c -o hid_exchange.lo hid_exchange.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c -o hid_presentation.lo hid_presentation.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c hid_exchange.c  -fPIC -DPIC -o .libs/hid_exchange.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c hid_presentation.c  -fPIC -DPIC -o .libs/hid_presentation.o
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c -o debug.lo debug.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c debug.c  -fPIC -DPIC -o .libs/debug.o
/bin/sh ../libtool  --tag=CC   --mode=link gcc -fPIC -I../include -I../hidparser  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lusb -o libhid.la -rpath /usr/lib64 linux.lo hid_initialisation.lo hid_preparation.lo hid_opening.lo hid_parsing.lo hid_exchange.lo hid_presentation.lo debug.lo -lusb ../hidparser/libhidparser.la 
libtool: link: gcc -shared  -fPIC -DPIC  .libs/linux.o .libs/hid_initialisation.o .libs/hid_preparation.o .libs/hid_opening.o .libs/hid_parsing.o .libs/hid_exchange.o .libs/hid_presentation.o .libs/debug.o  -Wl,--whole-archive ../hidparser/.libs/libhidparser.a -Wl,--no-whole-archive  -lusb -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes   -Wl,-soname -Wl,libhid.so.0 -o .libs/libhid.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libhid.so.0" && ln -s "libhid.so.0.0.0" "libhid.so.0")
libtool: link: (cd ".libs" && rm -f "libhid.so" && ln -s "libhid.so.0.0.0" "libhid.so")
libtool: link: ( cd ".libs" && rm -f "libhid.la" && ln -s "../libhid.la" "libhid.la" )
/bin/sh ../libtool  --tag=CC   --mode=link gcc -fPIC -I../include -I../hidparser  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lusb -o libhid-detach-device libhid-detach-device.o libhid.la 
libtool: link: gcc -fPIC -I../include -I../hidparser -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/libhid-detach-device libhid-detach-device.o  ./.libs/libhid.so -lusb
make[2]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/src'
Making all in test
make[2]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/test'
gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -I../include -I../hidparser -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c -o test_libhid.o test_libhid.c
make[3]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/src'
make[3]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/src'
gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -I../include -I../hidparser -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -c -o lshid.o lshid.c
lshid.c: In function 'device_iterator':
lshid.c:45:30: warning: '%s' directive writing up to 4096 bytes into a region of size 10 [-Wformat-overflow=]
   45 |   sprintf(current_dev_path, "%s/%s", device->bus->dirname, device->filename);
      |                              ^~
In file included from /usr/include/stdio.h:906,
                 from ../include/hid.h:4,
                 from lshid.c:24:
In function 'sprintf',
    inlined from 'device_iterator' at lshid.c:45:3:
/usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 8194 bytes into a destination of size 10
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I../include -I../hidparser -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lusb -o test_libhid test_libhid.o ../src/libhid.la 
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I../include -I../hidparser -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lusb -o lshid lshid.o ../src/libhid.la 
libtool: link: gcc -I../include -I../hidparser -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/test_libhid test_libhid.o  ../src/.libs/libhid.so -lusb
libtool: link: gcc -I../include -I../hidparser -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -W -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/lshid lshid.o  ../src/.libs/libhid.so -lusb
make[2]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/test'
Making all in doc
make[2]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/doc'
Making all in www
make[3]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/doc/www'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/doc/www'
Making all in man
make[3]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/doc/man'
db2x_docbook2man  libhid-detach-device.dbk
warning : xmlAddEntity: invalid redeclaration of predefined entity 'lt'
make[3]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/doc/man'
make[3]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/doc'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/doc'
make[2]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/doc'
make[2]: Entering directory '/builddir/build/BUILD/libhid-0.2.17'
make[2]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17'
make[1]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MCLrTq
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64
++ dirname /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd libhid-0.2.17
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64 'INSTALL=/usr/bin/install -p'
Making install in hidparser
make[1]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/hidparser'
make[2]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/hidparser'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/include'
 /usr/bin/install -p -m 644 hidparser.h hidtypes.h '/builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/include'
make[2]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/hidparser'
make[1]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/hidparser'
Making install in src
make[1]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/src'
make[2]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/src'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/lib64'
 /bin/sh ../libtool   --mode=install /usr/bin/install -p   libhid.la '/builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/lib64'
libtool: install: /usr/bin/install -p .libs/libhid.so.0.0.0 /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/lib64/libhid.so.0.0.0
libtool: install: (cd /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/lib64 && { ln -s -f libhid.so.0.0.0 libhid.so.0 || { rm -f libhid.so.0 && ln -s libhid.so.0.0.0 libhid.so.0; }; })
libtool: install: (cd /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/lib64 && { ln -s -f libhid.so.0.0.0 libhid.so || { rm -f libhid.so && ln -s libhid.so.0.0.0 libhid.so; }; })
libtool: install: /usr/bin/install -p .libs/libhid.lai /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/lib64/libhid.la
libtool: warning: remember to run 'libtool --finish /usr/lib64'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -p libhid-detach-device '/builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/bin'
libtool: warning: 'libhid.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p .libs/libhid-detach-device /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/bin/libhid-detach-device
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/include'
 /usr/bin/install -p -m 644 ../include/hid.h '/builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/include'
make[2]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/src'
make[1]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/src'
Making install in test
make[1]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/test'
make[2]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/src'
make[2]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/src'
make[2]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/test'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/test'
make[1]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/test'
Making install in doc
make[1]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/doc'
Making install in www
make[2]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/doc/www'
make[3]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/doc/www'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/doc/www'
make[2]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/doc/www'
Making install in man
make[2]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/doc/man'
make[3]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/doc/man'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/share/man/man1'
 /usr/bin/install -p -m 644 libhid-detach-device.1 '/builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/share/man/man1'
make[3]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/doc/man'
make[2]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/doc/man'
make[2]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/doc'
make[3]: Entering directory '/builddir/build/BUILD/libhid-0.2.17/doc'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/doc'
make[2]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/doc'
make[1]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17/doc'
make[1]: Entering directory '/builddir/build/BUILD/libhid-0.2.17'
make[2]: Entering directory '/builddir/build/BUILD/libhid-0.2.17'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/lib64/pkgconfig'
 /usr/bin/install -p -m 644 pkgconfig/libhid.pc '/builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/lib64/pkgconfig'
make[2]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17'
make[1]: Leaving directory '/builddir/build/BUILD/libhid-0.2.17'
+ rm -rf /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/lib64/libhid.la
+ /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.2.17-44.fc38 --unique-debug-suffix -0.2.17-44.fc38.x86_64 --unique-debug-src-base libhid-0.2.17-44.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libhid-0.2.17
extracting debug info from /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/bin/libhid-detach-device
extracting debug info from /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/lib64/libhid.so.0.0.0
original debug info size: 224kB, size after compression: 200kB
/usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match.
167 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/redhat/brp-python-hardlink
Processing files: libhid-0.2.17-44.fc38.x86_64
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dNRMhA
+ umask 022
+ cd /builddir/build/BUILD
+ cd libhid-0.2.17
+ LICENSEDIR=/builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/share/licenses/libhid
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/share/licenses/libhid
+ cp -pr README.licence /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/share/licenses/libhid
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: libhid = 0.2.17-44.fc38 libhid(x86-64) = 0.2.17-44.fc38 libhid.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.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libhid.so.0()(64bit) libusb-0.1.so.4()(64bit) rtld(GNU_HASH)
Processing files: libhid-devel-0.2.17-44.fc38.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xeUCnn
+ umask 022
+ cd /builddir/build/BUILD
+ cd libhid-0.2.17
+ DOCDIR=/builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/share/doc/libhid-devel
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/share/doc/libhid-devel
+ cp -pr AUTHORS /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/share/doc/libhid-devel
+ cp -pr README /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/share/doc/libhid-devel
+ cp -pr ChangeLog /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64/usr/share/doc/libhid-devel
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: libhid-devel = 0.2.17-44.fc38 libhid-devel(x86-64) = 0.2.17-44.fc38 pkgconfig(libhid) = 0.2.17
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/pkg-config libhid.so.0()(64bit)
Processing files: libhid-debugsource-0.2.17-44.fc38.x86_64
Provides: libhid-debugsource = 0.2.17-44.fc38 libhid-debugsource(x86-64) = 0.2.17-44.fc38
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: libhid-debuginfo-0.2.17-44.fc38.x86_64
Provides: debuginfo(build-id) = d14d0f2c9db34863b0d3e9c066de5b4447d2ba93 debuginfo(build-id) = d637e362273058be84ce1bf9e4f9993721155b23 libhid-debuginfo = 0.2.17-44.fc38 libhid-debuginfo(x86-64) = 0.2.17-44.fc38 libhid.so.0.0.0-0.2.17-44.fc38.x86_64.debug()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: libhid-debugsource(x86-64) = 0.2.17-44.fc38
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64
Wrote: /builddir/build/RPMS/libhid-debugsource-0.2.17-44.fc38.x86_64.rpm
Wrote: /builddir/build/RPMS/libhid-debuginfo-0.2.17-44.fc38.x86_64.rpm
Wrote: /builddir/build/RPMS/libhid-0.2.17-44.fc38.x86_64.rpm
Wrote: /builddir/build/RPMS/libhid-devel-0.2.17-44.fc38.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QXTAXF
+ umask 022
+ cd /builddir/build/BUILD
+ cd libhid-0.2.17
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/libhid-0.2.17-44.fc38.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.sPcg8Y
+ umask 022
+ cd /builddir/build/BUILD
+ rm -rf libhid-0.2.17 libhid-0.2.17.gemspec
+ RPM_EC=0
++ jobs -p
+ exit 0
Child return code was: 0