ecking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking 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 BUILDSTDERR: checking if libtool supports configure: error: Package requirements (libcaja-extension >= 1.21.3) were not met: BUILDSTDERR: Package dependency requirement 'libcaja-extension >= 1.21.3' could not be satisfied. BUILDSTDERR: Package 'libcaja-extension' has version '1.20.3', required version is '>= 1.21.3' 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 CAJA_CFLAGS BUILDSTDERR: and CAJA_LIBS to avoid the need to call pkg-config. BUILDSTDERR: See the pkg-config man page for more details. BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.VWE6vA (%build) shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether make sets $(MAKE)... (cached) yes 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 gtk-doc... yes checking for gtkdoc-check... gtkdoc-check.test checking for gtkdoc-check... /usr/bin/gtkdoc-check checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf checking whether to build gtk-doc documentation... no checking for GTKDOC_DEPS... yes checking for pkg-config... yes checking for pkg-config... /usr/bin/pkg-config checking for CAJA... no RPM build errors: BUILDSTDERR: extra tokens at the end of %else directive in line 134: %else # 0%{?rel_build} BUILDSTDERR: extra tokens at the end of %endif directive in line 138: %endif # 0%{?rel_build} BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.VWE6vA (%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/caja-extensions.spec