Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311213 - emerge media-gfx/imagemagick-6.5.8.8 fails ([install-am] Error 2) with no specific error message (as I know)
Summary: emerge media-gfx/imagemagick-6.5.8.8 fails ([install-am] Error 2) with no spe...
Status: RESOLVED DUPLICATE of bug 306587
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-24 19:51 UTC by Truchi Cyril
Modified: 2010-03-24 20:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info =media-gfx/imagemagick-6.5.8.8 (emerge--info,3.91 KB, text/plain)
2010-03-24 19:54 UTC, Truchi Cyril
Details
build.log (build.log,330.54 KB, text/plain)
2010-03-24 19:57 UTC, Truchi Cyril
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Truchi Cyril 2010-03-24 19:51:13 UTC
I can't found out an error message that can guide me through the resolution process.

o magick/libMagickCore.la -lSM -lICE -lX11 -inst-prefix-dir /var/tmp/portage/media-gfx/imagemagick-6.5.8.8/image/)
libtool: install: /usr/bin/install -c coders/.libs/xwd.soT /var/tmp/portage/media-gfx/imagemagick-6.5.8.8/image//usr/lib/ImageMagick-6.5.8/modules-Q16/coders/xwd.so
libtool: install: /usr/bin/install -c coders/.libs/xwd.lai /var/tmp/portage/media-gfx/imagemagick-6.5.8.8/image//usr/lib/ImageMagick-6.5.8/modules-Q16/coders/xwd.la
libtool: install: warning: remember to run `libtool --finish /usr/lib/ImageMagick-6.5.8/modules-Q16/coders'
make[2]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.5.8.8/work/ImageMagick-6.5.8-8'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.5.8.8/work/ImageMagick-6.5.8-8'
make: *** [install] Error 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 2962:  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'

Reproducible: Always

Steps to Reproduce:
1.emerge -1 media-gfx/imagemagick
Actual Results:  
[...]
libtool: install: /usr/bin/install -c coders/.libs/x.soT /var/tmp/portage/media-gfx/imagemagick-6.5.8.8/image//usr/lib/ImageMagick-6.5.8/modules-Q16/coders/x.so
libtool: install: /usr/bin/install -c coders/.libs/x.lai /var/tmp/portage/media-gfx/imagemagick-6.5.8.8/image//usr/lib/ImageMagick-6.5.8/modules-Q16/coders/x.la
libtool: install: warning: relinking `coders/xwd.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/xwd.la -rpath /usr/lib/ImageMagick-6.5.8/modules-Q16/coders coders/coders_xwd_la-xwd.lo magick/libMagickCore.la -lSM -lICE -lX11 -inst-prefix-dir /var/tmp/portage/media-gfx/imagemagick-6.5.8.8/image/)
libtool: install: /usr/bin/install -c coders/.libs/xwd.soT /var/tmp/portage/media-gfx/imagemagick-6.5.8.8/image//usr/lib/ImageMagick-6.5.8/modules-Q16/coders/xwd.so
libtool: install: /usr/bin/install -c coders/.libs/xwd.lai /var/tmp/portage/media-gfx/imagemagick-6.5.8.8/image//usr/lib/ImageMagick-6.5.8/modules-Q16/coders/xwd.la
libtool: install: warning: remember to run `libtool --finish /usr/lib/ImageMagick-6.5.8/modules-Q16/coders'
make[2]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.5.8.8/work/ImageMagick-6.5.8-8'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.5.8.8/work/ImageMagick-6.5.8-8'
make: *** [install] Error 2


Expected Results:  
imagemagick-6.5.8.8 emerge correctly

$ emerge --info
Portage 2.1.7.17 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 24 Mar 2010 18:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 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 PUEL dlj-1.1 sun-bcla-java-vm skype-eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j5"
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://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa apache2 apm avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt css cups cxx dbus directfb dri dv dvb dvd dvdr dvdread emacs emerald encode fbcondecor ffmpeg flac fortran gdbm gif gimp gmp gnome gpm gstreamer gtk hal iconv imagemagick ipv6 jack java jpeg jpeg2k lame lapack lash libnotify lm_sensors mad matroska midi mime mng modules mp3 mpeg mplayer msn mudflap musepack mysql nautilus ncurses networkmanager nls nptl nptlonly nsplugin nvidia ogg openal opengl openmp oss pam pcmcia pcre perl png pppd python quicktime readline reflection samba session smartcard speex spell spl ssl svg svga sysfs tcpd theora threads tiff tk truetype unicode usb v4l v4l2 vcd vorbis wavpack wifi win32codecs wmf x86 xcomposite xine xml xml2 xorg xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Truchi Cyril 2010-03-24 19:54:06 UTC
Created attachment 225143 [details]
emerge --info =media-gfx/imagemagick-6.5.8.8
Comment 2 Truchi Cyril 2010-03-24 19:55:50 UTC
$ emerge -pqv =media-gfx/imagemagick-6.5.8.8
[ebuild  N    ] media-gfx/imagemagick-6.5.8.8  USE="X bzip2 corefonts jpeg jpeg2k openmp perl png svg tiff truetype wmf xml zlib -autotrace -djvu -doc -fftw -fontconfig -fpx -graphviz -gs -hdri -jbig -lcms -lqr -nocxx -openexr -q32 -q8 -raw" 
Comment 3 Truchi Cyril 2010-03-24 19:57:16 UTC
Created attachment 225145 [details]
build.log
Comment 4 Pacho Ramos gentoo-dev 2010-03-24 20:31:53 UTC
The error seems to occur at:
rm -f blib/arch/auto/Image/Magick/Magick.so
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe  -L../magick/.libs -lMagickCore -shared -L/usr/local/lib -Wl,-O1 Magick.o  -o blib/arch/auto/Image/Magick/Magick.so 	\
	   -L/var/tmp/portage/media-gfx/imagemagick-6.5.8.8/work/ImageMagick-6.5.8-8/PerlMagick/../magick/.libs -lMagickCore -lperl -lm  	\
	  
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[3]: *** [blib/arch/auto/Image/Magick/Magick.so] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.5.8.8/work/ImageMagick-6.5.8-8/PerlMagick'
make[2]: *** [install-exec-perl] Error 2
make[2]: *** Waiting for unfinished jobs....
libtool: install: /usr/bin/install -c coders/.libs/dot.soT /var/tmp/portage/media-gfx/imagemagick-6.5.8.8/image//usr/lib/ImageMagick-6.5.8/modules-Q16/coders/dot.so


This is a dupe of bug 306587 and is not maintained by gnome team (you should have chosen "Applications" component instead of "GNOME")
Comment 5 Pacho Ramos gentoo-dev 2010-03-24 20:32:12 UTC
And closing

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