ack-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 -c -o PreviewOutputImage.o PreviewOutputImage.cxx g++ -DHAVE_CONFIG_H -I. -I.. -Wall -g -I/usr/local/include -DSTD_DATADIR=\"/usr/share\" -DDOCDIR=\"/usr/share/doc/gipfel\" -I/usr/include -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 -c -o ImageMetaData.o ImageMetaData.cxx g++ -DHAVE_CONFIG_H -I. -I.. -Wall -g -I/usr/local/include -DSTD_DATADIR=\"/usr/share\" -DDOCDIR=\"/usr/share/doc/gipfel\" -I/usr/include -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 -c -o ScreenDump.o ScreenDump.cxx g++ -DHAVE_CONFIG_H -I. -I.. -Wall -g -I/usr/local/include -DSTD_DATADIR=\"/usr/share\" -DDOCDIR=\"/usr/share/doc/gipfel\" -I/usr/include -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 -c -o ScanImage.o ScanImage.cxx gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -I/usr/local/include -DSTD_DATADIR=\"/usr/share\" -DDOCDIR=\"/usr/share/doc/gipfel\" -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 -c -o strsep.o strsep.c BUILDSTDERR: ImageMetaData.cxx: In member function 'int ImageMetaData::load_image_exif(char*)': BUILDSTDERR: ImageMetaData.cxx:110:18: error: 'Error' in namespace 'Exiv2' does not name a type BUILDSTDERR: 110 | } catch (Exiv2::Error error) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: ImageMetaData.cxx: In member function 'int ImageMetaData::load_image_jpgcom(char*)': BUILDSTDERR: ImageMetaData.cxx:178:18: error: 'Error' in namespace 'Exiv2' does not name a type BUILDSTDERR: 178 | } catch (Exiv2::Error error) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: ImageMetaData.cxx: In member function 'int ImageMetaData::save_image_jpgcom(char*, char*)': BUILDSTDERR: ImageMetaData.cxx:270:18: error: 'Error' in namespace 'Exiv2' does not name a type BUILDSTDERR: 270 | } catch (Exiv2::Error error) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: make[2]: *** [Makefile:437: ImageMetaData.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/gipfel-0.4.0/src' make[1]: Leaving directory '/builddir/build/BUILD/gipfel-0.4.0' BUILDSTDERR: make[1]: *** [Makefile:424: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:322: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.5npfHh (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.5npfHh (%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/gipfel.spec