Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468208 - media-libs/babl-0.1.(8|10) fails to compile with USE="introspection vala"
Summary: media-libs/babl-0.1.(8|10) fails to compile with USE="introspection vala"
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
: 467970 475666 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-01 22:06 UTC by Mike Auty (RETIRED)
Modified: 2017-01-02 12:30 UTC (History)
13 users (show)

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


Attachments
Babl-0.1.10 failing with USE="introspection vala" build.log (build.log,18.17 KB, text/plain)
2013-05-01 22:06 UTC, Mike Auty (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2013-05-01 22:06:16 UTC
Created attachment 347082 [details]
Babl-0.1.10 failing with USE="introspection vala" build.log

As noted in bug 413663 comment 19 (and seen in bug 467970 in a different overlay), babl fails to compile with both introspection and vala set at the same time as USE flags.  I've attached the build.log, but I'm all out of ideas on this one.  Let me know if you need any more information or want me to run any tests though...
Comment 1 Mike Auty (RETIRED) gentoo-dev 2013-05-01 22:08:23 UTC
*** Bug 467970 has been marked as a duplicate of this bug. ***
Comment 2 Tom Li 2013-05-02 13:06:13 UTC
I can CONFIRM it on my Funtoo box. Dropbox depends on babl[introspection], I enabled [vala], then build fail.
Comment 3 Rafał Mużyło 2013-05-02 15:44:47 UTC
Basically, the problem is that if '--namespace Babl' is passed to g-ir-scaner, 'Babl *' won't have a type. It looks that other than shipping a static gir, the upstream is out of ideas.
Comment 4 Gerard van Vuuren 2013-05-03 11:46:50 UTC
Same problem with media-libs/gegl.
Gerard
Comment 5 Alexander 2013-05-15 11:39:21 UTC
same for me
Comment 6 Gary E. Miller 2013-05-23 17:58:47 UTC
I can build it if I have:

USE="-introspection -vala"
Comment 7 Pacho Ramos gentoo-dev 2013-05-24 18:02:42 UTC
Is there anything requiring babl[vala]? If not, I would simply disable vala support until the upstream bug is fixed (like opensuse and fedora are doing)
Comment 8 Charles Svitlik 2013-05-31 13:52:22 UTC
Just USE=-vala isn't enough for me. I have to USE="-introspection -vala" as per Comment #6 to get a successful build.
Comment 9 Juergen Rose 2013-06-12 11:04:36 UTC
If I remove the introspection USE flag in /etc/portage/packages.use from babl, the next 'emerge world' fails with:

root@lynx2:/root(41)# emerge -pt --update --newuse --deep --with-bdeps=y @world

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

Calculating dependencies... done!
[ebuild   R    ] app-misc/lcd4linux-0.10.1_rc2-r2  LCD_DEVICES="X* lcd2usb* lcdlinux* png* usblcd*" 
[nomerge       ] media-gfx/gimp-2.8.4 
[ebuild   R    ]  media-libs/gegl-0.2.0-r1  USE="introspection* (-exif%*) (-graphviz%*) (-lua%*) (-v4l%*)" 
[ebuild   R    ]   media-libs/babl-0.1.10  USE="introspection*" 

WARNING: One or more updates have been skipped due to a dependency conflict:

dev-lang/mono:0

  (dev-lang/mono-3.0.7::gentoo, ebuild scheduled for merge) conflicts with
    =dev-lang/mono-2.10* required by (dev-util/mono-tools-2.10::gentoo, installed)
  (dev-lang/mono-3.0.7::gentoo, ebuild scheduled for merge) conflicts with
    =dev-lang/mono-2.10* required by (dev-dotnet/xsp-2.10.2-r2::gentoo, installed)


The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by media-libs/gegl-0.2.0-r1
# required by media-gfx/gimp-2.8.4
# required by @selected
# required by @world (argument)
=media-libs/babl-0.1.10 introspection

If I remove the introspection USE flag from babl and gegl, 'emerge -uvDN world' does not complain any more.
Comment 10 Pacho Ramos gentoo-dev 2013-06-25 18:52:42 UTC
(In reply to Juergen Rose from comment #9)
> If I remove the introspection USE flag from babl and gegl, 'emerge -uvDN
> world' does not complain any more.

We need to drop introspection and vala from babl and gegl then, no?
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2013-06-27 05:43:06 UTC
Upstream doesn't seem to care one bit about GI (at least, today). We might as well disable it, as nothing can't depend on it ATM anyway.
Comment 12 Rafał Mużyło 2013-07-04 14:58:18 UTC
*** Bug 475666 has been marked as a duplicate of this bug. ***
Comment 13 Pacho Ramos gentoo-dev 2013-07-04 18:20:48 UTC
+*babl-0.1.10-r1 (04 Jul 2013)
+
+  04 Jul 2013; Pacho Ramos <pacho@gentoo.org> +babl-0.1.10-r1.ebuild:
+  vala and introspection support is broken, bug #468208
+

+*gegl-0.2.0-r2 (04 Jul 2013)
+
+  04 Jul 2013; Pacho Ramos <pacho@gentoo.org> +gegl-0.2.0-r2.ebuild:
+  vala and introspection support is broken, bug #468208
+
Comment 14 Elvis Pranskevichus 2014-03-13 15:55:41 UTC
Both babl and gegl compile fine for me with +introspection -vala.  Only adding +vala breaks the build.

Removal of introspection support essentially kills support for language bindings.  Even though there are no direct dependencies in the tree, it is a critical feature for some.  Can we revisit this issue?
Comment 15 Mike Auty (RETIRED) gentoo-dev 2017-01-02 12:26:15 UTC
It seems this is no longer pertinent since neither ebuild is in the tree, but this never got closed.  Closing now.