Created attachment 562562 [details] build.log $ emerge -pqv '=sci-geosciences/viking-1.7::gentoo' [ebuild U ] sci-geosciences/viking-1.7 [1.6.2-r2] USE="exif magic nls -doc -geoclue% -gps -libexif -mapnik -sqlite" x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DVIKING_DATADIR=\""/usr/share/viking"\" -DVIKING_SYSCONFDIR=\""/etc/viking"\" -Wall -g -D_GNU_SOURCE -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=skylake -O2 -pipe -c -o vikmapslayer.o vikmapslayer.c vikmapslayer.c: In function ‘maps_layer_add_menu_items’: vikmapslayer.c:2538:14: error: ‘VikMapsLayer’ {aka ‘struct _VikMapsLayer’} has no member named ‘mbtiles’ if ( !vml->mbtiles ) { ^~ make[3]: *** [Makefile:1081: vikmapslayer.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/sci-geosciences/viking-1.7/work/viking-1.7/src' make[2]: *** [Makefile:1135: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/sci-geosciences/viking-1.7/work/viking-1.7/src' make[1]: *** [Makefile:805: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/sci-geosciences/viking-1.7/work/viking-1.7/src' make: *** [Makefile:470: all-recursive] Error 1
Created attachment 562564 [details] environment
This looks like an upstream bug. Can you confirm that this does not happen when the sqlite USE flag is enabled? That should enable the mbtiles option and avoid this compile error.
(In reply to Hans de Graaff from comment #2) > This looks like an upstream bug. Can you confirm that this does not happen > when the sqlite USE flag is enabled? Confirmed: compile fails by default on my setup, succeeds with USE=sqlite (modulo tweaking as per #676106)
> Confirmed: compile fails by default on my setup, succeeds with USE=sqlite +1
> Confirmed: compile fails by default on my setup, succeeds with USE=sqlite Here too!
*** Bug 721392 has been marked as a duplicate of this bug. ***
Dear treecleaner@: I'm still able to reproduce this issue right now. Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
Upstream knows about this and has fixed the bug, but not yet released an update. See "New Dependencies" at https://sourceforge.net/p/viking/wikiallura/Main_Page/
(In reply to Andreas Mair from comment #8) > Upstream knows about this and has fixed the bug, but not yet released an > update. See "New Dependencies" at > https://sourceforge.net/p/viking/wikiallura/Main_Page/ Yes, this is still broken with viking 1.8 (as documented on that page).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24f3f99f93f6ed4313e9aedfcc14c35aaa4215b3 commit 24f3f99f93f6ed4313e9aedfcc14c35aaa4215b3 Author: Andrey Grozin <grozin@gentoo.org> AuthorDate: 2021-03-12 10:30:58 +0000 Commit: Andrey Grozin <grozin@gentoo.org> CommitDate: 2021-03-12 10:30:58 +0000 sci-geosciences/viking: depend on sqlite unconditionally 1.8 still does not compile with USE=-sqlite, so, make it mandatory Closes: https://bugs.gentoo.org/676086 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andrey Grozin <grozin@gentoo.org> sci-geosciences/viking/viking-1.8-r1.ebuild | 100 ++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+)