Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/xorg-x11-server.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-65487-3121/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 aarch64 --nodeps /builddir/build/SPECS/xorg-x11-server.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/xorg-x11-server-21.1.8-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/xorg-x11-server.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-65487-3121/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 aarch64 --nodeps /builddir/build/SPECS/xorg-x11-server.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.f3Ta8m + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xorg-server-21.1.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xorg-server-21.1.8.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd xorg-server-21.1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'xorg-x11-server-21.1.8 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/06_use-intel-only-on-pre-gen4.diff + /usr/bin/git apply --index --reject -p1 - Checking patch hw/xfree86/common/xf86pciBus.c... Hunk #1 succeeded at 1174 (offset 1 line). Applied patch hw/xfree86/common/xf86pciBus.c cleanly. + /usr/bin/git commit -q -m 06_use-intel-only-on-pre-gen4.diff --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-xfree86-use-modesetting-driver-by-default-on-GeForce.patch + /usr/bin/git apply --index --reject -p1 - Checking patch hw/xfree86/common/xf86pciBus.c... Hunk #2 succeeded at 1208 (offset 17 lines). Applied patch hw/xfree86/common/xf86pciBus.c cleanly. + /usr/bin/git commit -q -m 0001-xfree86-use-modesetting-driver-by-default-on-GeForce.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Fedora-hack-Make-the-suid-root-wrapper-always-start-.patch + /usr/bin/git apply --index --reject -p1 - Checking patch hw/xfree86/xorg-wrapper.c... Hunk #1 succeeded at 202 (offset 4 lines). Applied patch hw/xfree86/xorg-wrapper.c cleanly. + /usr/bin/git commit -q -m 0001-Fedora-hack-Make-the-suid-root-wrapper-always-start-.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-mustard-xfree86-Disable-the-PCI-probe-path.patch + /usr/bin/git apply --index --reject -p1 - Checking patch hw/xfree86/common/xf86Bus.c... Checking patch hw/xfree86/fbdevhw/fbdevhw.c... Applied patch hw/xfree86/common/xf86Bus.c cleanly. Applied patch hw/xfree86/fbdevhw/fbdevhw.c cleanly. + /usr/bin/git commit -q -m 0001-mustard-xfree86-Disable-the-PCI-probe-path.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/add-libgbm-for-modesetting.patch + /usr/bin/git apply --index --reject -p1 - Checking patch hw/xfree86/drivers/modesetting/Makefile.am... Applied patch hw/xfree86/drivers/modesetting/Makefile.am cleanly. + /usr/bin/git commit -q -m add-libgbm-for-modesetting.patch --author 'rpm-build ' ++ getmajor ansic ++ grep -i '^#define.ABI.ansic_VERSION' hw/xfree86/common/xf86Module.h ++ tr '(),' ' ' ++ awk '{ print $4 }' + test 0 == 0 ++ getminor ansic ++ grep -i '^#define.ABI.ansic_VERSION' hw/xfree86/common/xf86Module.h ++ tr '(),' ' ' ++ awk '{ print $5 }' + test 4 == 4 ++ getmajor videodrv ++ grep -i '^#define.ABI.videodrv_VERSION' hw/xfree86/common/xf86Module.h ++ tr '(),' ' ' ++ awk '{ print $4 }' + test 25 == 25 ++ getminor videodrv ++ grep -i '^#define.ABI.videodrv_VERSION' hw/xfree86/common/xf86Module.h ++ tr '(),' ' ' ++ awk '{ print $5 }' + test 2 == 2 ++ getmajor xinput ++ grep -i '^#define.ABI.xinput_VERSION' hw/xfree86/common/xf86Module.h ++ tr '(),' ' ' ++ awk '{ print $4 }' + test 24 == 24 ++ getminor xinput ++ grep -i '^#define.ABI.xinput_VERSION' hw/xfree86/common/xf86Module.h ++ tr '(),' ' ' ++ awk '{ print $5 }' + test 4 == 4 ++ getmajor extension ++ grep -i '^#define.ABI.extension_VERSION' hw/xfree86/common/xf86Module.h ++ tr '(),' ' ' ++ awk '{ print $4 }' + test 10 == 10 ++ getminor extension ++ grep -i '^#define.ABI.extension_VERSION' hw/xfree86/common/xf86Module.h ++ tr '(),' ' ' ++ awk '{ print $5 }' + test 0 == 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nga82H + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 xorg-server-21.1.8 + export '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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1' + export '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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' + autoreconf -fiv Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/bin/autoreconf line 48. BEGIN failed--compilation aborted at /usr/bin/autoreconf line 48. error: Bad exit status from /var/tmp/rpm-tmp.nga82H (%build) Bad exit status from /var/tmp/rpm-tmp.nga82H (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/xorg-x11-server.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 597, 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 aarch64 --nodeps /builddir/build/SPECS/xorg-x11-server.spec