Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235131 - media-gfx/imagemagick-6.4.2.9 automagic dependency on jbig
Summary: media-gfx/imagemagick-6.4.2.9 automagic dependency on jbig
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 235334 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-18 18:16 UTC by Fabian Groffen
Modified: 2008-08-21 15:24 UTC (History)
3 users (show)

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


Attachments
--with-jbig patch (imagemagick-6.4.2.9-jbig.patch,877 bytes, patch)
2008-08-20 06:21 UTC, Fabian Groffen
Details | Diff
output of emerge =media-gfx/imagemagick-6.4.2.9 (imagemagick.log.gz,7.61 KB, application/octet-stream)
2008-08-21 10:45 UTC, Zeev Tarantov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2008-08-18 18:16:46 UTC
A totally different problem with wrong install_names eventually lead me to the conclusion that imagemagick-6.4.2.9's configure searches for -ljbig automagically by default.  It has a configure argument --with-jbig, so I guess it's easy enough to fix in the ebuild (+ USE-flag?).
Comment 1 Markus Meier gentoo-dev 2008-08-20 05:06:04 UTC
./configure --with-jbig
configure: WARNING: Unrecognized options: --with-jbig
...

something must be broken in this version, will have to investigate. (that's why I removed the USE-flag in this version)
Comment 2 Fabian Groffen gentoo-dev 2008-08-20 06:21:19 UTC
Created attachment 163365 [details, diff]
--with-jbig patch

Indeed, they messed something up.  How about this patch?  Can't eautoreconf as some OPENMP macro is missing (at least on my system).
Comment 3 Markus Meier gentoo-dev 2008-08-20 21:58:00 UTC
thanks for the patch, reported upstream at http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=11907

added back jbig USE-flag in media-gfx/imagemagick-6.4.2.9 with your patch.
Comment 4 Markus Meier gentoo-dev 2008-08-21 04:46:13 UTC
answer from upstream:

> We have a patch for the JBIG configure issue in the Subversion trunk.
> It will be also be available in the next point release.
Comment 5 Fabian Groffen gentoo-dev 2008-08-21 06:24:19 UTC
Thanks, the only problem I see is that you added an eautoreconf, which will break for people not having gcc-4.3 IIRC.  (at least for me)  For that reason I also patched configure itself, so the eautoreconf isn't necessary.
Comment 6 Markus Meier gentoo-dev 2008-08-21 10:06:10 UTC
(In reply to comment #5)
> Thanks, the only problem I see is that you added an eautoreconf, which will
> break for people not having gcc-4.3 IIRC.  (at least for me)  For that reason I
> also patched configure itself, so the eautoreconf isn't necessary.

woops, sorry about that. you may remove eautoreconf from the ebuild, I wont have commit access until tomorrow/saturday.
Comment 7 Zeev Tarantov 2008-08-21 10:45:29 UTC
Created attachment 163459 [details]
output of emerge =media-gfx/imagemagick-6.4.2.9

a libtool error
Comment 8 Zeev Tarantov 2008-08-21 10:46:13 UTC
Attached is the error I get trying to emerge it.

Portage 2.2_rc8 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-glibc2.0
Timestamp of tree: Thu, 21 Aug 2008 09:17:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18.50.0.8
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer"
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"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--enable-new-dtags"
LINGUAS="en en_US"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 archive bash-completion bidi bluetooth bzip2 cairo captury cddb cdparanoia cdr cli cracklib crypt ctype curl curlwrappers custom-optimization dbus dga dri dvd dvdr dvdread encode exif fam fastcgi fbcon ffmpeg fftw firefox flac gd gdbm geoip gif glib glitz gmp gnutls gpm gtk hal iconv ieee1394 innodb inotify isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility kdexdeltas libnotify libsamplerate lm_sensors mad matroska midi mikmod mime mmap mmx mp3 mpeg mplayer mudflap musepack mysql mysqli ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pch pcntl pcre pdf perl php pic png posix postgres ppds pppd python qt3 qt3support qt4 readline real realmedia reflection samba scanner sdl session sndfile spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification svg sysfs syslog sysvipc tcpd theora threads tidy tiff truetype unicode urandom usb vhosts vorbis wifi win32codecs wmf x264 x86 xcb xcomposite xml xmlreader xmlwriter xorg xulrunner xv xvid yahoo zip 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 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 asis" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa nouveau"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 9 Fabian Groffen gentoo-dev 2008-08-21 10:49:24 UTC
I wouldn't be surprised if that's caused by the reconf.

Zeev, can you uncomment the eautoreconf call in src_unpack, repoman manifest and try to compile?
Comment 10 Zeev Tarantov 2008-08-21 12:01:58 UTC
yeah, commenting eautoreconf fixed it. Thanks!
Comment 11 Fabian Groffen gentoo-dev 2008-08-21 15:22:56 UTC
Now I have access to a box where I can commit this, I removed the eautoreconf.  Hopefully all fixed now, thanks!
Comment 12 Fabian Groffen gentoo-dev 2008-08-21 15:24:08 UTC
*** Bug 235334 has been marked as a duplicate of this bug. ***