+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/valabind.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: Macro expanded in comment on line 3: %global commit cd4051f6a7f63b297f3950c11a30f468351cbd69 warning: Macro expanded in comment on line 4: %global shortcommit %(c=%{commit}; echo ${c:0:7}) warning: Macro expanded in comment on line 13: %{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.32dGMU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf valabind-0.10.0 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/valabind-0.10.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd valabind-0.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NngbFv + umask 022 + cd /builddir/build/BUILD + cd valabind-0.10.0 + make -j4 'CFLAGS=-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 ' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' make: git: Command not found make: git: Command not found Generating config.vala mkdir -p build Generating config.vala -> build/config.vapi Generating main.vala -> build/main.vapi Generating valabindwriter.vala -> build/valabindwriter.vapi Generating nodeffiwriter.vala -> build/nodeffiwriter.vapi make[1]: Entering directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: Entering directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: Entering directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: Entering directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: git: Command not found make[1]: git: Command not found make[1]: git: Command not found make[1]: git: Command not found make[1]: git: Command not found make[1]: 'config.vala' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: git: Command not found make[1]: 'config.vala' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: git: Command not found make[1]: 'config.vala' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: git: Command not found Generating utils.vala -> build/utils.vapi Generating girwriter.vala -> build/girwriter.vapi make[1]: 'config.vala' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/valabind-0.10.0' Generating swigwriter.vala -> build/swigwriter.vapi Generating cxxwriter.vala -> build/cxxwriter.vapi make[1]: Entering directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: Entering directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: Entering directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: Entering directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: git: Command not found make[1]: git: Command not found make[1]: 'config.vala' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/valabind-0.10.0' Generating ctypeswriter.vala -> build/ctypeswriter.vapi make[1]: git: Command not found make[1]: git: Command not found make[1]: 'config.vala' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: git: Command not found Generating dlangwriter.vala -> build/dlangwriter.vapi make[1]: git: Command not found make[1]: git: Command not found make[1]: git: Command not found make[1]: 'config.vala' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: 'config.vala' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/valabind-0.10.0' Generating gowriter.vala -> build/gowriter.vapi make[1]: Entering directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: Entering directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: git: Command not found make[1]: git: Command not found make[1]: 'config.vala' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: git: Command not found make[1]: git: Command not found make[1]: 'config.vala' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: Entering directory '/builddir/build/BUILD/valabind-0.10.0' make[1]: git: Command not found make[1]: git: Command not found make[1]: 'config.vala' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/valabind-0.10.0' Compiling config.vala main.vala valabindwriter.vala nodeffiwriter.vala utils.vala girwriter.vala swigwriter.vala cxxwriter.vala ctypeswriter.vala dlangwriter.vala gowriter.vala -> valabind valac -g --cc="cc" -X -O2 -X -g -X -pipe -X -Wall -X -Werror=format-security -X -Wp,-D_FORTIFY_SOURCE=2 -X -Wp,-D_GLIBCXX_ASSERTIONS -X -fexceptions -X -fstack-protector-strong -X -grecord-gcc-switches -X -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -X -Wl,-z,relro -X -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o valabind --pkg posix --pkg libvala-0.34 --save-temps config.vala main.vala valabindwriter.vala nodeffiwriter.vala utils.vala girwriter.vala swigwriter.vala cxxwriter.vala ctypeswriter.vala dlangwriter.vala gowriter.vala ctypeswriter.vala:112.2-112.23: warning: method `CtypeClass.depends_on' never used public bool depends_on(string d) { ^^^^^^^^^^^^^^^^^^^^^^ gowriter.vala:17.3-17.43: warning: local variable `t' declared but never used foreach (var t in d.get_type_arguments()) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gowriter.vala:223.3-223.42: warning: local variable `p' declared but never used foreach(var p in d.get_type_arguments()) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ main.c: In function '_vala_main': main.c:855:9: warning: unused variable '_pkg_collection_size_' [-Wunused-variable] gint _pkg_collection_size_ = 0; ^~~~~~~~~~~~~~~~~~~~~ main.c:854:9: warning: variable 'pkg_collection_length1' set but not used [-Wunused-but-set-variable] gint pkg_collection_length1 = 0; ^~~~~~~~~~~~~~~~~~~~~~ main.c:904:9: warning: unused variable '_define_collection_size_' [-Wunused-variable] gint _define_collection_size_ = 0; ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:903:9: warning: variable 'define_collection_length1' set but not used [-Wunused-but-set-variable] gint define_collection_length1 = 0; ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:944:8: warning: unused variable '_file_collection_size_' [-Wunused-variable] gint _file_collection_size_ = 0; ^~~~~~~~~~~~~~~~~~~~~~ main.c:943:8: warning: variable 'file_collection_length1' set but not used [-Wunused-but-set-variable] gint file_collection_length1 = 0; ^~~~~~~~~~~~~~~~~~~~~~~ main.c:343:7: warning: variable '_tmp76__length1' set but not used [-Wunused-but-set-variable] gint _tmp76__length1 = 0; ^~~~~~~~~~~~~~~ main.c:341:7: warning: variable '_tmp71__length1' set but not used [-Wunused-but-set-variable] gint _tmp71__length1 = 0; ^~~~~~~~~~~~~~~ main.c:334:7: warning: variable '_tmp65__length1' set but not used [-Wunused-but-set-variable] gint _tmp65__length1 = 0; ^~~~~~~~~~~~~~~ main.c:329:7: warning: variable '_tmp62__length1' set but not used [-Wunused-but-set-variable] gint _tmp62__length1 = 0; ^~~~~~~~~~~~~~~ main.c:299:10: warning: variable '_tmp12_' set but not used [-Wunused-but-set-variable] gchar** _tmp12_ = NULL; ^~~~~~~ In file included from /usr/include/glib-2.0/glib.h:79:0, from /builddir/build/BUILD/valabind-0.10.0/valabindwriter.c:6: /usr/share/vala-0.34/vapi/glib-2.0.vapi: In function 'string_strip': /usr/share/vala-0.34/vapi/glib-2.0.vapi:1209:14: warning: passing argument 1 of 'g_strchug' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] result._strip (); ^ /usr/include/glib-2.0/glib/gstrfuncs.h:181:53: note: in definition of macro 'g_strstrip' #define g_strstrip( string ) g_strchomp (g_strchug (string)) ^~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:176:23: note: expected 'gchar * {aka char *}' but argument is of type 'const gchar * {aka const char *}' gchar* g_strchug (gchar *string); ^~~~~~~~~ valabindwriter.c: In function 'valabind_writer_add_package': valabindwriter.c:865:10: warning: unused variable '_dep_collection_size_' [-Wunused-variable] gint _dep_collection_size_ = 0; ^~~~~~~~~~~~~~~~~~~~~ valabindwriter.c:817:10: warning: variable 'deps_len' set but not used [-Wunused-but-set-variable] gsize deps_len = 0UL; ^~~~~~~~ valabindwriter.c: In function 'valabind_writer_use_namespace': valabindwriter.c:1037:8: warning: unused variable '_i_collection_size_' [-Wunused-variable] gint _i_collection_size_ = 0; ^~~~~~~~~~~~~~~~~~~ valabindwriter.c:1036:8: warning: variable 'i_collection_length1' set but not used [-Wunused-but-set-variable] gint i_collection_length1 = 0; ^~~~~~~~~~~~~~~~~~~~ valabindwriter.c:1001:7: warning: variable '_tmp0__length1' set but not used [-Wunused-but-set-variable] gint _tmp0__length1 = 0; ^~~~~~~~~~~~~~ nodeffiwriter.c: In function 'node_ffi_writer_real_get_filename': nodeffiwriter.c:159:18: warning: variable 'self' set but not used [-Wunused-but-set-variable] NodeFFIWriter * self; ^~~~ nodeffiwriter.c: In function 'node_ffi_writer_add_includes': nodeffiwriter.c:209:8: warning: unused variable '_i_collection_size_' [-Wunused-variable] gint _i_collection_size_ = 0; ^~~~~~~~~~~~~~~~~~~ utils.c: In function 'get_enums_for': utils.c:344:10: warning: variable '_tmp16__length1' set but not used [-Wunused-but-set-variable] gint _tmp16__length1 = 0; ^~~~~~~~~~~~~~~ utils.c:343:13: warning: variable '_tmp16_' set but not used [-Wunused-but-set-variable] gchar** _tmp16_ = NULL; ^~~~~~~ utils.c:326:8: warning: unused variable '_i_collection_size_' [-Wunused-variable] gint _i_collection_size_ = 0; ^~~~~~~~~~~~~~~~~~~ utils.c:325:8: warning: variable 'i_collection_length1' set but not used [-Wunused-but-set-variable] gint i_collection_length1 = 0; ^~~~~~~~~~~~~~~~~~~~ utils.c:367:8: warning: variable '_tmp19__length1' set but not used [-Wunused-but-set-variable] gint _tmp19__length1 = 0; ^~~~~~~~~~~~~~~ girwriter.c: In function 'gir_writer_real_get_filename': girwriter.c:184:14: warning: variable 'self' set but not used [-Wunused-but-set-variable] GirWriter * self; ^~~~ girwriter.c: In function 'gir_writer_process_includes': girwriter.c:2050:8: warning: unused variable '_foo_collection_size_' [-Wunused-variable] gint _foo_collection_size_ = 0; ^~~~~~~~~~~~~~~~~~~~~ swigwriter.c: In function 'swig_writer_real_get_filename': swigwriter.c:167:15: warning: variable 'self' set but not used [-Wunused-but-set-variable] SwigWriter * self; ^~~~ swigwriter.c: In function 'swig_writer_add_includes': swigwriter.c:217:8: warning: unused variable '_i_collection_size_' [-Wunused-variable] gint _i_collection_size_ = 0; ^~~~~~~~~~~~~~~~~~~ cxxwriter.c: In function 'cxx_writer_real_get_filename': cxxwriter.c:184:14: warning: variable 'self' set but not used [-Wunused-but-set-variable] CxxWriter * self; ^~~~ cxxwriter.c: In function 'cxx_writer_process_includes': cxxwriter.c:1634:8: warning: unused variable '_foo_collection_size_' [-Wunused-variable] gint _foo_collection_size_ = 0; ^~~~~~~~~~~~~~~~~~~~~ ctypeswriter.c: In function 'ctypes_writer_real_get_filename': ctypeswriter.c:1600:17: warning: variable 'self' set but not used [-Wunused-but-set-variable] CtypesWriter * self; ^~~~ ctypeswriter.c: In function 'ctypes_writer_add_includes': ctypeswriter.c:1650:8: warning: unused variable '_i_collection_size_' [-Wunused-variable] gint _i_collection_size_ = 0; ^~~~~~~~~~~~~~~~~~~ ctypeswriter.c: In function 'ctypes_writer_real_visit_constant': ctypeswriter.c:2995:17: warning: variable 'self' set but not used [-Wunused-but-set-variable] CtypesWriter * self; ^~~~ dlangwriter.c: In function 'dlang_writer_real_get_filename': dlangwriter.c:186:16: warning: variable 'self' set but not used [-Wunused-but-set-variable] DlangWriter * self; ^~~~ dlangwriter.c: In function 'dlang_writer_process_includes': dlangwriter.c:1689:8: warning: unused variable '_foo_collection_size_' [-Wunused-variable] gint _foo_collection_size_ = 0; ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:79:0, from /builddir/build/BUILD/valabind-0.10.0/gowriter.c:6: /usr/share/vala-0.34/vapi/glib-2.0.vapi: In function 'string_strip': /usr/share/vala-0.34/vapi/glib-2.0.vapi:1209:14: warning: passing argument 1 of 'g_strchug' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] result._strip (); ^ /usr/include/glib-2.0/glib/gstrfuncs.h:181:53: note: in definition of macro 'g_strstrip' #define g_strstrip( string ) g_strchomp (g_strchug (string)) ^~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:176:23: note: expected 'gchar * {aka char *}' but argument is of type 'const gchar * {aka const char *}' gchar* g_strchug (gchar *string); ^~~~~~~~~ gowriter.c: In function 'go_src_writer_process_includes': gowriter.c:4368:8: warning: unused variable '_foo_collection_size_' [-Wunused-variable] gint _foo_collection_size_ = 0; ^~~~~~~~~~~~~~~~~~~~~ gowriter.c: In function '__lambda4_': gowriter.c:5929:15: warning: variable 'self' set but not used [-Wunused-but-set-variable] GoSrcWriter* self; ^~~~ gowriter.c: In function '__lambda5_': gowriter.c:6084:15: warning: variable 'self' set but not used [-Wunused-but-set-variable] GoSrcWriter* self; ^~~~ gowriter.c: In function 'go_src_writer_get_class_src': gowriter.c:7443:11: warning: variable 'has_constructor' set but not used [-Wunused-but-set-variable] gboolean has_constructor = FALSE; ^~~~~~~~~~~~~~~ /builddir/build/BUILD/valabind-0.10.0/gowriter.vala: In function 'go_src_writer_walk_class': /builddir/build/BUILD/valabind-0.10.0/gowriter.vala:871:34: warning: passing argument 2 of 'g_hash_table_foreach' from incompatible pointer type [-Wincompatible-pointer-types] specializations.foreach((k, v) => { ^~~~~ In file included from /usr/include/glib-2.0/glib.h:50:0, from /builddir/build/BUILD/valabind-0.10.0/gowriter.c:6: /usr/include/glib-2.0/glib/ghash.h:99:13: note: expected 'GHFunc {aka void (*)(void *, void *, void *)}' but argument is of type 'void (*)(const void *, const void *, void *)' void g_hash_table_foreach (GHashTable *hash_table, ^~~~~~~~~~~~~~~~~~~~ gowriter.c: In function 'go_writer_real_get_filename': gowriter.c:9940:13: warning: variable 'self' set but not used [-Wunused-but-set-variable] GoWriter * self; ^~~~ gowriter.c: In function 'go_writer_clone_writer_config': gowriter.c:10018:7: warning: variable '_tmp11__length1' set but not used [-Wunused-but-set-variable] gint _tmp11__length1 = 0; ^~~~~~~~~~~~~~~ gowriter.c:10013:7: warning: variable '_tmp8__length1' set but not used [-Wunused-but-set-variable] gint _tmp8__length1 = 0; ^~~~~~~~~~~~~~ At top level: gowriter.c:8213:20: warning: 'block3_data_ref' defined but not used [-Wunused-function] static Block3Data* block3_data_ref (Block3Data* _data3_) { ^~~~~~~~~~~~~~~ Compilation succeeded - 3 warning(s) + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CsKEKd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64 + cd valabind-0.10.0 + make install DESTDIR=/builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64 make: git: Command not found make: git: Command not found mkdir -p /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/bin mkdir -p /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/share/man/man1 install -m0644 valabind.1 /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/share/man/man1 install -m0644 valabind-cc.1 /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/share/man/man1 install -m0755 valabind /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/bin install -m0755 valabind-cc /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/bin + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: valabind-0.10.0-2.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.swzSU3 + umask 022 + cd /builddir/build/BUILD + cd valabind-0.10.0 + DOCDIR=/builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/share/doc/valabind + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/share/doc/valabind + cp -pr AUTHORS /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/share/doc/valabind + cp -pr NOTES /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/share/doc/valabind + cp -pr README.md /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/share/doc/valabind + cp -pr TODO.md /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/share/doc/valabind + cp -pr THANKS /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/share/doc/valabind + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xWGdsD + umask 022 + cd /builddir/build/BUILD + cd valabind-0.10.0 + LICENSEDIR=/builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/share/licenses/valabind + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/share/licenses/valabind + cp -pr LICENSE /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64/usr/share/licenses/valabind + exit 0 Provides: valabind = 0.10.0-2.fc28 valabind(riscv-64) = 0.10.0-2.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libvala-0.34.so.0()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64 Wrote: /builddir/build/SRPMS/valabind-0.10.0-2.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/valabind-0.10.0-2.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.b1pL1P + umask 022 + cd /builddir/build/BUILD + cd valabind-0.10.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/valabind-0.10.0-2.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff