Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 492480 - media-gfx/shotwell-0.15.1 includes files from <dev-libs/libgee-0.8.5; build fails
Summary: media-gfx/shotwell-0.15.1 includes files from <dev-libs/libgee-0.8.5; build f...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-25 03:28 UTC by Joe Sapp (RETIRED)
Modified: 2013-12-28 20:23 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,98.24 KB, text/x-log)
2013-11-25 03:28 UTC, Joe Sapp (RETIRED)
Details
emerge --info (emerge-info-shotwell-0.15.1.txt,18.30 KB, text/plain)
2013-11-25 03:33 UTC, Joe Sapp (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Sapp (RETIRED) gentoo-dev 2013-11-25 03:28:32 UTC
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.
Comment 1 Joe Sapp (RETIRED) gentoo-dev 2013-11-25 03:33:13 UTC
Created attachment 363930 [details]
emerge --info
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2013-11-25 07:42:27 UTC
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
Comment 3 Joe Sapp (RETIRED) gentoo-dev 2013-11-26 03:47:02 UTC
(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
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2013-11-26 07:19:48 UTC
it is unreproducible here.
Comment 5 Joe Sapp (RETIRED) gentoo-dev 2013-12-01 03:01:17 UTC
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"'
Comment 6 Joe Sapp (RETIRED) gentoo-dev 2013-12-28 20:23:20 UTC
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.