Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213688 - media-gfx/pstoedit fails to compile with imagemagick-6.3.9.8
Summary: media-gfx/pstoedit fails to compile with imagemagick-6.3.9.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 218344
  Show dependency tree
 
Reported: 2008-03-17 12:40 UTC by Darren Dale
Modified: 2008-03-17 23:13 UTC (History)
2 users (show)

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 Darren Dale 2008-03-17 12:40:48 UTC
I just upgraded to imagemagick-6.3.9.8 and then ran revdep-rebuild, which wanted to recompile pstoedit. pstoedit will not compile:

if /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.45\" -DPACKAGE_STRING=\"pstoedit\ 3.45\" -DPACKAGE_BUGREPORT=\"wglunz34_AT_pstoedit.net\" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.45\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBGD=1 -I. -I.  -DHAVE_LIBPLOTTER  -DHAVE_MKSTEMP -DHAVE_MAGIC -I/usr/include/ImageMagick    -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR="\"/usr/share/pstoedit\"" -DPSTOEDITLIBDIR="\"/usr/lib64/pstoedit\"" -DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith  -D_LITTLE_ENDIAN  -g -MT drvmagick++.lo -MD -MP -MF ".deps/drvmagick++.Tpo" -c -o drvmagick++.lo drvmagick++.cpp; \
        then mv -f ".deps/drvmagick++.Tpo" ".deps/drvmagick++.Plo"; else rm -f ".deps/drvmagick++.Tpo"; exit 1; fi
 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.45\" "-DPACKAGE_STRING=\"pstoedit 3.45\"" -DPACKAGE_BUGREPORT=\"wglunz34_AT_pstoedit.net\" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.45\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBGD=1 -I. -I. -DHAVE_LIBPLOTTER -DHAVE_MKSTEMP -DHAVE_MAGIC -I/usr/include/ImageMagick -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR=\"/usr/share/pstoedit\" -DPSTOEDITLIBDIR=\"/usr/lib64/pstoedit\" -DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -D_LITTLE_ENDIAN -g -MT drvmagick++.lo -MD -MP -MF .deps/drvmagick++.Tpo -c drvmagick++.cpp  -fPIC -DPIC -o .libs/drvmagick++.o
In file included from /usr/include/ImageMagick/magick/MagickCore.h:147,
                 from /usr/include/ImageMagick/Magick++/Include.h:47,
                 from /usr/include/ImageMagick/Magick++/Image.h:11,
                 from /usr/include/ImageMagick/Magick++.h:9,
                 from drvmagick++.h:35,
                 from drvmagick++.cpp:31:
/usr/include/ImageMagick/magick/magick-type.h:120: error: ISO C++ does not support 'long long'
/usr/include/ImageMagick/magick/magick-type.h:121: error: ISO C++ does not support 'long long'
In file included from /usr/include/ImageMagick/magick/MagickCore.h:166,
                 from /usr/include/ImageMagick/Magick++/Include.h:47,
                 from /usr/include/ImageMagick/Magick++/Image.h:11,
                 from /usr/include/ImageMagick/Magick++.h:9,
                 from drvmagick++.h:35,
                 from drvmagick++.cpp:31:
/usr/include/ImageMagick/magick/deprecate.h:75: error: ISO C++ does not support 'long long'
/usr/include/ImageMagick/magick/deprecate.h:76: error: ISO C++ does not support 'long long'
make[1]: *** [drvmagick++.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/pstoedit-3.45/work/pstoedit-3.45/src'


Reproducible: Always




$ emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 Dual Core AMD Opteron(tm) Processor 275
Timestamp of tree: Mon, 17 Mar 2008 11:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
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.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.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer"
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect 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="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en en_US"
MAKEOPTS="-j5"
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/layman/font-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac acl acpi alsa amd64 apache2 arts atlas avahi bash-completion berkdb blas bookmarks branding bzip2 cairo cblas cdr cli cracklib crypt ctype cups dbus doc dri dvd dvdr dvdread eds emacs emboss encode esd evo examples f77 fam fftw firefox foomativdb fortran gdbm gif gimpprint gpm gstreamer gtk hal iconv imagemagick imap isdnlog ivman java jpeg jpeg2k kde kerberos lapack latex ldap lzo mad mdnsresponder-compat midi mikmod mime mmap mmx mozbranding mozilla mozsvg mp3 mpeg mplayer mudflap multislot ncurses nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl pertty pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rss samba sdl session spell spl sse sse2 ssl subversion svg symlink tcltk tcpd tetex threads tiff tk transparency truetype umfpack unicode usb vorbis webdav winbind xcomposite xfs xft xinerama xml xorg xv zeroconf 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia vga nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ferris McCormick (RETIRED) gentoo-dev 2008-03-17 13:38:50 UTC
Same failure on sparc.
Comment 2 Ferris McCormick (RETIRED) gentoo-dev 2008-03-17 14:12:00 UTC
Rather than opening new bugs on imagemagick-6.3.9.8, let me add to it.  With media-video/transcode-1.0.4, on both sparc and amd64 I see a failure caused by:
===========================
checking whether imagemagick support is requested... yes
checking for pkgconfig support for imagemagick... yes
checking for Wand-config... /usr/bin/Wand-config
checking how to determine IMAGEMAGICK_CFLAGS... pkg-config
checking magick/api.h usability... yes
checking magick/api.h presence... yes
checking for magick/api.h... yes
checking how to determine IMAGEMAGICK_LIBS... pkg-config
checking for InitializeMagick in -lMagick... no     <<<<<<<<<<<<<<<<<<<<<<<<
==================================

ERROR: option '--enable-imagemagick' failed: cannot link against libMagick
libMagick can be found in the following packages:
  Wand  http://www.imagemagick.org/

Also reassigning to proper herd.
Comment 3 Markus Meier gentoo-dev 2008-03-17 17:43:22 UTC
it looks like they renamed the -lMagick option to -lMagickCore...

# pkg-config --libs ImageMagick++
-lMagick++ -lMagickWand -lMagickCore
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-03-17 20:58:41 UTC
Not an imagemagick bug, see the changelog. Sending back to maintainer.
Comment 5 Alexis Ballier gentoo-dev 2008-03-17 23:13:40 UTC
Actually I have fixed pstoedit this afternoon; the failure was caused by the -pedantic cflag that should be sedded out now.
Anyway, imagemagick using definitions that break with -pedantic in its public headers is insane, but that's another story...


please reopen if I messed up something