Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437584 - =gnome-base/librsvg-2.36.3 (and latest stable) fails to automake (Makefile.am:217: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL)
Summary: =gnome-base/librsvg-2.36.3 (and latest stable) fails to automake (Makefile.am...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-08 06:18 UTC by Sergei Trofimovich (RETIRED)
Modified: 2012-10-20 14:08 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2012-10-08 06:18:30 UTC
* Applying librsvg-2.36.0-rsvg-view-automagic.patch ...                                                                [ ok ]
 * Running eautoreconf in '/tmp/portage/gnome-base/librsvg-2.36.3/work/librsvg-2.36.3' ...
 * Running gtkdocize --copy ...                                                                                         [ ok ]
 * Running libtoolize --install --copy --force --automake ...                                                           [ ok ]
 * Running aclocal ...                                                                                                  [ ok ]
 * Running autoconf ...                                                                                                 [ ok ]
 * Running autoheader ...                                                                                               [ ok ]
 * Running automake --add-missing --copy ...                                                                            [ !! ]

 * Failed Running automake !

 * 
 * Include in your bugreport the contents of:
 * 
 *   /tmp/portage/gnome-base/librsvg-2.36.3/temp/automake.out

cat /tmp/portage/gnome-base/librsvg-2.36.3/temp/automake.out
***** automake *****
***** PWD: /tmp/portage/gnome-base/librsvg-2.36.3/work/librsvg-2.36.3
***** automake --add-missing --copy

Makefile.am:217: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
Makefile.am:255: ENABLE_VAPIGEN does not appear in AM_CONDITIONAL

[ebuild     U  ] gnome-base/librsvg-2.36.1::gentoo [2.34.2::__unknown__] USE="gtk -doc -introspection* -tools (-gtk3%)" 0 kB
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-14 20:57:24 UTC
I cannot reproduce the problem :(

Please provide the output of "emerge --info".

The error output you provided would happen if you did not have dev-libs/gobject-introspection-common and dev-libs/vala-common installed. But that should be impossible (since gobject-introspection-common and vala-common are in librsvg-2.36.3's DEPEND) unless you are doing something weird with the package manager, such as skipping all dependency checks and manually calling "/usr/bin/ebuild".

So please verify that you do have dev-libs/gobject-introspection-common and dev-libs/vala-common installed. And check that you didn't somehow accidentally delete vapigen.m4 and introspection.m4 in /usr/share/aclocal.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2012-10-15 06:33:50 UTC
(In reply to comment #1)
> I cannot reproduce the problem :(
> 
> Please provide the output of "emerge --info".
> 
> The error output you provided would happen if you did not have
> dev-libs/gobject-introspection-common and dev-libs/vala-common installed.
> But that should be impossible (since gobject-introspection-common and
> vala-common are in librsvg-2.36.3's DEPEND) unless you are doing something
> weird with the package manager, such as skipping all dependency checks and
> manually calling "/usr/bin/ebuild".
> 
> So please verify that you do have dev-libs/gobject-introspection-common and
> dev-libs/vala-common installed. And check that you didn't somehow
> accidentally delete vapigen.m4 and introspection.m4 in /usr/share/aclocal.

I don't have installed vala-common. I have set USE=-introspection recently globally.

=dev-libs/gobject-introspection-common-1.32.1 is present.

I did switch from paludis recently, but did not break
anything seriously (that ::__unknown__ repo comes from paludis-installed package and is not harmful).

I'm trying to build with USE=-introspection (it was enabled before for previous version).

emerge --info:

Portage 2.2.0_alpha135_p2 (default/linux/amd64/10.0, gcc-4.7.2, glibc-2.15-r3, 3.6.0-09730-ga44ab14 x86_64)
=================================================================
System uname: Linux-3.6.0-09730-ga44ab14-x86_64-Intel-R-_Core-TM-_i7-2700K_CPU_@_3.50GHz-with-gentoo-2.1
Timestamp of tree: Mon, 15 Oct 2012 06:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37::<unknown repository>
dev-lang/python:          2.7.3-r2::<unknown repository>, 3.1.5::<unknown repository>, 3.2.3::<unknown repository>
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5::<unknown repository>
sys-apps/sandbox:         2.5::<unknown repository>
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.5-r1::<unknown repository>, 1.6.3-r1::<unknown repository>, 1.7.9-r2::<unknown repository>, 1.8.5-r4::<unknown repository>, 1.9.6-r3::<unknown repository>, 1.10.3, 1.11.6::<unknown repository>
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.5.4::<unknown repository>, 4.6.3::<unknown repository>, 4.7.2
sys-devel/gcc-config:     1.7.3::<unknown repository>
sys-devel/libtool:        2.4-r1::<unknown repository>
sys-devel/make:           3.82-r3::<unknown repository>
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo local-cross-overlay gentoo-haskell slyfox-gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -mtune=corei7-avx -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx -msse4.2 -msse4.1 --param=l1-cache-size=32 --param=l1-cache-line-size=64 --param=l2-cache-size=8192 -O2 -pipe -fdiagnostics-show-option"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7-avx -mtune=corei7-avx -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx -msse4.2 -msse4.1 --param=l1-cache-size=32 --param=l1-cache-line-size=64 --param=l2-cache-size=8192 -O2 -pipe -fdiagnostics-show-option"
DISTDIR="/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="ru ru_RU en es en_GB"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/gentoo/portage"
PORTDIR_OVERLAY="/home/slyfox/portage/cross /home/slyfox/portage/gentoo-haskell /home/slyfox/portage/slyfox-gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib accessibility alsa amd64 amr ao apng asf bash-completion berkdb bogofilter btrfs bzip2 cairo chm cli consolekit cracklib crypt curl cxx dbus dirac djvu dri dvd exif faac fat ffmpeg flac fontconfig fortran ftp gdbm gif gpm gstreamer gudev http hwdb iconv ipv6 jbig jpeg jpeg2k jpg kvm lame lcms libkms libnotify libsamplerate mac mad midi mikmod mms mmx mng mod modplug modules mp3 mp4 mpeg mudflap multilib musepack ncurses nls nptl ogg openal opengl openmp openssl orc pam pcre pdf png pppd pulseaudio readline schroedinger sdl session sftp smp smpeg sndfile speex spell sse sse2 ssl startup-notification svg taglib tcpd theora tiff timidity truetype udev unicode videos vorbis vpx wavpack wma x264 xa xcb xft xinetd xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU en es en_GB" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="*" QEMU_USER_TARGETS="*" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-15 08:56:03 UTC
(In reply to comment #2)

1. The librsvg-2.36.3 ebuild has vala-common in DEPEND. If you are emerging librsvg-2.36.3 and vala-common is not being pulled in, then either
(a) the ebuild that is being emerged is not the one currently in the tree, but a version with broken dependencies that existed for a few hours on September 10 (maybe you saved it in a local overlay, or had installed it on September 10 and are now reinstalling with --dynamic-deps=n?); or
(b) there is a bug in your portage configuration or in portage itself.

2. However, you do have gobject-introspection-common installed. So even if the "ENABLE_VAPIGEN" message could be explained by a portage bug/misconfiguration, the "HAVE_INTROSPECTION does not appear in AM_CONDITIONAL" error simply should not happen. Which suggests three possibilities:
(a) something deleted or corrupted /usr/share/aclocal/introspection.m4. Check that you have it. Re-install gobject-introspection-common just in case; or
(b) macros from /usr/share/aclocal are not being loaded by autoconf/automake (maybe some configuration problem related to cross-compiling - assuming that's what local-cross-overlay means?); or
(c) automake bug. See if updating to automake-1.12.4 fixes the problem.
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2012-10-20 09:20:08 UTC
Doing nothing fancy here.
cross overlay contains only toolchains.

> (a) something deleted or corrupted /usr/share/aclocal/introspection.m4. Check > that you have it. Re-install gobject-introspection-common just in case; or

Ah sorry. I got the problem on stable 2.36.1 and checked depend
only with ebuld command.

I have USE=-introspection globally and did not have
gobject-introspection-common installed. Who should pull that in?
Installing manually helped, but:

$ equery b gobject-introspection-common
 * Searching for gobject-introspection-common ... 
$ 

Nothing requires it. Uninstalling it leads to the same problem.

Thus:

1. stable fails to merge due to error above.

2. ~arch pulls-in vala-common and fails the same way:

Trying stock emerge:

$ sudo ACCEPT_KEYWORDS=~amd64 emerge -av1 librsvg

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

Calculating dependencies... done!
[ebuild     U  ] gnome-base/librsvg-2.36.3:2::gentoo [2.34.2:2::__unknown__] USE="gtk -doc -introspection* -tools -vala% (-gtk3%)" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

...

 * Running automake --add-missing --copy ...
 [ !! ]

 * Failed Running automake !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /subvolumes/var_tmp/portage/gnome-base/librsvg-2.36.3/temp/automake.out

...

$ cat /subvolumes/var_tmp/portage/gnome-base/librsvg-2.36.3/temp/automake.out
***** automake *****
***** PWD: /subvolumes/var_tmp/portage/gnome-base/librsvg-2.36.3/work/librsvg-2.36.3
***** automake --add-missing --copy

Makefile.am:217: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
Comment 5 Pacho Ramos gentoo-dev 2012-10-20 09:37:38 UTC
dev-libs/gobject-introspection-common is clearly listed in DEPEND and, then, portage should pull it in before emerging librsvg

Please attach emerge -1pv --debug librsvg, will CC dev-portage team to help to analyze that info
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-20 09:45:59 UTC
(In reply to comment #4)
> I have USE=-introspection globally and did not have
> gobject-introspection-common installed. Who should pull that in?

librsvg pulls it in! Both 2.36.1 and 2.36.3 unconditionally have gobject-introspection-common in DEPEND:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/gnome-base/librsvg/librsvg-2.36.3.ebuild?revision=1.4&view=markup
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/gnome-base/librsvg/librsvg-2.36.1.ebuild?revision=1.11&view=markup

Please clarify: if you run "emerge --oneshot '>=librsvg-2.36.1'", is gobject-introspection-common being pulled in as a dependency? If not, then you found a bug in portage, so please reassign this to portage maintainers.

> $ equery b gobject-introspection-common
>  * Searching for gobject-introspection-common ... 

"equery b" searches for packages that own the specified file. Since there is no file called "gobject-introspection-common", of course you get no output. Probably you meant "equery d" or "equery f"?
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2012-10-20 14:08:39 UTC
> librsvg pulls it in! Both 2.36.1 and 2.36.3 unconditionally have
> gobject-introspection-common in DEPEND:
> 
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/gnome-base/librsvg/
> librsvg-2.36.3.ebuild?revision=1.4&view=markup
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/gnome-base/librsvg/
> librsvg-2.36.1.ebuild?revision=1.11&view=markup
> 
> Please clarify: if you run "emerge --oneshot '>=librsvg-2.36.1'", is
> gobject-introspection-common being pulled in as a dependency? If not, then
> you found a bug in portage, so please reassign this to portage maintainers.
> 
> > $ equery b gobject-introspection-common
> >  * Searching for gobject-introspection-common ... 
> 
> "equery b" searches for packages that own the specified file. Since there is
> no file called "gobject-introspection-common", of course you get no output.
> Probably you meant "equery d" or "equery f"?

Ugh, sorry! Should have more sleep. Yeah, everything works now:

> Calculating dependencies... done!
> [ebuild  N     ] dev-libs/gobject-introspection-common-1.32.1  0 kB
> [ebuild     UD ] gnome-base/librsvg-2.36.1:2 [2.36.3:2] USE="gtk -doc -introspection -tools (-vala%)" 0 kB

and merged perfectly.

Running portage-9999, thus i might have broken state (but likley even worse:
i did use --keep-going upgrade and looked at the wrong logs).

My apologies for the confusion and distraction!