Bug 224335 - dev-dotnet/libgdiplus-1.9 compilation fails on aclocal
Bug#: 224335 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: dotnet@gentoo.org Reported By: rufus-azrael@numericable.fr
Component: Applications
URL: 
Summary: dev-dotnet/libgdiplus-1.9 compilation fails on aclocal
Keywords:  
Status Whiteboard: 
Opened: 2008-05-31 14:27 0000
Description:   Opened: 2008-05-31 14:27 0000
When compiling libgdiplus-1.9 this error occurs when running aclocal :

>>> Unpacking libgdiplus-1.9.tar.bz2 to /var/tmp/paludis/dev-dotnet-libgdiplus-1.9/work
tar jxf /usr/portage/distfiles/libgdiplus-1.9.tar.bz2 --no-same-owner
 * Applying libgdiplus-1.2.5-imglibs.patch ...                           [ ok ]
 * Running eautoreconf in
'/var/tmp/paludis/dev-dotnet-libgdiplus-1.9/work/libgdiplus-1.9' ...
 * Running aclocal ...                                                   [ !! ]

 * Failed Running aclocal !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/paludis/dev-dotnet-libgdiplus-1.9/temp//aclocal-10868.out


!!! ERROR in dev-dotnet/libgdiplus-1.9:
!!! In autotools_run_tool at line 763
!!! Failed Running aclocal !

Reproducible: Always

------- Comment #1 From BedOS_Gui 2008-05-31 14:28:14 0000 -------
Created an attachment (id=154957) [details]
aclocal.out

------- Comment #2 From BedOS_Gui 2008-05-31 14:29:47 0000 -------
Created an attachment (id=154959) [details]
emerge --info

------- Comment #3 From Martin 2008-05-31 15:31:21 0000 -------
(In reply to comment #1)
> Created an attachment (id=154957) [edit] [details]
> aclocal.out
> 

***** aclocal *****
***** aclocal

configure.in:69: error: AC_SUBST: `FONTCONFIG-CONFIG' is not a valid shell
variable name
../../lib/autoconf/programs.m4:178: AC_PATH_PROG is expanded from...
configure.in:69: the top level
autom4te-2.62: /usr/bin/m4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1

------- Comment #4 From Martin 2008-05-31 15:33:44 0000 -------
(In reply to comment #1)
> Created an attachment (id=154957) [edit] [details]
> aclocal.out
> 

***** aclocal *****
***** aclocal

configure.in:69: error: AC_SUBST: `FONTCONFIG-CONFIG' is not a valid shell
variable name
../../lib/autoconf/programs.m4:178: AC_PATH_PROG is expanded from...
configure.in:69: the top level
autom4te-2.62: /usr/bin/m4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1

------- Comment #5 From Gilberto Ficara 2008-05-31 16:40:56 0000 -------
I have the same one, I attach my emerge info.

------- Comment #6 From Gilberto Ficara 2008-05-31 16:42:46 0000 -------
Created an attachment (id=154971) [details]
emerge --info

------- Comment #7 From Wilbur Pan 2008-05-31 17:07:20 0000 -------
Same error with same output here, adding myself to cc: list.

------- Comment #8 From Dennis Menge 2008-05-31 17:19:12 0000 -------
Same Error here

dennis@DarkSun ~ % emerge --info
Portage 2.1.5.2 (default/linux/amd64/2008.0/desktop, gcc-4.3.0, glibc-2.7-r2,
2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3700+
Timestamp of tree: Sat, 31 May 2008 16:06:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -ftree-vectorize -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
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/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -ftree-vectorize -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/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="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/zugaina
/usr/portage/local/layman/desktop-effects
/usr/portage/local/layman/java-overlay /usr/portage/local/layman/kde
/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X accessibility acl acpi alsa amd64 beagle berkdb bitmap-fonts
bluetooth branding bzip2 cairo cdr cli cracklib crypt css cups dbus dri dvd
dvdr dvdread emboss encode esd fam fat ffmpeg firefox fontconfig fuse gdbm gif
gimp glibc-omitfp gmail gnome gpm gstreamer gtk hal iconv inotify ipod isdnlog
jabber java jpeg jpeg2k kdeenablefinal kdehiddenvisibility lame libnotify mad
mdnsresponder-compat midi mikmod mmx mono mozilla mp140 mp3 mpeg msn mudflap
multilib nautilus ncurses nls nptl nptlonly nsplugin ntfs ogg opengl openmp pam
pcre pdf perl png pop ppds pppd python qt3support quicktime readline reflection
sdl session spell spl sse sse2 ssl startup-notification svg tcpd tiff truetype
truetype-fonts type1 type1-fonts unicode usb v4l vcd vorbis xcomposite xine xml
xorg 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 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"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vga nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #9 From Peter Alfredsen 2008-05-31 22:42:32 0000 -------
Created an attachment (id=155023) [details]
libgdiplus-1.9--1.9-r1.ebuild.patch

This fixes the problem.
First fixup the *-CONFIG errors.
Then use system Cairo instead of building it in tree. The one in this tarball
has serious libtool issues.

Emerges for me on ~x86. Please test.

------- Comment #10 From Peter Alfredsen 2008-05-31 22:52:07 0000 -------
Created an attachment (id=155025) [details]
libgdiplus-1.9--1.9-r1.ebuild.patch

Hrmm... Add dependency on cairo now that we're using it.

------- Comment #11 From Jurek Bartuszek 2008-06-01 01:47:36 0000 -------
Fixed in CVS, thanks!