The cel ebuild is unable to find crystal space, although it is installed and the appropriate environment variables are set. Reproducible: Always Steps to Reproduce: 1. emerge dev-games/cel Actual Results: ... checking for pkg-config... pkg-config checking if pkg-config recognizes cppunit... no checking for cppunit-config... no checking for libcppunit... no checking for cs-config... /opt/crystal/bin/cs-config checking if Crystal Space version >= 0.99... yes (version 0.99) checking if Crystal Space SDK is usable... no configure: error: *** Crystal Space could not be found or was unusable. The latest version is *** always available from http://www.crystalspace3d.org/ *** Also, be sure that you have either installed Crystal Space or set the *** CRYSTAL environment variable properly. !!! ERROR: dev-games/cel-0.99_pre20050518 failed. !!! Function src_compile, Line 45, Exitcode 1 !!! configure failed Expected Results: successfully emerge cel Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r8 x86_64) ================================================================= System uname: 2.6.12-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 2800+ Gentoo Base System version 1.12.0_pre5 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -w -fforce-addr -freduce-all-givs -fmove-all-movables" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c /lib/modules /etc/env.d" CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -w -fforce-addr -freduce-all-givs -fmove-all-movables -fvisibility-inlines-hidden " DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi ada alsa apache2 apm arts artswrappersuid artworkextra auctex audiofile avantgo avi bash-completion berkdb bitmap-fonts bl blender-game bonobo bootsplash browserplugin bzip2 cdda cddb cdr cdrom chroot clamav clamd clanJavaScript clanVoice cpudetection crypt cscope css cups curl dga directfb dnd doc dpms dri dts dv dvd dvdr dvdread ecc edl eds emul-linux-x86 encode esd examples fam ffmpeg flac fmod foomaticdb fortran ftp gcj gd gdbm gif gimp gimpprint glep glibc-omitfp glut glx gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hbci icq idea imagemagick imap imlib ipv6 jabber java javamail javascript jce jikes jpeg junit kde kdepim latex libwww lzw mad maildir math matrox memlimit mikmod mime motif mozcalendar mozdevelop mozilla mozsvg mp3 mpeg mplayer msn musicbrainz mysql ncurses netbeans nethack nptl nvidia objc offensive ofx ogg oggvorbis on-the-fly-crypt openal opengl pam pam_chroot pam_console pam_timestamp pda pdf pdflib perl perlsuid physfs pic png posix povray ppds print python qt quicktime quotes readline rss ruby sblive sdl session sharedmem shorten simplexml smime source speex spell ssl subtitles subversion svg sysfs sysvipc tcltk tcpd tetex tga theora threads tidy tiff toolbar truetype truetype-fonts type1-fonts unicode usb userlocales vcd vim-pager vim-with-x vorbis xanim xemacs xface xine xml xml2 xmms xosd xpm xprint xscreensaver xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
post the config.log as an attachment
Created attachment 66231 [details] config.log from building cel
How about trying it will CFLAGS="-pipe" CXXFLAGS="-pipe"
configure:7545: g++ -o conftest -I/opt/crystal/include/crystalspace -march=athlon64 -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -w -fforce-addr -freduce-allvs -fmove-all-movables -fvisibility-inlines-hidden conftest.cc -L/opt/crystal/lib -lcrystalspace -lpthread -lz -lm -ldl -lnsl -L/usr/local/lib -Wl,-E -g3 >&5 cc1plus: error: unrecognized command line option "-freduce-allvs" looks like either you screwed up CXXFLAGS in your env or more likely that the cel configure script tries to get smart and mung up your flags ...
Pending response from reporter.