dev-python/PyQt4-4.8 failed on compile Reproducible: Always Actual Results: gpl-4.8-2.6/qpy/QtGui -I/usr/include/python2.6 -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/X11R6/include -o sipQtGuiQFontDialog.o sipQtGuiQFontDialog.cpp x86_64-pc-linux-gnu-g++ -c -march=core2 -O2 -pipe -fPIC -Wall -W -D_REENTRANT -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/var/tmp/portage/dev-python/PyQt4-4.8/work/PyQt-x11-gpl-4.8-2.6/qpy/QtGui -I/usr/include/python2.6 -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/X11R6/include -o sipQtGuiQList0100QFontDatabaseWritingSystem.o sipQtGuiQList0100QFontDatabaseWritingSystem.cpp x86_64-pc-linux-gnu-g++ -c -march=core2 -O2 -pipe -fPIC -Wall -W -D_REENTRANT -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/var/tmp/portage/dev-python/PyQt4-4.8/work/PyQt-x11-gpl-4.8-2.6/qpy/QtGui -I/usr/include/python2.6 -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/X11R6/include -o sipQtGuiQFontDatabase.o sipQtGuiQFontDatabase.cpp x86_64-pc-linux-gnu-g++ -c -march=core2 -O2 -pipe -fPIC -Wall -W -D_REENTRANT -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/var/tmp/portage/dev-python/PyQt4-4.8/work/PyQt-x11-gpl-4.8-2.6/qpy/QtGui -I/usr/include/python2.6 -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/X11R6/include -o sipQtGuiQFontComboBoxFontFilters.o sipQtGuiQFontComboBoxFontFilters.cpp x86_64-pc-linux-gnu-g++ -c -march=core2 -O2 -pipe -fPIC -Wall -W -D_REENTRANT -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/var/tmp/portage/dev-python/PyQt4-4.8/work/PyQt-x11-gpl-4.8-2.6/qpy/QtGui -I/usr/include/python2.6 -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/X11R6/include -o sipQtGuiQFontComboBox.o sipQtGuiQFontComboBox.cpp x86_64-pc-linux-gnu-g++ -c -march=core2 -O2 -pipe -fPIC -Wall -W -D_REENTRANT -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/var/tmp/portage/dev-python/PyQt4-4.8/work/PyQt-x11-gpl-4.8-2.6/qpy/QtGui -I/usr/include/python2.6 -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/X11R6/include -o sipQtGuiQFont.o sipQtGuiQFont.cpp x86_64-pc-linux-gnu-g++ -c -march=core2 -O2 -pipe -fPIC -Wall -W -D_REENTRANT -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/var/tmp/portage/dev-python/PyQt4-4.8/work/PyQt-x11-gpl-4.8-2.6/qpy/QtGui -I/usr/include/python2.6 -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/X11R6/include -o sipQtGuiQFocusFrame.o sipQtGuiQFocusFrame.cpp sipQtGuiQFont.cpp:2298: error: ‘Cursive’ is not a member of ‘QFont’ sipQtGuiQFont.cpp:2304: error: ‘Fantasy’ is not a member of ‘QFont’ sipQtGuiQFont.cpp:2310: error: ‘Monospace’ is not a member of ‘QFont’ sipQtGuiQFont.cpp:2338: error: too many initializers for ‘sipEnumMemberDef’ sipQtGuiQFont.cpp:2338: error: too many initializers for ‘sipEnumMemberDef’ sipQtGuiQFont.cpp:2338: error: too many initializers for ‘sipEnumMemberDef’ make[1]: *** [sipQtGuiQFont.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt4-4.8/work/PyQt-x11-gpl-4.8-2.6/QtGui' make: *** [all] Error 2 emake failed * ERROR: dev-python/PyQt4-4.8 failed: * Building failed with CPython 2.6 in python_default_function() function * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 4915: Called python_src_compile * environment, line 4777: Called python_execute_function '-d' '-s' '--' * environment, line 3578: Called die * The specific snippet of code: * die "${failure_message}"; * * If you need support, post the output of 'emerge --info =dev-python/PyQt4-4.8', * the complete build log and the output of 'emerge -pqv =dev-python/PyQt4-4.8'. * The complete build log is located at '/var/log/portage/dev-python:PyQt4-4.8:20101023-190048.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQt4-4.8/temp/environment'. * S: '/var/tmp/portage/dev-python/PyQt4-4.8/work/PyQt-x11-gpl-4.8' * Messages for package dev-python/PyQt4-4.8: * ERROR: dev-python/PyQt4-4.8 failed: * Building failed with CPython 2.6 in python_default_function() function * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 4915: Called python_src_compile * environment, line 4777: Called python_execute_function '-d' '-s' '--' * environment, line 3578: Called die * The specific snippet of code: * die "${failure_message}"; * * If you need support, post the output of 'emerge --info =dev-python/PyQt4-4.8', * the complete build log and the output of 'emerge -pqv =dev-python/PyQt4-4.8'. * The complete build log is located at '/var/log/portage/dev-python:PyQt4-4.8:20101023-190048.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQt4-4.8/temp/environment'. * S: '/var/tmp/portage/dev-python/PyQt4-4.8/work/PyQt-x11-gpl-4.8' * Portage 2.1.9.22 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.12.1-r1, 2.6.36-gentoo x86_64) ================================================================= System uname: Linux-2.6.36-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 23 Oct 2010 18:30:22 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.6-r1, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/X11/xorg.conf /etc/apache2/httpd.conf /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/fstab /etc/make.conf /etc/xdg/openbox/autostart.sh /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/start /usr/share/xsessions/openbox.desktop /var/bind /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" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en vi" MAKEOPTS="-j3" 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/portage/local/layman/emacs /usr/portage/local/layman/gnome /usr/portage/local/layman/lorelei /usr/portage/local/layman/wirelay /usr/portage/local/layman/mpd /usr/portage/local/layman/qting-edge /usr/portage/local/layman/roslin /usr/portage/local/layman/scarabeus /usr/portage/local/layman/gamerlay /usr/portage/local/layman/science /usr/portage/local/layman/mellon /usr/portage/local/layman/techwolf /usr/portage/local/local-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib accessibility acl acpi adns afs aim alsa amd64 ao apache2 ass atm audio audiofile bash-completion beagle berkdb bidi bluetooth bzip2 cairo caps cdda cdio cdparanoia cdr cgi cjk clamdtop cli clisp consolekit cracklib crypt cscope css csv cups curl curlwrappers cvs cxx dbus dc1394 dga dhcp dhcpcd dia dirac directfb dmx dri dts dv dvd dvdr dvi emacs enca encode enscript exceptions exif expat extras faac faad fam fastcgi fbcon ffmpeg firefox flac flash fortran ftp fuse gcj gd gdbm geoip ggi gif gimp git glib gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gs gstreamer gtk gzip hal hash hddtemp highlight httpd iconv icq icu idn ieee1394 imagemagick imap imlib ipv6 ithreads jabber jack java java6 javascript jbig jingle joystick jpeg jpeg2k kerberos lame lapack latex lcms ldap libcaca libwww live logrotate lua lzo mad maildir matroska mbrola md5sum memlimit mercurial mhash midi mikmod milter mime mjpeg mmap mmx mmxext mng mono motif mp3 mp4 mpeg mplayer msn mudflap mule multilib musepack mysql nas nautilus ncurses netboot network networkmanager nfs nls nptl nptlonly nsplugin nvidia ogg ogg123 openal openexr opengl openmp oss pam pcap pcmcia pcre pdf perl php pic pidgin png policykit posix postgres ppds ps pulseaudio python qt3support qt4 quicktime radio rar raw rdesktop readline reflection rss rtsp ruby samba sasl savedconfig schroedinger sdl sdl-image session sip slang slp smp soap sockets sox spamassassin speex spell spl sqlite sse sse2 ssl ssse3 stream stun subversion svg swat sysfs syslog sysvipc tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype udev unicode urandom usb userlocales v4l v4l2 vcd vhosts video vim-syntax vlm vnc vorbis wav wavpack webkit wifi wma wmf wxwidgets x264 xattr xcb xcomposite xft xinerama xinetd xml xmlrpc xorg xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo zip zlib zsh-completion" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 php5 proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en vi" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev vga nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 251729 [details] error log
same issue here. any updates about the bug??
Same bug here. emerge --info: Portage 2.1.9.22 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.12.1-r1, 2.6.35-zen2 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.35-zen2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 24 Oct 2010 02:30:22 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11 dev-lang/python: 2.4.6, 2.5.4-r3, 2.6.6-r1, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.4_p6-r1, 1.8.5-r4, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -fomit-frame-pointer -ftree-vectorize -ftracer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" 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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=core2 -O2 -fomit-frame-pointer -ftree-vectorize -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs candy distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en pt_BR fi ja de" MAKEOPTS="-j2" 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="/var/lib/layman/mpd /var/lib/layman/games /var/lib/layman/gamerlay /var/lib/layman/matsuu /var/lib/layman/kde /var/lib/layman/qting-edge /usr/local/portage /usr/local/portage/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="64bit X acl alsa amd64 amr anthy bash-completion berkdb bzip2 cd cdparanoia cdr cjk cleartype cli corefonts cracklib crypt css cups cxx dbus directfb dri dvd dvdr encode fat ffmpeg firefox flac fontconfig fortran gdbm gif gpm gtk hal iconv id3tag imagemagick imlib jack jpeg kate kde lame libnotify lm_sensors mad matroska midi mikmod mmx mng modules mp3 mp4 mpeg mplayer msn mudflap multilib musepack ncurses networkmanager nls nptl nptlonly ntfs ogg openal opengl openmp pam pcre pdf perl png pppd python qt3support qt4 rar readline reiserfs samba session spell sql sqlite sse sse2 ssl startup-notification subversion svg sysfs taglib tcpd theora thunar tiff truetype type1 udev unicode usb vim-syntax vorbis webkit wifi x264 xcomposite xfce xorg xulrunner xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt_BR fi ja de" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nouveau nvidia nv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
PyQt4-4.8 seems to map the Cursive, Monospace and Fantasy font hints, which AFAICT were only introduced in Qt 4.7.0. Unfortunately qt-gui-4.7.0 is package.masked since September. So, PyQt4-4.8 needs its dependencies towards Qt fixed. It needs Qt 4.7.0. For a quick fix locally, you can either mask PyQt4-4.8 for now, or unmask all of Qt 4.7 (if you feel adventurous -- I'm trying out this option right now).
Created attachment 252145 [details, diff] patch that fixes the problem I had qt-4.7.0_rc1 on my system and it still did not work. needed this patch to qt-gui to get it going. I also have a patch for the ebuild but is trivial.
(In reply to comment #5) > Created an attachment (id=252145) [details] > patch that fixes the problem > > I had qt-4.7.0_rc1 on my system and it still did not work. The _rc1 ebuilds are over at qting-edge overlay. PyQt4-4.8 ebuild is in main tree, so it cannot depend on ebuilds which may not even be available. The PyQt4-4.8 ebuild needs one line changed, QT_VER bumped to 4.7.0. Then it compiled just fine on an otherwise mostly-stable amd64 (given that also Qt 4.7.0 packages available in the main tree are unmasked). Furthermore, PyQt4-4.8 should probably be masked alongside Qt 4.7.0, up until Qt 4.7.0 packages in the main tree are unmasked.
I use Qt 4.6.3 and PyQt4 4.8 has been built for me without any problems.
(In reply to comment #7) > I use Qt 4.6.3 and PyQt4 4.8 has been built for me without any problems. You might be right, and I feel stupid for not realizing it earlier. Now that I look there are Qt_4_7_0 conditionals in PyQt4 sources surrounding the code for the new font hints. Earlier I stupidly relied on compiler error messages and looked directly at Qt sources rather than PyQt4 sources. So, if you have an older version of Qt present then the code for the newer features should probably be filtered away by cmake(?). All systems which felt this bug ... apparently had the unfortunate situation of having at one point installed the Qt 4.7.0_rc1 packages from qting-edge overlay. Those packages did trigger the Qt_4_7_0 conditional, but the Qt rc1 sources didn't yet have the hints in qfont.h -- resulting in the error given in this bug. Only the proper release of Qt 4.7.0 did add the hints. Bummer. Solution is to either downgrade or upgrade Qt away from the overlay-only rc1-version. The main tree ebuilds are just fine, and need no changes. The trouble-causing Qt release candidate ebuilds should probably be nuked from qting-edge. Resolved: invalid?