Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/dwz.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1722594786.915548/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/dwz.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/dwz-0.14-3.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/dwz.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1722594786.915548/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/dwz.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/dwz-0.14-3.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/dwz.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1722594786.915548/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/dwz.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ctsgtD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dwz + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dwz-0.14.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd dwz + /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.amHgW1 + umask 022 + cd /builddir/build/BUILD + cd dwz + /usr/bin/make -O -j4 V=1 VERBOSE=1 'CFLAGS=-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' prefix=/usr mandir=/usr/share/man bindir=/usr/bin cc -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -D_FILE_OFFSET_BITS=64 -DDWZ_VERSION='"0.14"' -DFSF_YEARS='"1992-2021"' -DRH_YEARS='"2001-2021"' -DSUSE_YEARS='"2019-2021"' -c -o dwarfnames.o dwarfnames.c cc -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -D_FILE_OFFSET_BITS=64 -DDWZ_VERSION='"0.14"' -DFSF_YEARS='"1992-2021"' -DRH_YEARS='"2001-2021"' -DSUSE_YEARS='"2019-2021"' -c -o hashtab.o hashtab.c cc -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -D_FILE_OFFSET_BITS=64 -DDWZ_VERSION='"0.14"' -DFSF_YEARS='"1992-2021"' -DRH_YEARS='"2001-2021"' -DSUSE_YEARS='"2019-2021"' -c -o sha1.o sha1.c cc -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -D_FILE_OFFSET_BITS=64 -DDWZ_VERSION='"0.14"' -DFSF_YEARS='"1992-2021"' -DRH_YEARS='"2001-2021"' -DSUSE_YEARS='"2019-2021"' -c -o dwz.o dwz.c In file included from /usr/include/error.h:59, from dwz.c:23: In function 'error', inlined from 'checksum_die' at dwz.c:3477:7: /usr/include/bits/error.h:42:5: warning: 'svalue' may be used uninitialized [-Wmaybe-uninitialized] 42 | __error_alias (__status, __errnum, __format, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dwz.c: In function 'checksum_die': dwz.c:3467:25: note: 'svalue' was declared here 3467 | int64_t svalue = read_sleb128 (ptr); | ^~~~~~ cc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -o dwz dwz.o hashtab.o sha1.o dwarfnames.o -lelf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gpwPwd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dwz-0.14-3.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dwz-0.14-3.aarch64 ++ dirname /builddir/build/BUILDROOT/dwz-0.14-3.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dwz-0.14-3.aarch64 + cd dwz + rm -rf /builddir/build/BUILDROOT/dwz-0.14-3.aarch64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dwz-0.14-3.aarch64 'INSTALL=/usr/bin/install -p' prefix=/usr mandir=/usr/share/man bindir=/usr/bin install -D dwz /builddir/build/BUILDROOT/dwz-0.14-3.aarch64/usr/bin/dwz install -D -m 644 /builddir/build/BUILD/dwz/dwz.1 /builddir/build/BUILDROOT/dwz-0.14-3.aarch64/usr/share/man/man1/dwz.1 + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 0.14-3 --unique-debug-suffix -0.14-3.aarch64 --unique-debug-src-base dwz-0.14-3.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/dwz explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dwz-0.14-3.aarch64/usr/bin/dwz extracting debug info from /builddir/build/BUILDROOT/dwz-0.14-3.aarch64/usr/bin/dwz 1070 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.U6sMiZ + umask 022 + cd /builddir/build/BUILD + cd dwz + make check cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/hello.c -o hello -g sed 's/__GNUC__/NOT_DEFINED/' dwz.c > dwz-for-test.c sed 's/__GNUC__/NOT_DEFINED/' hashtab.c > hashtab-for-test.c sed 's/__GNUC__/NOT_DEFINED/' sha1.c > sha1-for-test.c sed 's/__GNUC__/NOT_DEFINED/' dwarfnames.c > dwarfnames-for-test.c cc dwz-for-test.c hashtab-for-test.c sha1-for-test.c dwarfnames-for-test.c -O2 -g -lelf -o dwz-for-test -Wall -W -DDEVEL \ -D_FILE_OFFSET_BITS=64 -DDWZ_VERSION='"for-test"' -I/builddir/build/BUILD/dwz \ -DFSF_YEARS='"1992-2021"' -DRH_YEARS='"2001-2021"' -DSUSE_YEARS='"2019-2021"' In file included from /usr/include/error.h:59, from dwz-for-test.c:23: In function 'error', inlined from 'checksum_die' at dwz-for-test.c:3477:7: /usr/include/bits/error.h:42:5: warning: 'svalue' may be used uninitialized [-Wmaybe-uninitialized] 42 | __error_alias (__status, __errnum, __format, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dwz-for-test.c: In function 'checksum_die': dwz-for-test.c:3467:25: note: 'svalue' was declared here 3467 | int64_t svalue = read_sleb128 (ptr); | ^~~~~~ cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/min.c /builddir/build/BUILD/dwz/testsuite/dwz.tests/min-2.c -o min -g cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/two-typedef.c /builddir/build/BUILD/dwz/testsuite/dwz.tests/two-typedef-2.c \ -I /builddir/build/BUILD/dwz/testsuite/dwz.tests -o two-typedef -g cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/start.c -o start -g -nostdlib cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/hello.c -g -fuse-ld=gold -Wl,--gdb-index -o hello-gold-gdb-index \ || touch hello-gold-gdb-index cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/start.c -fuse-ld=gold -o start-gold -g -nostdlib || touch start-gold cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/hello.c -o hello-gnu-pubnames -g -ggnu-pubnames || touch hello-gnu-pubnames export POINTER_SIZE=8; \ export DEJAGNU=/dev/null; \ runtest --tool=dwz -srcdir /builddir/build/BUILD/dwz/testsuite/ lib/no-multifile-prop.exp Test run by mockbuild on Fri Aug 2 18:34:53 2024 Native configuration is aarch64-unknown-linux-gnu === dwz tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /builddir/build/BUILD/dwz/testsuite//config/default.exp as tool-and-target-specific interface file. Running /builddir/build/BUILD/dwz/testsuite/lib/no-multifile-prop.exp ... === dwz Summary === cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/main.c no-multifile-prop-dw.S -o no-multifile-prop || true export POINTER_SIZE=8; \ export DEJAGNU=/dev/null; \ runtest --tool=dwz -srcdir /builddir/build/BUILD/dwz/testsuite/ lib/invalid-dw-at-stmt-list-encoding.exp Test run by mockbuild on Fri Aug 2 18:34:54 2024 Native configuration is aarch64-unknown-linux-gnu === dwz tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /builddir/build/BUILD/dwz/testsuite//config/default.exp as tool-and-target-specific interface file. Running /builddir/build/BUILD/dwz/testsuite/lib/invalid-dw-at-stmt-list-encoding.exp ... === dwz Summary === cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/main.c invalid-dw-at-stmt-list-encoding-dw.S -o invalid-dw-at-stmt-list-encoding export POINTER_SIZE=8; \ export DEJAGNU=/dev/null; \ runtest --tool=dwz -srcdir /builddir/build/BUILD/dwz/testsuite/ lib/unavailable-dwarf-piece.exp Test run by mockbuild on Fri Aug 2 18:34:54 2024 Native configuration is aarch64-unknown-linux-gnu === dwz tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /builddir/build/BUILD/dwz/testsuite//config/default.exp as tool-and-target-specific interface file. Running /builddir/build/BUILD/dwz/testsuite/lib/unavailable-dwarf-piece.exp ... === dwz Summary === cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/main.c unavailable-dwarf-piece-dw.S -o unavailable-dwarf-piece g++ /builddir/build/BUILD/dwz/testsuite/dwz.tests/odr.cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/odr-2.cc -I/builddir/build/BUILD/dwz/testsuite/dwz.tests -o odr-struct -g \ -DKIND=struct g++ /builddir/build/BUILD/dwz/testsuite/dwz.tests/odr.cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/odr-2.cc -I/builddir/build/BUILD/dwz/testsuite/dwz.tests -o odr-class -g \ -DKIND=class g++ /builddir/build/BUILD/dwz/testsuite/dwz.tests/odr.cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/odr-2.cc -I/builddir/build/BUILD/dwz/testsuite/dwz.tests -o odr-union -g \ -DKIND=union g++ /builddir/build/BUILD/dwz/testsuite/dwz.tests/odr.cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/odr-2.cc -I/builddir/build/BUILD/dwz/testsuite/dwz.tests -o odr-struct-ns -g \ -DKIND=struct -DNAMESPACE=1 g++ /builddir/build/BUILD/dwz/testsuite/dwz.tests/odr.cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/odr-2.cc -I/builddir/build/BUILD/dwz/testsuite/dwz.tests -o odr-class-ns -g \ -DKIND=class -DNAMESPACE=1 g++ /builddir/build/BUILD/dwz/testsuite/dwz.tests/odr.cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/odr-2.cc -I/builddir/build/BUILD/dwz/testsuite/dwz.tests -o odr-union-ns -g \ -DKIND=union -DNAMESPACE=1 g++ /builddir/build/BUILD/dwz/testsuite/dwz.tests/odr-loc.cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/odr-loc-2.cc -I/builddir/build/BUILD/dwz/testsuite/dwz.tests \ -o odr-loc -g g++ /builddir/build/BUILD/dwz/testsuite/dwz.tests/decl.cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/def.cc /builddir/build/BUILD/dwz/testsuite/dwz.tests/def2.cc \ -I/builddir/build/BUILD/dwz/testsuite/dwz.tests -o def-decl -g mkdir -p testsuite-bin cd testsuite-bin; ln -sf /builddir/build/BUILD/dwz/dwz . export DEJAGNU=/dev/null; \ export PATH=/builddir/build/BUILD/dwz/testsuite-bin:$PATH; export LC_ALL=C; \ runtest --tool=dwz -srcdir /builddir/build/BUILD/dwz/testsuite Test run by mockbuild on Fri Aug 2 18:34:55 2024 Native configuration is aarch64-unknown-linux-gnu === dwz tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /builddir/build/BUILD/dwz/testsuite/config/default.exp as tool-and-target-specific interface file. Running /builddir/build/BUILD/dwz/testsuite/dwz.tests/dwz-tests.exp ... dwz version for-test Copyright (C) 2001-2021 Red Hat, Inc. Copyright (C) 1992-2021 Free Software Foundation, Inc. Copyright (C) 2019-2021 SUSE LLC. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. child process exited abnormally FAIL: /builddir/build/BUILD/dwz/testsuite/dwz.tests/odr-struct-multifile.sh egrep: warning: egrep is obsolescent; using grep -E FAIL: /builddir/build/BUILD/dwz/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh === dwz Summary === # of expected passes 53 # of unexpected failures 2 # of unsupported tests 6 make: *** [Makefile:146: check] Error 1 rm invalid-dw-at-stmt-list-encoding-dw.S no-multifile-prop-dw.S unavailable-dwarf-piece-dw.S error: Bad exit status from /var/tmp/rpm-tmp.U6sMiZ (%check) Bad exit status from /var/tmp/rpm-tmp.U6sMiZ (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/dwz.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 --target aarch64 --nodeps /builddir/build/SPECS/dwz.spec