Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-udiskie.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678428806.356732/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=0gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-udiskie.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-udiskie-2.4.2-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/python-udiskie.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678428806.356732/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=0gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-udiskie.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-udiskie-2.4.2-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/python-udiskie.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678428806.356732/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=0gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-udiskie.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xWppTw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf udiskie-2.4.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/udiskie-2.4.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd udiskie-2.4.2 + /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.hP9M4W + umask 022 + cd /builddir/build/BUILD + cd udiskie-2.4.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/udiskie copying udiskie/notify.py -> build/lib/udiskie copying udiskie/appindicator.py -> build/lib/udiskie copying udiskie/cache.py -> build/lib/udiskie copying udiskie/tray.py -> build/lib/udiskie copying udiskie/dbus.py -> build/lib/udiskie copying udiskie/prompt.py -> build/lib/udiskie copying udiskie/depend.py -> build/lib/udiskie copying udiskie/cli.py -> build/lib/udiskie copying udiskie/automount.py -> build/lib/udiskie copying udiskie/common.py -> build/lib/udiskie copying udiskie/locale.py -> build/lib/udiskie copying udiskie/udisks2.py -> build/lib/udiskie copying udiskie/__init__.py -> build/lib/udiskie copying udiskie/mount.py -> build/lib/udiskie copying udiskie/config.py -> build/lib/udiskie copying udiskie/async_.py -> build/lib/udiskie creating build/lib/udiskie/icons copying udiskie/icons/__init__.py -> build/lib/udiskie/icons running egg_info writing udiskie.egg-info/PKG-INFO writing dependency_links to udiskie.egg-info/dependency_links.txt writing entry points to udiskie.egg-info/entry_points.txt writing requirements to udiskie.egg-info/requires.txt writing top-level names to udiskie.egg-info/top_level.txt reading manifest file 'udiskie.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CONTRIBUTORS' warning: no files found matching 'LICENSE' adding license file 'COPYING' writing manifest file 'udiskie.egg-info/SOURCES.txt' copying udiskie/password_dialog.ui -> build/lib/udiskie copying udiskie/icons/udiskie-checkbox-checked.svg -> build/lib/udiskie/icons copying udiskie/icons/udiskie-checkbox-unchecked.svg -> build/lib/udiskie/icons copying udiskie/icons/udiskie-detach.svg -> build/lib/udiskie/icons copying udiskie/icons/udiskie-eject.svg -> build/lib/udiskie/icons copying udiskie/icons/udiskie-lock.svg -> build/lib/udiskie/icons copying udiskie/icons/udiskie-mount.svg -> build/lib/udiskie/icons copying udiskie/icons/udiskie-submenu.svg -> build/lib/udiskie/icons copying udiskie/icons/udiskie-unlock.svg -> build/lib/udiskie/icons copying udiskie/icons/udiskie-unmount.svg -> build/lib/udiskie/icons running build_mo creating build/locale creating build/locale/it_IT creating build/locale/it_IT/LC_MESSAGES generating build/locale/it_IT/LC_MESSAGES/udiskie.mo from lang/it_IT.po WARNING:root:[Errno 2] No such file or directory: 'msgfmt' creating build/locale/en_US creating build/locale/en_US/LC_MESSAGES generating build/locale/en_US/LC_MESSAGES/udiskie.mo from lang/en_US.po WARNING:root:[Errno 2] No such file or directory: 'msgfmt' creating build/locale/es_ES creating build/locale/es_ES/LC_MESSAGES generating build/locale/es_ES/LC_MESSAGES/udiskie.mo from lang/es_ES.po WARNING:root:[Errno 2] No such file or directory: 'msgfmt' creating build/locale/tr_TR creating build/locale/tr_TR/LC_MESSAGES generating build/locale/tr_TR/LC_MESSAGES/udiskie.mo from lang/tr_TR.po WARNING:root:[Errno 2] No such file or directory: 'msgfmt' creating build/locale/ru_RU creating build/locale/ru_RU/LC_MESSAGES generating build/locale/ru_RU/LC_MESSAGES/udiskie.mo from lang/ru_RU.po WARNING:root:[Errno 2] No such file or directory: 'msgfmt' creating build/locale/sk_SK creating build/locale/sk_SK/LC_MESSAGES generating build/locale/sk_SK/LC_MESSAGES/udiskie.mo from lang/sk_SK.po WARNING:root:[Errno 2] No such file or directory: 'msgfmt' + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9Ml6gf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64 + cd udiskie-2.4.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64 running install /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr creating /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/notify.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/appindicator.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/cache.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/tray.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/dbus.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/prompt.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/depend.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/cli.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/automount.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie creating /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/icons copying build/lib/udiskie/icons/udiskie-detach.svg -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/icons copying build/lib/udiskie/icons/udiskie-unmount.svg -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/icons copying build/lib/udiskie/icons/udiskie-eject.svg -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/icons copying build/lib/udiskie/icons/udiskie-lock.svg -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/icons copying build/lib/udiskie/icons/udiskie-checkbox-checked.svg -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/icons copying build/lib/udiskie/icons/udiskie-submenu.svg -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/icons copying build/lib/udiskie/icons/udiskie-mount.svg -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/icons copying build/lib/udiskie/icons/udiskie-checkbox-unchecked.svg -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/icons copying build/lib/udiskie/icons/__init__.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/icons copying build/lib/udiskie/icons/udiskie-unlock.svg -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/icons copying build/lib/udiskie/common.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/locale.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/udisks2.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/password_dialog.ui -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/__init__.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/mount.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/config.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie copying build/lib/udiskie/async_.py -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/notify.py to notify.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/appindicator.py to appindicator.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/cache.py to cache.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/tray.py to tray.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/dbus.py to dbus.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/prompt.py to prompt.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/depend.py to depend.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/cli.py to cli.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/automount.py to automount.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/icons/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/common.py to common.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/locale.py to locale.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/udisks2.py to udisks2.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/mount.py to mount.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/config.py to config.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/lib/python3.9/site-packages/udiskie/async_.py to async_.cpython-39.pyc writing byte-compilation script '/tmp/tmp81rowto2.py' /usr/bin/python3 /tmp/tmp81rowto2.py removing /tmp/tmp81rowto2.py running install_data creating /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/share creating /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/share/zsh creating /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/share/zsh/site-functions copying completions/zsh/_udiskie-mount -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/share/zsh/site-functions copying completions/zsh/_udiskie-umount -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/share/zsh/site-functions copying completions/zsh/_udiskie -> /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/share/zsh/site-functions creating /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/share/locale creating /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/share/locale/it_IT creating /builddir/build/BUILDROOT/python-udiskie-2.4.2-1.x86_64/usr/share/locale/it_IT/LC_MESSAGES error: can't copy 'build/locale/it_IT/LC_MESSAGES/udiskie.mo': doesn't exist or not a regular file error: Bad exit status from /var/tmp/rpm-tmp.9Ml6gf (%install) Bad exit status from /var/tmp/rpm-tmp.9Ml6gf (%install) 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/python-udiskie.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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/python-udiskie.spec