Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/kde-settings.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-109727-6801/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/kde-settings.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/kde-settings-23.0-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/kde-settings.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-109727-6801/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/kde-settings.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pjOFvY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kde-settings-23.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/kde-settings-23.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd kde-settings-23.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fv Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hIsUQe + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd kde-settings-23.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5N50Pj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/kde-settings-23.0-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/kde-settings-23.0-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/kde-settings-23.0-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/kde-settings-23.0-1.ocs23.noarch + cd kde-settings-23.0 + tar cpf - . + tar --directory /builddir/build/BUILDROOT/kde-settings-23.0-1.ocs23.noarch -xvpf - ./ ./usr/ ./usr/lib/ ./usr/lib/sddm/ ./usr/lib/sddm/sddm.conf.d/ ./usr/lib/sddm/sddm.conf.d/kde_settings.conf ./usr/lib/rpm/ ./usr/lib/rpm/fileattrs/ ./usr/lib/rpm/fileattrs/plasma4.attr ./usr/lib/rpm/plasma4.prov ./usr/lib/rpm/plasma4.req ./usr/share/ ./usr/share/polkit-1/ ./usr/share/polkit-1/rules.d/ ./usr/share/polkit-1/rules.d/11-system-kde-policy.rules ./usr/share/applications/ ./usr/share/applications/kde-mimeapps.list ./usr/share/kde-settings/ ./usr/share/kde-settings/kde-profile/ ./usr/share/kde-settings/kde-profile/default/ ./usr/share/kde-settings/kde-profile/default/gtkrc-2.0-kde4 ./usr/share/kde-settings/kde-profile/default/xdg/ ./usr/share/kde-settings/kde-profile/default/xdg/baloofilerc ./usr/share/kde-settings/kde-profile/default/xdg/kwinrc ./usr/share/kde-settings/kde-profile/default/xdg/kdeglobals ./usr/share/kde-settings/kde-profile/default/xdg/kscreenlockerrc ./usr/share/kde-settings/kde-profile/default/xdg/kcminputrc ./usr/share/kde-settings/kde-profile/default/xdg/ksmserverrc ./usr/share/kde-settings/kde-profile/default/share/ ./usr/share/kde-settings/kde-profile/default/share/services/ ./usr/share/kde-settings/kde-profile/default/share/services/update_ksycoca ./usr/share/kde-settings/kde-profile/default/share/apps/ ./usr/share/kde-settings/kde-profile/default/share/config/ ./usr/share/kde-settings/kde-profile/default/share/config/gtkrc-2.0 ./usr/share/kde-settings/kde-profile/default/share/config/apper ./usr/share/kde-settings/kde-profile/default/share/config/kxkbrc ./usr/share/kde-settings/kde-profile/default/share/config/kcmnspluginrc ./usr/share/kde-settings/kde-profile/default/share/config/kwalletrc ./usr/share/kde-settings/kde-profile/default/share/config/knotify.eventsrc ./usr/share/kde-settings/kde-profile/default/share/config/kdeglobals ./usr/share/kde-settings/kde-profile/default/share/config/knotifyrc ./usr/share/kde-settings/kde-profile/default/share/config/kglobalshortcutsrc ./usr/share/kde-settings/kde-profile/default/share/config/kcminputrc ./usr/share/kde-settings/kde-profile/default/share/config/kcmdisplayrc ./usr/share/kde-settings/kde-profile/default/share/config/kdebugrc ./usr/share/kde-settings/kde-profile/default/share/config/konquerorrc ./usr/share/kde-settings/kde-profile/default/.kdeprofile ./usr/share/plasma/ ./usr/share/plasma/shells/ ./usr/share/plasma/shells/org.kde.plasma.desktop/ ./usr/share/plasma/shells/org.kde.plasma.desktop/contents/ ./usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/ ./usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/00-start-here-2.js ./usr/share/plasma/look-and-feel/ ./usr/share/plasma/look-and-feel/org.opencloudos.desktop/ ./usr/share/plasma/look-and-feel/org.opencloudos.desktop/contents/ ./usr/share/plasma/look-and-feel/org.opencloudos.desktop/contents/plasmoidsetupscripts/ ./usr/share/plasma/look-and-feel/org.opencloudos.desktop/contents/plasmoidsetupscripts/org.kde.plasma.kickoff.js ./usr/share/plasma/look-and-feel/org.opencloudos.desktop/contents/plasmoidsetupscripts/org.kde.plasma.kickerdash.js ./usr/share/plasma/look-and-feel/org.opencloudos.desktop/contents/plasmoidsetupscripts/org.kde.plasma.kicker.js ./etc/ ./etc/kderc ./etc/kde/ ./etc/kde/env/ ./etc/kde/env/gpg-agent-startup.sh ./etc/kde/env/gtk2_rc_files.sh ./etc/kde/env/env.sh ./etc/kde/shutdown/ ./etc/kde/shutdown/gpg-agent-shutdown.sh ./etc/profile.d/ ./etc/profile.d/kde.sh ./etc/profile.d/kde.csh ./etc/pam.d/ ./etc/pam.d/kcheckpass ./etc/pam.d/kscreensaver ./etc/Trolltech.conf ./etc/kde4rc ./etc/xdg/ ./etc/xdg/kcm-about-distrorc ./etc/xdg/plasma-workspace/ ./etc/xdg/plasma-workspace/env/ ./etc/xdg/plasma-workspace/env/gtk3_scrolling.sh ./etc/xdg/plasma-workspace/env/gtk2_rc_files.sh ./etc/xdg/plasma-workspace/env/env.sh ./etc/xdg/kdebugrc + '[' /usr '!=' /usr ']' + cp -p /builddir/build/SOURCES/COPYING . + mkdir -p /builddir/build/BUILDROOT/kde-settings-23.0-1.ocs23.noarch/usr/share/wallpapers + ln -s OpenCloudOS /builddir/build/BUILDROOT/kde-settings-23.0-1.ocs23.noarch/usr/share/wallpapers/OpenCloudOS + cp -a /etc/xdg/autostart/xdg-user-dirs.desktop xdg-user-dirs-kde.desktop + mkdir -p /builddir/build/BUILDROOT/kde-settings-23.0-1.ocs23.noarch/etc/xdg/autostart + desktop-file-install xdg-user-dirs-kde.desktop --dir=/builddir/build/BUILDROOT/kde-settings-23.0-1.ocs23.noarch/etc/xdg/autostart --remove-key=X-GNOME-Autostart-Phase --add-only-show-in=KDE + install -p -m644 -D /builddir/build/SOURCES/ssh-agent.sh /builddir/build/BUILDROOT/kde-settings-23.0-1.ocs23.noarch/etc/xdg/plasma-workspace/env/ssh-agent.sh + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 23.0-1.ocs23 --unique-debug-suffix -23.0-1.ocs23.noarch --unique-debug-src-base kde-settings-23.0-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/kde-settings-23.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/lib/rpm/plasma4.prov from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/lib/rpm/plasma4.req from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/kde/shutdown/gpg-agent-shutdown.sh from /bin/sh to #!/usr/bin/sh *** WARNING: ./etc/profile.d/kde.sh is executable but has no shebang, removing executable bit *** WARNING: ./etc/profile.d/kde.csh is executable but has no shebang, removing executable bit + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.vTe7og + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd kde-settings-23.0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: kde-settings-23.0-1.ocs23.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.EWBbea + umask 022 + cd /builddir/build/BUILD + cd kde-settings-23.0 + LICENSEDIR=/builddir/build/BUILDROOT/kde-settings-23.0-1.ocs23.noarch/usr/share/licenses/kde-settings + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/kde-settings-23.0-1.ocs23.noarch/usr/share/licenses/kde-settings + cp -pr COPYING /builddir/build/BUILDROOT/kde-settings-23.0-1.ocs23.noarch/usr/share/licenses/kde-settings + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(kde-settings) = 23.0-1.ocs23 kde-settings = 23.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh Processing files: kde-settings-plasma-23.0-1.ocs23.noarch error: Recognition of file "/builddir/build/BUILDROOT/kde-settings-23.0-1.ocs23.noarch/usr/share/wallpapers/OpenCloudOS" failed: mode 120777 broken symbolic link to OpenCloudOS (Too many levels of symbolic links) Provides: kde-settings-plasma = 23.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 RPM build errors: Recognition of file "/builddir/build/BUILDROOT/kde-settings-23.0-1.ocs23.noarch/usr/share/wallpapers/OpenCloudOS" failed: mode 120777 broken symbolic link to OpenCloudOS (Too many levels of symbolic links) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/kde-settings.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 597, 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 --noclean --target noarch --nodeps /builddir/build/SPECS/kde-settings.spec