media-libs/ftgl-2.1.3_rc5 changes one of the include file names and media-libs/libprojectm-1.2.0 doesn't find the file and fails to build. Reproducible: Always Steps to Reproduce: 1. Build media-libs/ftgl-2.1.3_rc5 2. Build media-libs/libprojectm-1.2.0 3. media-libs/libprojectm-1.2.0 fails to build. Actual Results: Scanning dependencies of target projectM [ 2%] Building CXX object CMakeFiles/projectM.dir/projectM.o In file included from /var/tmp/portage/media-libs/libprojectm-1.2.0/work/libprojectM-1.2.0/projectM.cpp:59: /var/tmp/portage/media-libs/libprojectm-1.2.0/work/libprojectM-1.2.0/Renderer.hpp:27:23: error: FTGL/FTGL.h: No such file or directory In file included from /var/tmp/portage/media-libs/libprojectm-1.2.0/work/libprojectM-1.2.0/Renderer.hpp:28, from /var/tmp/portage/media-libs/libprojectm-1.2.0/work/libprojectM-1.2.0/projectM.cpp:59: /usr/include/FTGL/FTGLPixmapFont.h:29:5: warning: #warning This header is deprecated. Please use <FTGL/ftgl.h> from now. make[2]: *** [CMakeFiles/projectM.dir/projectM.o] Error 1 make[1]: *** [CMakeFiles/projectM.dir/all] Error 2 make: *** [all] Error 2 * * ERROR: media-libs/libprojectm-1.2.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2580: Called cmake-utils_src_compile * environment, line 617: Called cmake-utils_src_make * environment, line 668: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! * * 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-libs/libprojectm-1.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/libprojectm-1.2.0/temp/environment'. Expected Results: media-libs/libprojectm-1.2.0 builds without an error. Went to /usr/include/FTGL and created a softlink FTGL.h -> ftgl.h and media-libs/libprojectm-1.2.0 built fine. emerge --info Portage 2.1.6_rc2 (default-linux/amd64/2007.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r4-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-glibc2.2.5 Timestamp of tree: Fri, 28 Nov 2008 15:35:01 +0000 app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -mtune=amdfam10 -msse3 -O2 -pipe" 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.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=amdfam10 -mtune=amdfam10 -msse3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://mirror.uni-c.dk/pub/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="" LINGUAS="en en_US" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120" 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/portage/layman/Spring /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip S3TC X a52 aac acpi aften alsa amarok amd64 amrnb arts audiofile bash-completion berkdb binary-drivers bluetooth bzip2 cairo cddb cdparanoia cdr cdrom cracklib crypt css cups curl dbus divx dri dv dvd dvdr dvdread emoticon encode expat fame ffmpeg fftw firefox flac foomaticdb gdbm gif gimpglibc-omitfp glitz glut gzip hal iconv ieee1394 imagemagick imlib iproute2 java javascript joystick jpeg jpeg2k kde kdehiddenvisibility kdeprefix lame libvisual live lm_sensors logitech-mouse lzo mad midi mikmod mjpeg mmx mmxext mng mp2mp3 mp4 mpeg mpeg2 mplayer musicbrainz ncurses network nls normalize nptl nptlonly nsplugin nspr nvidia offensive ogg openal opengl openmp pam pango pcre perl physfs png ppds python qt3 qt3support qt4 quicktime rar readline rtc samba scanner sdl smartcard sound sse sse2 sse3 ssl subtitles svg svgz sysfs syslog tcpd theora threadsafe tiff transcode truetype type1 unicode unzip urandom usb userlocales utempter v4l2 vcd visualization vorbis wav wifi wma wmf wmp xcompositexine xml xorg xpm xscreensaver xulrunner xvid xvmc zip zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
/usr/include/FTGL/FTGLPixmapFont.h:29:5: warning: #warning This header is deprecated. Please use <FTGL/ftgl.h> from now.
Created attachment 173874 [details, diff] Patch to change include filename
Created attachment 173875 [details] New ebuild
I know this patch gives problems with earlier versions of media-libs/ftgl-2.1.3_rc5 But, it works for me now.
*** Bug 249587 has been marked as a duplicate of this bug. ***
+ 07 Dec 2008; <ssuominen@gentoo.org> libprojectm-1.2.0.ebuild: + Fix compilation with >=ftgl-2.1.3_rc5 wrt #249176. src_unpack() { unpack ${A} if has_version ">=media-libs/ftgl-2.1.3_rc5"; then sed -i -e 's:FTGL.h:ftgl.h:g' "${S}"/Renderer.hpp || die "sed failed." fi } I know it's a fugly hack but it works now, please report this to upstream.
*** Bug 250228 has been marked as a duplicate of this bug. ***