Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391173 - gnome-base/librsvg-2.34.2 fails automake
Summary: gnome-base/librsvg-2.34.2 fails automake
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-21 00:26 UTC by Duncan
Modified: 2011-11-21 22:29 UTC (History)
0 users

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


Attachments
emerge --info librsvg (librsvg.info,6.76 KB, text/plain)
2011-11-21 00:26 UTC, Duncan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan 2011-11-21 00:26:42 UTC
Created attachment 293247 [details]
emerge --info librsvg

Log:

 * Package:    gnome-base/librsvg-2.34.2
 * Repository: gentoo
 * Maintainer: gnome@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   ccache sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking librsvg-2.34.2.tar.xz to /tmp/portage/gnome-base/librsvg-2.34.2/work
>>> Source unpacked in /tmp/portage/gnome-base/librsvg-2.34.2/work
>>> Preparing source in /tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2 ...
 * Applying librsvg-2.34.0-automagic-gtk.patch ...
 [ ok ]
 * Running eautoreconf in '/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2' ...
 * Running aclocal ...
 [ ok ]
 * Running libtoolize --copy --force --install --automake ...
 [ ok ]
 * Running aclocal ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy ...
 [ !! ]

 * Failed Running automake !

emerge -pqv librsvg:

[ebuild     U ] gnome-base/librsvg-2.34.2 [2.34.1-r1] USE="-doc -gtk -gtk3 -introspection% -tools" 

emerge --info librsvg attached

automake.out to be attached
Comment 1 Duncan 2011-11-21 00:33:49 UTC
automake.out is too short to bother attaching, here it is inline:

***** automake *****
***** PWD: /tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2
***** automake --add-missing --copy

Makefile.am:254: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL


Looks like the new introspection USE flag needs some work for the -introspection case.
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-11-21 01:03:24 UTC
Do you have gobject-introspection installed?
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-11-21 01:14:40 UTC
Fixed. The issue was that gobject-introspection needs to be present at compile time even when building librsvg with USE=-introspection.

>  21 Nov 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
>  librsvg-2.34.2.ebuild:
>  Add gobject-introspection to build-time dependenciess, needed for eatoreconf
>  (bug #391173, thanks to Duncan <1i5t5.duncan@cox.net> for reporting).
Comment 4 Duncan 2011-11-21 01:25:08 UTC
(In reply to comment #2)
> Do you have gobject-introspection installed?

equery l gobject-introspection 
 * Searching for gobject-introspection ...
!!! No installed packages matching 'gobject-introspection'


FWIW, I'm a kde user so only have some small bits of gnome installed as required by dependency.  However, I do have USE=svg turned on, and several installed apps depend on gnome-base/librsvg for their svg support, thus this bug, despite it feeling rather weird for me to be filing a gnome-base bug =:^P :

equery d librsvg
 * These packages depend on librsvg:
media-gfx/gimp-2.6.11-r6 (svg ? >=gnome-base/librsvg-2.8.0:2)
media-gfx/imagemagick-6.7.3.0 (svg ? >=gnome-base/librsvg-2.9.0)
media-libs/gegl-0.1.6 (svg ? gnome-base/librsvg:2)
media-video/vlc-1.1.12 (svg ? >=gnome-base/librsvg-2.9.0)

But I haven't wanted gnome introspection as I don't have nor want gnome installed and have no other use for it, so have USE=-introspection set, and nothing depends on gobject-introspection without that (according to equery, ten-ish would with it), so it's not installed.
Comment 5 Duncan 2011-11-21 01:30:26 UTC
(In reply to comment #3)
> Fixed. The issue was that gobject-introspection needs to be present at compile
> time even when building librsvg with USE=-introspection.

Looks like I have a use for it now. =:^\  Fortunately, it doesn't appear to drag any other dependencies in with it. =:^)

Thanks (and the changelog-cite/thanks is appreciated, too)! =:^)

Duncan
Comment 6 Pacho Ramos gentoo-dev 2011-11-21 09:37:31 UTC
Bleh, sorry for the inconvenience, I have gobject-introspection always installed on my system and is a bit hard to catch this (common) problem :(

The fix is not completely ok, at least in other packages having this problem (missing .m4 file in sources dir), we simply provide a introspection.m4 file (like done in dconf, anjuta...). I also need to ask for upstream to provide introspection.m4 themselves, maybe they won't fix it (like anjuta upstream), but maybe we are more lucky with librsvg upstream ^^
Comment 7 Pacho Ramos gentoo-dev 2011-11-21 22:29:09 UTC
+  21 Nov 2011; Pacho Ramos <pacho@gentoo.org> librsvg-2.34.2.ebuild:
+  Only pull in introspection.m4, not full gobject-introspection.
+