Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238477 - While emerging imagemagick 6.4.3.5 -lWand and -lMagick cannot be found.
Summary: While emerging imagemagick 6.4.3.5 -lWand and -lMagick cannot be found.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-23 14:20 UTC by Christian Kotz
Modified: 2008-10-18 20:10 UTC (History)
3 users (show)

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


Attachments
my modified ebuild that patches the Makefile (imagemagick-6.4.3.5.ebuild,4.47 KB, text/plain)
2008-09-23 14:22 UTC, Christian Kotz
Details
build log (build.log,209.89 KB, text/plain)
2008-09-29 09:19 UTC, Christian Kotz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Kotz 2008-09-23 14:20:45 UTC
emerge of imagemagick 6.4.3.5 fails because it does not find the libraries Magick and Wand.

RESOLUTION AS TO MY KNOWLEDGE:
The libraries are named MagickWand and MagickCore instead of Wand and Magic.
The Makefile has to be patched in the ebuild, e.g. by sed. 

before 
"emake || die "compile problem"
insert the two lines:
	cat Makefile | sed -e "s/-lMagick/-lMagickCore/g" | sed -e "s/-lWand/-lMagickWand/g" > Makefile2
	mv Makefile2 Makefile
Comment 1 Christian Kotz 2008-09-23 14:22:25 UTC
Created attachment 166184 [details]
my modified ebuild that patches the Makefile
Comment 2 Rafał Mużyło 2008-09-23 15:57:26 UTC
This "solution" would be very wrong for many reasons.
Start with attaching the build log of the failed emerge,
so we could see what your problem really was.
Comment 3 Markus Meier gentoo-dev 2008-09-23 22:32:37 UTC
Christian, please post and reopen
 - emerge -pv imagemagick
 - emerge --info
 - the build.log of imagemagick

and btw your "patch" could be done in one line like that:
 sed -i -e "s/foo/bar/" Makefile
Comment 4 Christian Kotz 2008-09-29 09:10:18 UTC
Portage 2.1.4.4 (default/linux/amd64/2008.0/developer, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-52
Timestamp of tree: Mon, 29 Sep 2008 08:30:01  0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r6, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -msse3"
CHOST="x86_64-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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon64 -msse3"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="ccache cvs digest distlocks metadata-transfer parallel-fetch sandbox sfperms sign splitdebug unmerge-orphans user-fetch userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe -march=athlon64 -msse3"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ "
LANG="de_AT.utf8"
LC_ALL="de_AT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
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="/home/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/java-overlay /usr/portage/local/layman/haskell /usr/portage/local/layman/gentoo-lisp-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acl acml acpi alias allegro alsa amd amd64 amrnb amrr amrwb apache2 apm applet arpack arts ati audiofile audioport avahi bash-completion berkdb binfilter bl blas bluetooth bsf bzip2 cairo calendar caps cdb cdda cddb cdf cdio cdparanoia cdr cgi chm clamav cli cracklib crypt cscope css ctype cups curl curlwrappers custom-optimization cvs cxx d dbus devhelp dia disk-partition djvu dnd dot doxygen dri dts dv dvb dvd dvdr dvdread dvi eds emacs emboss enca encode esd evo exif exiv2 expat fam fame fastcgi fbon ffcall ffmpeg fft fftw file filter firefox flac flatfile fltk fontconfig foomaticdb fortran fpx fuse galago gcj gcl gd gdbm gdl gedit geoip ggi gif gimp gimpprint ginac givaro glade glib glitz glut gmp gnome gnuplot gnutls gnuutils gphoto2 gpm grammar graphviz gs gsl gstreamer gtk gtk2 gtkhtml guile hal hash haskell hddtemp hdf hdf5 hdri hesiod http ical icc iconv icq icu ieee1394 ifc imagemagick imap imap4 imlib inherit-graph inifile innodb int64 io_lib iodbc ipv6 irmc isdnlog ithreads jabber jack jai java java6 javascript jbig jikes jingle jit jmf joystick jpeg jpeg2k kde kdepim kerberos keyring kicker kolab kpathsea kwin lame lapack laptop latex lcms ldap leim libburn libcaca libgda libnotify libsamplerate libsvm live llvm lm_sensors loop-aes lua lzo mad madwifi mailwrapper math mcal md5sum metis mhash midi mikmod mime mjpeg mmap mmx mmxext mng modplug mono mouse mozdom mozilla mp2 mp3 mp4 mpeg mplayer msn mudflap mule multilib musepack musicbrainz myspell mysql mythtv nas nautilus ncurses nemesi netcdf networking networkmanager nls nptl nptlonly nsplugin ntl obex ocaml odbc odk ogg ole openal opencv openexr opengl openmp openssl opt osc oscar ots pam pascal paste64 pcmcia pcntl pcre pda pdf perl php plotutils pmu png pnm portaudio posix postgres ppds pppd preview-latex profile pulseaudio python qhull qt3 qt3support qt4 quicktime radio rar readline reflection reiser4 replytolist rtc ruby samba sasl2 sbcl scanner scintilla sdl seamonkey session slang smp sndfile snmp soap sockets sound soup sourceview sox sparse speex spell spl sql srt sse sse2 ssl startup-notification subversion supernodal svg sysfs syslog szip t1lib taglib tcl tcltk tcpd teletext tetex tex tga theora thesaurus threads thunderbird tidy tiff tivo tk tokenizer toolkit-scroll-bars totem truetype umfpack unicode usb utempter utils v4l v4l2 valgrind vcd vhosts vim-syntax vorbis wav wavpack webdav wifi wmf wxwindows x264 xanim xattr xcb xemacs xforms xft xine xinerama xinetd xml xmlproc xorg xpm xprint xsl xulrunner xv xvid yahoo zip zlib" ALSA_CARDS="intel_hda" 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="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Christian Kotz 2008-09-29 09:11:04 UTC
[ebuild   R   ] media-gfx/imagemagick-6.4.3.5  USE="X bzip2 djvu doc
fontconfig
fpx graphviz gs hdri jbig jpeg jpeg2k lcms openexr openmp perl png svg tiff
truetype wmf xml zlib -nocxx -q32 -q8" 0 kB
Comment 6 Christian Kotz 2008-09-29 09:19:07 UTC
Created attachment 166743 [details]
build log
Comment 7 Christian Kotz 2008-09-29 09:21:05 UTC
btw: thanks for the sed tip
Comment 8 Rafał Mużyło 2008-09-29 10:59:21 UTC
Is it possible that you were hit by bug 236643 ?
If not, then it can still be a parallel make problem.
Comment 9 Markus Meier gentoo-dev 2008-09-29 21:16:33 UTC
(In reply to comment #8)
> Is it possible that you were hit by bug 236643 ?
> If not, then it can still be a parallel make problem.

no, this is not the same bug.
Comment 10 Ivan 2008-10-09 23:40:53 UTC
I also get this problem with a fresh ~x86 install, using -j1 for MAKEOPTS seems to fix it (well, I could install imagemagick anyway), so it does seem to be a parallel make problem.
Comment 11 Markus Meier gentoo-dev 2008-10-15 20:15:42 UTC
could you try if media-gfx/imagemagick-6.4.4.6* works? if not, I'll report this issue upstream.
Comment 12 Christian Kotz 2008-10-16 15:51:29 UTC
6.4.4.6-r1 works
Comment 13 Markus Meier gentoo-dev 2008-10-18 20:10:44 UTC
(In reply to comment #12)
> 6.4.4.6-r1 works

thanks. I was unable to reproduce it with a fresh imagemagick install. Closing.