Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/accountsservice.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1722530266.338099/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/accountsservice.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 Wrote: /builddir/build/SRPMS/accountsservice-0.6.55-9.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/accountsservice.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1722530266.338099/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/accountsservice.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 Wrote: /builddir/build/SRPMS/accountsservice-0.6.55-9.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/accountsservice.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1722530266.338099/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/accountsservice.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.2x8xYz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf accountsservice-0.6.55 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/accountsservice-0.6.55.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd accountsservice-0.6.55 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'accountsservice-0.6.55 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-data-don-t-send-change-updates-for-login-history.patch + /usr/bin/git apply --index --reject - Checking patch data/org.freedesktop.Accounts.User.xml... Applied patch data/org.freedesktop.Accounts.User.xml cleanly. + /usr/bin/git commit -q -m 0001-data-don-t-send-change-updates-for-login-history.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-daemon-if-no-local-users-check-if-machine-is-enrolle.patch + /usr/bin/git apply --index --reject - Checking patch data/org.freedesktop.realmd.xml... Checking patch src/daemon.c... Checking patch src/meson.build... Checking patch src/org.freedesktop.realmd.xml... Applied patch data/org.freedesktop.realmd.xml cleanly. Applied patch src/daemon.c cleanly. Applied patch src/meson.build cleanly. Applied patch src/org.freedesktop.realmd.xml cleanly. + /usr/bin/git commit -q -m 0001-daemon-if-no-local-users-check-if-machine-is-enrolle.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-lib-save-os-when-creating-user.patch + /usr/bin/git apply --index --reject - Checking patch data/com.redhat.AccountsServiceUser.System.xml... Checking patch data/meson.build... Checking patch meson.build... Checking patch meson_post_install.py... :156: new blank line at EOF. + Checking patch src/libaccountsservice/act-user-manager.c... Checking patch src/libaccountsservice/meson.build... Applied patch data/com.redhat.AccountsServiceUser.System.xml cleanly. Applied patch data/meson.build cleanly. Applied patch meson.build cleanly. Applied patch meson_post_install.py cleanly. Applied patch src/libaccountsservice/act-user-manager.c cleanly. Applied patch src/libaccountsservice/meson.build cleanly. warning: 1 line adds whitespace errors. + /usr/bin/git commit -q -m 0001-lib-save-os-when-creating-user.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-user-Introduce-user-templates-for-setting-default-se.patch + /usr/bin/git apply --index --reject - Checking patch data/administrator... Checking patch data/meson.build... Checking patch data/standard... Checking patch src/daemon.c... Checking patch src/meson.build... Checking patch src/user.c... Checking patch src/user.h... Applied patch data/administrator cleanly. Applied patch data/meson.build cleanly. Applied patch data/standard cleanly. Applied patch src/daemon.c cleanly. Applied patch src/meson.build cleanly. Applied patch src/user.c cleanly. Applied patch src/user.h cleanly. + /usr/bin/git commit -q -m 0001-user-Introduce-user-templates-for-setting-default-se.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-daemon-Allow-SystemAccount-false-to-be-set-in-cache-.patch + /usr/bin/git apply --index --reject - Checking patch src/daemon.c... Applied patch src/daemon.c cleanly. + /usr/bin/git commit -q -m 0001-daemon-Allow-SystemAccount-false-to-be-set-in-cache-.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-main-Allow-cache-files-to-be-marked-immutable.patch + /usr/bin/git apply --index --reject - Checking patch src/main.c... Applied patch src/main.c cleanly. + /usr/bin/git commit -q -m 0002-main-Allow-cache-files-to-be-marked-immutable.patch --author 'rpm-build ' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EzzgA7 + umask 022 + cd /builddir/build/BUILD + cd accountsservice-0.6.55 + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-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 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-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 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-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 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-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,-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 -Dgtk_doc=true -Dsystemd=true -Duser_heuristics=true The Meson build system Version: 1.3.1 Source dir: /builddir/build/BUILD/accountsservice-0.6.55 Build dir: /builddir/build/BUILD/accountsservice-0.6.55/x86_64-openEuler-linux-gnu Build type: native build Project name: accountsservice Project version: 0.6.55 C compiler for the host machine: cc (gcc 12.3.1 "cc (GCC) 12.3.1 (openEuler 12.3.1-30.oe2403)") C linker for the host machine: cc ld.bfd 2.41 Host machine cpu family: x86_64 Host machine cpu: x86_64 Has header "paths.h" : YES Has header "shadow.h" : YES Has header "utmpx.h" : YES Checking for function "getusershell" : YES Checking for function "setutxdb" : NO Checking for function "fgetpwent" : YES Header "utmpx.h" has symbol "WTMPX_FILENAME" : YES Message: whether optimization is enabled: false Found pkg-config: YES (/usr/bin/pkg-config) 1.9.5 Run-time dependency gio-2.0 found: YES 2.78.3 Run-time dependency gio-unix-2.0 found: YES 2.78.3 Run-time dependency glib-2.0 found: YES 2.78.3 Run-time dependency polkit-gobject-1 found: YES 123 Library crypt found: YES Run-time dependency dbus-1 found: YES 1.14.8 Run-time dependency systemd found: YES 255 WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Run-time dependency libsystemd found: YES 255 data/meson.build:22: WARNING: Project targets '>= 0.46.0' but uses feature introduced in '0.50.0': install arg in configure_file. Configuring org.freedesktop.Accounts.service using configuration data/meson.build:32:5: ERROR: Function does not take positional arguments. A full log can be found at /builddir/build/BUILD/accountsservice-0.6.55/x86_64-openEuler-linux-gnu/meson-logs/meson-log.txt error: Bad exit status from /var/tmp/rpm-tmp.EzzgA7 (%build) Bad exit status from /var/tmp/rpm-tmp.EzzgA7 (%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/accountsservice.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/accountsservice.spec