ser_y.y:561:13: warning: variable 'success' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int success; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rcparser_y.y: In function 'yyerror': BUILDSTDERR: rcparser_y.y:532:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: rcparser_y.y: In function 'rcparser_parse_file': BUILDSTDERR: rcparser_y.y:568:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib64/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -DDATADIR=\"/usr/share/spacechart/\" -DLOCALEDIR=\"/usr/share/locale/\" -DSYSCONFDIR=\"/etc/\" -DDOCSDIR=\"/usr/share/doc/spacechart/\" -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 -std=gnu89 -Wall -Wunused -c star_list_dialog.c BUILDSTDERR: rcparser_l.l: In function 'rcparser_init_lex': BUILDSTDERR: rcparser_l.l:159:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: return (int) (yyin = fopen( filename, "r" )); BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: lex.yy.c:1849:14: warning: 'yy_flex_realloc' defined but not used [-Wunused-function] BUILDSTDERR: lex.yy.c:1376:12: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: lex.yy.c:1328:13: warning: 'yyunput' defined but not used [-Wunused-function] gcc -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 -std=gnu89 -Wall -Wunused -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o spacechart main.o gui.o map.o star.o star_catalog.o star_index.o link_index.o star_selection.o star_draw_rules.o link_draw_rules.o common.o star_info_dialog.o settings.o link.o link_selection.o perspective.o map_widget.o star_selection_dialog.o config_dialog.o star_config.o link_config.o rcparser_y.o rcparser_l.o keys.o star_list_dialog.o -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lm -lgnome -lgnomesupport -laudiofile -lglib -rdynamic -lm BUILDSTDERR: /lib64/lp64d/../lib64/lp64d/libgnome.so: undefined reference to `dbopen' make[2]: Leaving directory '/builddir/build/BUILD/spacechart-0.9.5/src' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [Makefile:216: spacechart] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/spacechart-0.9.5' BUILDSTDERR: make[1]: *** [Makefile:232: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:376: all-recursive-am] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.XQQ9mp (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.XQQ9mp (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/spacechart.spec