Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290118 - media-gfx/imagemagick-6.5.2.9 compile error: cannot find -lperl
Summary: media-gfx/imagemagick-6.5.2.9 compile error: cannot find -lperl
Status: RESOLVED FIXED
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: 2009-10-22 10:09 UTC by yuk
Modified: 2009-10-22 11:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yuk 2009-10-22 10:09:32 UTC
After I upgrade to the latest graphviz I can't compile imagemagick which is broken:

# ldd /usr/lib/ImageMagick-6.5.2/modules-Q32/coders/dot.so | grep found
        libgvc.so.4 => not found

# emerge -av imagemagick

[ebuild   R   ] media-gfx/imagemagick-6.5.2.9  USE="X bzip2 corefonts djvu fontconfig fpx graphviz gs hdri jbig jpeg jpeg2k lcms openexr openmp perl png q32 raw svg tiff truetype wmf xml zlib -doc -nocxx -q8" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]     y

libtool: install: warning: relinking `coders/wmf.la'
libtool: install: warning: remember to run `libtool --finish /usr/lib/ImageMagick-6.5.2/modules-Q32/coders'
 /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/lib/ImageMagick-6.5.2/modules-Q32/coders/x.la'
libtool: install: warning: relinking `coders/x.la'
libtool: install: warning: remember to run `libtool --finish /usr/lib/ImageMagick-6.5.2/modules-Q32/coders'
 /bin/sh ./libtool --silent   --mode=install /usr/bin/install -c  'coders/xwd.la' '/var/tmp/portage/media-gfx/imagemagick-6.5.2.9/image//usr/lib/ImageMagick-6.5.2/modules-Q32/coders/xwd.la'
libtool: install: warning: relinking `coders/xwd.la'
libtool: install: warning: remember to run `libtool --finish /usr/lib/ImageMagick-6.5.2/modules-Q32/coders'
make[2]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.5.2.9/work/ImageMagick-6.5.2-9'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.5.2.9/work/ImageMagick-6.5.2-9'
make: *** [install] Error 2
 *
 * ERROR: media-gfx/imagemagick-6.5.2.9 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2897:  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.
 * A complete build log is located at '/var/tmp/portage/media-gfx/imagemagick-6.5.2.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/imagemagick-6.5.2.9/temp/environment'.



Reproducible: Always

Steps to Reproduce:
1. emerge imagemagick
2.
3.

Actual Results:  
Doesn't install

Expected Results:  
Install

