error while emerge media-gfx/imagemagick-6.5.8.8' Reproducible: Always Steps to Reproduce: 1.emerge kde-meta 2. 3. emerge --info Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r3 i686) ================================================================= System uname: Linux-2.6.32-gentoo-r3-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-1.12.13 Timestamp of tree: Fri, 16 Apr 2010 01:45:02 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1" LINGUAS="ru" MAKEOPTS="-j2" 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" SYNC="rsync://gentoo.kuzbass.net/gentoo-portage" USE="X a52 aac acl acpi alsa apache2 arts berkdb bluetooth branding bzip2 cairo cddb cdr clamav cli consolekit cracklib crypt cups cxx dbus directfb djvu dri dts dv dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fortran ftp fuse gdbm gif glib glitz gpm hal hddtemp iconv icq ieee1394 imagemagick imap irc javascript jpeg jpeg2k kde kipi lame lcms libnotify libwww mad matroska mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap musepack mysql ncurses nls nocd nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt qt3support qt4 quicktime raw rdesktop readline reflection rss samba sdl session slang spl sse sse2 ssl startup-notification svg svga sysfs tcpd threads tiff truetype unicode usb userlocales vorbis wavpack win32codecs x264 x86 xcb xml xorg xulrunner xv xvid 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY error in build.log cd PerlMagick && /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Warning: -L../magick/.libs changed to -L/var/tmp/portage/media-gfx/imagemagick-6.5.8.8/work/ImageMagick-6.5.8-8/PerlMagick/../magick/.libs Writing Makefile for Image::Magick test -z "/usr/lib/ImageMagick-6.5.8/modules-Q16/coders" || /bin/mkdir -p "/var/tmp/portage/media-gfx/imagemagick-6.5.8.8/image//usr/lib/ImageMagick-6.5.8/modules-Q16/coders" /bin/sh ./libtool --mode=install /usr/bin/install -c coders/art.la coders/avs.la coders/bmp.la coders/braille.la coders/cals.la coders/caption.la coders/cin.la coders/cip.la coders/clip.la coders/cmyk.la coders/cut.la coders/dcm.la coders/dds.la coders/dib.la coders/dng.la coders/dot.la coders/dpx.la coders/fax.la coders/fits.la coders/gif.la coders/gradient.la coders/gray.la coders/hald.la coders/histogram.la coders/hrz.la coders/html.la coders/icon.la coders/info.la coders/inline.la coders/ipl.la coders/label.la coders/magick.la coders/map.la coders/mat.la coders/matte.la coders/meta.la coders/miff.la coders/mono.la coders/mpc.la coders/mpeg.la coders/mpr.la coders/msl.la coders/mtv.la coders/mvg.la coders/null.la coders/otb.la coders/palm.la coders/pattern.la coders/pcd.la coders/pcl.la coders/pcx.la coders/pdb.la coders/pdf.la coders/pict.la coders/pix.la coders/plasma.la coders/pnm.la coders/preview.la coders/ps.la coders/ps2.la coders/ps3.la coders/psd.la coders/pwp.la coders/raw.la coders/rgb.la coders/rla.la coders/rle.la coders/scr.la coders/sct.la coders/sfw.la coders/sgi.la coders/stegano.la coders/sun.la coders/svg.la coders/tga.la coders/thumbnail.la coders/tile.la coders/tim.la coders/ttf.la coders/txt.la coders/uil.la coders/url.la coders/uyvy.la coders/vicar.la coders/vid.la coders/viff.la coders/wbmp.la coders/wpg.la coders/xbm.la coders/xc.la coders/xcf.la coders/xpm.la coders/xps.la coders/ycbcr.la coders/yuv.la coders/djvu.la coders/jpeg.la coders/jp2.la coders/png.la coders/ept.la coders/tiff.la coders/x.la coders/xwd.la '/var/tmp/portage/media-gfx/imagemagick-6.5.8.8/image//usr/lib/ImageMagick-6.5.8/modules-Q16/coders' libtool: install: warning: relinking `coders/art.la' libtool: install: (cd /var/tmp/portage/media-gfx/imagemagick-6.5.8.8/work/ImageMagick-6.5.8-8; /bin/sh /var/tmp/portage/media-gfx/imagemagick-6.5.8.8/work/ImageMagick-6.5.8-8/libtool --silent --tag CC --mode=relink i686-pc-linux-gnu-gcc -std=gnu99 -fopenmp -O2 -march=i686 -pipe -Wall -W -pthread -no-undefined -export-symbols-regex ".*" -shared -module -avoid-version -Wl,-O1 -o coders/art.la -rpath /usr/lib/ImageMagick-6.5.8/modules-Q16/coders coders/coders_art_la-art.lo magick/libMagickCore.la -inst-prefix-dir /var/tmp/portage/media-gfx/imagemagick-6.5.8.8/image/) /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lMagickCore collect2: ld returned 1 exit status libtool: install: error: relink `coders/art.la' with the above command before installing it make[2]: *** [install-codersLTLIBRARIES] Ошибка 1 make[2]: *** Ожидание завершения заданий... make[2]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.5.8.8/work/ImageMagick-6.5.8-8' make[1]: *** [install-am] Ошибка 2 make[1]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.5.8.8/work/ImageMagick-6.5.8-8' make: *** [install] Ошибка 2 * ERROR: media-gfx/imagemagick-6.5.8.8 failed: * Installation of files into image failed * * Call stack: * ebuild.sh, line 54: Called src_install * environment, line 2950: Called die * The specific snippet of code: * emake DESTDIR="${D}" install || die "Installation of files into image failed"; * * If you need support, post the output of 'emerge --info =media-gfx/imagemagick-6.5.8.8', * the complete build log and the output of 'emerge -pqv =media-gfx/imagemagick-6.5.8.8'. * The complete build log is located at '/var/tmp/portage/media-gfx/imagemagick-6.5.8.8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/imagemagick-6.5.8.8/temp/environment'. * S: '/var/tmp/portage/media-gfx/imagemagick-6.5.8.8/work/ImageMagick-6.5.8-8'
*** Bug 315547 has been marked as a duplicate of this bug. ***
*** Bug 315549 has been marked as a duplicate of this bug. ***
Most likely a system with broken .la files. Run `lafilefixer --justfixit` and `revdep-rebuild`.
(In reply to comment #3) > Most likely a system with broken .la files. Run `lafilefixer --justfixit` and > `revdep-rebuild`. > it was not helpful solved whith MAKEOPTS="-j1"
I have this same problem and it looks very much like a parallel ``make install'' issue. I don't really have the slightest idea where to look for a fix either. Perhaps the issue is related to me locally patching imagemagick and calling eautoreconf; I have automake-1.11.1 and libtool-2.2.6b. Perhaps the newer automake's methods of making deps between different libtool archive files is somehow not working properly. One thing to note is that imagemagick-6.5.8.8 uses automake-1.11.1 whereas imagemagick-6.5.2.9 uses automake-1.10.2 and doesn't have this problem. I propose that the make install step have -j1 until the source of this problem can be actually found and fixed.
try 6.6.1.2
I have similar situation with imagemagick-6.6.2.5 (i686-pc-linux-gnu-4.4.3) and MAKEOPT="-j1".
Make sure to run 'perl-cleaner --reallyall' after dev-lang/perl upgrade. Make sure to read postinst message from libpng upgrade. And try re-emerging libtool just in case. If it still fails after those, then attach build.log here (or new bug) and we'll talk :)