Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 235334

Summary: media-gfx/imagemagick-6.4.2.9 fails to emerge with "compile problem"
Product: Gentoo Linux Reporter: Willard Dawson <willard.dawson>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Willard Dawson 2008-08-21 02:46:13 UTC
imagemagick-6.4.2.9 fails with libtool error similar to bug #225559 (X--tag=CC: command not found)

Reproducible: Always

Steps to Reproduce:
1.emerge --update world
2.
3.

Actual Results:  
make  all-am
make[1]: Entering directory `/var/tmp/portage/media-gfx/imagemagick-6.4.2.9/work/ImageMagick-6.4.2'
/bin/sh ./libtool --silent --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./config   -I/usr/include/freetype2 -I/usr/include/libxml2  -fopenmp -march=i686 -O2 -pipe -ggdb -Wall -W -pthread -MT coders/coders_art_la-art.lo -MD -MP -MF coders/.deps/coders_art_la-art.Tpo -c -o coders/coders_art_la-art.lo `test -f 'coders/art.c' || echo './'`coders/art.c
./libtool: line 868: X--tag=CC: command not found
./libtool: line 901: libtool: ignoring unknown tag : command not found
./libtool: line 868: X--mode=compile: command not found
./libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1179: Xi686-pc-linux-gnu-gcc: command not found
./libtool: line 1179: X-DHAVE_CONFIG_H: command not found
./libtool: line 1179: X-I.: command not found
./libtool: line 1179: X-I./config: No such file or directory
./libtool: line 1179: X-I/usr/include/freetype2: No such file or directory
./libtool: line 1179: X-I/usr/include/libxml2: No such file or directory
./libtool: line 1179: X-fopenmp: command not found
./libtool: line 1179: X-march=i686: command not found
./libtool: line 1179: X-O2: command not found
./libtool: line 1179: X-pipe: command not found
./libtool: line 1179: X-ggdb: command not found
./libtool: line 1179: X-Wall: command not found
./libtool: line 1179: X-W: command not found
./libtool: line 1179: X-pthread: command not found
./libtool: line 1179: X-MT: command not found
./libtool: line 1179: Xcoders/coders_art_la-art.lo: No such file or directory
./libtool: line 1179: X-MD: command not found
./libtool: line 1179: X-MP: command not found
./libtool: line 1179: X-MF: command not found
./libtool: line 1179: Xcoders/.deps/coders_art_la-art.Tpo: No such file or directory
./libtool: line 1179: X-c: command not found
./libtool: line 1232: Xcoders/coders_art_la-art.lo: No such file or directory
./libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found
make[1]: *** [coders/coders_art_la-art.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.4.2.9/work/ImageMagick-6.4.2'
make: *** [all] Error 2
 *
 * ERROR: media-gfx/imagemagick-6.4.2.9 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2847:  Called die
 * The specific snippet of code:
 *       emake || die "compile problem"
 *  The die message:
 *   compile problem
 *



Portage 2.2_rc8 (default-linux/x86/2007.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r6-i686-Intel-R-_Pentium-R-_M_processor_2.00GHz-with-glibc2.0
Timestamp of tree: Thu, 21 Aug 2008 01:36:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
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.1-r1
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.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe -ggdb"
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 /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=i686 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS=""
MAKEOPTS=""
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa apache2 apm arts ati audiofile avahi avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo caps cardbus cdr cli cracklib crypt ctype cups dba dbtool dbus diskio djvu dri dvd dvdr dvdread eds emboss encode esd ethereal evo exif expat fam fastbuild ffmpeg fftw fglrx firefox foomaticdb force-cgi-redirect fortran ftp gamin gd gdbm gif glib glitz glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib ipv6 isdnlog ithreads jack java jpeg kde kerberos kqemu lcms ldap libclamav libg++ libwww lirc live lm_sensors lua mad madwifi matroska mdnsresponder-compat memlimit mhash midi mikmod mmx mmxext mng mono motif mozilla mp3 mpeg mudflap mysql ncurses netjack networking nforce2 nls nptl nptlonly nvidia ocaml ogg oggvorbis opengl openmp oss pam pango pch pcre pdf pdflib pear perl php pmu png portaudio posix pppd pulseaudio python qt qt3 qt3support qt4 qtmt quicktime readline real reflection ruby samba sasl sdl session simplexml slang sndfile snmp soap sockets spell spl sqlite sse sse2 ssl svg tcl tcltk tcpd theora threads threadsafe tiff tk tokenizer truetype truetype-fonts type1-fonts udev unicode utempter vorbis wifi win32codecs x86 xanim xinerama xml xmlrpc xorg xscreensaver xsl xulrunner 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon ati fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2008-08-21 10:19:55 UTC
Full build log, if you don't mind.
Comment 2 Rafał Mużyło 2008-08-21 13:06:42 UTC
I did some more reading. Don't bother with the build log, cause, well,...

What I'm about to say will be very rude but I really can't help it.
This simply must be done.
First of all, the reporter:
you were the one who broke your system,
you are in ~x86, so you should already have libtool 2 installed.
To the author of the recent ebuild revision:
you broke the ebuild; no, I'm not talking about the fact,
that ImageMagick uses libtool 2 specific macros, so eautoreconf
breaks it on the systems that have only 1.5 installed,
I'm talking about the fact that you first sed the configure script
and then run eautoreconf, which regenerates that script.

So both the bug AND the ebuild are invalid (though the ebuild problem
is quite minor).
Comment 3 Willard Dawson 2008-08-21 14:07:21 UTC
(In reply to comment #2)
> I did some more reading. Don't bother with the build log, cause, well,...
> 
> What I'm about to say will be very rude but I really can't help it.

I don't take your comments as rude.  Quite the contrary - they're tame in comparison to some I've seen elsewhere in Gentoo-land.

> you are in ~x86, so you should already have libtool 2 installed.

I forget why... lost long ago in the dim recesses of history... that I had libtool-2.2.4 masked.  Unmasking it resolved the issue, of course.  Thanks for the pointer.

> So both the bug AND the ebuild are invalid (though the ebuild problem
> is quite minor).

If libtool 2 is required, shouldn't the ebuild puke on that rather than moving on with libtool <2 ?
Comment 4 Fabian Groffen gentoo-dev 2008-08-21 15:24:08 UTC

*** This bug has been marked as a duplicate of bug 235131 ***