Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gvfs.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1722562581.674509/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/gvfs.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/gvfs-1.48.1-4.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/gvfs.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1722562581.674509/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/gvfs.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/gvfs-1.48.1-4.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/gvfs.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1722562581.674509/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/gvfs.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.YBJjWz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gvfs-1.48.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gvfs-1.48.1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd gvfs-1.48.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/smb-Ignore-EINVAL-for-kerberos-ccache-login.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/smb-Rework-anonymous-handling-to-avoid-EINVAL.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.Tt3f6V + umask 022 + cd /builddir/build/BUILD + cd gvfs-1.48.1 + 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 -Dinstalled_tests=true -Dman=true The Meson build system Version: 1.3.1 Source dir: /builddir/build/BUILD/gvfs-1.48.1 Build dir: /builddir/build/BUILD/gvfs-1.48.1/x86_64-openEuler-linux-gnu Build type: native build Project name: gvfs Project version: 1.48.1 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 Checking for function "socketpair" : YES Library util found: YES Has header "util.h" with dependency -lutil: NO Checking for function "openpty" with dependency -lutil: YES Checking for function "login_tty" with dependency -lutil: YES Has header "sys/param.h" : YES Has header "sys/mount.h" : YES Has header "sys/statfs.h" : YES Has header "sys/statvfs.h" : YES Has header "sys/vfs.h" : YES Has header "stropts.h" : NO Has header "sys/un.h" : YES Has header "termios.h" : YES Has header "utmp.h" : YES Checking for function "getpt" : YES Checking for function "grantpt" : YES Checking for function "posix_openpt" : YES Checking for function "ptsname" : YES Checking for function "ptsname_r" : YES Checking for function "unlockpt" : YES Checking for function "statfs" : YES Checking for function "statvfs" : YES Header "langinfo.h" has symbol "_NL_ADDRESS_LANG_TERM" : YES Header "langinfo.h" has symbol "_NL_ADDRESS_COUNTRY_AB3" : YES Header "sys/mkdev.h" has symbol "major" : NO Header "sys/sysmacros.h" has symbol "major" : YES Header "sys/sysmacros.h" has symbol "minor" : YES Header "sys/sysmacros.h" has symbol "makedev" : YES Checking for type "gid_t" : YES Checking for type "pid_t" : YES Checking for type "size_t" : YES Checking for type "uid_t" : YES Checking whether type "struct statfs" has members "f_bavail" : YES Checking whether type "struct statvfs" has members "f_basetype" : NO Checking whether type "struct stat" has members "st_atimensec" : NO Checking whether type "struct stat" has members "st_atim.tv_nsec" : YES Checking whether type "struct stat" has members "st_ctimensec" : NO Checking whether type "struct stat" has members "st_ctim.tv_nsec" : YES Checking whether type "struct stat" has members "st_mtimensec" : NO Checking whether type "struct stat" has members "st_mtim.tv_nsec" : YES Compiler for C supports link arguments -Wl,--version-script,/builddir/build/BUILD/gvfs-1.48.1/client/symbol.map: YES 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 gobject-2.0 found: YES 2.78.3 Run-time dependency gsettings-desktop-schemas found: YES 45.0 Checking for function "g_unix_mount_get_root_path" with dependency gio-2.0: YES Run-time dependency libxml-2.0 found: YES 2.11.5 Run-time dependency libgcrypt found: YES 1.10.2-unknown Run-time dependency dbus-1 found: YES 1.14.8 Run-time dependency systemd found: YES 255 Run-time dependency gcr-base-3 found: YES 3.41.2 Run-time dependency libcap found: YES 2.69 Run-time dependency polkit-gobject-1 found: YES 123 Run-time dependency libsoup-2.4 found: YES 2.74.3 Run-time dependency avahi-client found: YES 0.8 Run-time dependency avahi-glib found: YES 0.8 Run-time dependency gudev-1.0 found: YES 238 Run-time dependency fuse3 found: YES 3.16.2 Run-time dependency udisks2 found: YES 2.10.1 Run-time dependency libsystemd found: YES 255 Run-time dependency libimobiledevice-1.0 found: YES 1.3.0 Run-time dependency libplist-2.0 found: YES 2.2.0 Run-time dependency goa-1.0 found: YES 3.48.0 Run-time dependency libsecret-unstable found: YES 0.20.5 Run-time dependency libbluray found: YES 1.1.2 Run-time dependency libusb-1.0 found: YES 1.0.26 Run-time dependency smbclient found: YES 0.7.0 Checking for function "smbc_setOptionProtocols" with dependency smbclient: YES Checking for function "smbc_readdirplus2" with dependency smbclient: YES Run-time dependency libarchive found: YES 3.7.1 Run-time dependency libcdio_paranoia found: YES 10.2+2.0.0 Has header "cdio/paranoia/paranoia.h" with dependency libcdio_paranoia: YES Run-time dependency libgdata found: YES 0.18.1 Run-time dependency libgphoto2 found: YES 2.5.31 Run-time dependency libmtp found: YES 1.1.21 Run-time dependency libnfs found: YES 5.0.2 Program ssh found: YES (/usr/bin/ssh) Dependency gio-2.0 found: YES 2.78.3 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Configuring gvfs-metadata.service using configuration Configuring org.gtk.vfs.Metadata.service using configuration Dependency gio-2.0 found: YES 2.78.3 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Configuring gvfs-daemon.service using configuration Configuring org.gtk.vfs.Daemon.service using configuration Dependency glib-2.0 found: YES 2.78.3 (cached) Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums) Configuring org.gtk.vfs.file-operations.policy.in using configuration daemon/meson.build:368:7: ERROR: Function does not take positional arguments. A full log can be found at /builddir/build/BUILD/gvfs-1.48.1/x86_64-openEuler-linux-gnu/meson-logs/meson-log.txt error: Bad exit status from /var/tmp/rpm-tmp.Tt3f6V (%build) Bad exit status from /var/tmp/rpm-tmp.Tt3f6V (%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/gvfs.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/gvfs.spec