Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420405 - net-libs/farstream-0.1.2 fails to compile: "Couldn't find include 'Gst-0.10.gir'"
Summary: net-libs/farstream-0.1.2 fails to compile: "Couldn't find include 'Gst-0.10.g...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-09 13:46 UTC by Florian Schmaus
Modified: 2012-06-25 04:29 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,22.99 KB, text/plain)
2012-06-09 13:46 UTC, Florian Schmaus
Details
emerge --info (emerge-info-farstream,6.55 KB, text/plain)
2012-06-09 13:47 UTC, Florian Schmaus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schmaus gentoo-dev 2012-06-09 13:46:47 UTC
Created attachment 314797 [details]
build.log

Note that I have USE="-introspection", maybe related are bugs 350096 and 381369.

/bin/sh ../libtool --silent --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I.. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2   -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith   -g   -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2   -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2   -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2   -march=core2 -O2 -pipe -c -o libfarstream_0.1_la-fs-enumtypes.lo `test -f 'fs-enumtypes.c' || echo './'`fs-enumtypes.c
  GISCAN Farstream-0.1.gir
Couldn't find include 'Gst-0.10.gir' (search path: ['/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gdm/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0'])
make[3]: *** [Farstream-0.1.gir] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/net-libs/farstream-0.1.2/work/farstream-0.1.2/farstream'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-libs/farstream-0.1.2/work/farstream-0.1.2/farstream'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/farstream-0.1.2/work/farstream-0.1.2'
make: *** [all] Error 2
Comment 1 Florian Schmaus gentoo-dev 2012-06-09 13:47:11 UTC
Created attachment 314799 [details]
emerge --info
Comment 2 Pacho Ramos gentoo-dev 2012-06-11 18:42:25 UTC
Did you rebuild gobject-introspection after glib update? Did you run revdep-rebuild?
Comment 3 Florian Schmaus gentoo-dev 2012-06-12 19:25:06 UTC
revdep-rebuild was run and doesn't find anything more to rebuild. I didn't not rebuild gobject-introspection at first, becausedidn't know that this was needed after a glib update. Anyway I rebuild gobject-introspection and farstream still fails to build with the same error.
Comment 4 Florian Schmaus gentoo-dev 2012-06-12 19:28:22 UTC
Note that from all search paths mentioned ( '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gdm/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0' ), only /usr/share/gir-1.0 exists on my installation. And it does not contain Gst-0.10.gir. Which ebuild provides it?

ls /usr/share/gir-1.0/
cairo-1.0.gir       freetype2-2.0.gir     GLib-2.0.gir     libxml2-2.0.gir         xlib-2.0.gir
DBus-1.0.gir        Gio-2.0.gir           GModule-2.0.gir  TelepathyGLib-0.12.gir  xrandr-1.3.gir
DBusGLib-1.0.gir    GIRepository-2.0.gir  GObject-2.0.gir  xfixes-4.0.gir
fontconfig-2.0.gir  GL-1.0.gir            GUdev-1.0.gir    xft-2.0.gir
Comment 5 Vytenis Sodaitis 2012-06-13 08:51:53 UTC
I have exactly the same problem with farstream 0.1.2, and I use +introspection, so it is not related to the bug
Comment 6 Vytenis Sodaitis 2012-06-13 09:28:33 UTC
Solved it by rebuilding gstreamer with +instrospection
Comment 7 Florian Schmaus gentoo-dev 2012-06-14 14:35:39 UTC
Right, after 

USE="introspection" emerge -1 gstreamer

the file appears

gentoo ~ # q list gstreamer | grep Gst-0.10.gir
/usr/share/gir-1.0/Gst-0.10.gir

and farstream compiles fine.
After reemerging gstreamer with -introspection, I am able to compile farstream manually with

./configure --enable-introspection=no
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2012-06-23 10:09:10 UTC
The ebuild is simply lacking the configure switch to actually turn off or on introspection so it falls back to automatic detection. I no-one beats me to it, I'll fix it this afternoon.
Comment 9 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-06-25 04:29:12 UTC
Thanks for reporting, fixed in 0.1.2-r1.

>*farstream-0.1.2-r1 (25 Jun 2012)
>
>  25 Jun 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  -farstream-0.1.2.ebuild, +farstream-0.1.2-r1.ebuild:
>  Respect introspection USE flag (bug #420405, thanks to Florian Schmaus). Drop
>  broken 0.1.2 ebuild.