Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371471 - media-libs/libchamplain-0.8.3 - GISCAN: Couldn't find include 'Clutter-1.0.gir'
Summary: media-libs/libchamplain-0.8.3 - GISCAN: Couldn't find include 'Clutter-1.0.gir'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 371251
  Show dependency tree
 
Reported: 2011-06-13 20:32 UTC by Ian Delaney (RETIRED)
Modified: 2011-06-15 17:27 UTC (History)
2 users (show)

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


Attachments
my emerge --info (emerge.info,4.63 KB, text/plain)
2011-06-13 20:34 UTC, Ian Delaney (RETIRED)
Details
build log (build.log,12.54 KB, text/plain)
2011-06-13 20:35 UTC, Ian Delaney (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2011-06-13 20:32:54 UTC
Testing for libchamplain-0.8.3

Reproducible: Always

Steps to Reproduce:
1. emerge package using std use  flags
2.
3.
Actual Results:  
  CC     champlain-marshal.lo
  CCLD   libchamplain-0.8.la
  GISCAN Champlain-0.8.gir
Couldn't find include 'Clutter-1.0.gir' (search path: ['/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0'])


Expected Results:  
emerge

Tried emerge ing clutter & clutter-gtk with use introspection.

Seems related to state of install of clutter.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-06-13 20:34:53 UTC
Created attachment 276959 [details]
my emerge --info
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2011-06-13 20:35:25 UTC
Created attachment 276961 [details]
build log
Comment 3 Fabian Köster 2011-06-14 21:37:04 UTC
Same problem here...
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2011-06-15 06:10:56 UTC
+  15 Jun 2011; Justin Lecher <jlec@gentoo.org> libchamplain-0.6.0.ebuild,
+  libchamplain-0.8.0.ebuild, libchamplain-0.8.1.ebuild,
+  libchamplain-0.8.2.ebuild, libchamplain-0.8.3.ebuild:
+  Depend on introspection support in clutter, #371471
+
Comment 5 Fabian Köster 2011-06-15 08:35:20 UTC
OK, the problem with clutter is now fixed but it then complains about missing Gtk-2.0.gir.

I assume Gtk must also be built with introspection support.
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2011-06-15 08:39:27 UTC
introspection is enabled by default. Probably you shouldn't disable all of it?
Comment 7 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-06-15 09:03:42 UTC
(In reply to comment #6)
> introspection is enabled by default. Probably you shouldn't disable all of it?

Regardless, the ebuild must have proper dependencies.

In libchamplain-0.8.3/champlain/Makefile.am:

Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_INCLUDES = Clutter-1.0 Gtk-2.0 $(memphis_gir_include)

and in libchamplain-0.8.3/champlain-gtk/Makefile.am:

GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_INCLUDES = Clutter-1.0 Gtk-2.0 Champlain-@CHAMPLAIN_API_VERSION@

Hence, gtk+:2[introspection?] is also needed. Maybe we should write a script to do this. It'll generate false positives, but that's okay.
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2011-06-15 09:08:54 UTC
Of course the deps have to be fixed and I allready did that. Static checks would really help with finding the correct ones.
Comment 9 Ian Delaney (RETIRED) gentoo-dev 2011-06-15 16:06:37 UTC
(In reply to comment #8)
> Of course the deps have to be fixed and I allready did that. Static checks
> would really help with finding the correct ones.

emerge --sync
to acquire new ebuild.

archtester Docs # emerge -1 =media-libs/libchamplain-0.8.3 -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] x11-libs/pango-1.28.4 [1.28.3-r1] USE="X introspection* test* -debug -doc" 0 kB
[ebuild     U ] dev-libs/atk-1.32.0-r1 [1.32.0] USE="introspection* nls -doc" 0 kB
[ebuild     U ] dev-libs/json-glib-0.12.4 [0.10.2] USE="introspection* -debug -doc" 439 kB
[ebuild     U ] x11-libs/gdk-pixbuf-2.22.1-r1 [2.22.1] USE="X introspection* jpeg test tiff -debug -doc -jpeg2k" 0 kB                                                                                       
[ebuild     U ] x11-libs/gtk+-2.24.4 [2.22.1-r1] USE="cups introspection* test* (-aqua) -debug -doc -examples -vim-syntax -xinerama (-jpeg%*) (-jpeg2k%) (-tiff%*)" 17,196 kB                               
[ebuild     U ] media-libs/clutter-1.6.14 [1.2.14] USE="introspection* -debug -doc (-gtk%*)" 5,092 kB
[ebuild  N    ] media-libs/libchamplain-0.8.3  USE="gtk introspection -debug -doc" 0 kB

Total: 7 packages (6 upgrades, 1 new), Size of downloads: 22,725 kB

Is this the "ave to be fixed and I allready did that"?

Say the word and I shall proceed to test.
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2011-06-15 16:12:18 UTC
I added the introspection USED DEP to gtk. I assume this is the result.
Comment 11 Ian Delaney (RETIRED) gentoo-dev 2011-06-15 17:27:40 UTC
yes, but you didn't give the word, so for now shall await.