The compilation of viking 1.8-r1 fails with the following: geotag_exif.c: In function ‘a_geotag_create_waypoint_from_file’: geotag_exif.c:365:16: error: ‘VIK_DEFAULT_ALTITUDE’ undeclared (first use in this function) 365 | gdouble alt = VIK_DEFAULT_ALTITUDE; | ^~~~~~~~~~~~~~~~~~~~ geotag_exif.c:365:16: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [Makefile:1085: geotag_exif.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/sci-geosciences/viking-1.8-r1/work/viking-viking-1.8/src' make[2]: *** [Makefile:1139: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/sci-geosciences/viking-1.8-r1/work/viking-viking-1.8/src' make[1]: *** [Makefile:807: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/sci-geosciences/viking-1.8-r1/work/viking-viking-1.8/src' make: *** [Makefile:469: all-recursive] Error 1 * ERROR: sci-geosciences/viking-1.8-r1::gentoo failed (compile phase): * emake failed Any suggestion? Reproducible: Always
Created attachment 691185 [details] emerge --info '=sci-geosciences/viking-1.8-r1::gentoo'
Created attachment 691188 [details] The complete build log
(In reply to Dan Johansson from comment #0) > Any suggestion? Looks caused by USE=libexif from a quick look, so try without. (also, please don't compress build logs if <1MB in the future)
Yes, that was it. After disabling "libexif" viking builds fine. Sorry about the compressed log, but that is the way my emerge saves the logs. Thanks for your feedback. -- Dan
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90bffc1aa20f30b359719efda89d9fdc97af87bb commit 90bffc1aa20f30b359719efda89d9fdc97af87bb Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2021-03-13 15:05:41 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2021-03-13 15:05:41 +0000 sci-geosciences/viking: fix build with USE=libexif Backport an upstream patch to build with libexif support. Closes: https://bugs.gentoo.org/775812 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org> .../viking/files/viking-1.8-libexif.patch | 22 ++++++++++++++++++++++ sci-geosciences/viking/viking-1.8-r1.ebuild | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-)