0.16.1/perl' + find /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-28.fc29.riscv64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-28.fc29.riscv64 -type f -name '*.bs' -size 0 -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-28.fc29.riscv64 -type d -depth -exec rmdir '{}' ';' + find /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-28.fc29.riscv64 -type f -name '*.so' -exec chmod 755 '{}' ';' + chmod -x example.pl + cd .. + cd php + make DESTDIR=/builddir/build/BUILDROOT/redland-bindings-1.0.16.1-28.fc29.riscv64 install make[1]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/php' make[1]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/redland-bindings-1.0.16.1-28.fc29.riscv64/usr/lib64/php/modules' /usr/bin/install -c -m 644 redland.so '/builddir/build/BUILDROOT/redland-bindings-1.0.16.1-28.fc29.riscv64/usr/lib64/php/modules' make[1]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/php' + chmod +x /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-28.fc29.riscv64/usr/lib64/php/modules/redland.so + install -D 40-redland.ini /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-28.fc29.riscv64/etc/php.d/40-redland.ini + cd .. + cd python + make DESTDIR=/builddir/build/BUILDROOT/redland-bindings-1.0.16.1-28.fc29.riscv64 install Making install in test make[1]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/python/test' make[2]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/python/test' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/python/test' make[1]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/python/test' make[1]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/python' gcc -DHAVE_CONFIG_H -I. -I./.. -DREDLAND_PRE_I -DREDLAND_POST_I -DREDLAND_DECL_I -DREDLAND_TYPEMAP_I -I/usr/include/raptor2 -I/usr/include/rasqal -DSWIG_PYTHON_SILENT_MEMLEAK -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/raptor2 -I/usr/include/rasqal -DSWIG_PYTHON_SILENT_MEMLEAK -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPIC ./Redland_wrap.c -c -o Redland_wrap.so BUILDSTDERR: ./Redland_wrap.c:125:10: fatal error: Python.h: No such file or directory BUILDSTDERR: #include BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:751: Redland_wrap.so] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/python' BUILDSTDERR: make: *** [Makefile:471: install-recursive] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.bObFux (%install) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.bObFux (%install) 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 636, 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/redland-bindings.spec