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 noarch --nodeps /builddir/build/SPECS/maven-doxia.spec'], chrootPath='/var/lib/mock/dist-an23-build-271975-64161/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 noarch --nodeps /builddir/build/SPECS/maven-doxia.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 22: %{name}-decoration-model-build.xml warning: Macro expanded in comment on line 23: %{name}-core-build.xml warning: Macro expanded in comment on line 24: %{name}-sink-api-build.xml warning: Macro expanded in comment on line 25: %{name}-site-renderer-build.xml warning: Macro expanded in comment on line 33: %{name}-itext2.patch warning: Macro expanded in comment on line 22: %{name}-decoration-model-build.xml warning: Macro expanded in comment on line 23: %{name}-core-build.xml warning: Macro expanded in comment on line 24: %{name}-sink-api-build.xml warning: Macro expanded in comment on line 25: %{name}-site-renderer-build.xml warning: Macro expanded in comment on line 33: %{name}-itext2.patch Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1685923200 Wrote: /builddir/build/SRPMS/maven-doxia-1.0-1.an23.src.rpm RPM build warnings: Macro expanded in comment on line 22: %{name}-decoration-model-build.xml Macro expanded in comment on line 23: %{name}-core-build.xml Macro expanded in comment on line 24: %{name}-sink-api-build.xml Macro expanded in comment on line 25: %{name}-site-renderer-build.xml Macro expanded in comment on line 33: %{name}-itext2.patch Macro expanded in comment on line 22: %{name}-decoration-model-build.xml Macro expanded in comment on line 23: %{name}-core-build.xml Macro expanded in comment on line 24: %{name}-sink-api-build.xml Macro expanded in comment on line 25: %{name}-site-renderer-build.xml Macro expanded in comment on line 33: %{name}-itext2.patch Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/maven-doxia.spec'], chrootPath='/var/lib/mock/dist-an23-build-271975-64161/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 noarch --nodeps /builddir/build/SPECS/maven-doxia.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 22: %{name}-decoration-model-build.xml warning: Macro expanded in comment on line 23: %{name}-core-build.xml warning: Macro expanded in comment on line 24: %{name}-sink-api-build.xml warning: Macro expanded in comment on line 25: %{name}-site-renderer-build.xml warning: Macro expanded in comment on line 33: %{name}-itext2.patch warning: Macro expanded in comment on line 22: %{name}-decoration-model-build.xml warning: Macro expanded in comment on line 23: %{name}-core-build.xml warning: Macro expanded in comment on line 24: %{name}-sink-api-build.xml warning: Macro expanded in comment on line 25: %{name}-site-renderer-build.xml warning: Macro expanded in comment on line 33: %{name}-itext2.patch Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1685923200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Kr3FB2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf maven-doxia-doxia-1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/doxia-1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd maven-doxia-doxia-1.0 + /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.gNR9FI + 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/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/lib/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/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd maven-doxia-doxia-1.0 ++ pwd + export MAVEN_REPO_LOCAL=/builddir/build/BUILD/maven-doxia-doxia-1.0/.m2/repository + MAVEN_REPO_LOCAL=/builddir/build/BUILD/maven-doxia-doxia-1.0/.m2/repository + mkdir -p /builddir/build/BUILD/maven-doxia-doxia-1.0/.m2/repository + mkdir lib + build-jar-repository -s -p lib/ commons-collections + junit /var/tmp/rpm-tmp.gNR9FI: line 50: junit: command not found error: Bad exit status from /var/tmp/rpm-tmp.gNR9FI (%build) Macro expanded in comment on line 22: %{name}-decoration-model-build.xml Macro expanded in comment on line 23: %{name}-core-build.xml Macro expanded in comment on line 24: %{name}-sink-api-build.xml Macro expanded in comment on line 25: %{name}-site-renderer-build.xml Macro expanded in comment on line 33: %{name}-itext2.patch Macro expanded in comment on line 22: %{name}-decoration-model-build.xml Macro expanded in comment on line 23: %{name}-core-build.xml Macro expanded in comment on line 24: %{name}-sink-api-build.xml Macro expanded in comment on line 25: %{name}-site-renderer-build.xml Macro expanded in comment on line 33: %{name}-itext2.patch Bad exit status from /var/tmp/rpm-tmp.gNR9FI (%build) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/maven-doxia.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 noarch --nodeps /builddir/build/SPECS/maven-doxia.spec