~ BUILDSTDERR: 1193 | Result->Elev, State, 1); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: exif-gps.cpp: In function 'char* ReadExifDate(char*, int*)': BUILDSTDERR: exif-gps.cpp:94:18: error: 'Error' in namespace 'Exiv2' does not name a type BUILDSTDERR: 94 | } catch (Exiv2::Error e) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: exif-gps.cpp: In function 'char* ReadExifData(char*, double*, double*, double*, int*)': BUILDSTDERR: exif-gps.cpp:157:18: error: 'Error' in namespace 'Exiv2' does not name a type BUILDSTDERR: 157 | } catch (Exiv2::Error e) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: exif-gps.cpp: In function 'char* ReadGPSTimestamp(char*, char*, char*, int*)': BUILDSTDERR: exif-gps.cpp:296:18: error: 'Error' in namespace 'Exiv2' does not name a type BUILDSTDERR: 296 | } catch (Exiv2::Error e) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: exif-gps.cpp: In function 'int WriteGPSData(char*, GPSPoint*, char*, int, int)': BUILDSTDERR: exif-gps.cpp:452:18: error: 'Error' in namespace 'Exiv2' does not name a type BUILDSTDERR: 452 | } catch (Exiv2::Error e) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: exif-gps.cpp: In function 'int WriteFixedDatestamp(char*, time_t)': BUILDSTDERR: exif-gps.cpp:667:18: error: 'Error' in namespace 'Exiv2' does not name a type BUILDSTDERR: 667 | } catch (Exiv2::Error e) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: exif-gps.cpp: In function 'int RemoveGPSExif(char*, int)': BUILDSTDERR: exif-gps.cpp:744:18: error: 'Error' in namespace 'Exiv2' does not name a type BUILDSTDERR: 744 | } catch (Exiv2::Error e) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: make: *** [Makefile:30: exif-gps.o] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.1FMkGY (%build) -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/exiv2 -c -o main-gui.o main-gui.c 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 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/exiv2 -c -o gui.o gui.c sed 's,@DOCDIR@,/usr/share/doc/gpscorrelate,' doc/gpscorrelate-manpage.xml.in > doc/gpscorrelate-manpage.xml xsltproc http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl doc/gpscorrelate-manpage.xml RPM build errors: BUILDSTDERR: Macro expanded in comment on line 17: %{_datadir}/icons/hicolor/scalable/apps/gpscorrelate-gui.svg BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.1FMkGY (%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 700, 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/gpscorrelate.spec