quirements (x11 >= 1.0 BUILDSTDERR: xscrnsaver BUILDSTDERR: gtk+-3.0 >= 3.22.0 BUILDSTDERR: dbus-glib-1 >= 0.30 BUILDSTDERR: gio-2.0 >= 2.50.0 BUILDSTDERR: mate-desktop-2.0 >= 1.17.0 BUILDSTDERR: libmate-menu >= 1.21.0) were not met: BUILDSTDERR: Package dependency requirement 'libmate-menu >= 1.21.0' could not be satisfied. BUILDSTDERR: Package 'libmate-menu' has version '1.20.2', required version is '>= 1.21.0' BUILDSTDERR: Consider adjusting the PKG_CONFIG_PATH environment variable if you BUILDSTDERR: installed software in a non-standard prefix. BUILDSTDERR: Alternatively, you may set the environment variables MATE_SCREENSAVER_CFLAGS BUILDSTDERR: and MATE_SCREENSAVER_LIBS to avoid the need to call pkg-config. BUILDSTDERR: See the pkg-config man page for more details. error: ng if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ANSI C header files... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.16... yes checking for unistd.h... (cached) yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for select... yes checking for fcntl... yes checking for uname... yes checking for nice... yes checking for setpriority... yes checking for getcwd... yes checking for getwd... yes checking for putenv... yes checking for sbrk... yes checking for sigaction... yes checking for syslog... yes checking for realpath... yes checking for setrlimit... yes checking for getresuid... yes checking for uid_t in sys/types.h... yes checking for setresuid... yes checking for setenv... yes checking for unsetenv... yes checking for clearenv... yes checking for MATE_SCREENSAVER... no RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Ocjq9n (%build) BUILDSTDERR: extra tokens at the end of %else directive in line 78: %else # 0%{?rel_build} BUILDSTDERR: extra tokens at the end of %endif directive in line 82: %endif # 0%{?rel_build} BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Ocjq9n (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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 riscv64 --nodeps /builddir/build/SPECS/mate-screensaver.spec