Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dbus-python.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1742834316.104830/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dbus-python.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dbus-python-1.4.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dbus-python.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1742834316.104830/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dbus-python.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dbus-python-1.4.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dbus-python.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1742834316.104830/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dbus-python.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uWjg6W + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dbus-python-1.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dbus-python-1.4.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd dbus-python-1.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Move-python-modules-to-architecture-specific-directo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-deprecation-warnings-due-to-invalid-escape-seque.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.J4mxnC + umask 022 + cd /builddir/build/BUILD + cd dbus-python-1.4.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld ' + export LDFLAGS + /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 . x86_64-openEuler-linux-gnu The Meson build system Version: 1.3.1 Source dir: /builddir/build/BUILD/dbus-python-1.4.0 Build dir: /builddir/build/BUILD/dbus-python-1.4.0/x86_64-openEuler-linux-gnu Build type: native build Project name: dbus-python Project version: 1.4.0 C compiler for the host machine: cc (gcc 12.3.1 "cc (GCC) 12.3.1 (openEuler 12.3.1-36.oe2403)") C linker for the host machine: cc ld.bfd 2.41 Host machine cpu family: x86_64 Host machine cpu: x86_64 Compiler for C supports arguments -fno-common: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-declaration-after-statement: YES Compiler for C supports arguments -Wno-inline: YES Compiler for C supports arguments -Wno-redundant-decls: YES Compiler for C supports arguments -Wno-switch-default: YES Compiler for C supports arguments -Wno-write-strings: YES Compiler for C supports arguments -Wcast-align: YES Compiler for C supports arguments -Wdouble-promotion: YES Compiler for C supports arguments -Wduplicated-cond: YES Compiler for C supports arguments -Wfloat-equal: YES Compiler for C supports arguments -Wformat-nonliteral: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wformat=2: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wlogical-op: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-format-attribute: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wmissing-noreturn: YES Compiler for C supports arguments -Wnull-dereference: YES Compiler for C supports arguments -Wpacked: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wswitch-enum: YES Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wunused-but-set-variable: YES Compiler for C supports arguments -Wjump-misses-init: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wpointer-sign: YES Compiler for C supports arguments -Wstrict-prototypes: YES Configuring _dbus-python-config.h using configuration Executing subproject dbus-gmain dbus-gmain| Project name: dbus-gmain dbus-gmain| Project version: undefined dbus-gmain| C compiler for the host machine: cc (gcc 12.3.1 "cc (GCC) 12.3.1 (openEuler 12.3.1-36.oe2403)") dbus-gmain| C linker for the host machine: cc ld.bfd 2.41 dbus-gmain| Compiler for C supports arguments -fno-common: YES (cached) dbus-gmain| Compiler for C supports arguments -Wno-missing-field-initializers: YES (cached) dbus-gmain| Compiler for C supports arguments -Wcast-align: YES (cached) dbus-gmain| Compiler for C supports arguments -Wdouble-promotion: YES (cached) dbus-gmain| Compiler for C supports arguments -Wduplicated-branches: YES dbus-gmain| Compiler for C supports arguments -Wduplicated-cond: YES (cached) dbus-gmain| Compiler for C supports arguments -Wfloat-equal: YES (cached) dbus-gmain| Compiler for C supports arguments -Wformat-nonliteral: YES (cached) dbus-gmain| Compiler for C supports arguments -Wformat-security: YES (cached) dbus-gmain| Compiler for C supports arguments -Wformat=2: YES (cached) dbus-gmain| Compiler for C supports arguments -Winit-self: YES (cached) dbus-gmain| Compiler for C supports arguments -Wlogical-op: YES (cached) dbus-gmain| Compiler for C supports arguments -Wmissing-declarations: YES (cached) dbus-gmain| Compiler for C supports arguments -Wmissing-format-attribute: YES (cached) dbus-gmain| Compiler for C supports arguments -Wmissing-include-dirs: YES (cached) dbus-gmain| Compiler for C supports arguments -Wmissing-noreturn: YES (cached) dbus-gmain| Compiler for C supports arguments -Wnull-dereference: YES (cached) dbus-gmain| Compiler for C supports arguments -Wpacked: YES (cached) dbus-gmain| Compiler for C supports arguments -Wpointer-arith: YES (cached) dbus-gmain| Compiler for C supports arguments -Wredundant-decls: YES dbus-gmain| Compiler for C supports arguments -Wshadow: YES (cached) dbus-gmain| Compiler for C supports arguments -Wswitch-default: YES dbus-gmain| Compiler for C supports arguments -Wswitch-enum: YES (cached) dbus-gmain| Compiler for C supports arguments -Wundef: YES (cached) dbus-gmain| Compiler for C supports arguments -Wunused-but-set-variable: YES (cached) dbus-gmain| Compiler for C supports arguments -Wwrite-strings: YES dbus-gmain| Compiler for C supports arguments -Wdeclaration-after-statement: YES dbus-gmain| Compiler for C supports arguments -Wjump-misses-init: YES (cached) dbus-gmain| Compiler for C supports arguments -Wmissing-prototypes: YES (cached) dbus-gmain| Compiler for C supports arguments -Wnested-externs: YES (cached) dbus-gmain| Compiler for C supports arguments -Wold-style-definition: YES (cached) dbus-gmain| Compiler for C supports arguments -Wpointer-sign: YES (cached) dbus-gmain| Compiler for C supports arguments -Wstrict-prototypes: YES (cached) dbus-gmain| Found pkg-config: YES (/usr/bin/pkg-config) 1.9.5 dbus-gmain| Run-time dependency dbus-1 found: YES 1.14.8 dbus-gmain| Run-time dependency glib-2.0 found: YES 2.78.3 dbus-gmain| Run-time dependency gthread-2.0 found: YES 2.78.3 dbus-gmain| Program dbus-run-session found: NO dbus-gmain| Build targets in project: 1 dbus-gmain| Subproject dbus-gmain finished. Program python3 found: YES (/usr/bin/python3) Dependency dbus-1 found: YES 1.14.8 (cached) Run-time dependency python found: YES 3.11 Program /usr/bin/python3 found: NO (disabled by: doc ) Program dbus-run-session found: NO meson.build:228:19: ERROR: Program 'dbus-run-session' not found or not executable A full log can be found at /builddir/build/BUILD/dbus-python-1.4.0/x86_64-openEuler-linux-gnu/meson-logs/meson-log.txt error: Bad exit status from /var/tmp/rpm-tmp.J4mxnC (%build) Bad exit status from /var/tmp/rpm-tmp.J4mxnC (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dbus-python.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 --target x86_64 --nodeps /builddir/build/SPECS/dbus-python.spec