Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/kscreenlocker.spec'], chrootPath='/mnt/mock/kojid//dist-an23.4-nde-build-499296-74723/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=1209600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/kscreenlocker.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1693180800 Wrote: /builddir/build/SRPMS/kscreenlocker-5.18.4-1.1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/kscreenlocker.spec'], chrootPath='/mnt/mock/kojid//dist-an23.4-nde-build-499296-74723/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=1209600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/kscreenlocker.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1693180800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LShMuM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kscreenlocker-5.18.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/kscreenlocker-5.18.4.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd kscreenlocker-5.18.4 + /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.9VMgsj + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd kscreenlocker-5.18.4 + mkdir riscv64-anolis-linux-gnu + pushd riscv64-anolis-linux-gnu ~/build/BUILD/kscreenlocker-5.18.4/riscv64-anolis-linux-gnu ~/build/BUILD/kscreenlocker-5.18.4 + QTDIR=/usr + export QTDIR + PATH=/usr/lib64/qt5/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + export PATH + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + /usr/bin/cmake -S . -B anolis-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=FALSE -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_INCLUDEDIR_KF5:PATH=/usr/include/KF5 -DCMAKE_INSTALL_LIBEXECDIR_KF5:PATH=/usr/libexec/kf5 -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_USE_RELATIVE_PATHS:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DECM_MKSPECS_INSTALL_DIR:PATH=/usr/lib64/qt5/mkspecs/modules -DKDE_INSTALL_BINDIR:PATH=/usr/bin -DKDE_INSTALL_INCLUDEDIR:PATH=/usr/include -DKDE_INSTALL_KCFGDIR:PATH=/usr/share/config.kcfg -DKDE_INSTALL_LIBDIR:PATH=/usr/lib64 -DKDE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DKDE_INSTALL_METAINFODIR:PATH=/usr/share/metainfo -DKDE_INSTALL_PLUGINDIR:PATH=/usr/lib64/qt5/plugins -DKDE_INSTALL_QMLDIR:PATH=/usr/lib64/qt5/qml -DKDE_INSTALL_QTPLUGINDIR:PATH=/usr/lib64/qt5/plugins -DKDE_INSTALL_QTQUICKIMPORTSDIR:PATH=/usr/lib64/qt5/imports -DKDE_INSTALL_SYSCONFDIR:PATH=/etc -DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON .. CMake Warning: Ignoring extra path from command line: "/builddir/build/BUILD/kscreenlocker-5.18.4/riscv64-anolis-linux-gnu" CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 12.3.0 -- The CXX compiler identification is GNU 12.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Performing Test HAVE_DATE_TIME -- Performing Test HAVE_DATE_TIME - Success -- Looking for sys/prctl.h -- Looking for sys/prctl.h - found -- Looking for PR_SET_DUMPABLE -- Looking for PR_SET_DUMPABLE - found -- Looking for sys/procctl.h -- Looking for sys/procctl.h - not found -- Looking for PROC_TRACE_CTL -- Looking for PROC_TRACE_CTL - not found -- Looking for sys/signalfd.h -- Looking for sys/signalfd.h - found CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:111 (message): Your project should require at least CMake 3.16.0 to use FindKF5.cmake Call Stack (most recent call first): /usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check) CMakeLists.txt:52 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found KF5Crash: /usr/lib64/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.113.0") CMake Warning (dev) at /usr/lib64/cmake/KF5Config/KF5ConfigQchTargets.cmake:6 (set_target_properties): Policy CMP0160 is not set: More read-only target properties now error when trying to set them. Run "cmake --help-policy CMP0160" for policy details. Use the cmake_policy command to set the policy and suppress this warning. IMPORTED property is read-only for target("KF5Config_QCH") Call Stack (most recent call first): /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake:40 (include) /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package) /usr/lib64/cmake/KF5Declarative/KF5DeclarativeConfig.cmake:39 (find_dependency) /usr/share/ECM/find-modules/FindKF5.cmake:52 (find_package) CMakeLists.txt:52 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found KF5Declarative: /usr/lib64/cmake/KF5Declarative/KF5DeclarativeConfig.cmake (found version "5.113.0") -- Found KF5GlobalAccel: /usr/lib64/cmake/KF5GlobalAccel/KF5GlobalAccelConfig.cmake (found version "5.113.0") -- Found Gettext: /usr/bin/msgmerge (found version "0.22") -- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.113.0") -- Found KF5IdleTime: /usr/lib64/cmake/KF5IdleTime/KF5IdleTimeConfig.cmake (found version "5.113.0") -- Found KF5KCMUtils: /usr/lib64/cmake/KF5KCMUtils/KF5KCMUtilsConfig.cmake (found version "5.113.0") -- Found KF5Notifications: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.113.0") -- Found KF5Solid: /usr/lib64/cmake/KF5Solid/KF5SolidConfig.cmake (found version "5.113.0") -- Found KF5TextWidgets: /usr/lib64/cmake/KF5TextWidgets/KF5TextWidgetsConfig.cmake (found version "5.113.0") -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Found KF5WindowSystem: /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.113.0") -- Found KF5XmlGui: /usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.113.0") -- Found KF5: success (found suitable version "5.113.0", minimum required is "5.66.0") found components: Crash Declarative GlobalAccel I18n IdleTime KCMUtils Notifications Solid TextWidgets WindowSystem XmlGui CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:111 (message): Your project should require at least CMake 3.16.0 to use FindXCB.cmake Call Stack (most recent call first): /usr/share/ECM/find-modules/FindXCB.cmake:67 (ecm_find_package_version_check) CMakeLists.txt:72 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found XCB_XCB: /usr/lib64/libxcb.so (found version "1.17.0") -- Found XCB_KEYSYMS: /usr/lib64/libxcb-keysyms.so (found version "0.4.1") -- Found XCB_XTEST: /usr/lib64/libxcb-xtest.so (found version "1.17.0") -- Found XCB: /usr/lib64/libxcb.so;/usr/lib64/libxcb-keysyms.so;/usr/lib64/libxcb-xtest.so (found version "1.17.0") found components: XCB KEYSYMS XTEST CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:111 (message): Your project should require at least CMake 3.16.0 to use FindWaylandScanner.cmake Call Stack (most recent call first): /usr/share/ECM/find-modules/FindWaylandScanner.cmake:68 (ecm_find_package_version_check) CMakeLists.txt:82 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found WaylandScanner: /usr/bin/wayland-scanner CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:111 (message): Your project should require at least CMake 3.16.0 to use FindWayland.cmake Call Stack (most recent call first): /usr/share/ECM/find-modules/FindWayland.cmake:61 (ecm_find_package_version_check) CMakeLists.txt:83 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found Wayland_Client: /usr/lib64/libwayland-client.so (found version "1.22.0") -- Found Wayland_Server: /usr/lib64/libwayland-server.so (found version "1.22.0") -- Found Wayland: /usr/lib64/libwayland-client.so;/usr/lib64/libwayland-server.so (found suitable version "1.22.0", minimum required is "1.3") found components: Client Server -- Found loginctl: /usr/bin/loginctl -- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.5") -- Could NOT find Seccomp (missing: Seccomp_LIBRARY Seccomp_INCLUDE_DIR) -- Performing Test PAM_MESSAGE_CONST -- Performing Test PAM_MESSAGE_CONST - Success -- Found PAM: /usr/lib64/libpam.so;/usr/lib64/libdl.a -- Looking for getspnam -- Looking for getspnam - found -- Looking for crypt in crypt -- Looking for crypt in crypt - found -- Looking for include file crypt.h -- Looking for include file crypt.h - found -- Looking for getpassphrase -- Looking for getpassphrase - not found -- Looking for vsyslog -- Looking for vsyslog - found -- Looking for statvfs -- Looking for statvfs - found -- Looking for include file limits.h -- Looking for include file limits.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file malloc.h -- Looking for include file malloc.h - found -- Looking for statfs -- Looking for statfs - found -- Looking for setpriority -- Looking for setpriority - found -- Looking for include file paths.h -- Looking for include file paths.h - found CMake Warning at /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake:37 (message): kcoreaddons_desktop_to_json is deprecated and will be removed in KF6. Convert the desktop files to JSON in source using the desktoptojson executable Call Stack (most recent call first): kcm/CMakeLists.txt:32 (kcoreaddons_desktop_to_json) -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- The following features have been enabled: * prctl/procctl tracing control, Required for disallowing ptrace on greeter and kcheckpass process * sys/signalfd.h, Use the signalfd() api for signalhandling * XInput, Required for grabbing XInput2 devices in the screen locker * Unlock broken screenlocker, Needed for emergency unlock in case that the greeter is broken. In case your distribution does not provide loginctl or consolekit please contact plasma-devel@kde.org to discuss alternatives. -- The following RUNTIME packages have been found: * loginctl, Send control commands to the login manager, -- The following OPTIONAL packages have been found: * WaylandScanner, Executable that converts XML protocol files to C code, * PkgConfig -- The following REQUIRED packages have been found: * Qt5Network (required version >= 5.15.11) * Qt5Qml (required version >= 5.15.11) * Qt5QmlModels (required version >= 5.15.11) * Qt5QuickWidgets * Qt5Test * ECM (required version >= 5.66.0) * Qt5Core (required version >= 5.15.2) * KF5Crash (required version >= 5.66.0) * Qt5Quick (required version >= 5.15.2) * Qt5DBus (required version >= 5.15.2) * KF5Declarative (required version >= 5.66.0) * Qt5Widgets (required version >= 5.15.2) * KF5GlobalAccel (required version >= 5.66.0) * KF5IdleTime (required version >= 5.66.0) * KF5KCMUtils (required version >= 5.66.0) * KF5Notifications (required version >= 5.66.0) * KF5Solid (required version >= 5.66.0) * Gettext * KF5I18n (required version >= 5.113.0) * KF5TextWidgets (required version >= 5.66.0) * KF5WindowSystem (required version >= 5.66.0) * KF5XmlGui (required version >= 5.66.0) * KF5 (required version >= 5.66.0) * X11, X11 libraries, Required for building the X11 based workspace * XCB, X protocol C-language Binding, * Qt5X11Extras * Qt5 (required version >= 5.12.0) * Qt5Gui (required version >= 5.9.0) * KF5Wayland Required for building screenlocker * Wayland (required version >= 1.3), C library implementation of the Wayland protocol: a protocol for a compositor to talk to its clients, Required for building screenlocker * PAM, PAM Libraries, Required for screen unlocking and optionally used by the KDM log in manager -- The following features have been disabled: * sys/event.h, Use the kevent() and sigwaitinfo() api for signalhandling -- The following OPTIONAL packages have not been found: * Seccomp, The enhanced seccomp library., Used for putting the look'n'feel package in the greeter into a sandbox. -- Configuring done (70.9s) -- Generating done (1.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE CMAKE_USE_RELATIVE_PATHS ECM_MKSPECS_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/kscreenlocker-5.18.4/riscv64-anolis-linux-gnu/anolis-linux-build + popd ~/build/BUILD/kscreenlocker-5.18.4 + make -j64 -C riscv64-anolis-linux-gnu make: Entering directory '/builddir/build/BUILD/kscreenlocker-5.18.4/riscv64-anolis-linux-gnu' make: *** No targets specified and no makefile found. Stop. make: Leaving directory '/builddir/build/BUILD/kscreenlocker-5.18.4/riscv64-anolis-linux-gnu' error: Bad exit status from /var/tmp/rpm-tmp.9VMgsj (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.9VMgsj (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/kscreenlocker.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 riscv64 --nodeps /builddir/build/SPECS/kscreenlocker.spec