Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 676086 - sci-geosciences/viking-1.7 - vikmapslayer.c:2538:14: error: ‘VikMapsLayer’ {aka ‘struct _VikMapsLayer’} has no member named ‘mbtiles’
Summary: sci-geosciences/viking-1.7 - vikmapslayer.c:2538:14: error: ‘VikMapsLayer’ {a...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-23 06:02 UTC by Stefan Strogin
Modified: 2019-08-26 16:35 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,185.69 KB, text/plain)
2019-01-23 06:02 UTC, Stefan Strogin
Details
environment (environment,87.23 KB, text/plain)
2019-01-23 06:03 UTC, Stefan Strogin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Strogin gentoo-dev 2019-01-23 06:02:52 UTC
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
Comment 1 Stefan Strogin gentoo-dev 2019-01-23 06:03:37 UTC
Created attachment 562564 [details]
environment
Comment 2 Hans de Graaff gentoo-dev 2019-01-23 06:30:10 UTC
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.
Comment 3 Ed Santiago 2019-01-23 13:14:09 UTC
(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)
Comment 4 Stefan Strogin gentoo-dev 2019-01-23 16:14:29 UTC
> Confirmed: compile fails by default on my setup, succeeds with USE=sqlite
+1