Created attachment 322842 [details] build.log Portage 2.2.0_alpha124 (default/linux/amd64/10.0, gcc-4.7.1, glibc-2.15-r2, 3.5.3-gentoo-testing-devbox x86_64) ================================================================= System uname: Linux-3.5.3-gentoo-testing-devbox-x86_64-AMD_FX-tm-6100_Six-Core_Processor-with-gentoo-2.2 Timestamp of tree: Unknown app-shells/bash: 4.2_p37 dev-lang/python: 2.7.3-r2, 3.2.3-r1 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.10.5 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.11.5, 1.12.3 sys-devel/binutils: 2.22.90 sys-devel/gcc: 4.7.1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.5 (virtual/os-headers) sys-libs/glibc: 2.15-r2 Repositories: gentoo hwoarang qt ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -ggdb -ftracer -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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=native -O2 -pipe -ggdb -ftracer -frecord-gcc-switches" DISTDIR="/usr/myportage/distfiles/" EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg candy collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-march=native -O2 -pipe -ggdb -frecord-gcc-switches" GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu,--enable-new-dtags -Wl,--as-needed" LINGUAS="en en_GB en_US el" MAKEOPTS="-j5" PKGDIR="/usr/myportage/packages/testing/" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/myportage/overlays/hwoarang /usr/myportage/overlays/qt" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 avi bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dga divx dri dvd dvdread encode ffmpeg flac fortran gdbm gif glib glitz gmedia gpm iconv jpeg kdrive libnotify mad mjpeg mmx mng modules mp3 mpeg mplayer mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pcre pdf perl png pppd private-headers python qt3support qt4 readline realmedia sdl session slang spell sqlite sse sse2 ssl svg symlink tcpd threads tiff truetype unicode usb userlocales v4l vcd vorbis wmp x264 xine xinerama xml xv xvid 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 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB en_US el" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="virtualbox" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
.moc/release-shared/moc_qapplication.cpp:16:2: error: #error "This file was generated using the moc from 5.0.0. It" .moc/release-shared/moc_qapplication.cpp:17:2: error: #error "cannot be used with the include files from this version of Qt." .moc/release-shared/moc_qapplication.cpp:18:2: error: #error "(The moc has changed too much.)" Are you mixing qt modules with different versions?
(In reply to comment #1) > .moc/release-shared/moc_qapplication.cpp:16:2: error: #error "This file was > generated using the moc from 5.0.0. It" > .moc/release-shared/moc_qapplication.cpp:17:2: error: #error "cannot be used > with the include files from this version of Qt." > .moc/release-shared/moc_qapplication.cpp:18:2: error: #error "(The moc has > changed too much.)" > > Are you mixing qt modules with different versions? I just tried emerge @qt5-essentials and hit this bug. However, I do have all the Qt4 modules installed if this is what you are asking
Try with USE=-pch please
And also tell me exactly which qt5 modules you have installed when qt-widgets fails.
(In reply to comment #4) > And also tell me exactly which qt5 modules you have installed when > qt-widgets fails. x11-libs/qt-core:5 x11-libs/qt-dbus:5 x11-libs/qt-gui:5 x11-libs/qt-jsbackend:5 x11-libs/qt-network:5 x11-libs/qt-sql:5 x11-libs/qt-test:5 It does not build with USE="-pch" either (build log follows)
Created attachment 322936 [details] build.log for USE="-pch"
Hmm can't reproduce :/ Can you attach qtbase-opensource-src-5.0.0-beta1/src/gui/kernel/qinputmethod.h please?
(In reply to comment #7) > Hmm can't reproduce :/ > > Can you attach > qtbase-opensource-src-5.0.0-beta1/src/gui/kernel/qinputmethod.h please? Err... I mean a preprocessed version of that file...
Ah I think I got it... The gtkstyle is pulling in the qt4 include paths via x11-libs/cairo[qt4]. This is obviously a recipe for disaster so I'm disabling gtkstyle entirely for qt5 until we find a proper solution. Please pull and try again.
Can't you just put in a blocker to cairo[qt4]? Seems to me the most straightforward way. I could also rename that flag in cairo and disable it by default (similar to what we did with gtkstyle).
Could this decision be reviewed? The qt4 flag on cairo was masked in the base profile a while back due to numerous problems. See bug #412177.
It's already on my to-do list.