Mock Version: 5.2 Mock Version: 5.2 Mock Version: 5.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/cups-pk-helper.spec'], chrootPath='/var/lib/mock/f40-build-2433277-60692/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=864000uid=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/cups-pk-helper.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1707177600 Wrote: /builddir/build/SRPMS/cups-pk-helper-0.2.7-7.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/cups-pk-helper.spec'], chrootPath='/var/lib/mock/f40-build-2433277-60692/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=864000uid=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/cups-pk-helper.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1707177600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EJuZgM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cups-pk-helper-0.2.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cups-pk-helper-0.2.7.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd cups-pk-helper-0.2.7 + rm -rf /builddir/build/BUILD/cups-pk-helper-0.2.7-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/cups-pk-helper-0.2.7-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/polkit_result.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eEdyql + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cups-pk-helper-0.2.7 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson setup --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: 1.3.1 Source dir: /builddir/build/BUILD/cups-pk-helper-0.2.7 Build dir: /builddir/build/BUILD/cups-pk-helper-0.2.7/redhat-linux-build Build type: native build Project name: cups-pk-helper Project version: 0.2.7 C compiler for the host machine: gcc (gcc 13.2.1 "gcc (GCC) 13.2.1 20231110 (Red Hat 13.2.1-5)") C linker for the host machine: gcc ld.bfd 2.41-15 Host machine cpu family: riscv64 Host machine cpu: riscv64 Found pkg-config: YES (/usr/bin/pkg-config) 1.9.5 Run-time dependency glib-2.0 found: YES 2.79.0 Run-time dependency gio-2.0 found: YES 2.79.0 Run-time dependency gio-unix-2.0 found: YES 2.79.0 Run-time dependency gobject-2.0 found: YES 2.79.0 Run-time dependency polkit-gobject-1 found: YES 123 Run-time dependency cups found: YES 2.4.7 Program msgfmt found: YES (/usr/bin/msgfmt) Program msginit found: YES (/usr/bin/msginit) Program msgmerge found: YES (/usr/bin/msgmerge) Program xgettext found: YES (/usr/bin/xgettext) Dependency gio-2.0 found: YES 2.79.0 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Configuring org.opensuse.CupsPkHelper.Mechanism.service using configuration Build targets in project: 52 NOTICE: Future-deprecated features used: * 0.56.0: {'meson.source_root'} cups-pk-helper 0.2.7 User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir: /var/lib sysconfdir : /etc wrap_mode : nodownload Found ninja-1.11.1 at /usr/bin/ninja + /usr/bin/meson compile -C redhat-linux-build -j 64 --verbose ninja: Entering directory `/builddir/build/BUILD/cups-pk-helper-0.2.7/redhat-linux-build' [1/59] /usr/bin/msgfmt -o po/af/LC_MESSAGES/cups-pk-helper.mo ../po/af.po [2/59] /usr/bin/msgfmt -o po/ast/LC_MESSAGES/cups-pk-helper.mo ../po/ast.po [3/59] /usr/bin/msgfmt -o po/ca/LC_MESSAGES/cups-pk-helper.mo ../po/ca.po [4/59] /usr/bin/msgfmt -o po/cs/LC_MESSAGES/cups-pk-helper.mo ../po/cs.po [5/59] /usr/bin/msgfmt -o po/da/LC_MESSAGES/cups-pk-helper.mo ../po/da.po [6/59] /usr/bin/msgfmt -o po/de/LC_MESSAGES/cups-pk-helper.mo ../po/de.po [7/59] /usr/bin/msgfmt -o po/en/LC_MESSAGES/cups-pk-helper.mo ../po/en.po [8/59] /usr/bin/msgfmt -o po/en_GB/LC_MESSAGES/cups-pk-helper.mo ../po/en_GB.po [9/59] /usr/bin/msgfmt -o po/eo/LC_MESSAGES/cups-pk-helper.mo ../po/eo.po [10/59] /usr/bin/msgfmt -o po/es/LC_MESSAGES/cups-pk-helper.mo ../po/es.po [11/59] /usr/bin/msgfmt -o po/et/LC_MESSAGES/cups-pk-helper.mo ../po/et.po [12/59] /usr/bin/msgfmt -o po/eu/LC_MESSAGES/cups-pk-helper.mo ../po/eu.po [13/59] /usr/bin/msgfmt -o po/fi/LC_MESSAGES/cups-pk-helper.mo ../po/fi.po [14/59] /usr/bin/msgfmt -o po/fr/LC_MESSAGES/cups-pk-helper.mo ../po/fr.po [15/59] /usr/bin/msgfmt -o po/fur/LC_MESSAGES/cups-pk-helper.mo ../po/fur.po [16/59] /usr/bin/msgfmt -o po/gl/LC_MESSAGES/cups-pk-helper.mo ../po/gl.po [17/59] /usr/bin/msgfmt -o po/he/LC_MESSAGES/cups-pk-helper.mo ../po/he.po [18/59] /usr/bin/msgfmt -o po/hr/LC_MESSAGES/cups-pk-helper.mo ../po/hr.po [19/59] /usr/bin/msgfmt -o po/hu/LC_MESSAGES/cups-pk-helper.mo ../po/hu.po [20/59] /usr/bin/msgfmt -o po/ia/LC_MESSAGES/cups-pk-helper.mo ../po/ia.po [21/59] /usr/bin/msgfmt -o po/id/LC_MESSAGES/cups-pk-helper.mo ../po/id.po [22/59] /usr/bin/msgfmt -o po/it/LC_MESSAGES/cups-pk-helper.mo ../po/it.po [23/59] /usr/bin/msgfmt -o po/ja/LC_MESSAGES/cups-pk-helper.mo ../po/ja.po [24/59] /usr/bin/msgfmt -o po/ka/LC_MESSAGES/cups-pk-helper.mo ../po/ka.po [25/59] /usr/bin/msgfmt -o po/kk/LC_MESSAGES/cups-pk-helper.mo ../po/kk.po [26/59] /usr/bin/msgfmt -o po/ko/LC_MESSAGES/cups-pk-helper.mo ../po/ko.po [27/59] /usr/bin/msgfmt -o po/lt/LC_MESSAGES/cups-pk-helper.mo ../po/lt.po [28/59] /usr/bin/msgfmt -o po/lv/LC_MESSAGES/cups-pk-helper.mo ../po/lv.po [29/59] /usr/bin/msgfmt -o po/nl/LC_MESSAGES/cups-pk-helper.mo ../po/nl.po [30/59] /usr/bin/msgfmt -o po/oc/LC_MESSAGES/cups-pk-helper.mo ../po/oc.po [31/59] /usr/bin/msgfmt -o po/pl/LC_MESSAGES/cups-pk-helper.mo ../po/pl.po [32/59] /usr/bin/msgfmt -o po/pt/LC_MESSAGES/cups-pk-helper.mo ../po/pt.po [33/59] /usr/bin/msgfmt -o po/pt_BR/LC_MESSAGES/cups-pk-helper.mo ../po/pt_BR.po [34/59] /usr/bin/msgfmt -o po/ru/LC_MESSAGES/cups-pk-helper.mo ../po/ru.po [35/59] /usr/bin/msgfmt -o po/si/LC_MESSAGES/cups-pk-helper.mo ../po/si.po [36/59] /usr/bin/msgfmt -o po/sk/LC_MESSAGES/cups-pk-helper.mo ../po/sk.po [37/59] /usr/bin/msgfmt -o po/sl/LC_MESSAGES/cups-pk-helper.mo ../po/sl.po [38/59] /usr/bin/msgfmt -o po/sr/LC_MESSAGES/cups-pk-helper.mo ../po/sr.po [39/59] /usr/bin/msgfmt -o po/sv/LC_MESSAGES/cups-pk-helper.mo ../po/sv.po [40/59] /usr/bin/msgfmt -o po/tr/LC_MESSAGES/cups-pk-helper.mo ../po/tr.po [41/59] /usr/bin/msgfmt -o po/uk/LC_MESSAGES/cups-pk-helper.mo ../po/uk.po [42/59] /usr/bin/msgfmt -o po/zh_CN/LC_MESSAGES/cups-pk-helper.mo ../po/zh_CN.po [43/59] /usr/bin/msgfmt -o po/zh_TW/LC_MESSAGES/cups-pk-helper.mo ../po/zh_TW.po [44/59] /usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.opensuse.CupsPkHelper. --c-namespace CphIface --c-generate-object-manager --body --output src/cph-iface-mechanism.c ../src/cups-pk-helper-mechanism.xml FAILED: src/cph-iface-mechanism.c /usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.opensuse.CupsPkHelper. --c-namespace CphIface --c-generate-object-manager --body --output src/cph-iface-mechanism.c ../src/cups-pk-helper-mechanism.xml Traceback (most recent call last): File "/usr/bin/gdbus-codegen", line 53, in from codegen import codegen_main File "/usr/share/glib-2.0/codegen/codegen_main.py", line 29, in from . import dbustypes File "/usr/share/glib-2.0/codegen/dbustypes.py", line 22, in from . import utils File "/usr/share/glib-2.0/codegen/utils.py", line 22, in import packaging.version ModuleNotFoundError: No module named 'packaging' [45/59] /usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.opensuse.CupsPkHelper. --c-namespace CphIface --c-generate-object-manager --header --output src/cph-iface-mechanism.h ../src/cups-pk-helper-mechanism.xml FAILED: src/cph-iface-mechanism.h /usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.opensuse.CupsPkHelper. --c-namespace CphIface --c-generate-object-manager --header --output src/cph-iface-mechanism.h ../src/cups-pk-helper-mechanism.xml Traceback (most recent call last): File "/usr/bin/gdbus-codegen", line 53, in from codegen import codegen_main File "/usr/share/glib-2.0/codegen/codegen_main.py", line 29, in from . import dbustypes File "/usr/share/glib-2.0/codegen/dbustypes.py", line 22, in from . import utils File "/usr/share/glib-2.0/codegen/utils.py", line 22, in import packaging.version ModuleNotFoundError: No module named 'packaging' [46/59] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt --datadirs=/builddir/build/BUILD/cups-pk-helper-0.2.7/src ../src/org.opensuse.cupspkhelper.mechanism.policy.in src/org.opensuse.cupspkhelper.mechanism.policy xml /builddir/build/BUILD/cups-pk-helper-0.2.7/po ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/cups-pk-helper-0.2.7/redhat-linux-build -j 64 -v error: Bad exit status from /var/tmp/rpm-tmp.eEdyql (%build) Bad exit status from /var/tmp/rpm-tmp.eEdyql (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/cups-pk-helper.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/cups-pk-helper.spec'