rings.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 BUILDSTDERR: checking whconfigure: error: Package requirements (gstreamer-1.0 >= 1.16.0) were not met: BUILDSTDERR: Package dependency requirement 'gstreamer-1.0 >= 1.16.0' could not be satisfied. BUILDSTDERR: Package 'gstreamer-1.0' has version '1.14.4', required version is '>= 1.16.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 GST_CFLAGS BUILDSTDERR: and GST_LIBS to avoid the need to call pkg-config. BUILDSTDERR: See the pkg-config man page for more details. ether -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 for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes 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... no checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for python >= 2.7... checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GST... RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.9TyZ1d (%build) BUILDSTDERR: extra tokens at the end of %endif directive in line 23: %endif # if with_python3 BUILDSTDERR: extra tokens at the end of %endif directive in line 57: %endif # with_python3 BUILDSTDERR: extra tokens at the end of %endif directive in line 68: %endif # with_python3 BUILDSTDERR: extra tokens at the end of %endif directive in line 81: %endif # with_python3 BUILDSTDERR: extra tokens at the end of %endif directive in line 89: %endif # with_python3 BUILDSTDERR: extra tokens at the end of %endif directive in line 106: %endif # with_python3 BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.9TyZ1d (%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/python-gstreamer1.spec