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/earlyoom.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-129127-8734/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f4b9396c8d0>timeout=86400uid=981gid=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/earlyoom.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/earlyoom-1.7-1.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/earlyoom.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-129127-8734/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f4b9396c8d0>timeout=86400uid=981gid=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/earlyoom.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2KtdR4
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf earlyoom-1.7
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/earlyoom-1.7.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd earlyoom-1.7
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cp -f /builddir/build/SOURCES/earlyoom.conf earlyoom.default
+ sed -e /systemctl/d -i Makefile
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bo30Fw
+ 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  -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 earlyoom-1.7
+ /usr/bin/make -O -j32 V=1 VERBOSE=1 VERSION=1.7 PREFIX=/usr
pandoc is not installed, skipping earlyoom.1 manpage generation
sed "s|:TARGET:|/usr/bin|g;s|:SYSCONFDIR:|/etc|g" earlyoom.service.in > earlyoom.service
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1  -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 -Wall -Wextra -Wformat-security -Wconversion -DVERSION=\"1.7\" -g -fstack-protector-all -std=gnu99 -o earlyoom globals.c kill.c main.c meminfo.c msg.c
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JI4rGL
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64
++ dirname /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64
+ cd earlyoom-1.7
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/usr
install -d /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/usr/bin/
install -m 755 earlyoom /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/usr/bin/
pandoc is not installed, skipping earlyoom.1 manpage generation
install -d /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/etc/default/
install -m 644 earlyoom.default /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/etc/default/earlyoom
install -d /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/etc/systemd/system
install -m 644 earlyoom.service /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/etc/systemd/system
chcon -t systemd_unit_file_t /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/etc/systemd/system/earlyoom.service
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.7-1.ocs23 --unique-debug-suffix -1.7-1.ocs23.x86_64 --unique-debug-src-base earlyoom-1.7-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/earlyoom-1.7
extracting debug info from /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/usr/bin/earlyoom
93 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/OpenCloudOS/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Processing files: earlyoom-1.7-1.ocs23.x86_64
error: File not found: /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/usr/lib/systemd/system/earlyoom.service
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.s8I4FL
+ umask 022
+ cd /builddir/build/BUILD
+ cd earlyoom-1.7
+ DOCDIR=/builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/usr/share/doc/earlyoom
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/usr/share/doc/earlyoom
+ cp -pr README.md /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/usr/share/doc/earlyoom
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cR8MMI
+ umask 022
+ cd /builddir/build/BUILD
+ cd earlyoom-1.7
+ LICENSEDIR=/builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/usr/share/licenses/earlyoom
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/usr/share/licenses/earlyoom
+ cp -pr LICENSE /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/usr/share/licenses/earlyoom
+ RPM_EC=0
++ jobs -p
+ exit 0
RPM build errors:
    File not found: /builddir/build/BUILDROOT/earlyoom-1.7-1.ocs23.x86_64/usr/lib/systemd/system/earlyoom.service
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/earlyoom.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/earlyoom.spec