Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217655 - media-video/transcode 1.0.6-rc2 with use-flag 'imagemagick' enabled requires libMagickWand as a dependency
Summary: media-video/transcode 1.0.6-rc2 with use-flag 'imagemagick' enabled requires ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-14 14:25 UTC by Stefano Galeazzi
Modified: 2008-04-18 22:44 UTC (History)
3 users (show)

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


Attachments
/tmp/portage/media-video/transcode-1.0.6_rc2/work/transcode-1.0.6rc2/config.log (config.log,13.52 KB, text/plain)
2008-04-15 08:42 UTC, Stefano Galeazzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefano Galeazzi 2008-04-14 14:25:13 UTC
configure phase will fail (ld does not find -lMagickWand)

Reproducible: Always

Steps to Reproduce:
1.enable useflag 'imagemagick'
2.emerge -av transcode (tested on ~amd64 version)
3.read config.log in /tmp/portage/...

Actual Results:  
compilation stops.
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2008-04-14 18:44:52 UTC
Dear Stefano, please attach the log you mentioned and reopen this bug.
Comment 2 Stefano Galeazzi 2008-04-15 08:42:51 UTC
Created attachment 149778 [details]
/tmp/portage/media-video/transcode-1.0.6_rc2/work/transcode-1.0.6rc2/config.log

Relevant lines:
---
gcc version 4.1.2 (Gentoo 4.1.2 p1.1)
configure:3337: $? = 0
configure:3344: x86_64-pc-linux-gnu-gcc -V >&5
x86_64-pc-linux-gnu-gcc: '-V' option must have argument
configure:3347: $? = 1
configure:3370: checking for C compiler default output file name
configure:3397: x86_64-pc-linux-gnu-gcc  -march=nocona -O2 -pipe -DDCT_YUV_PRECISION=1   -lMagickWand conftest.c  >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lMagickWand
collect2: ld returned 1 exit status
configure:3400: $? = 1
configure:3438: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "transcode"
| #define PACKAGE_TARNAME "transcode"
| #define PACKAGE_VERSION "1.0.6rc2"
| #define PACKAGE_STRING "transcode 1.0.6rc2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "transcode"
| #define VERSION "1.0.6rc2"
| /* end confdefs.h.  */
---
Comment 3 Stefano Galeazzi 2008-04-15 08:44:13 UTC
in './configure' phase:
---
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /tmp/portage/media-video/transcode-1.0.6_rc2/work/transcode-1.0.6rc2/config.log
 *
 * ERROR: media-video/transcode-1.0.6_rc2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2864:  Called econf 'src_compile' 'src_compile' '--with-imagemagick-includes=/usr/include/ImageMagick' '--with-imagemagick-libs=/usr/lib64' '--with-default-xvid=xvid4' '--enable-a52' '--enable-a52-default-decoder' '--enable-mmx' '--enable-sse' '--enable-sse2' '--disable-3dnow' '--disable-altivec' '--enable-netstream' '--enable-freetype2' '--enable-v4l' '--enable-lame' '--enable-nuv' '--enable-ogg' '--enable-oss' '--enable-vorbis' '--enable-theora' '--enable-libdvdread' '--enable-libdv' '--enable-libquicktime' '--enable-lzo' '--enable-iconv' '--enable-libmpeg3' '--enable-libxml2' '--enable-mjpegtools' '--enable-sdl' '--enable-libfame' '--enable-imagemagick' '--enable-libjpeg' '--with-x' '--with-mod-path=/usr/lib64/transcode' '--with-libpostproc-builddir=/usr/lib64'
 *               ebuild.sh, line  513:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
---
Comment 4 urcindalo 2008-04-15 09:45:49 UTC
Same here on AMD64:
===
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-video/transcode-1.0.6_rc2/work/transcode-1.0.6rc2/config.log
 *
 * ERROR: media-video/transcode-1.0.6_rc2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2879:  Called econf 'src_compile' 'src_compile' '--with-imagemagick-includes=/usr/include/ImageMagick' '--with-imagemagick-libs=/usr/lib64' '--with-default-xvid=xvid4' '--enable-a52' '--enable-a52-default-decoder' '--enable-mmx' '--enable-sse' '--enable-sse2' '--enable-3dnow' '--disable-altivec' '--enable-netstream' '--enable-freetype2' '--enable-v4l' '--enable-lame' '--enable-nuv' '--enable-ogg' '--enable-oss' '--enable-vorbis' '--enable-theora' '--enable-libdvdread' '--enable-libdv' '--enable-libquicktime' '--enable-lzo' '--enable-iconv' '--enable-libmpeg3' '--enable-libxml2' '--enable-mjpegtools' '--enable-sdl' '--enable-libfame' '--enable-imagemagick' '--enable-libjpeg' '--with-x' '--with-mod-path=/usr/lib64/transcode' '--with-libpostproc-builddir=/usr/lib64'
 *               ebuild.sh, line  513:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
===

