'emerge plplot' fails at the first computer with: [ 41%] Building CXX object drivers/CMakeFiles/wxwidgets.dir/wxwidgets.o In file included from /usr/include/wx-2.8/wx/wx.h:15, from /var/tmp/portage/sci-libs/plplot-5.9.0/work/plplot-5.9.0/drivers/wxwidgets.cpp:51: /usr/include/wx-2.8/wx/defs.h:42:13: error: #error "No Target! You should use wx-config program for compilation flags!" In file included from /usr/include/wx-2.8/wx/cursor.h:24, from /usr/include/wx-2.8/wx/event.h:22, from /usr/include/wx-2.8/wx/wx.h:25, from /var/tmp/portage/sci-libs/plplot-5.9.0/work/plplot-5.9.0/drivers/wxwidgets.cpp:51: /usr/include/wx-2.8/wx/gtk/cursor.h:40: error: ISO C++ forbids declaration of 'GdkCursor' with no type /usr/include/wx-2.8/wx/gtk/cursor.h:40: error: expected ';' before '*' token In file included from /usr/include/wx-2.8/wx/app.h:570, and on the second computer with: Scanning dependencies of target xwin [ 72%] Building C object drivers/CMakeFiles/xwin.dir/xwin.o In file included from /usr/include/wx-2.8/wx/cursor.h:24, from /usr/include/wx-2.8/wx/event.h:22, from /usr/include/wx-2.8/wx/wx.h:25, from /var/tmp/portage/sci-libs/plplot-5.9.0/work/plplot-5.9.0/drivers/wxwidgets.cpp:51: /usr/include/wx-2.8/wx/gtk/cursor.h:40: error: ISO C++ forbids declaration of 'GdkCursor' with no type /usr/include/wx-2.8/wx/gtk/cursor.h:40: error: expected ';' before '*' token In file included from /usr/include/wx-2.8/wx/app.h:570, from /usr/include/wx-2.8/wx/wx.h:26, Reproducible: Always On the first computer: deer PDL-2.4.3 # emerge --info Portage 2.2_rc12 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.26-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-glibc2.2.5 Timestamp of tree: Wed, 15 Oct 2008 09:00:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.4.4-r13, 2.5.2-r8 dev-python/pycrypto: 2.0.1-r6 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.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -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/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" FFLAGS="-march=nocona -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="de fr" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" 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/science /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amd64 amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth bonobo boo boost bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi dri ds3490 dv dvb dvd dvdr dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx galago gd gdal gdbm geos gif gimp gimpprint ginac glade glitz gml gmp gnokii gnome gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened hddtemp hdf hdf5 hlapi http hvm iconv icq icu id3 imagemagick imap innodb ipv6 irda irmc isdnlog ithreads jabber java jbig john jpeg jpeg2k kerberos kexi keyring ladspa lame lapack latex lcms ldap libffi libgda libsamplerate lirc lm_sensors lua lzo lzw mad maildir math matroska midi mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap multilib musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs numarray numeric nvidia obex ocaml octave odbc ogdi ogg ole opengl openmp pae pam pcre pda pdf perl plotutils plugins png posix postgres postscript pppd preview-latex proj projectx pstricks python qhull quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp smp sndfile snmp soup sox speex spell spl sqlite sse sse2 ssl stlport subtitles subversion suexec svg sysfs t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unicode userlocales utempter v4l2 vorbis wmf wxwindows xattr xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Please run `eselect wxwidgets help' to find out how to select a wxwidgets implementation.
'eselect wxwidgets list' shows me : root@deer:/root(2)# eselect wxwidgets list Available wxWidgets profiles: [1] gtk2-ansi-release-2.6 [2] gtk2-unicode-release-2.6 [3] gtk2-unicode-release-2.8 * So I thought gtk2-unicode-release-2.8 is selected. And root@deer:/root(4)# eselect wxwidgets show Current wxWidgets profile: gtk2-unicode-release-2.8 seems me to affirm this. But 'emerge plplot' still fails with: [ 72%] Building C object drivers/CMakeFiles/xwin.dir/xwin.o In file included from /usr/include/wx-2.8/wx/cursor.h:24, from /usr/include/wx-2.8/wx/event.h:22, from /usr/include/wx-2.8/wx/wx.h:25, from /var/tmp/portage/sci-libs/plplot-5.9.0/work/plplot-5.9.0/drivers/wxwidgets.cpp:51: /usr/include/wx-2.8/wx/gtk/cursor.h:40: error: ISO C++ forbids declaration of 'GdkCursor' with no type /usr/include/wx-2.8/wx/gtk/cursor.h:40: error: expected ';' before '*' token Installed is: app-admin/eselect-wxwidgets-0.8 dev-python/wxpython-2.6.4.0-r2 dev-python/wxpython-2.8.9.1 x11-libs/wxGTK-2.6.4.0-r4 x11-libs/wxGTK-2.8.9.1 What can I else do? Regards Juergen
Ok, I'm guessing some kind of wxwidgets problem (since it seems to be finding issues with wxGTK), but I've CCed the plplot guys too in case it turns out to be specific to this package...
(In reply to comment #1) > Please run `eselect wxwidgets help' to find out how to select a wxwidgets > implementation. > eselect wxwidgets has nothing to do with packages built with portage. it's only for manually building stuff yourself. where is this ebuild from? the tree only has 5.5.2 which has no wxwidgets driver.
okay, found it. you're missing the include path of the profile-specific setup.h header. this is in a wonderfully named path like /usr/lib64/wx/include/gtk2-unicode-release-2.8 which likes to randomly change depending on what USE flags wxGTK was built with. the proper way to get this path is through wx-config. basically upstream needs to learn to use wx-config in their build system. I replaced the -DwxWidgets_INCLUDE_DIR in src_compile with something like if use wxwindows; then sed -i -e \ "s:-I\${wxWidgets_INCLUDE_DIRS} \${wxWidgets_DEFINITIONS}:$(${WX_CONFIG} --cxxflags):" \ "${S}"/cmake/modules/wxwidgets.cmake fi which is ugly, but works. The proper way to fix this is to make these variables in wxwidgets.cmake get their values from the output of wx-config rather than defines: wxwidgets_COMPILE_FLAGS : ${WX_CONFIG} --cxxflags wxwidgets_LINK_FLAGS : ${WX_CONFIG} --libs where ${WX_CONFIG} is taken from the environment or set by a configure flag or whatever the cmake equivalent is, and defaults to /usr/bin/wx-config if not set.
Created attachment 169008 [details, diff] hack
Thanks for your patch Ryan. It has been applied to the main tree plplot-5.9.0 I've just committed.
(In reply to comment #7) > Thanks for your patch Ryan. It has been applied to the main tree plplot-5.9.0 > I've just committed. > the exact error still there now with the updated plplot-5.9.0 /usr/include/wx-2.8/wx/defs.h:42:13: error: #error "No Target! You should use wx-config program for compilation flags!"
(In reply to comment #8) > the exact error still there now with the updated plplot-5.9.0 > > /usr/include/wx-2.8/wx/defs.h:42:13: error: #error "No Target! You should use > wx-config program for compilation flags!" I can confirm this. Please reopen! Regards Jan
i'll take a closer look
*** Bug 250074 has been marked as a duplicate of this bug. ***
I bumped plplot to 5.9.2 and I removed the wxwidgets hack which broke parallel building. I did not encounter the problem. But test it since upstream made some changes with the wx stuff. Thanks,
I've just bumped plplot to 5.9.5. The wxwidgets stuff seems to work perfectly hence I am closing this one. Please re-open should this crop up again. Thanks, Markus
Now I have the same problem with plplot-5.9.5,'emerge -uv plplot' shows: ... [ 34%] Building C object drivers/CMakeFiles/xwin.dir/xwin.c.o Linking C shared module xwin.so [ 34%] Built target xwin Scanning dependencies of target wxwidgets [ 34%] Building CXX object drivers/CMakeFiles/wxwidgets.dir/wxwidgets_agg.cpp.o c++: _FILE_OFFSET_BITS=64: No such file or directory c++: _LARGE_FILES: No such file or directory c++: __WXGTK__: No such file or directory In file included from /usr/include/wx-2.8/wx/wx.h:15, from /var/tmp/portage/sci-libs/plplot-5.9.5/work/plplot-5.9.5/drivers/wxwidgets_agg.cpp:28: /usr/include/wx-2.8/wx/defs.h:42:13: error: #error "No Target! You should use wx-config program for compilation flags!" ... grizzly ~ # eselect wxwidgets show Current wxWidgets profile: gtk2-unicode-release-2.8
Please reopen.
grizzly ~ # emerge -pvu plplot These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sci-libs/plplot-5.9.5 [5.9.2] USE="X cairo examples fortran gd gnome java jpeg latex octave pdf perl png python qhull svg tcl threads tk truetype -ada -debug -doc (-svga) -wxwindows" 0 kB
grizzly ~ # emerge --info Portage 2.1.7.5 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r0, 2.6.30-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-2.0.1 Timestamp of tree: Sat, 21 Nov 2009 03:00:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.4, 3.1.1-r1 dev-python/pycrypto: 2.1.0_beta1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r2 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-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.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8" 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/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -march=k8" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ " LC_ALL="C" LDFLAGS="-Wl,-O1" LINGUAS="de fr" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages/" PORTAGE_CONFIGROOT="/" 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/zugaina /usr/local/portage/layman/dotnet /usr/local/portage/layman/science /usr/local/portage/layman/java-overlay /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amd64 amrr ao aotuv apache2 asf aspell atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth bonobo boo boost branding bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi doc dri ds3490 dts dv dvb dvd dvdr dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra extras fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx fuse galago garmin gd gdal gdbm geolocation geos gif gimp gimpprint ginac glade glib glitz gml gmp gnokii gnome gnome-keyring gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened harness hddtemp hdf hdf5 hlapi http httpd iconv icq icu id3 ide imagemagick imap innodb ipod ipv6 irda irmc ithreads jabber java java5 java6 jbig john jpeg jpeg2k kde kde4 kerberos kexi keyring ladspa lame lapack latex lcms ldap libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo lzw mad maildir mailwrapper math matroska mikmod mmx mmxext mng mod modules mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mtp mudflap multilib musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numarray numeric obex objc ocaml octave odbc ogdi ogg ole openexr opengl openmp pae pam pcre pda pdf perl pipechan plotutils plugins png podcast policykit posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio python qemu qhull qt3support qt4 quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl server session slang slp smbclient sndfile snmp soup sox speex spell spl sql sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg sysfs szip t1lib tcl tcpd tex theora threads thunar thunderbird tidy tiff tk tntc truetype unicode usb userlocales utempter v4l2 vorbis wav webdav webdav-serf webkit wmf wxwidgets x264 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="AC'97" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="tda10046 saa7134" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" LIRC_DEVICES="hauppauge_dvb" NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" USERLAND="GNU" VIDEO_CARDS="radeon vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I can't reproduce this. What does eselect wxwidgets list give and have you tried setting your wxwidgets implementation via eselect? Thanks, Markus
eselect wxwidgets doesn't control what version portage uses, it's userspace only. It looks like the problem is wxwidgets-using code is being built when he has USE="-wxwidgets".
I have set USE="... wxwidgets ..." in /etc/make.conf I tested the USE flags for eselect-wxwidgets wxGTK plplot: root@grizzly:/var/lib/samba(120)# emerge -pvD eselect-wxwidgets wxGTK plplot These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-admin/eselect-wxwidgets-1.2 0 kB [ebuild R ] x11-libs/wxGTK-2.8.10.1-r3 USE="X doc gnome gstreamer opengl sdl -debug -odbc -pch" 0 kB [ebuild U ] sci-libs/plplot-5.9.5 [5.9.2] USE="X cairo examples fortran gd gnome java jpeg latex octave pdf perl png python qhull svg tcl threads tk truetype -ada -debug -doc (-svga) -wxwindows" 0 kB The wxwidgets flag seems to be not relevant for eselect-wxwidgets, wxGTK and plplot. 'eselect wxwidgets list' prints: root@grizzly:/var/lib/samba(122)# eselect wxwidgets list Available wxWidgets profiles: [1] gtk2-ansi-release-2.6 [2] gtk2-unicode-release-2.6 [3] gtk2-unicode-release-2.8 * What could still depend on wxwidgets and is relevant for plplot?
this isn't fixed. ;)
Created attachment 211119 [details, diff] plplot-5.9.5.ebuild.diff Sorry, I meant USE="wxwindows". It seems that while -DENABLE_wxwidgets=OFF disables the language bindings, there is also a wxwidgets "driver" and wxwidgets and wxpng "devices" that remain enabled. These are controlled with -DPLD_wxwidgets and -DPLD_wxpng. -DENABLE_wxwidgets is conditional on these being enabled, so the attached patch changes the ebuild to use them instead. while i was in there i also changed the flag name to wxwidgets and dropped an unnecessary call to wxwidgets_pkg_setup. The good news is that this fixes wx stuff getting built with USE="-wxwidgets". The bad news is that I still get the error above when wxwidgets is enabled. :/ I'll look into it (for reals this time), but I suck at cmake.
Created attachment 211121 [details, diff] plplot-5.9.5-wxwidgets-cmake.patch -- wxwidgets_COMPILE_FLAGS = -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 _FILE_OFFSET_BITS=64 _LARGE_FILES __WXGTK__ "-D" is being stripped from front of the definitions. This is due to a change in cmake 2.8.0: http://www.mail-archive.com/cmake@cmake.org/msg24877.html This has been fixed upstream: http://plplot.svn.sourceforge.net/viewvc/plplot?view=rev&revision=10561
Created attachment 211123 [details, diff] plplot-5.9.5.ebuild.diff USE="truetype wxwidgets" will fail to build if x11-libs/agg wasn't built with the truetype flag enabled.
Thanks Ryan for follow-up. I committed the fixes.