The ./libtool script prints out lots of errors because it tries to run every parameter (prefixed with X) as a command (e.g. trying X-I../include as a command). The problem is that for parsing options, ./libtool uses $echo, but the only thing defined is $ECHO (not the case difference). I tried compiling straight from the tarball with the same configure arguments as the ebuild and it worked fine. Then I tried running `libtoolize` before configure, and it failed. Unfortunately, I don't know enough about libtool to say why. Reproducible: Always Steps to Reproduce: 1. emerge =media-sound/fluidsynth-1.0.9 2. Watch it fail. Actual Results: The build fails Expected Results: Completed compile. # emerge --info Portage 2.2_rc31 (default/linux/amd64/2008.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-glibc2.2.5 Timestamp of tree: Mon, 20 Apr 2009 00:45:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.4-r2 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -msse3 -O2 -pipe -ggdb" CHOST="x86_64-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo/" LANG="en_CA.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3 -l 6.0" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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/pro-audio /usr/portage/local/layman/armagetron /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 avahi berkdb bluetooth branding bzip2 cairo caps cdr cjk cli cracklib crypt cups dbus dri dssi dv dvd dvdr dvdread eds emboss encode evo exif fam fbcon ffmpeg flac fontconfig fortran gd gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv ieee1394 immqt-bc ipv6 isdnlog jack jpeg kde kdehiddenvisibility kerberos kpathsea lash latex lcms ldap libnotify lirc lm_sensors mad midi mikmod mmx mmxext mono mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg openal openexr opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection samba sdl session slang sndfile speex spell spl sse sse2 sse3 ssl startup-notification svg sysfs tcpd tetex theora threads tiff truetype unicode usb vorbis xcb xinerama xml xorg xulrunner xv zeroconf zlib" ALSA_CARDS="intel8x0" 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="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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 188932 [details] fluidsynth build log
Hey, you can try to compile this with libtool-2.2.x
Created attachment 189000 [details, diff] fluidsynth-1.0.9.ebuild.diff How about this possible fix?
+ 20 Apr 2009; Peter Alfredsen <loki_val@gentoo.org> fluidsynth-1.0.9: + Fix build with libtool-1.5*, bug 266823, thanks to Polynomial-C for the + patch. +