emerge info:
===Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Tue, 15 Apr 2008 08:04:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
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="-march=athlon64 -mtune=athlon64 -O2 -pipe"
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"
CONFIG_PROTECT_MASK="/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="-march=athlon64 -mtune=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es_ES es en_US en"
MAKEOPTS="-j2"
PKGDIR="/home/ramiro/usr/local/portage/pkgdir-backup/"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/roslin /usr/portage/local/layman/sunrise /usr/portage/local/layman/berkano /usr/portage/local/layman/science /usr/portage/local/layman /usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X X509 Xaw3d a52 aac aalib accessibility acl acpi addbookmarks additions adns aim alsa amd amd64 ao aotuv apache2 apm ares arts async audacious audiofile auth authdaemond authfile authlib automount autoreplace avahi bash-completion bcmath bdf beagle bidi binary-drivers bindist binfilter bl blas bonjour branding bzip2 cairo caps catalogs cdda cddb cdf cdinstall cdparanoia cdr cdrom chm chroot clamav clamd cli connectionstatus contactnotes context corba cpudetection cracklib crypt css ctype cups curl curlwrappers dbase dbm dbus dbx dga dia directfb disk-partition diskio divx djvu dri dts dv dvb dvd dvdr dvdread dvi emboss emerald emovix enca encode epson erandom es escreen esd eu_epg exif expat extensions extra fam fame fastcgi fat fbcon ffmpeg fftw firefox flac flash flatfile font-server fontconfig foomaticdb fortran fpx ftp fuse gadu gcj gd gdbm geoip gif gimp gimpprint ginac glibc-omitfp glitz glut gmail gmp gnome-print gnustep gnutls gphoto2 gpm grammar graphics graphviz groupwise gs gsl gstreamer gtk gtkhtml guile gzip hal hddtemp hdri hfs highlight history hpn httpd humanities iconv icq id3 id3tag idea idled idn ieee1394 imagemagick imap imlib immqt-bc inifile inkjar innodb insecure-savers intl ipv6 isdnlog jabber jack java javacomm javascript jbig jce jfs jikes jit jpeg jpeg2k justify kde kdeenablefinal kerberos kipi ladspa lame lash latex lcms ldap lesstif libcaca libdsk libgda libnotify libssh2 libwww lids live lm_sensors logitech-mouse logrotate lua lzo lzw m17n-lib mad maildir mailwrapper math matroska mbox mcve md5sum mdb memlimit midi mikmod milter mime mjpeg mmap mmx mmxext mng modplug mono motif mounts-check mouse mozilla moznoirc moznomail mp3 mp4 mp4live mpeg mpeg2 mpi mplayer msn mudflap multiuser musepack music musicbrainz mysql mysqli nas ncurses neXt nemesi net netboot netcdf network network-cron networking networkmanager new-login nfs nis nls nowlistening npp nptl nptlonly nsplugin ntfs nuv nvidia oav octave office ofx ogg ole omega openal openbabel opendoc openexr opengl openmp openssh openssl opensslcrypt openvpn opera osc oscar oss ots pam pango parse-clocks passwordsave pcntl pcre pdf perl php player plotutils plugins pmu png portaudio posix postfix postgres postproc postscript povray ppds prelude profile ps pstricks publishers pymol python qt3 qt3support qt4 quicktime quotas rar raw rdesktop readline realmedia reiser4 reiserfs replytolist resolvconf rtc rtsp ruby samba sametime sasl savedconfig savepwd scanner science sdk sdl sdl-image seamonkey sensord session sharedext shout sift simplexml skey skins slang slp sms sndfile snmp soap sockets socks5 solver source sox speedo speex spell spl srt sse sse2 ssl statistics stream subtitles subversion svg svgz swat sysfs syslog sysvipc szip t1lib taglib tcl tcpd teletext tetex texteffect tga theora thesaurus thunderbird tidy tiff tivo tk tokenizer truetype tv_check tv_combiner tv_pick_cgi twolame type1 unicode usb userlocales v4l v4l2 vcd vcdx vlm vorbis wavpack wddx webdav webpresence winbind winpopup wmf wmp wxwindows x264 xanim xattr xcomposite xetex xface xforms xfs xft xine xml xmlreader xmlrpc xmlwriter xorg xplanet xpm xprint xscreensaver xsl xslt xterm xv xvid xvmc yahoo yv12 zeroconf zip zlib zoran" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" CAMERAS="fuji minolta ptp2 ptp" ELIBC="glibc" FOO2ZJS_DEVICES="hp1000" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es en_US en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
===
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-15 17:18:25 UTC
From the attached config.log:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lMagickWand
Comment 6 R Bar-On 2008-04-16 12:08:44 UTC
same here, same issues, pretty much the same log.  I'm on x86.
Comment 7 Alexis Ballier gentoo-dev 2008-04-16 12:44:37 UTC
could you please try emerge -1 imagemagick ?
Comment 8 R Bar-On 2008-04-16 13:12:09 UTC
Upgrading to imagemagick 6.4.0.6 solves the problem.  I suppose just making the new transcode depend on that would fix things.
Comment 9 Alexis Ballier gentoo-dev 2008-04-16 13:16:17 UTC
(In reply to comment #8)
> Upgrading to imagemagick 6.4.0.6 solves the problem.  I suppose just making the
> new transcode depend on that would fix things.
> 

I think imagemagick should always install magickwand, not 100% sure if its version dependant.
Comment 10 R Bar-On 2008-04-16 13:20:49 UTC
Also see http://bugs.gentoo.org/show_bug.cgi?id=213712
Comment 11 Markus Meier gentoo-dev 2008-04-18 22:44:24 UTC
2008-02-16 6.3.8-9 Cristy <quetzlzacatenango@image...>
# Fix Magick++-config script to reflect the MagickWand / MagickCore dependencies.

Looks like this bug is in our imagemagick-6.3.9.7 version. I've removed the broken version, so this bug should be solved.
Please reopen if I missed anything.