While emerging media-gfx/imagemagick-6.3.5.10 it fails at djvu.c:595 ======================================================= /bin/sh ./libtool --silent --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./magick -I./wand -I/usr/include/freetype2 -O2 -march=pentium3 -fomit-frame-pointer -Wall -W -pthread -MT coders/coders_djvu_la-djvu.lo -MD -MP -MF coders/.deps/coders_djvu_la-djvu.Tpo -c -o coders/coders_djvu_la-djvu.lo `test -f 'coders/djvu.c' || echo './'`coders/djvu.c coders/djvu.c: In function 'get_page_image': coders/djvu.c:357: warning: implicit declaration of function 'ddjvu_format_set_y_direction' coders/djvu.c:359: warning: unused variable 'ret' coders/djvu.c: In function 'ReadOneDJVUImage': coders/djvu.c:595: error: 'ddjvu_pageinfo_t' undeclared (first use in this function) coders/djvu.c:595: error: (Each undeclared identifier is reported only once coders/djvu.c:595: error: for each function it appears in.) coders/djvu.c:595: error: expected ';' before 'info' coders/djvu.c:596: warning: implicit declaration of function 'ddjvu_document_get_pageinfo' coders/djvu.c:596: error: 'info' undeclared (first use in this function) make: *** [coders/coders_djvu_la-djvu.lo] Error 1 make: *** Waiting for unfinished jobs.... mv -f coders/.deps/coders_yuv_la-yuv.Tpo coders/.deps/coders_yuv_la-yuv.Plo * * ERROR: media-gfx/imagemagick-6.3.5.10 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * imagemagick-6.3.5.10.ebuild, line 96: Called die * The specific snippet of code: * emake || die "compile problem" * The die message: * compile problem * * 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.3.5.10/temp/build.log'. ==================================================== emerge -pvuND imagemagick These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-gfx/imagemagick-6.3.5.10 [6.0.7.1] USE="X bzip2%* jpeg perl png truetype zlib%* -doc% -fpx% -graphviz -gs% -hdri% -jbig -jpeg2k% -lcms -mpeg* -nocxx% -openexr% -q32% -q8% -tiff -wmf -xml% (-cups%*) (-xml2%*)" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB =========================================================== EMERGE --INFO: emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22.3 i686) ================================================================= System uname: 2.6.22.3 i686 Pentium III (Coppermine) Timestamp of tree: Thu, 15 Nov 2007 18:04:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.2.11 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-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 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aim alsa amr arts berkdb bitmap-fonts bzip2 cddb cdio cli cracklib crypt cups dga divx4linux dri dvd encode esd foomaticdb fortran gdbm gif gimpprint gpm gtk iconv imlib ipv6 isdnlog jpeg mad midi mikmod mmx mmx2 mmxext mng mozilla mp2 mp3 mudflap ncurses network nls nptl nptlonly ogg openal openmp pam pcre perl png pnm ppds pppd python qt quicktime radio readline reflection sdl session speex spl sse ssl tcpd theora truetype truetype-fonts type1-fonts unicode usb v4l vfl vfl2 vorbis x86 xanim xinerama xorg xv xvid zlib" ALSA_CARDS="snd-sb16" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Reproducible: Always Steps to Reproduce: 1. emerge imagemagick 2. 3.
If I turn off all the USE flags it compiles, but when I turn on "X" it fails with the same error.
does this still happen with media-gfx/imagemagick-6.3.7.8 ?
It worked with media-gfx/imagemagick-6.3.7.9.