Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/usbutils.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-187010-12842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/usbutils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/usbutils-015-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/usbutils.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-187010-12842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/usbutils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Qc19t7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf usbutils-015 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/usbutils-015.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd usbutils-015 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jAB8WB + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd usbutils-015 + '[' '-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' ./usbhid-dump/configure + diff -u ./usbhid-dump/configure.backup ./usbhid-dump/configure + mv ./usbhid-dump/configure.backup ./usbhid-dump/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./usbhid-dump/configure + diff -u ./usbhid-dump/configure.backup ./usbhid-dump/configure + mv ./usbhid-dump/configure.backup ./usbhid-dump/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./usbhid-dump/configure + diff -u ./usbhid-dump/configure.backup ./usbhid-dump/configure --- ./usbhid-dump/configure.backup 2022-08-05 21:45:51.000000000 +0800 +++ ./usbhid-dump/configure 2024-06-25 21:31:24.641205369 +0800 @@ -1646,7 +1646,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' ./usbhid-dump/configure + diff -u ./usbhid-dump/configure.backup ./usbhid-dump/configure + mv ./usbhid-dump/configure.backup ./usbhid-dump/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'\''"#' ./usbhid-dump/configure + diff -u ./usbhid-dump/configure.backup ./usbhid-dump/configure + mv ./usbhid-dump/configure.backup ./usbhid-dump/configure + 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-03 19:04:49.000000000 +0800 +++ ./configure 2024-06-25 21:31:24.689206217 +0800 @@ -1649,7 +1649,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 + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-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 --sbindir=/usr/sbin --datadir=/usr/share/hwdata --disable-usbids 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 make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for loongarch64-opencloudos-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 wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for byteswap.h... yes checking for nl_langinfo... yes checking for iconv... yes checking for loongarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBUSB... yes checking for UDEV... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands === configuring in usbhid-dump (/builddir/build/BUILD/usbutils-015/usbhid-dump) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=loongarch64-opencloudos-linux-gnu' '--host=loongarch64-opencloudos-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--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' '--sbindir=/usr/sbin' '--datadir=/usr/share/hwdata' '--disable-usbids' 'build_alias=loongarch64-opencloudos-linux-gnu' 'host_alias=loongarch64-opencloudos-linux-gnu' '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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' --cache-file=/dev/null --srcdir=. 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 make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) checking for loongarch64-opencloudos-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 wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for loongarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBUSB... yes checking for libusb_set_option... yes 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 config.h config.status: executing depfiles commands usbutils 015 ============= prefix: /usr datarootdir: ${prefix}/share datadir: /usr/share/hwdata mandir: /usr/share/man usb.ids: /usr/share/hwdata/usb.ids compiler: 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection ldflags: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in usbhid-dump /usr/bin/make all-recursive Making all in src make[4]: Entering directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/builddir/build/BUILD/usbutils-015/usbhid-dump -DNDEBUG -Os -Wall -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libusb-1.0 -c -o dev.o dev.c make[4]: Leaving directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' make[4]: Entering directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/builddir/build/BUILD/usbutils-015/usbhid-dump -DNDEBUG -Os -Wall -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libusb-1.0 -c -o dev_list.o dev_list.c make[4]: Leaving directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' make[4]: Entering directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/builddir/build/BUILD/usbutils-015/usbhid-dump -DNDEBUG -Os -Wall -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libusb-1.0 -c -o iface_list.o iface_list.c make[4]: Leaving directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' make[4]: Entering directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/builddir/build/BUILD/usbutils-015/usbhid-dump -DNDEBUG -Os -Wall -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libusb-1.0 -c -o iface.o iface.c make[4]: Leaving directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' make[4]: Entering directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/builddir/build/BUILD/usbutils-015/usbhid-dump -DNDEBUG -Os -Wall -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libusb-1.0 -c -o usbhid-dump.o usbhid-dump.c make[4]: Leaving directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' make[4]: Entering directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' gcc -Os -Wall -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libusb-1.0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o usbhid-dump dev.o dev_list.o iface.o iface_list.o usbhid-dump.o -lusb-1.0 make[4]: Leaving directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015' sed 's|VERSION|015|g;s|@usbids@|/usr/share/hwdata/usb.ids|g' lsusb.py.in >lsusb.py chmod 755 lsusb.py make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015' sed 's|VERSION|015|g' usbhid-dump.8.in >usbhid-dump.8 make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015' sed 's|VERSION|015|g' usb-devices.1.in >usb-devices.1 make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015' sed 's|VERSION|015|g' lsusb.8.in >lsusb.8 make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libusb-1.0 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o lsusb-sysfs.o `test -f 'sysfs.c' || echo './'`sysfs.c make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libusb-1.0 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o lsusb-desc-defs.o `test -f 'desc-defs.c' || echo './'`desc-defs.c make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015' gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o usbreset.o usbreset.c make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libusb-1.0 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o lsusb-usbmisc.o `test -f 'usbmisc.c' || echo './'`usbmisc.c make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libusb-1.0 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o lsusb-desc-dump.o `test -f 'desc-dump.c' || echo './'`desc-dump.c make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015' gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o usbreset usbreset.o make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libusb-1.0 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o lsusb-names.o `test -f 'names.c' || echo './'`names.c make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libusb-1.0 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o lsusb-lsusb-t.o `test -f 'lsusb-t.c' || echo './'`lsusb-t.c make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libusb-1.0 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o lsusb-lsusb.o `test -f 'lsusb.c' || echo './'`lsusb.c make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015' gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o lsusb lsusb-lsusb.o lsusb-lsusb-t.o lsusb-desc-defs.o lsusb-desc-dump.o lsusb-names.o lsusb-sysfs.o lsusb-usbmisc.o -lusb-1.0 -ludev make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mb35HU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64 + cd usbutils-015 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' Making install in usbhid-dump make[1]: Entering directory '/builddir/build/BUILD/usbutils-015/usbhid-dump' Making install in src make[2]: Entering directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' make[3]: Entering directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/bin' /usr/bin/install -p usbhid-dump '/builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015/usbhid-dump/src' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015/usbhid-dump' make[3]: Entering directory '/builddir/build/BUILD/usbutils-015/usbhid-dump' 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/usbutils-015/usbhid-dump' make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015/usbhid-dump' make[1]: Leaving directory '/builddir/build/BUILD/usbutils-015/usbhid-dump' make[1]: Entering directory '/builddir/build/BUILD/usbutils-015' make[2]: Entering directory '/builddir/build/BUILD/usbutils-015' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/bin' /usr/bin/install -p lsusb '/builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/bin' /usr/bin/install -p usb-devices lsusb.py '/builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/share/man/man1' /usr/bin/install -p -m 644 usb-devices.1 '/builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/share/man/man8' /usr/bin/install -p -m 644 lsusb.8 usbhid-dump.8 '/builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/usbutils-015' make[1]: Leaving directory '/builddir/build/BUILD/usbutils-015' + rm -rf /builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64//usr/lib64/pkgconfig/usbutils.pc + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 015-2.ocs23 --unique-debug-suffix -015-2.ocs23.loongarch64 --unique-debug-src-base usbutils-015-2.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/usbutils-015 extracting debug info from /builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/bin/lsusb extracting debug info from /builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/bin/usbhid-dump 705 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/bin/usb-devices from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: usbutils-015-2.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YidfRv + umask 022 + cd /builddir/build/BUILD + cd usbutils-015 + DOCDIR=/builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/share/doc/usbutils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/share/doc/usbutils + cp -pr NEWS /builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/share/doc/usbutils + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QRr85v + umask 022 + cd /builddir/build/BUILD + cd usbutils-015 + LICENSEDIR=/builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/share/licenses/usbutils + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/share/licenses/usbutils + cp -pr LICENSES/GPL-2.0-only.txt LICENSES/GPL-3.0-only.txt /builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64/usr/share/licenses/usbutils + RPM_EC=0 ++ jobs -p + exit 0 Provides: usbutils = 015-2.ocs23 usbutils(loongarch-64) = 015-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 /usr/bin/sh ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) libudev.so.1(LIBUDEV_196)(64bit) libusb-1.0.so.0()(64bit) rtld(GNU_HASH) Processing files: usbutils-debugsource-015-2.ocs23.loongarch64 Provides: usbutils-debugsource = 015-2.ocs23 usbutils-debugsource(loongarch-64) = 015-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: usbutils-debuginfo-015-2.ocs23.loongarch64 Provides: debuginfo(build-id) = 27aadd107a26279b979d01815896dc194f702946 debuginfo(build-id) = 33768b351cfcd5e8d5389f526a2573cf266746fb usbutils-debuginfo = 015-2.ocs23 usbutils-debuginfo(loongarch-64) = 015-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: usbutils-debugsource(loongarch-64) = 015-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/usbutils-015-2.ocs23.loongarch64 Wrote: /builddir/build/RPMS/usbutils-debugsource-015-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/usbutils-015-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/usbutils-debuginfo-015-2.ocs23.loongarch64.rpm Child return code was: 0