Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276904 - media-gfx/imagemagick-6.5.2.9 fails to install
Summary: media-gfx/imagemagick-6.5.2.9 fails to install
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-07 10:00 UTC by Eduardo Diaz
Modified: 2009-08-24 19:07 UTC (History)
0 users

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


Attachments
The build log (build.log,519.30 KB, text/plain)
2009-07-07 10:01 UTC, Eduardo Diaz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo Diaz 2009-07-07 10:00:09 UTC
Cannot install ImageMagick, when installing it says it can't find -lMagickCore

Reproducible: Always

Steps to Reproduce:
1. emerge imagemagick
Actual Results:  
Little piece from log:

 /bin/sh ./libtool --silent   --mode=install /usr/bin/install -c  'coders/x.la' '/var/tmp/portage/media-gfx/imagemagick-6.5.2.9/image//usr/lib64/ImageMagick-6.5.2/modules-Q16/coders/x.la'
libtool: install: warning: relinking `coders/x.la'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lMagickCore

And the result:

ERROR: media-gfx/imagemagick-6.5.2.9 failed.
 Call stack:
              ebuild.sh, line   49:  Called src_install
              environment, line 2581:  Called die
 The specific snippet of code:
 emake DESTDIR="${D}" install || die "Installation of files into image failed";
 The die message:
 Installation of files into image failed
 
 If you need support, post the topmost build error, and the call stack if relevant.


Expected Results:  
Should have installed ImageMagick :P

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.28-11-generic x86_64)
=================================================================
System uname: Linux-2.6.28-11-generic-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9550_@_2.66GHz-with-glibc2.2.5
Timestamp of tree: Mon, 06 Jul 2009 10:00:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en es"
MAKEOPTS="-j3"
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.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bzip2 cdr cli cracklib crypt cups dbus dri dvd dvdr ffmpeg fortran gdbm gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg laptop mad midi mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png pppd python readline reflection session spl sse sse2 ssl svg sysfs tcpd truetype unicode wifi xorg 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 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" 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 Eduardo Diaz 2009-07-07 10:01:46 UTC
Created attachment 197034 [details]
The build log
Comment 2 Rafał Mużyło 2009-07-07 12:09:53 UTC
The problem here is that for some reason,
ImageMagick gets rebuilt during src_install.
Comment 3 Markus Meier gentoo-dev 2009-08-08 07:44:16 UTC
did you emerge with multiple jobs (emerge --jobs=n)? or did you manually start two emerge processes? see below:

>>> Install imagemagick-6.5.2.9 into /var/tmp/portage/media-gfx/imagemagick-6.5.2.9/image/ category media-gfx
make -j3 DESTDIR=/var/tmp/portage/media-gfx/imagemagick-6.5.2.9/image/ install 
make  install-am
make[1]: Entering directory `/var/tmp/portage/media-gfx/imagemagick-6.5.2.9/work/ImageMagick-6.5.2-9'
make[1]: Warning: File `/usr/include/X11/Xos.h' has modification time 2.3e+04 s in the future

the file changed belongs to x11-proto/xproto and has changed during compilation and installation phase of imagemagick.
I guess this is not a bug, but feel free to reopen if you can reproduce.
Comment 4 Adam Bowers 2009-08-24 19:07:05 UTC
I had this same issue while completing a revdep-rebuild.  I tried manually emerging at it completed successfully.  My MAKE_OPTS is set to j8.