I did a test with USE=-graphviz with no luck.
Comment 1 yuk 2009-10-22 10:11:52 UTC
emerge --info

Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31.4 i686)
=================================================================
System uname: Linux-2.6.31.4-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 22 Oct 2009 06:30:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-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.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -mtune=native -march=native -mfpmath=sse"
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/lib/hsqldb"
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 /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -mtune=native -march=native -mfpmath=sse"
DISTDIR="/var/portage-distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="collision-protect distlocks fixpackages nodoc noinfo parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.inode.at/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://mirrors.serveftp.org/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/"
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/var/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="/var/portage"
SYNC="rsync://10.209.4.14/gentoo-portage"
USE="7zip X a52 aac acl acpi activefilter aio akode alisp alsa amr amrnb amrwb ao aotuv apm arts async asyncns atm audacious audiofile authdaemond autoipd automount avahi background bash-completion bcmath bcp bdf berkdb bittorrent bjam bl bluetooth boost bzip2 c3p0 cairo calendar caps cdb cdda cddax cddb cdparanoia cdr cgraph chdir chroot cleartype cli colordiff config_wizard connectionstatus console consolekit cpudetection cracklib crypt cscope css ctype cups curl curlwrappers cursors custom-optimization dbus device-mapper dga dhcp dirac discard-path disk-partition diskio divx djvu dmx dri dts dv dvd dvdr eap-tls elf emboss emerald emovix enca encode escreen evo exif expat extrafilters faac faad fam fame fat ffmpeg fftw finger firefox flac flatfile fltk fluidsynth fontconfig foomaticdb fpx ftp fuse gcj gcrypt gd gdbm gdm geoip gif glib glibc-omitfp glitz gmedia gnokii gnutls gpg gphoto2 gpm graphviz gs gsm gstreamer guile hal hddtemp hdri hpn ical icons iconv icq icu id3tag idn ieee1394 imagemagick imap imlib immqt-bc inifile inotify iodbc irda irmc isdnlog java java6 javascript jbig jce jfs jingle john jpeg jpeg2k justify kate kde kdm kipi ladspa lame laptop lcms ldirectord libass libcaca libedit libnotify libproxy libsamplerate libssh2 libsysfs libtiger live lm_sensors logitech-mouse logrotate lua lzma lzo mad management matroska mbox mdnsresponder-compat meanwhile mfd-rewrites mhash midi mikmod mime mjpeg mmap mmx mmxext mng modplug modules motif mozdevelop mp2 mp3 mp4 mpeg mpi mplayer msn mtp multicall multiuser musepack nas ncurses nemesi netboot network network-cron networking nfs nls nntp npp nptl nptlonly nsplugin nss ntfs ntlm ntp nxclient objc objc-gc odbc offensive ogg openal openct openexr opengl openmp pam pango parse-clocks pcap pcmcia pcntl pcre pda pdf perl php physfs pic pkcs11 plugins png pnm policykit pop portaudio posix povray ppds pppd prediction pth pvr pyste python q32 qdbm qq qt3 qt3support qt4 quicktime rar raw rdesktop readline realmedia reflection regex reiserfs rle rpm rrdtool rtc rtsp ruby samba sametime sasl schroedinger sdl sdl-image sensord serial server session sharedext shine shout silc simplexml skins slang slp smi smime sms smtp smux sndfile snmp soap sockets sound speex spell spl sql sqlite sqlite3 srt sse sse2 sse3 ssl startup-notification staticsocket stats stream svg swat swig sysfs syslog sysvipc taglib talkfilters tcl templates tga theora threads threadsonly thumbnail thunar tidy tiff timezone timidity tk tokenizer toolbar tools truetype twolame type3 ucs2 unicode usb utempter utils v4l v4l2 vcd vcdinfo vcdx vdpau vidix vim vim-pager vim-syntax vlm vnc vorbis wavpack wddx webkit wifi win32codecs winbind wireshark wma-fixed wmf wmp x264 x86 xanim xcb xcomposite xforms xfs xft xgetdefault xml xmldoclet xmlpatterns xmlreader xmlrpc xmlwriter xmp xorg xpm xsl xulrunner xv xvid xvmc yaz yv12 zeroconf zip zlib zoran zvbi" ALSA_CARDS="intel8x0 intel8x0m" 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="joystick keyboard evdev mouse vmmouse void vmware" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" LIRC_DEVICES="userspace" USERLAND="GNU" VIDEO_CARDS="intel i810 vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 yuk 2009-10-22 10:40:07 UTC
With

# MAKEOPTS=-j1  emerge imagemagick
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-gfx/imagemagick-6.5.2.9

<...cut...>

Running Mkbootstrap for Image::Magick ()
chmod 644 Magick.bs
rm -f blib/arch/auto/Image/Magick/Magick.so
i686-pc-linux-gnu-gcc  -L../magick/.libs -lMagickCore -L../wand/.libs -lMagickWand -shared -L/usr/local/lib -Wl,-O1 -lfreetype -lz Magick.o  -o blib/arch/auto/Image/Magick/Magick.so        \
           -L/var/tmp/portage/media-gfx/imagemagick-6.5.2.9/work/ImageMagick-6.5.2-9/PerlMagick/../magick/.libs -lMagickCore -L/var/tmp/portage/media-gfx/imagemagick-6.5.2.9/work/ImageMagick-6.5.2-9/PerlMagick/../wand/.libs -lMagickWand -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.2.9/work/ImageMagick-6.5.2-9/PerlMagick'
make[2]: *** [install-exec-perl] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.5.2.9/work/ImageMagick-6.5.2-9'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.5.2.9/work/ImageMagick-6.5.2-9'
make: *** [install] Error 2
 *
 * ERROR: media-gfx/imagemagick-6.5.2.9 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2897:  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.
 * A complete build log is located at '/var/tmp/portage/media-gfx/imagemagick-6.5.2.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/imagemagick-6.5.2.9/temp/environment'.

Comment 3 yuk 2009-10-22 11:09:33 UTC
Re-emerging

sys-devel/libperl-5.8.8-r2
dev-lang/perl-5.8.8-r5

Imagemagick compiled fine....