Bug 213831 - media-libs/fontconfig-2.5.0-r1 fails to build w/ libtool-2.2
Bug#: 213831 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: fonts@gentoo.org Reported By: alessandro.guido+bugzilla@gmail.com
Component: Ebuilds
URL:  https://bugs.freedesktop.org/show_bug.cgi?id=15692
Summary: media-libs/fontconfig-2.5.0-r1 fails to build w/ libtool-2.2
Keywords:  
Status Whiteboard: 
Opened: 2008-03-18 14:17 0000
Description:   Opened: 2008-03-18 14:17 0000
* ERROR: media-libs/fontconfig-2.5.0-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2572:  Called eautoreconf
 *             environment, line  858:  Called eautoconf
 *             environment, line  801:  Called autotools_run_tool 'src_unpack'
 *             environment, line  335:  Called die
 * The specific snippet of code:
sed: impossibile leggere
/var/tmp/portage/media-libs/fontconfig-2.5.0-r1/temp/environment: No such file
or directory
 *  The die message:
 *   Failed Running autoconf !





/var/tmp/portage/media-libs/fontconfig-2.5.0-r1/temp/autoconf-31635.out:
***** autoconf *****

configure.in:48: error: possibly undefined macro: LT_AGE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.




emerge --info:
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.3.0, glibc-2.7-r1,
2.6.25-rc6-00014-gbde4f8f i686)
=================================================================
System uname: 2.6.25-rc6-00014-gbde4f8f i686 Intel(R) Pentium(R) M processor
1.86GHz
Timestamp of tree: Tue, 18 Mar 2008 07:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 2.0.0
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=pentium-m -fomit-frame-pointer
-fvisibility-inlines-hidden"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="distlocks metadata-transfer nodoc noinfo parallel-fetch sfperms
strict tmpfs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="--quiet -j2"
PKGDIR="/var/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/portage/local/layman/openrc
/var/portage/local/my-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa bzip2 cdr cli dbus dvd dvdr dvdread emboss evo fam firefox
fortran gif hal iconv isdnlog jpeg kde kdehiddenvisibility mad midi mikmod mmx
mp3 mpeg mudflap nls nptl nptlonly ogg opengl pcre pdf png pppd qt3support
quicktime reflection session spell spl sse sse2 ssl svg threads unicode vorbis
win32codecs x86 xcomposite xinerama xml xorg xscreensaver xv zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1
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 mulaw multi null plug rate route
share shm softvol" APACHE2_MODULES="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 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"
CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always

Steps to Reproduce:

------- Comment #1 From Rafał Mużyło 2008-03-18 23:05:25 0000 -------
Now, after a bit more reading and some testing, I'm almost sure were does this
problem come from.
As of version 2.2, one of the line of libtool init macro is:
m4_pattern_forbid([^_?LT_[A-Z_]+$])
This means that i.e. LT_AGE is not allowed as a variable name, unless it's
either
explicitly  m4_pattern_allow'ed or is AC_SUBST'ed (which does, among others
m4_pattern_allow(^$1$) ).

------- Comment #2 From Ryan Hill 2008-04-29 03:17:12 0000 -------
i'd like to wait and see how upstream fixes this.

------- Comment #3 From luis 2008-05-01 10:41:10 0000 -------
I had the same error on a fresh install

Messages for package media-libs/fontconfig-2.5.0-r1:

 * 
 * ERROR: media-libs/fontconfig-2.5.0-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2556:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/media-libs/fontconfig-2.5.0-r1/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/media-libs/fontconfig-2.5.0-r1/temp/environment'.
 * 

------- Comment #4 From Peter Volkov 2008-05-04 13:29:06 0000 -------
Thank you for report Alessandro! I've backported patch from upstream[1], this
bug is fxed in portage.

[1]
http://gitweb.freedesktop.org/?p=fontconfig;a=commitdiff_plain;h=19d124dc4f9a68e1c9ddce58bf79a5e11d2ccbfd;hp=0028f72bc818ca3bc343383fb644765ae12ce769