Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/gpscorrelate.spec'], chrootPath='/var/lib/mock/f40-build-2118307-50725/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/gpscorrelate.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 18: %{_datadir}/icons/hicolor/scalable/apps/gpscorrelate-gui.svg Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/gpscorrelate-2.0-8.fc40.src.rpm RPM build warnings: Macro expanded in comment on line 18: %{_datadir}/icons/hicolor/scalable/apps/gpscorrelate-gui.svg Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/gpscorrelate.spec'], chrootPath='/var/lib/mock/f40-build-2118307-50725/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/gpscorrelate.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 18: %{_datadir}/icons/hicolor/scalable/apps/gpscorrelate-gui.svg Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xwoSyE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gpscorrelate-2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gpscorrelate-2.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd gpscorrelate-2.0 + rm -rf /builddir/build/BUILD/gpscorrelate-2.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/gpscorrelate-2.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nqEY5K + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gpscorrelate-2.0 + make -j8 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' 'OFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' docdir=/usr/share/doc/gpscorrelate gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/share/doc/gpscorrelate\" -c -o main-gui.o main-gui.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/share/doc/gpscorrelate\" -c -o gui.o gui.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/share/doc/gpscorrelate\" -c -o unixtime.o unixtime.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/share/doc/gpscorrelate\" -c -o gpx-read.o gpx-read.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/share/doc/gpscorrelate\" -c -o correlate.o correlate.c g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/share/doc/gpscorrelate\" -c -o exif-gps.o exif-gps.cpp gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/share/doc/gpscorrelate\" -c -o latlong.o latlong.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/share/doc/gpscorrelate\" -c -o main-command.o main-command.c gpx-read.c: In function ‘ExtractTrackPoints’: gpx-read.c:122:70: error: implicit declaration of function ‘malloc’ [-Werror=implicit-function-declaration] 122 | LastPoint->Next = (struct GPSPoint*) malloc(sizeof(struct GPSPoint)); | ^~~~~~ gpx-read.c:39:1: note: include ‘’ or provide a declaration of ‘malloc’ 38 | #include "latlong.h" +++ |+#include 39 | gpx-read.c:122:70: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 122 | LastPoint->Next = (struct GPSPoint*) malloc(sizeof(struct GPSPoint)); | ^~~~~~ gpx-read.c:122:70: note: include ‘’ or provide a declaration of ‘malloc’ gpx-read.c:127:65: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 127 | FirstPoint = (struct GPSPoint*) malloc(sizeof(struct GPSPoint)); | ^~~~~~ gpx-read.c:127:65: note: include ‘’ or provide a declaration of ‘malloc’ gpx-read.c:143:42: error: implicit declaration of function ‘atof’ [-Werror=implicit-function-declaration] 143 | LastPoint->Lat = atof(Lat); | ^~~~ gpx-read.c: In function ‘FreeTrack’: gpx-read.c:316:17: error: implicit declaration of function ‘free’ [-Werror=implicit-function-declaration] 316 | free(CurrentFree); | ^~~~ gpx-read.c:316:17: note: include ‘’ or provide a declaration of ‘free’ gpx-read.c:316:17: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] gpx-read.c:316:17: note: include ‘’ or provide a declaration of ‘free’ cc1: some warnings being treated as errors make: *** [Makefile:50: gpx-read.o] Error 1 make: *** Waiting for unfinished jobs.... gui.c: In function ‘CreateMatchWindow’: gui.c:273:3: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 273 | WindowHBox = gtk_hbox_new (FALSE, 0); | ^~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:262, from gui.c:42: /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here 63 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ gui.c:278:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 278 | ControlsVBox = gtk_vbox_new (FALSE, 0); | ^~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:286: /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ gui.c:287:3: warning: ‘gtk_alignment_new’ is deprecated [-Wdeprecated-declarations] 287 | AddPhotosAlignment = gtk_alignment_new (0.5, 0.5, 1, 1); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:255: /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ gui.c:290:3: warning: ‘gtk_alignment_set_padding’ is deprecated [-Wdeprecated-declarations] 290 | gtk_alignment_set_padding (GTK_ALIGNMENT (AddPhotosAlignment), 0, 4, 12, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:292:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 292 | AddPhotosVBox = gtk_vbox_new (FALSE, 0); | ^~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ gui.c:328:3: warning: ‘gtk_alignment_new’ is deprecated [-Wdeprecated-declarations] 328 | GPSDataAlignment = gtk_alignment_new (0.5, 0.5, 1, 1); | ^~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ gui.c:331:3: warning: ‘gtk_alignment_set_padding’ is deprecated [-Wdeprecated-declarations] 331 | gtk_alignment_set_padding (GTK_ALIGNMENT (GPSDataAlignment), 0, 4, 12, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:333:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 333 | GPSDataVBox = gtk_vbox_new (FALSE, 0); | ^~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ gui.c:369:3: warning: ‘gtk_alignment_new’ is deprecated [-Wdeprecated-declarations] 369 | OptionsAlignment = gtk_alignment_new (0.5, 0.5, 1, 1); | ^~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ gui.c:372:3: warning: ‘gtk_alignment_set_padding’ is deprecated [-Wdeprecated-declarations] 372 | gtk_alignment_set_padding (GTK_ALIGNMENT (OptionsAlignment), 0, 4, 12, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:374:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 374 | OptionsVBox = gtk_vbox_new (FALSE, 0); | ^~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ gui.c:475:3: warning: ‘gtk_table_new’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 475 | OptionsTable = gtk_table_new (4, 2, FALSE); | ^~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:280: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:119:12: note: declared here 119 | GtkWidget* gtk_table_new (guint rows, | ^~~~~~~~~~~~~ gui.c:481:3: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 481 | gtk_table_attach (GTK_TABLE (OptionsTable), MaxGapTimeLabel, 0, 1, 0, 1, | ^~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ gui.c:484:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations] 484 | gtk_misc_set_alignment (GTK_MISC (MaxGapTimeLabel), 0, 0.5); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32, from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, from /usr/include/gtk-3.0/gtk/gtk.h:33: /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ gui.c:488:3: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 488 | gtk_table_attach (GTK_TABLE (OptionsTable), TimeZoneLabel, 0, 1, 1, 2, | ^~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ gui.c:491:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations] 491 | gtk_misc_set_alignment (GTK_MISC (TimeZoneLabel), 0, 0.5); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ gui.c:495:3: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 495 | gtk_table_attach (GTK_TABLE (OptionsTable), PhotoOffsetLabel, 0, 1, 2, 3, | ^~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ gui.c:498:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations] 498 | gtk_misc_set_alignment (GTK_MISC (PhotoOffsetLabel), 0, 0.5); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ gui.c:502:3: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 502 | gtk_table_attach (GTK_TABLE (OptionsTable), GPSDatumLabel, 0, 1, 4, 5, | ^~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ gui.c:505:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations] 505 | gtk_misc_set_alignment (GTK_MISC (GPSDatumLabel), 0, 0.5); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ gui.c:509:3: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 509 | gtk_table_attach (GTK_TABLE (OptionsTable), GapTimeEntry, 1, 2, 0, 1, | ^~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ gui.c:530:3: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 530 | gtk_table_attach (GTK_TABLE (OptionsTable), TimeZoneEntry, 1, 2, 1, 2, | ^~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ gui.c:556:3: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 556 | gtk_table_attach (GTK_TABLE (OptionsTable), PhotoOffsetEntry, 1, 2, 2, 3, | ^~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ gui.c:575:3: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 575 | gtk_table_attach (GTK_TABLE (OptionsTable), GPSDatumEntry, 1, 2, 4, 5, | ^~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ gui.c:600:3: warning: ‘gtk_alignment_new’ is deprecated [-Wdeprecated-declarations] 600 | CorrelateAlignment = gtk_alignment_new (0.5, 0.5, 1, 1); | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ gui.c:603:3: warning: ‘gtk_alignment_set_padding’ is deprecated [-Wdeprecated-declarations] 603 | gtk_alignment_set_padding (GTK_ALIGNMENT (CorrelateAlignment), 0, 4, 12, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:630:3: warning: ‘gtk_alignment_new’ is deprecated [-Wdeprecated-declarations] 630 | OtherOptionsAlignment = gtk_alignment_new (0.5, 0.5, 1, 1); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ gui.c:633:3: warning: ‘gtk_alignment_set_padding’ is deprecated [-Wdeprecated-declarations] 633 | gtk_alignment_set_padding (GTK_ALIGNMENT (OtherOptionsAlignment), 0, 4, 12, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:635:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 635 | OtherOptionsVBox = gtk_vbox_new (FALSE, 0); | ^~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ gui.c:684:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 684 | PhotoListVBox = gtk_vbox_new (FALSE, 0); | ^~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ gui.c: In function ‘AddPhotosButtonPress’: gui.c:845:25: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 845 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, | ^~~~~~~~~~~~~~~~ gui.c:846:25: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 846 | GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, | ^~~~~~~~~~~~~~ gui.c: In function ‘SelectGPSButtonPress’: gui.c:1193:25: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 1193 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, | ^~~~~~~~~~~~~~~~ gui.c:1194:25: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 1194 | GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, | ^~~~~~~~~~~~~~ exif-gps.cpp: In function ‘char* ReadExifDate(const char*, int*)’: exif-gps.cpp:100:23: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ 100 | Exiv2::Image::AutoPtr Image; | ^~~~~~~ exif-gps.cpp:103:17: error: ‘Image’ was not declared in this scope; did you mean ‘Exiv2::Image’? 103 | Image = Exiv2::ImageFactory::open(File); | ^~~~~ | Exiv2::Image In file included from exif-gps.cpp:44: /usr/include/exiv2/image.hpp:50:16: note: ‘Exiv2::Image’ declared here 50 | class EXIV2API Image { | ^~~~~ exif-gps.cpp:108:9: error: ‘Image’ was not declared in this scope; did you mean ‘Exiv2::Image’? 108 | Image->readMetadata(); | ^~~~~ | Exiv2::Image /usr/include/exiv2/image.hpp:50:16: note: ‘Exiv2::Image’ declared here 50 | class EXIV2API Image { | ^~~~~ exif-gps.cpp: In function ‘char* ReadExifData(const char*, double*, double*, double*, int*)’: exif-gps.cpp:157:23: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ 157 | Exiv2::Image::AutoPtr Image; | ^~~~~~~ exif-gps.cpp:160:17: error: ‘Image’ was not declared in this scope; did you mean ‘Exiv2::Image’? 160 | Image = Exiv2::ImageFactory::open(File); | ^~~~~ | Exiv2::Image /usr/include/exiv2/image.hpp:50:16: note: ‘Exiv2::Image’ declared here 50 | class EXIV2API Image { | ^~~~~ exif-gps.cpp:165:9: error: ‘Image’ was not declared in this scope; did you mean ‘Exiv2::Image’? 165 | Image->readMetadata(); | ^~~~~ | Exiv2::Image /usr/include/exiv2/image.hpp:50:16: note: ‘Exiv2::Image’ declared here 50 | class EXIV2API Image { | ^~~~~ exif-gps.cpp:276:53: error: ‘class Exiv2::Exifdatum’ has no member named ‘toLong’ 276 | if (GPSData.count() >= 1 && GPSData.toLong() == 1) | ^~~~~~ exif-gps.cpp: In function ‘char* ReadGPSTimestamp(const char*, char*, char*, int*)’: exif-gps.cpp:295:23: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ 295 | Exiv2::Image::AutoPtr Image; | ^~~~~~~ exif-gps.cpp:298:17: error: ‘Image’ was not declared in this scope; did you mean ‘Exiv2::Image’? 298 | Image = Exiv2::ImageFactory::open(File); | ^~~~~ | Exiv2::Image /usr/include/exiv2/image.hpp:50:16: note: ‘Exiv2::Image’ declared here 50 | class EXIV2API Image { | ^~~~~ exif-gps.cpp:303:9: error: ‘Image’ was not declared in this scope; did you mean ‘Exiv2::Image’? 303 | Image->readMetadata(); | ^~~~~ | Exiv2::Image /usr/include/exiv2/image.hpp:50:16: note: ‘Exiv2::Image’ declared here 50 | class EXIV2API Image { | ^~~~~ exif-gps.cpp: In function ‘int WriteGPSData(const char*, const GPSPoint*, const char*, int, int)’: exif-gps.cpp:466:23: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ 466 | Exiv2::Image::AutoPtr Image; | ^~~~~~~ exif-gps.cpp:469:17: error: ‘Image’ was not declared in this scope; did you mean ‘Exiv2::Image’? 469 | Image = Exiv2::ImageFactory::open(File); | ^~~~~ | Exiv2::Image /usr/include/exiv2/image.hpp:50:16: note: ‘Exiv2::Image’ declared here 50 | class EXIV2API Image { | ^~~~~ exif-gps.cpp:474:9: error: ‘Image’ was not declared in this scope; did you mean ‘Exiv2::Image’? 474 | Image->readMetadata(); | ^~~~~ | Exiv2::Image /usr/include/exiv2/image.hpp:50:16: note: ‘Exiv2::Image’ declared here 50 | class EXIV2API Image { | ^~~~~ exif-gps.cpp:496:23: error: ‘AutoPtr’ is not a member of ‘Exiv2::Value’ 496 | Exiv2::Value::AutoPtr Value = Exiv2::Value::create(Exiv2::unsignedByte); | ^~~~~~~ exif-gps.cpp:497:9: error: ‘Value’ was not declared in this scope; did you mean ‘Exiv2::Value’? 497 | Value->read("2 2 0 0"); | ^~~~~ | Exiv2::Value In file included from /usr/include/exiv2/metadatum.hpp:10, from /usr/include/exiv2/exif.hpp:17, from /usr/include/exiv2/image.hpp:11: /usr/include/exiv2/value.hpp:33:16: note: ‘Exiv2::Value’ declared here 33 | class EXIV2API Value { | ^~~~~ exif-gps.cpp: In function ‘int WriteFixedDatestamp(const char*, time_t)’: exif-gps.cpp:646:23: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ 646 | Exiv2::Image::AutoPtr Image; | ^~~~~~~ exif-gps.cpp:649:17: error: ‘Image’ was not declared in this scope; did you mean ‘Exiv2::Image’? 649 | Image = Exiv2::ImageFactory::open(File); | ^~~~~ | Exiv2::Image /usr/include/exiv2/image.hpp:50:16: note: ‘Exiv2::Image’ declared here 50 | class EXIV2API Image { | ^~~~~ exif-gps.cpp:654:9: error: ‘Image’ was not declared in this scope; did you mean ‘Exiv2::Image’? 654 | Image->readMetadata(); | ^~~~~ | Exiv2::Image /usr/include/exiv2/image.hpp:50:16: note: ‘Exiv2::Image’ declared here 50 | class EXIV2API Image { | ^~~~~ exif-gps.cpp:675:23: error: ‘AutoPtr’ is not a member of ‘Exiv2::Value’ 675 | Exiv2::Value::AutoPtr Value = Exiv2::Value::create(Exiv2::unsignedRational); | ^~~~~~~ exif-gps.cpp:679:9: error: ‘Value’ was not declared in this scope; did you mean ‘Exiv2::Value’? 679 | Value->read(ScratchBuf); | ^~~~~ | Exiv2::Value /usr/include/exiv2/value.hpp:33:16: note: ‘Exiv2::Value’ declared here 33 | class EXIV2API Value { | ^~~~~ exif-gps.cpp: In function ‘int RemoveGPSExif(const char*, int, int)’: exif-gps.cpp:708:23: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ 708 | Exiv2::Image::AutoPtr Image; | ^~~~~~~ exif-gps.cpp:711:17: error: ‘Image’ was not declared in this scope; did you mean ‘Exiv2::Image’? 711 | Image = Exiv2::ImageFactory::open(File); | ^~~~~ | Exiv2::Image /usr/include/exiv2/image.hpp:50:16: note: ‘Exiv2::Image’ declared here 50 | class EXIV2API Image { | ^~~~~ exif-gps.cpp:716:9: error: ‘Image’ was not declared in this scope; did you mean ‘Exiv2::Image’? 716 | Image->readMetadata(); | ^~~~~ | Exiv2::Image /usr/include/exiv2/image.hpp:50:16: note: ‘Exiv2::Image’ declared here 50 | class EXIV2API Image { | ^~~~~ exif-gps.cpp: At global scope: exif-gps.cpp:447:13: warning: ‘void replace(Exiv2::ExifData&, Exiv2::ExifKey, const Exiv2::Value*)’ defined but not used [-Wunused-function] 447 | static void replace(Exiv2::ExifData &exif, Exiv2::ExifKey key, const Exiv2::Value *value) | ^~~~~~~ make: *** [Makefile:53: exif-gps.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.nqEY5K (%build) RPM build warnings: RPM build errors: Macro expanded in comment on line 18: %{_datadir}/icons/hicolor/scalable/apps/gpscorrelate-gui.svg Bad exit status from /var/tmp/rpm-tmp.nqEY5K (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/gpscorrelate.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/gpscorrelate.spec