Imagemagick-6.4.8.3 ebuild failed(Compilation Error). I'm using gcc4.3.2. The Error Information is as follows: make: *** [all] Error 2 ERROR: media-gfx/imagemagick-6.4.8.3 failed. Call stack: ebuild.sh, line 49: Called src_compile environment, line 2409: Called perl-app_src_compile environment, line 2088: Called die The specific snippet of code: make ${mymake} || die "compilation failed"; The die message: compilation failed Reproducible: Always Steps to Reproduce: emerge -avutDN world Then the system will tell that imagemagick6.4.5.9 needs to be upgraded to 6.4.8.3. Then click yes to upgrade and finally, there is a compilation error and the upgrading aborted. Host system type: i686-pc-linux-gnu Build system type: i686-pc-linux-gnu Option Value ------------------------------------------------------------------------------- Shared libraries --enable-shared=yes yes Static libraries --enable-static=yes yes Module support --with-modules=yes yes GNU ld --with-gnu-ld=yes yes Quantum depth --with-quantum-depth=16 16 High Dynamic Range Imagery --enable-hdri=no no Delegate Configuration: BZLIB --with-bzlib=yes yes Autotrace --with-autotrace=no no DJVU --with-djvu=no no DPS --with-dps=no no FlashPIX --with-fpx=no no FontConfig --with-fontconfig=no no FreeType --with-freetype=yes yes GhostPCL None pcl6 (unknown) GhostXPS None gxps (unknown) Ghostscript None gs (unknown) result_ghostscript_font_dir='none' Ghostscript fonts --with-gs-font-dir=/usr/share/fonts/default/ghostscript Ghostscript lib --with-gslib=no no Graphviz --with-gvc=no JBIG --with-jbig=no no JPEG v1 --with-jpeg=no no JPEG-2000 --with-jp2=no no LCMS --with-lcms=no no LQR --with-lqr=yes no Magick++ --with-magick-plus-plus=yes yes OpenEXR --with-openexr=no no PERL --with-perl=no no PNG --with-png=no no RSVG --with-rsvg=no no TIFF --with-tiff=no no Windows fonts --with-windows-font-dir=/usr/share/fonts/corefonts /usr/share/fonts/corefonts/ WMF --with-wmf=no no X11 --with-x=yes yes XML --with-xml=no no ZLIB --with-zlib=yes yes X11 Configuration: X_CFLAGS = X_PRE_LIBS = -lSM -lICE X_LIBS = X_EXTRA_LIBS = Options used to compile and link: PREFIX = /usr EXEC-PREFIX = /usr VERSION = 6.4.8 CC = i686-pc-linux-gnu-gcc -std=gnu99 CFLAGS = -fopenmp -O2 -march=core2 -pipe -fomit-frame-pointer -Wall -W -pthread MAGICK_CFLAGS = -fopenmp -O2 -march=core2 -pipe -fomit-frame-pointer -Wall -W -pthread CPPFLAGS = -I/usr/include/ImageMagick PCFLAGS = -fopenmp DEFS = -DHAVE_CONFIG_H LDFLAGS = -Wl,-O1 -lfreetype -lz MAGICK_LDFLAGS = -L/usr/lib -Wl,-O1 -lfreetype -lz LIBS = -lMagickCore -lfreetype -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lgomp -lpthread -lltdl CXX = i686-pc-linux-gnu-g++ CXXFLAGS = -O2 -march=core2 -pipe -fomit-frame-pointer -Wall -W -pthread
Created attachment 179648 [details] Error Ebuild Log imagemagick-6.4.8.3 ebuild log
Please post your use-flags.
Did you try to reemerge? Fixed it for me.
(In reply to comment #2) > Please post your use-flags. > # These settings were set by the catalyst build script that automatically # built this stage. # Please consult /etc/make.conf.example for a more detailed example. CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer" CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer" MAKEOPTS="-j3" LDFLAGS="-Wl,-O1" FEATURES="sandbox ccache parallel-fetch" CCACHE_SIZE="2G" CCACHE_DIR="/var/tmp/ccache/" LINGUAS="zh_CN" AUTOCLEAN="yes" # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. CHOST="i686-pc-linux-gnu" ACCEPT_KEYWORDS="~x86" INPUT_DEVICES="keyboard vmmouse" VIDEO_CARDS="vmware" USE="-qt3 -qt4 -arts -kde X dbus gtk gnome hal alsa java rar truetype mozilla odbc jdbc -cups -ipv6 mmx sse sse2" GENTOO_MIRRORS="http://61.135.158.199" SYNC="rsync://61.135.158.199/gentoo-portage"
I've tried to reemerge, but still the same compilation error. My gcc version is 4.3.2, maybe it's too high for imagemagick.
(In reply to comment #3) > Did you try to reemerge? Fixed it for me. > Oh, yes, I reemerged it successfully today, the bug is already fixed. Thanks