Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/babl.spec'], chrootPath='/var/lib/mock/rocky-9-s390x/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=0uid=1004gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/babl.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1628467200 Wrote: /builddir/build/SRPMS/babl-0.1.86-3.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target s390x --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/babl.spec"], chrootPath='/var/lib/mock/rocky-9-s390x/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=0uid=1004gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target s390x --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/babl.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1628467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UFaQJv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf babl-0.1.86 + /usr/bin/xz -dc /builddir/build/SOURCES/babl-0.1.86.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd babl-0.1.86 + /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.RUBIhj + umask 022 + cd /builddir/build/BUILD + cd babl-0.1.86 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build The Meson build system Version: 0.58.2 Source dir: /builddir/build/BUILD/babl-0.1.86 Build dir: /builddir/build/BUILD/babl-0.1.86/redhat-linux-build Build type: native build Project name: babl Project version: 0.1.86 C compiler for the host machine: gcc (gcc 11.2.1 "gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)") C linker for the host machine: gcc ld.bfd 2.35.2-17 Host machine cpu family: s390x Host machine cpu: s390x Program python3 found: YES (/usr/bin/python3) Message: Host os: linux Message: Build os: linux Compiler for C supports arguments -fno-unsafe-math-optimizations: YES Compiler for C supports arguments -Wdeclaration-after-statement: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -mmmx: NO Has header "stdatomic.h" : YES Has header "dlfcn.h" : YES Has header "dl.h" : NO Checking for function "gettimeofday" : YES Checking for function "rint" : NO Checking for function "srandom" : YES Library m found: YES Run-time dependency threads found: YES Library dl found: YES Found pkg-config: /usr/bin/pkg-config (1.7.3) Run-time dependency gobject-introspection-1.0 found: YES 1.68.0 Run-time dependency lcms2 found: YES 2.12 Run-time dependency vapigen found: YES 0.48.19 Program git found: NO Program env found: YES (/usr/bin/env) Program rsvg-convert found: YES (/usr/bin/rsvg-convert) Program w3m found: NO Configuring config.h using configuration Program gen_babl_map.py found: YES (/usr/bin/python3 /builddir/build/BUILD/babl-0.1.86/gen_babl_map.py) Checking if "-Wl,--version-script" links: YES Configuring babl-version.h using configuration Found pkg-config: /usr/bin/pkg-config (1.7.3) Build-time dependency gobject-introspection-1.0 found: YES 1.68.0 Dependency gobject-introspection-1.0 found: YES 1.68.0 (cached) Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner) Dependency gobject-introspection-1.0 found: YES 1.68.0 (cached) Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler) Program vapigen found: YES (/usr/bin/vapigen) Program tools/xml-insert.py found: YES (/usr/bin/python3 /builddir/build/BUILD/babl-0.1.86/tools/xml-insert.py) Configuring index-static.html using configuration Program scp found: NO docs/meson.build:105:0: ERROR: Program 'scp' not found A full log can be found at /builddir/build/BUILD/babl-0.1.86/redhat-linux-build/meson-logs/meson-log.txt RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.RUBIhj (%build) Bad exit status from /var/tmp/rpm-tmp.RUBIhj (%build) Child return code was: 1 EXCEPTION: [Error()] 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 599, 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 --target s390x --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/babl.spec