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 aarch64 --nodeps /builddir/build/SPECS/sonarqube.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-301161-65957/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/sonarqube.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 warning: Macro expanded in comment on line 148: %{name},%{name}) %{homedir}/bin/linux-x86-64 Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1691971200 Wrote: /builddir/build/SRPMS/sonarqube-10.2.0.77647-1.an23.src.rpm RPM build warnings: Macro expanded in comment on line 148: %{name},%{name}) %{homedir}/bin/linux-x86-64 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/sonarqube.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-301161-65957/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/sonarqube.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 warning: Macro expanded in comment on line 148: %{name},%{name}) %{homedir}/bin/linux-x86-64 Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1691971200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KMaKjv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sonarqube-10.2.0.77647 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sonarqube-10.2.0.77647.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sonarqube-10.2.0.77647 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9qvmIV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64 ++ dirname /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 sonarqube-10.2.0.77647 + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/usr/share/sonarqube + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/usr/share/sonarqube/bin + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/usr/bin + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/etc + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/etc/sonarqube + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/etc/cron.d + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/usr/lib/sysctl.d + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/usr/lib/systemd/system + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/var/log + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/var/log/sonarqube + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/var/cache + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/var/cache/sonarqube + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/var/lib + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/var/lib/sonarqube + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/var/lib/sonarqube/data + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/usr/share/sonarqube/elasticsearch + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/usr/libexec + install -d -m 755 /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/usr/libexec/sonarqube + mv COPYING /builddir/build/BUILDROOT/sonarqube-10.2.0.77647-1.an23.aarch64/usr/share/sonarqube mv: cannot stat 'COPYING': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.9qvmIV (%install) RPM build warnings: RPM build errors: Macro expanded in comment on line 148: %{name},%{name}) %{homedir}/bin/linux-x86-64 Bad exit status from /var/tmp/rpm-tmp.9qvmIV (%install) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/sonarqube.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 aarch64 --nodeps /builddir/build/SPECS/sonarqube.spec