r/bin/cc -DDEBUG -DPOSTGIS -DSPEECH -DWITH_KISMET -I/builddir/build/BUILD/gpsdrive-2.11/build/src -I/builddir/build/BUILD/gpsdrive-2.11/src -I/builddir/build/BUILD/gpsdrive-2.11/build -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/speech-dispatcher -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 -o CMakeFiles/gpsdrive.dir/gpsnasamap.o -c /builddir/build/BUILD/gpsdrive-2.11/src/gpsnasamap.c BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gps_handler.c: In function 'gps_poll': BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gps_handler.c:275:15: error: too many arguments to function 'gps_read' BUILDSTDERR: int status = gps_read(gpsdata, NULL, 0); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/gpsdrive-2.11/src/gps_handler.c:30: BUILDSTDERR: /usr/include/gps.h:2078:12: note: declared here BUILDSTDERR: extern int gps_read(struct gps_data_t *); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: make[2]: *** [src/CMakeFiles/gpsdrive.dir/build.make:255: src/CMakeFiles/gpsdrive.dir/gps_handler.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gpsmisc.c: In function 'check_if_night_cb': BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gpsmisc.c:610:42: warning: variable 'lon' set but not used [-Wunused-but-set-variable] BUILDSTDERR: gdouble MA, C, RR, ET, L, Dec, Ho, lat, lon, now, sunrise, sunset; BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gpsmisc.c:609:13: warning: variable 'D' set but not used [-Wunused-but-set-variable] BUILDSTDERR: gint Rank, D; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gpsnasamap.c: In function 'create_nasa_mapfile': BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gpsnasamap.c:352:3: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] BUILDSTDERR: g_strlcpy (mybuffer, g_basename (outfilename), BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/glib.h:48, BUILDSTDERR: from /usr/include/glib-2.0/gmodule.h:28, BUILDSTDERR: from /builddir/build/BUILD/gpsdrive-2.11/src/gpsdrive.h:28, BUILDSTDERR: from /builddir/build/BUILD/gpsdrive-2.11/src/gpsnasamap.c:107: BUILDSTDERR: /usr/include/glib-2.0/glib/gfileutils.h:163:14: note: declared here BUILDSTDERR: const gchar *g_basename (const gchar *file_name); BUILDSTDERR: ^~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/gpsdrive-2.11/build' make[1]: Leaving directory '/builddir/build/BUILD/gpsdrive-2.11/build' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:132: src/CMakeFiles/gpsdrive.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:152: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.cO82vc (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.cO82vc (%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 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/gpsdrive.spec