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 x86_64 --nodeps /builddir/build/SPECS/dbusmenu-qt.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-112029-7298/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 x86_64 --nodeps /builddir/build/SPECS/dbusmenu-qt.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 1: %global with_qt4 1 warning: Macro expanded in comment on line 2: %{?rhel} && 0%{?rhel} <= 8 warning: Macro expanded in comment on line 19: %{version}-%{snapshot}bzr.tar.gz warning: Macro expanded in comment on line 20: %{version}-%{snapshot}bzr.tar.gz warning: extra tokens at the end of %endif directive in line 36: %endif # with_qt4 warning: extra tokens at the end of %endif directive in line 64: %endif # with_qt4 warning: extra tokens at the end of %endif directive in line 99: %endif # with_qt4 warning: extra tokens at the end of %endif directive in line 116: %endif # with_qt4 warning: extra tokens at the end of %endif directive in line 129: %endif # with_qt4 warning: extra tokens at the end of %endif directive in line 153: %endif # with_qt4 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dbusmenu-qt-0.9.3-0.20.20160218.ocs23.1.src.rpm RPM build warnings: Macro expanded in comment on line 1: %global with_qt4 1 Macro expanded in comment on line 2: %{?rhel} && 0%{?rhel} <= 8 Macro expanded in comment on line 19: %{version}-%{snapshot}bzr.tar.gz Macro expanded in comment on line 20: %{version}-%{snapshot}bzr.tar.gz extra tokens at the end of %endif directive in line 36: %endif # with_qt4 extra tokens at the end of %endif directive in line 64: %endif # with_qt4 extra tokens at the end of %endif directive in line 99: %endif # with_qt4 extra tokens at the end of %endif directive in line 116: %endif # with_qt4 extra tokens at the end of %endif directive in line 129: %endif # with_qt4 extra tokens at the end of %endif directive in line 153: %endif # with_qt4 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dbusmenu-qt.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-112029-7298/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 x86_64 --nodeps /builddir/build/SPECS/dbusmenu-qt.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 1: %global with_qt4 1 warning: Macro expanded in comment on line 2: %{?rhel} && 0%{?rhel} <= 8 warning: Macro expanded in comment on line 19: %{version}-%{snapshot}bzr.tar.gz warning: Macro expanded in comment on line 20: %{version}-%{snapshot}bzr.tar.gz warning: extra tokens at the end of %endif directive in line 36: %endif # with_qt4 warning: extra tokens at the end of %endif directive in line 64: %endif # with_qt4 warning: extra tokens at the end of %endif directive in line 99: %endif # with_qt4 warning: extra tokens at the end of %endif directive in line 116: %endif # with_qt4 warning: extra tokens at the end of %endif directive in line 129: %endif # with_qt4 warning: extra tokens at the end of %endif directive in line 153: %endif # with_qt4 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.79P5ay + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libdbusmenu-qt-0.9.3+16.04.20160218 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libdbusmenu-qt_0.9.3+16.04.20160218.orig.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libdbusmenu-qt-0.9.3+16.04.20160218 + /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.6VGyg5 + umask 022 + cd /builddir/build/BUILD RPM build warnings: RPM build errors: + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 libdbusmenu-qt-0.9.3+16.04.20160218 + %cmake_kf5 -DUSE_QT4:BOOL=OFF -DUSE_QT5:BOOL=ON -DWITH_DOC:BOOL=OFF /var/tmp/rpm-tmp.6VGyg5: line 46: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.6VGyg5 (%build) Macro expanded in comment on line 1: %global with_qt4 1 Macro expanded in comment on line 2: %{?rhel} && 0%{?rhel} <= 8 Macro expanded in comment on line 19: %{version}-%{snapshot}bzr.tar.gz Macro expanded in comment on line 20: %{version}-%{snapshot}bzr.tar.gz extra tokens at the end of %endif directive in line 36: %endif # with_qt4 extra tokens at the end of %endif directive in line 64: %endif # with_qt4 extra tokens at the end of %endif directive in line 99: %endif # with_qt4 extra tokens at the end of %endif directive in line 116: %endif # with_qt4 extra tokens at the end of %endif directive in line 129: %endif # with_qt4 extra tokens at the end of %endif directive in line 153: %endif # with_qt4 Bad exit status from /var/tmp/rpm-tmp.6VGyg5 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dbusmenu-qt.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 x86_64 --nodeps /builddir/build/SPECS/dbusmenu-qt.spec