Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 269493

Summary: media-libs/freeimage-3.11.0 fails to compile with cxx use flag
Product: Gentoo Linux Reporter: Asfand Yar Qazi <ayqazi>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Asfand Yar Qazi 2009-05-12 04:44:47 UTC
media-libs/freeimage-3.11.0 fails to compile with cxx use flag


Reproducible: Always

Steps to Reproduce:
Compile media-libs/freeimage-3.11.0 with cxx flag

Actual Results:  
>>> Install freeimage-3.11.0 into /var/tmp/portage/media-libs/freeimage-3.11.0/image/ category media-libs
make -j2 -f Makefile.gnu install
install -m 644 -o root -g root Source/FreeImage.h /var/tmp/portage/media-libs/freeimage-3.11.0/image//usr/include
install -m 644 -o root -g root libfreeimage.a /var/tmp/portage/media-libs/freeimage-3.11.0/image//usr/lib64
install -m 755 -o root -g root libfreeimage-3.11.0.so /var/tmp/portage/media-libs/freeimage-3.11.0/image//usr/lib64
ln -sf libfreeimage-3.11.0.so /var/tmp/portage/media-libs/freeimage-3.11.0/image//usr/lib64/libfreeimage.so.3
ln -sf libfreeimage.so.3 /var/tmp/portage/media-libs/freeimage-3.11.0/image//usr/lib64/libfreeimage.so
ldconfig
make -j2 -f Makefile.fip install
install -m 644 -o root -g root Source/FreeImage.h /var/tmp/portage/media-libs/freeimage-3.11.0/image//usr/include
install -m 644 -o root -g root Wrapper/FreeImagePlus/FreeImagePlus.h /var/tmp/portage/media-libs/freeimage-3.11.0/image//usr/include
install -m 644 -o root -g root libfreeimageplus.a /var/tmp/portage/media-libs/freeimage-3.11.0/image//usr/lib64
install -m 755 -o root -g root libfreeimageplus-3.11.0.so /var/tmp/portage/media-libs/freeimage-3.11.0/image//usr/lib64
ln -sf libfreeimageplus-3.11.0.so /var/tmp/portage/media-libs/freeimage-3.11.0/image//usr/lib64/libfreeimageplus.so.3
ln -sf libfreeimageplus.so.3 /var/tmp/portage/media-libs/freeimage-3.11.0/image//usr/lib64/libfreeimageplus.so
ldconfig
make: *** [install] Error 137
 *
 * ERROR: media-libs/freeimage-3.11.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line  823:  Called die
 * The specific snippet of code:
 *           emake -f Makefile.fip install || die "emake install fip failed";
 *  The die message:
 *   emake install fip failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/emerge/media-libs:freeimage-3.11.0:20090512-044305.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/freeimage-3.11.0/temp/environment'.



It works without the cxx flag (luckily, ogre does NOT need the cxx flag set on freeimage)
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2009-05-12 05:44:02 UTC
Should be fixed up now.