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/debugedit.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-135285-9626/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/debugedit.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/debugedit-5.0-7.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/debugedit.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-135285-9626/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/debugedit.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.y2OAyN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf debugedit-5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/debugedit-5.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd debugedit-5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-tests-Handle-zero-directory-entry-in-.debug_line-DWA.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TyocNq + 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 debugedit-5.0 + autoreconf -fiv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:44: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:44: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:44: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:74: installing './config.guess' configure.ac:74: installing './config.sub' autoreconf: './config.guess' is updated autoreconf: Leaving directory '.' + '[' '-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 2024-04-20 02:22:29.373899479 +0800 +++ ./configure 2024-04-20 02:22:30.417923407 +0800 @@ -1908,7 +1908,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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 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 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 how to create a pax tar archive... gnutar 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 for sys/param.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for gawk... (cached) gawk checking for a sed that does not truncate output... /usr/bin/sed checking whether ln -s works... yes checking for loongarch64-opencloudos-linux-gnu-ld... no checking for ld... ld checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 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 libelf... yes checking for libdw... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking for limits.h... yes checking for malloc.h... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for inline... inline checking for int8_t... yes checking for off_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint8_t... yes checking for working alloca.h... yes checking for alloca... yes checking for error_at_line... yes checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking for GNU libc compatible malloc... yes checking for getpagesize... yes checking for working mmap... yes checking for GNU libc compatible realloc... yes checking for memchr... yes checking for memset... yes checking for munmap... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking whether gcc supports -gdwarf-5... yes checking whether -gdwarf-5 produced DWARF5 .debug_line... yes checking whether gcc supports -gz=none... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating tests/Makefile config.status: creating tests/atlocal config.status: creating Makefile config.status: creating config.h config.status: executing tests/atconfig commands config.status: executing depfiles commands + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in tests make[2]: Nothing to be done for 'all'. make[2]: Entering directory '/builddir/build/BUILD/debugedit-5.0' (/usr/bin/sed -e 's,[@]PACKAGE[@],debugedit,g' -e 's,[@]VERSION[@],5.0,g') < "./scripts/find-debuginfo.in" > "find-debuginfo" chmod +x "find-debuginfo" make[2]: Leaving directory '/builddir/build/BUILD/debugedit-5.0' make[2]: Entering directory '/builddir/build/BUILD/debugedit-5.0' gcc -DHAVE_CONFIG_H -I. -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 -c -o tools/sepdebugcrcfix-sepdebugcrcfix.o `test -f 'tools/sepdebugcrcfix.c' || echo './'`tools/sepdebugcrcfix.c make[2]: Leaving directory '/builddir/build/BUILD/debugedit-5.0' make[2]: Entering directory '/builddir/build/BUILD/debugedit-5.0' gcc -DHAVE_CONFIG_H -I. -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 -c -o tools/debugedit-md5.o `test -f 'tools/md5.c' || echo './'`tools/md5.c make[2]: Leaving directory '/builddir/build/BUILD/debugedit-5.0' make[2]: Entering directory '/builddir/build/BUILD/debugedit-5.0' gcc -DHAVE_CONFIG_H -I. -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 -c -o tools/debugedit-hashtab.o `test -f 'tools/hashtab.c' || echo './'`tools/hashtab.c make[2]: Leaving directory '/builddir/build/BUILD/debugedit-5.0' make[2]: Entering directory '/builddir/build/BUILD/debugedit-5.0' gcc -DHAVE_CONFIG_H -I. -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 -c -o tools/debugedit-sha1.o `test -f 'tools/sha1.c' || echo './'`tools/sha1.c make[2]: Leaving directory '/builddir/build/BUILD/debugedit-5.0' make[2]: Entering directory '/builddir/build/BUILD/debugedit-5.0' gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o sepdebugcrcfix tools/sepdebugcrcfix-sepdebugcrcfix.o -lelf make[2]: Leaving directory '/builddir/build/BUILD/debugedit-5.0' make[2]: Entering directory '/builddir/build/BUILD/debugedit-5.0' gcc -DHAVE_CONFIG_H -I. -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 -c -o tools/debugedit-debugedit.o `test -f 'tools/debugedit.c' || echo './'`tools/debugedit.c make[2]: Leaving directory '/builddir/build/BUILD/debugedit-5.0' make[2]: Entering directory '/builddir/build/BUILD/debugedit-5.0' gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o debugedit tools/debugedit-debugedit.o tools/debugedit-hashtab.o tools/debugedit-md5.o tools/debugedit-sha1.o -lelf -ldw -lelf make[2]: Leaving directory '/builddir/build/BUILD/debugedit-5.0' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5sWeNW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/debugedit-5.0-7.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/debugedit-5.0-7.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/debugedit-5.0-7.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/debugedit-5.0-7.ocs23.loongarch64 + cd debugedit-5.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/debugedit-5.0-7.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/debugedit-5.0/tests' make[2]: Entering directory '/builddir/build/BUILD/debugedit-5.0/tests' 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/debugedit-5.0/tests' make[1]: Leaving directory '/builddir/build/BUILD/debugedit-5.0/tests' make[1]: Entering directory '/builddir/build/BUILD/debugedit-5.0' make[2]: Entering directory '/builddir/build/BUILD/debugedit-5.0' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/debugedit-5.0-7.ocs23.loongarch64/usr/bin' /usr/bin/install -p debugedit sepdebugcrcfix '/builddir/build/BUILDROOT/debugedit-5.0-7.ocs23.loongarch64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/debugedit-5.0-7.ocs23.loongarch64/usr/bin' /usr/bin/install -p find-debuginfo '/builddir/build/BUILDROOT/debugedit-5.0-7.ocs23.loongarch64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/debugedit-5.0-7.ocs23.loongarch64/usr/share/man/man1' /usr/bin/install -p -m 644 debugedit.1 sepdebugcrcfix.1 find-debuginfo.1 '/builddir/build/BUILDROOT/debugedit-5.0-7.ocs23.loongarch64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/debugedit-5.0' make[1]: Leaving directory '/builddir/build/BUILD/debugedit-5.0' + cd /builddir/build/BUILDROOT/debugedit-5.0-7.ocs23.loongarch64/usr/bin + ln -s find-debuginfo find-debuginfo.sh + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 5.0-7.ocs23 --unique-debug-suffix -5.0-7.ocs23.loongarch64 --unique-debug-src-base debugedit-5.0-7.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/debugedit-5.0 extracting debug info from /builddir/build/BUILDROOT/debugedit-5.0-7.ocs23.loongarch64/usr/bin/debugedit extracting debug info from /builddir/build/BUILDROOT/debugedit-5.0-7.ocs23.loongarch64/usr/bin/sepdebugcrcfix 363 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/find-debuginfo from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.odWUP2 + 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 debugedit-5.0 + sed -i 's/^\(C\|LD\)FLAGS=.*/\1FLAGS=""/' tests/atlocal + /usr/bin/make -O -j32 V=1 VERBOSE=1 check Making check in tests /usr/bin/make check-local make[2]: Entering directory '/builddir/build/BUILD/debugedit-5.0/tests' { \ echo '# Signature of the current package.'; \ echo 'm4_define([AT_PACKAGE_NAME], [debugedit])'; \ echo 'm4_define([AT_PACKAGE_TARNAME], [debugedit])'; \ echo 'm4_define([AT_PACKAGE_VERSION], [5.0])'; \ echo 'm4_define([AT_PACKAGE_STRING], [debugedit 5.0])'; \ echo 'm4_define([AT_PACKAGE_BUGREPORT], [debugedit@sourceware.org])'; \ } >./package.m4 make[2]: Leaving directory '/builddir/build/BUILD/debugedit-5.0/tests' make[2]: Entering directory '/builddir/build/BUILD/debugedit-5.0/tests' /bin/sh '/builddir/build/BUILD/debugedit-5.0/missing' autom4te --language=autotest -I . testsuite.at -o testsuite.tmp mv testsuite.tmp testsuite make[2]: Leaving directory '/builddir/build/BUILD/debugedit-5.0/tests' make[2]: Entering directory '/builddir/build/BUILD/debugedit-5.0/tests' /bin/sh ./testsuite ## ------------------------- ## ## debugedit 5.0 test suite. ## ## ------------------------- ## debugedit 1: debugedit help ok 2: debugedit usage ok 3: debugedit executable ok 4: debugedit .debug_str objects DWARF4 FAILED (debugedit.at:107) 5: debugedit .debug_str/line_str objects DWARF5 FAILED (debugedit.at:140) 6: debugedit .debug_str partial DWARF4 FAILED (debugedit.at:174) 7: debugedit .debug_str/line_str partial DWARF5 FAILED (debugedit.at:206) 8: debugedit .debug_str exe DWARF4 ok 9: debugedit .debug_str/line_str exe DWARF5 ok 10: debugedit .debug_info objects FAILED (debugedit.at:304) 11: debugedit .debug_info partial FAILED (debugedit.at:329) 12: debugedit .debug_info exe ok 13: debugedit .debug_types objects FAILED (debugedit.at:383) 14: debugedit .debug_types partial FAILED (debugedit.at:416) 15: debugedit .debug_types exe ok 16: debugedit .debug_line objects DWARF4 FAILED (debugedit.at:473) 17: debugedit .debug_line objects DWARF5 FAILED (debugedit.at:500) 18: debugedit .debug_line partial DWARF4 FAILED (debugedit.at:524) 19: debugedit .debug_line partial DWARF5 FAILED (debugedit.at:549) 20: debugedit .debug_line exe DWARF4 ok 21: debugedit .debug_line exe DWARF5 ok 22: debugedit .debug_macro objects FAILED (debugedit.at:620) 23: debugedit .debug_macro partial FAILED (debugedit.at:645) 24: debugedit .debug_macro exe ok 25: debugedit --list-file DWARF4 ok 26: debugedit --list-file DWARF5 ok ## ------------- ## ## Test results. ## ## ------------- ## ## -------------------------- ## ## testsuite.log was created. ## ## -------------------------- ## Please send `tests/testsuite.log' and all information you think might help: To: Subject: [debugedit 5.0] testsuite: 4 5 6 7 10 11 13 14 16 17 18 19 22 23 failed You may investigate any problem if you feel able to do so, in which case the test suite provides a good starting point. Its output may be found below `tests/testsuite.dir'. make[2]: Leaving directory '/builddir/build/BUILD/debugedit-5.0/tests' ERROR: All 26 tests were run, 14 failed unexpectedly. make[2]: *** [Makefile:461: check-local] Error 1 make[1]: *** [Makefile:322: check-am] Error 2 make: *** [Makefile:770: check-recursive] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.odWUP2 (%check) Bad exit status from /var/tmp/rpm-tmp.odWUP2 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/debugedit.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/debugedit.spec