Created attachment 363928 [details] build.log Compilation of media-gfx/shotwell-0.15.1 fails, apparently due to inclusion of files from <dev-libs/libgee-0.8.5 (installed in /usr/include/gee-1.0). See attached for errors like: /var/tmp/portage/media-gfx/shotwell-0.15.1/work/shotwell-0.15.1/plugins/shotwell-publishing/FlickrPublishing.vala: In function 'publishing_flickr_flickr_publisher_do_publish': /var/tmp/portage/media-gfx/shotwell-0.15.1/work/shotwell-0.15.1/plugins/shotwell-publishing/FlickrPublishing.vala:627:2: error: too many arguments to function 'gee_array_list_new' In file included from /var/tmp/portage/media-gfx/shotwell-0.15.1/work/shotwell-0.15.1/plugins/shotwell-publishing/FlickrPublishing.c:22:0: /usr/include/gee-1.0/gee.h:819:15: note: declared here $ equery b /usr/include/gee-1.0/gee.h * Searching for /usr/include/gee-1.0/gee.h ... dev-libs/libgee-0.6.8 (/usr/include/gee-1.0/gee.h) Which is apparently not what DEPEND specifies.
Created attachment 363930 [details] emerge --info
What is the output of pkg-config --print-errors --cflags gobject-2.0 glib-2.0 gdk-3.0 gtk+-3.0 gee-0.8
(In reply to Justin Lecher from comment #2) > What is the output of > > pkg-config --print-errors --cflags gobject-2.0 glib-2.0 gdk-3.0 gtk+-3.0 > gee-0.8 Looks like it gets the right include directory: -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
it is unreproducible here.
I ran the valac call manually and it's including both include directories, but I can't figure out why...: /var/tmp/portage/media-gfx/shotwell-0.15.1/work/shotwell-0.15.1/plugins/shotwell-publishing]$ /usr/bin/valac-0.22 --target-glib=2.30.0 -g --enable-checking --fatal-warnings --save-temps --compile --enable-deprecated --vapidir=../ --pkg=shotwell-plugin-dev-1.0 --pkg=gobject-2.0 --pkg=glib-2.0 --pkg=gdk-3.0 --pkg=gtk+-3.0 --pkg=gee-0.8 --pkg=gtk+-3.0 --pkg=libsoup-2.4 --pkg=libxml-2.0 --pkg=webkitgtk-3.0 --pkg=gexiv2 --pkg=rest-0.7 --pkg=gee-0.8 --pkg=json-glib-1.0 -X -I../.. -X -fPIC -X -D_VERSION='"0.15.1"' -X -DGETTEXT_PACKAGE='"shotwell"' --vapidir=../../vapi ../common/Resources.vala shotwell-publishing.vala FacebookPublishing.vala PicasaPublishing.vala FlickrPublishing.vala YouTubePublishing.vala PiwigoPublishing.vala ../../src/util/string.vala ../common/RESTSupport.vala -v Loaded package `/usr/share/vala-0.22/vapi/glib-2.0.vapi' Loaded package `/usr/share/vala-0.22/vapi/gobject-2.0.vapi' Loaded package `../shotwell-plugin-dev-1.0.vapi' Loaded package `/usr/share/vala-0.22/vapi/gdk-3.0.vapi' Loaded package `/usr/share/vala-0.22/vapi/gio-2.0.vapi' Loaded package `/usr/share/vala-0.22/vapi/gdk-pixbuf-2.0.vapi' Loaded package `/usr/share/vala-0.22/vapi/cairo.vapi' Loaded package `/usr/share/vala-0.22/vapi/pango.vapi' Loaded package `/usr/share/vala-0.22/vapi/pangocairo.vapi' Loaded package `/usr/share/vala-0.22/vapi/gtk+-3.0.vapi' Loaded package `/usr/share/vala-0.22/vapi/atk.vapi' Loaded package `/usr/share/vala-0.22/vapi/x11.vapi' Loaded package `/usr/share/vala/vapi/gee-0.8.vapi' Loaded package `/usr/share/vala-0.22/vapi/libsoup-2.4.vapi' Loaded package `/usr/share/vala-0.22/vapi/libxml-2.0.vapi' Loaded package `../../vapi/webkitgtk-3.0.vapi' Loaded package `/usr/share/vala/vapi/gexiv2.vapi' Loaded package `/usr/share/vala-0.22/vapi/rest-0.7.vapi' Loaded package `/usr/share/vala-0.22/vapi/json-glib-1.0.vapi' cc -g -c '/var/tmp/portage/media-gfx/shotwell-0.15.1/work/shotwell-0.15.1/plugins/shotwell-publishing/Resources.c' '/var/tmp/portage/media-gfx/shotwell-0.15.1/work/shotwell-0.15.1/plugins/shotwell-publishing/shotwell-publishing.c' '/var/tmp/portage/media-gfx/shotwell-0.15.1/work/shotwell-0.15.1/plugins/shotwell-publishing/FacebookPublishing.c' '/var/tmp/portage/media-gfx/shotwell-0.15.1/work/shotwell-0.15.1/plugins/shotwell-publishing/PicasaPublishing.c' '/var/tmp/portage/media-gfx/shotwell-0.15.1/work/shotwell-0.15.1/plugins/shotwell-publishing/FlickrPublishing.c' '/var/tmp/portage/media-gfx/shotwell-0.15.1/work/shotwell-0.15.1/plugins/shotwell-publishing/YouTubePublishing.c' '/var/tmp/portage/media-gfx/shotwell-0.15.1/work/shotwell-0.15.1/plugins/shotwell-publishing/PiwigoPublishing.c' '/var/tmp/portage/media-gfx/shotwell-0.15.1/work/shotwell-0.15.1/plugins/shotwell-publishing/string.c' '/var/tmp/portage/media-gfx/shotwell-0.15.1/work/shotwell-0.15.1/plugins/shotwell-publishing/RESTSupport.c' -pthread -I/usr/include/gee-1.0 -I/usr/include/gee-0.8 -I/usr/include/webkitgtk-3.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/webkitgtk-3.0 -I/usr/include/gexiv2 -I/usr/lib/gexiv2/include -I/usr/include/rest-0.7 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/shotwell '-I../..' '-fPIC' '-D_VERSION="0.15.1"' '-DGETTEXT_PACKAGE="shotwell"'
Sorry for the noise. I had an old shotwell .pc file lying around that was pulling in the gee-1.0 dep. I thought I had cleaned it out.