Created attachment 407780 [details] build.log 'MAKEOPTS=-j1 emerge -v1 kleopatra' fails with: ... Generating moc_keytreeview.cpp /usr/lib64/qt4/bin/moc -I/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10_build/kleopatra -I/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10/kleopatra -I/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10/libkleo -I/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10/libkdepim -I/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10/mobile/lib -I/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10 -I/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10_build -I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/gpgme -I/usr/include -I/usr/include -I/usr/include -DGPG_ERR_SOURCE_DEFAULT=GPG_ERR_SOURCE_KLEO -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=48 -DKDEPIM_STORAGESERVICE_GDRIVE -DKDE_DEFAULT_DEBUG_AREA=5151 -DKDE_DEPRECATED_WARNINGS -DKLEOPATRACLIENT_NAMESPACE=KleopatraClientCopy -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_STL -DQT_USE_QSTRINGBUILDER -D_ASSUAN_ONLY_GPG_ERRORS -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -o /var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10_build/kleopatra/moc_keytreeview.cpp /var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10/kleopatra/view/keytreeview.h moc failed... kleopatra/CMakeFiles/kleopatra_bin_automoc.dir/build.make:57: recipe for target 'kleopatra/CMakeFiles/kleopatra_bin_automoc' failed make[2]: *** [kleopatra/CMakeFiles/kleopatra_bin_automoc] Error 1 make[2]: Leaving directory '/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10_build' root@lynx:/root(13)# emerge --info '=kde-base/kleopatra-4.14.10::gentoo' Portage 2.2.20 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.21-r1, 4.1.3-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.1.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2 KiB Mem: 6962404 total, 4371504 free KiB Swap: 12582908 total, 12067488 free Timestamp of repository gentoo: Tue, 28 Jul 2015 06:00:01 +0000 sh bash 4.3_p39 ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1 distcc[7190] (dcc_trace_version) distcc 3.2rc1 x86_64-pc-linux-gnu; built Feb 28 2015 11:00:31 [disabled] app-shells/bash: 4.3_p39::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.0::gentoo dev-lang/python: 2.7.10::gentoo, 3.4.3::gentoo dev-util/cmake: 3.3.0::gentoo dev-util/pkgconfig: 0.28-r3::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.9.6-r4::gentoo, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.21-r1::gentoo Repositories: gentoo location: /usr/portage_lynx sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sage-on-gentoo location: /var/lib/layman/sage-on-gentoo masters: gentoo priority: 0 science location: /var/lib/layman/science masters: gentoo priority: 1 sunrise location: /var/lib/layman/sunrise masters: gentoo priority: 2 tlp location: /var/lib/layman/tlp masters: gentoo priority: 3 x11 location: /var/lib/layman/x11 masters: gentoo priority: 4 ago location: /var/lib/layman/ago masters: gentoo priority: 5 local location: /usr/local/portage masters: gentoo priority: 6 g-cpan location: /var/lib/cpan masters: gentoo priority: 7 g-octave location: /var/lib/g-octave masters: gentoo priority: 8 Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA NVIDIA-CUDA Nero-AAC-EULA GIMPS" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" 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.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/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" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=native -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="64bit R X Xaw3d a52 aac acl acpi admin afs alsa amd64 amr ao apache2 apng applet archive armadillo arpack asf aspell assistant atlas audacious audiofile automap automount bash-completion berkdb blas blast bluetooth bluray boost branding bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cg cgi chm cli cmake collada consolekit cracklib crypt css cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia dirac djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples excel exif expat extensions extra extras faac faad fam ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx ftp fuse g3dvl garmin gcj gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp git glade glamor glib glpk gml gmp gnome gnome-keyring gnome-print gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile hdaps hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3tag ide imagemagick imap inotify introspection ipod ipv6 irda ithreads jabber jadetex java java6 jbig jit john jpeg jpeg2k kate kde kdepim kdrive kerberos keymap kpathsea kvm ladspa lame lapack laptop latex lcms ldap lensfun libffi libgda libkms libnotify libsamplerate lirc live lua lzma lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mkl mmx mmxext mng mod modules mono motif mozilla mp3 mp4 mpeg mpi mpi-threads mplayer mtp multilib multimedia musepack musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking nfs nls nntp nptl nsplugin ntfs ntp numpy obex objc ocaml ocr octave odbc ofa ogdi ogg openexr opengl openmp openvg pam pango pcre pda pdf perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds preview-latex proj projectm pstricks pulseaudio python python-bindings q16 q32 qemu qhull qt3support qt4 qt5 quicktime raw readline reiserfs reports rle romio rpc rrdcgi rrdtool sage samba sasl schroedinger science sdk sdl secure-delete semantic-desktop server session shout sip slang slp smart smbclient smp sms sndfile snmp soap sockets sound soup sox speex spell sql sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification stlport subtitles subversion sudo suexec svg svm swig systemd szip t1lib tcl tcpd tex tex4ht texmacs theora thesaurus thinkpad threads thunderbird tidy tiff tk tools truetype udev udisks unicode upower usb utempter v4l v4l2 vaapi vala valgrind vdpau video virt-network virtualbox visio vorbis vpx vtk wav webdav webdav-serf webkit wifi wmf wxwidgets x264 xa xattr xcb xetex xext xft xine xml xmlreader xmlrpc xpm xv xvid xvmc yaml youtube zlib zvbi" ABI_X86="64" ALSA_CARDS="intel8x0" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog sensors thermal" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" DVB_CARDS="usb-wt220u" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev synaptics void" KERNEL="linux" LCD_DEVICES="cfontz hd44780 mtxorb ncurses X lcd2usb lcdlinux png usblcd SureElec" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr ru" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau displaylink" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= kde-base/kleopatra-4.14.10::gentoo was built with the following: USE="handbook (-aqua) -debug" ABI_X86="64" root@lynx:/root(14)# emerge -pqv '=kde-base/kleopatra-4.14.10::gentoo' [ebuild R ] kde-base/kleopatra-4.14.10 USE="handbook (-aqua) -debug"
Confirm. Same error. emerge --info '=kde-base/kleopatra-4.14.10' Portage 2.2.20 (python 2.7.10-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.21-r1, 4.1.3-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.1.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-4710HQ_CPU_@_2.50GHz-with-gentoo-2.2 KiB Mem: 15924964 total, 12791632 free KiB Swap: 17777364 total, 17777364 free Timestamp of repository gentoo: Wed, 29 Jul 2015 09:30:01 +0000 sh bash 4.3_p39 ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1 app-shells/bash: 4.3_p39::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.0::gentoo dev-lang/python: 2.7.10::gentoo, 3.4.3::gentoo dev-util/cmake: 3.3.0::gentoo dev-util/pkgconfig: 0.28-r3::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.21-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 x-portage location: /usr/local/portage masters: gentoo priority: 0 steam-overlay location: /var/lib/layman/steam-overlay sync-type: laymansync sync-uri: git://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -mmmx -msse4.2 -mavx2 -maes" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/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 -mmmx -msse4.2 -mavx2 -maes" DISTDIR="/usr/portage/distfiles" FCFLAGS="-march=native -O2 -pipe -mmmx -msse4.2 -mavx2 -maes" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-march=native -O2 -pipe -mmmx -msse4.2 -mavx2 -maes" GENTOO_MIRRORS="http://mirror.neolabs.kz/gentoo/pub" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac aacplus aacs acl acpi aio airdrop-ng airgraph-ng alsa amd64 amr amrenc android apng archive autoipd autotools bash-completion bazaar bdplus berkdb bluetooth bluray bmp bullet bzip2 cairo canusb caps caps-ng cdda cdr chm cli client cmake collada consolekit contrib corefonts cracklib crypt cuda cups curl cvs cxx cycles d darcs dbus declarative designer dia diff djvu doc dos dot dpi dri dts dvd ebook encode epub examples exif extras ffmpeg fftw flac fluidsynth fontconfig foomatic fortran g-sorcery gd gdbm geoip gif git gltf gmp gpg gstreamer gtkstyle hdri help iconv icu id3tag ide imagemagick infinality ipv6 jadetex java jbig jpeg jpeg2k json kde kdenlive ladspa lcms ldap libsamplerate lzma lzo mad mdnsresponder-compat melt mercurial midi minizip mmx mmxext mng mobi modplug modules mp3 mtp multilib multimedia musepack mysql ncat ncurses ndiff networkmanager nls nping nptl ntfs ntfsdecrypt odbc ogg openal opengl openmp oscar pam pcre pcre16 pdf phonon plasma player png policykit postscript pyqt4 python qt3support qt4 quicktime rar raw readline samba script scripttools sdl session smp sndfile sound sql sse sse2 ssl subversion svg sync-plugin-portage szip taglib tcpd theora threads thumbnail tiff timidity tools truetype udev unicode upnp usb utils uvm v4l vcd vdpau visio vnc vorbis webkit wifi windeco wmf wpg wxwidgets x264 xa xinerama xkb xml xmp xorg xpm xv xvmc zeroconf zip zlib" ABI_X86="64 32" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="vesa intel nvidia modesetting" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= kde-base/kleopatra-4.14.10::gentoo was built with the following: USE="handbook (-aqua) -debug" ABI_X86="64"
I guess cmake-3.3.0 related.
Created attachment 407938 [details] build.log # emerge --info kleopatra cmake Portage 2.2.20 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-4.9.3, glibc-2.21-r1, 4.1.3-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.1.3-gentoo-x86_64-AMD_A10-7800_Radeon_R7,_12_Compute_Cores_4C+8G-with-gentoo-2.2 KiB Mem: 15315596 total, 9769856 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Wed, 29 Jul 2015 14:45:01 +0000 sh bash 4.3_p39 ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1 ccache version 3.2.2 [disabled] app-shells/bash: 4.3_p39::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.0::gentoo dev-lang/python: 2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo dev-util/ccache: 3.2.2::gentoo dev-util/cmake: 3.3.0::gentoo dev-util/pkgconfig: 0.28-r3::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.21-r1::gentoo Repositories: gentoo location: /var/cache/portage/gentoo sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage priority: -1000 kde location: /var/lib/layman/kde sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/kde.git masters: gentoo priority: 50 sage-on-gentoo location: /var/lib/layman/sage-on-gentoo sync-type: laymansync sync-uri: git://github.com/cschwan/sage-on-gentoo.git masters: gentoo priority: 50 local location: /var/cache/portage/local masters: gentoo priority: 100 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -O2 -march=bdver3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0" 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.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/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="-pipe -O2 -march=bdver3" DISTDIR="/var/cache/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --nospinner" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildsyspkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" MAKEOPTS="-j6" PKGDIR="/var/cache/portage/packages" PORTAGE_COMPRESS="xz" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac aacplus aacs acl acpi alsa amd64 audit avahi bash-completion bdplus berkdb bluetooth bluray branding bzip2 cairo caps cdda cddb cdio cdr celt cjk cli cracklib crypt cups cxx dbus declarative dirac dri dts dvb dvd dvdr egl emboss encode exif fam fax ffmpeg firefox flac fontconfig fortran gdbm gif glamor gles gles2 gmp gpm gstreamer gtk ibus iconv ipv6 jpeg jpeg2k kde kipi ladspa latex lcms ldap libnotify libsecret lua_target_lua5-2 lv2 lz4 lzma lzo mad mmx mmxext mng modemmanager modplug modules mp3 mp4 mpeg mplayer mtp multilib multitarget mysql ncurses networkmanager nls nptl ogg openal opencl openexr opengl openmax openmp opus pam pango pch pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline rtmp samba scanner schroedinger sctp sdl semantic-desktop session speex spell sse sse2 ssl startup-notification subversion svg systemd tcpd theora threads tiff truetype udev udisks unicode upnp upnp-av upower usb v4l vaapi vdpau vorbis vpx wavpack wayland webp widgets x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xz zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="stage words flow sheets" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" DRACUT_MODULES="btrfs caps systemd" ELIBC="glibc" ENLIGHTENMENT_MODULES="*" 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 ublox ubx" GRUB_PLATFORMS="coreboot efi-64 pc" INPUT_DEVICES="evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en en_GB ar fa" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi r600" 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_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= kde-base/kleopatra-4.14.10::kde was built with the following: USE="handbook (-aqua) -debug" ABI_X86="64" dev-util/cmake-3.3.0::gentoo was built with the following: USE="ncurses qt5 system-jsoncpp -doc -emacs -qt4 -test" ABI_X86="64"
Seems to be related to this. https://bugs.kde.org/show_bug.cgi?id=341355
That's it. Downgrading dev-libs/boost to 1.56.0-r1 version solves the problem.
It's a bad idea to downgrade boost. boost-1.57 is in the portage and caused me about 30 rebuilds incl. libreoffice. kleopatra is one of this rebuilds. If I go down to boost-1.56.0-r1 I had to rebuild all of this packages again. If somebody want to use boost-1.57 you had to fix kleopatra.
#6 Of course kleopatra should have to be fixed, but if you check the bug in kde this has been a known problem since november 2014 and it is still broken so it may take some more time. Anyway boost 1.57 is keyword masked while 1.56.0-r1 is the stable version so we are not talking about installing obsolete software.
>>> Unpacking source... * Unpacking parts of kdepim-4.14.10.tar.xz to /tmp/portage/portage/kde-base/kleopatra-4.14.10/work ... tar EXTRACT command FAILED at least partially - continuing anyway [ ok ] [...] -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kwatchgnupg.dir/__/util s/gnupg-helper.o -c /tmp/portage/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10/kleopatra/utils/gnupg-helper.cpp usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN" AUTOGEN: error: process for /tmp/portage/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10_build/kleopatra/importcertificatescommand.moc failed: usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"
Created attachment 408072 [details, diff] Short patch for boost-1.57, for correct moc parsing. Seems it is old bug, hint I found here - https://bugs.gentoo.org/show_bug.cgi?id=529656, and create short patch. Kleopatra was successful compiled with boost-1.57
(In reply to Samat from comment #9) Just to make this clear: This is a patch for boost? (Meaning one has to recompile boost too… Cause I’d rather not… It’s gigantic.)
(In reply to Navid Zamani from comment #10) No, compilation of boost is not required. As I can understand, root of the problem in the QT moc (Meta Object Compiler). It is does not correct parse new constructions and features of C++ (C++11, C++14 etc.) And this patch just avoid the problematic section of code for moc.
(In reply to Samat from comment #11) > No, compilation of boost is not required. […] And this patch > just avoid the problematic section of code for moc. I just tested it, and the patch doesn’t work for Kleopatra. It works for Boost though. After that, Kleopatra built without needing any patching. Thankfully, I still had Boost in my ccache, and so it took only one forever instead of infinite forevers. :)
Patch for boost-1.57.0 works fine for me, so I could rebuild kleopatra successfully afterwards. Many Thanks, Andy.
(In reply to Samat from comment #9) > Created attachment 408072 [details, diff] [details, diff] > Short patch for boost-1.57, for correct moc parsing. > > Seems it is old bug, hint I found here - > https://bugs.gentoo.org/show_bug.cgi?id=529656, and create short patch. > Kleopatra was successful compiled with boost-1.57 This patch should be reported to dev-libs/boost maintainer: > equery m dev-libs/boost > * dev-libs/boost [gentoo] > Herd: cpp
(In reply to Johannes Huber from comment #14) > > This patch should be reported to dev-libs/boost maintainer: > Ok, Johaness, already submitted by e-mail to boost maintainer.
OK I started out by applying the patch for boost through the ebuild,didnot work for me. putting that aside I manually applied the patch to the particular file,in /usr/include/boost/detail. which appeared to be the right place as kleo is now compiling. Thanks for the info fellas
(In reply to Johannes Huber from comment #14) > (In reply to Samat from comment #9) > > Created attachment 408072 [details, diff] [details, diff] [details, diff] > > Short patch for boost-1.57, for correct moc parsing. > > > > Seems it is old bug, hint I found here - > > https://bugs.gentoo.org/show_bug.cgi?id=529656, and create short patch. > > Kleopatra was successful compiled with boost-1.57 > > This patch should be reported to dev-libs/boost maintainer: > > > equery m dev-libs/boost > > * dev-libs/boost [gentoo] > > Herd: cpp Meanwhile we could have an -r1 ebuild applying that patch?!
+1
See-Also: https://bugs.gentoo.org/show_bug.cgi?id=534140
I did the same as in comment #16 and it merged fine. Easier to edit system file than to re-emerge patched boost for a header file modification. Though not ideal for everyone. Also +1 for patched boost ebuild, nothing to do to kleopatra package.
I can confirm that patching boost-1.57.0 helps me to emerge kleopatra-4.14.10.
I tried unmasking dev-libs/boost-1.58.0-r1 dev-util/boost-build-1.58.0 but same problem /usr/lib64/qt4/bin/moc -I/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10_build/kleopatra -I/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10/kleopatra -I/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10/libkleo -I/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10/libkdepim -I/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10/mobile/lib -I/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10 -I/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10_build -I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/gpgme -I/usr/include -I/usr/include -I/usr/include -DGPG_ERR_SOURCE_DEFAULT=GPG_ERR_SOURCE_KLEO -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=48 -DKDEPIM_STORAGESERVICE_GDRIVE -DKDE_DEFAULT_DEBUG_AREA=5151 -DKDE_DEPRECATED_WARNINGS -DKLEOPATRACLIENT_NAMESPACE=KleopatraClientCopy -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_STL -DQT_USE_QSTRINGBUILDER -D_ASSUAN_ONLY_GPG_ERRORS -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -o /var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10_build/kleopatra/moc_keytreeview.cpp /var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10/kleopatra/view/keytreeview.h moc failed... kleopatra/CMakeFiles/kleopatra_bin_automoc.dir/build.make:57: set di istruzioni per l'obiettivo "kleopatra/CMakeFiles/kleopatra_bin_automoc" non riuscito make[2]: *** [kleopatra/CMakeFiles/kleopatra_bin_automoc] Errore 1 make[2]: uscita dalla directory "/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10_build" CMakeFiles/Makefile2:175: set di istruzioni per l'obiettivo "kleopatra/CMakeFiles/kleopatra_bin_automoc.dir/all" non riuscito make[1]: *** [kleopatra/CMakeFiles/kleopatra_bin_automoc.dir/all] Errore 2 make[1]: uscita dalla directory "/var/tmp/portage/kde-base/kleopatra-4.14.10/work/kleopatra-4.14.10_build" Makefile:138: set di istruzioni per l'obiettivo "all" non riuscito make: *** [all] Errore 2
Just in case you don't know: you can **vote** for bugs you want to be fixed soon. ATM 5 people voted for this bug. Look at the top of the page for "Importance", next to it you'll find "(vote)" if you click on that you can place your vote. You have several "vote points" so you can vote and say "please fix this soon" for other bugs too.
I voted
Can confirm the patch (attachment #3 [details, diff]) works. I did this: * Saved the patch to /tmp * cd / * sudo patch -p0 < /tmp/has_binary_operator.patch Will also be copying the patch to /etc/portage/patches for future rebuilds. kleopatra built successfully.
(In reply to Nicholas O'Connor from comment #26) > Can confirm the patch (attachment #3 [details, diff]) works. I did this: I forgot how bugzilla worked, my apologies, the correct number is "attachment #408072 [details, diff]"
(In reply to Nicholas O'Connor from comment #26) > Can confirm the patch (attachment #3 [details, diff] [details, diff]) works. I did this: > > * Saved the patch to /tmp > * cd / > * sudo patch -p0 < /tmp/has_binary_operator.patch > > Will also be copying the patch to /etc/portage/patches for future rebuilds. > kleopatra built successfully. It works also for me with the masked: boost-1.58.0-r1
(In reply to Silvio from comment #28) > It works also for me with the masked boost-1.58.0-r1 You mean the patch applies to that version of boost? I'm asking, since installing that version did not change a thing when compiling kde-base/kleopatra-4.14.10 - still the same error parsing BOOST_JOIN...
making this a general bug for all similar Qt 4 moc with >=boost-1.57 problems.
*** Bug 560740 has been marked as a duplicate of this bug. ***
Upstream claims this to be fixed: --- Comment #3 from Allen Winter <winter@kde.org> --- should be fixed with commit 3c72e211dc4ee1420bf744312036dc2141238912 --- See-Also: https://bugs.kde.org/show_bug.cgi?id=341355
@qt guys: your thoughts?
As per the Qt upstream bug, this will never be fixed in Qt 4, so the best we can do is patch individual consumers.
This keeps coming up but we're not sure if we can do anything about it. It's a fundamental limitation of qt4's moc that upstream is never going to fix. In some cases it's not even feasible to apply workarounds to moc, the only solution is patching each package that fails. Please try using this patch http://pkgs.fedoraproject.org/cgit/qt.git/plain/qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch instead of qtcore-4.8.5-moc-boost-lexical-cast.patch
*** Bug 562096 has been marked as a duplicate of this bug. ***
*** Bug 562202 has been marked as a duplicate of this bug. ***
*** Bug 567178 has been marked as a duplicate of this bug. ***
I hit this issue again with media-gfx/scantailor-0.9.11.1. There is a new boost-1.57.0.ebuild from Nov. 11th. Which patch should be used with this ebuild?
(In reply to Juergen Rose from comment #39) > I hit this issue again with media-gfx/scantailor-0.9.11.1. There is a new > boost-1.57.0.ebuild from Nov. 11th. Which patch should be used with this > ebuild? Wrap the problematic includes in #ifndef Q_MOC_RUN.
(In reply to Michael Palimaka (kensington) from comment #40) > (In reply to Juergen Rose from comment #39) > > I hit this issue again with media-gfx/scantailor-0.9.11.1. There is a new > > boost-1.57.0.ebuild from Nov. 11th. Which patch should be used with this > > ebuild? > > Wrap the problematic includes in #ifndef Q_MOC_RUN. Do you mean the patch of Comment 35? As far as I can see, this is a dev-qt/qtcore-4.8.7 patch. Is this correct? Should I patch dev-qt/qtcore instead of boost-1.57?
(In reply to Juergen Rose from comment #41) > (In reply to Michael Palimaka (kensington) from comment #40) > > (In reply to Juergen Rose from comment #39) > > > I hit this issue again with media-gfx/scantailor-0.9.11.1. There is a new > > > boost-1.57.0.ebuild from Nov. 11th. Which patch should be used with this > > > ebuild? > > > > Wrap the problematic includes in #ifndef Q_MOC_RUN. > > Do you mean the patch of Comment 35? As far as I can see, this is a > dev-qt/qtcore-4.8.7 patch. Is this correct? Should I patch dev-qt/qtcore > instead of boost-1.57? The patch attached to this bug is for boost. The one in comment #35 is for qtcore. Wrapping the includes is for the consuming package (and is probably the most realistic solution).
(In reply to Michael Palimaka (kensington) from comment #42) > (In reply to Juergen Rose from comment #41) > > (In reply to Michael Palimaka (kensington) from comment #40) > > > (In reply to Juergen Rose from comment #39) > > > > I hit this issue again with media-gfx/scantailor-0.9.11.1. There is a new > > > > boost-1.57.0.ebuild from Nov. 11th. Which patch should be used with this > > > > ebuild? > > > > > > Wrap the problematic includes in #ifndef Q_MOC_RUN. > > > > Do you mean the patch of Comment 35? As far as I can see, this is a > > dev-qt/qtcore-4.8.7 patch. Is this correct? Should I patch dev-qt/qtcore > > instead of boost-1.57? > > The patch attached to this bug is for boost. The one in comment #35 is for > qtcore. Wrapping the includes is for the consuming package (and is probably > the most realistic solution). I tried to apply the patch from Comment 35 to qtcore-4.8.7-r1. The patch failed. It looks for me, if the additional line from qt-everywhere-opensource-src-4.8.0-rc1-moc-boost148.patch + pp.macros["BOOST_TT_HAS_OPERATOR_HPP_INCLUDED"]; // rh#756395 is already included in qtcore-4.8.7-r1: root@caiman:/usr/local/portage/dev-qt/qtcore(124)# grep -U2 BOOST_TT_HAS_OPERATOR_HPP_INCLUDED /var/tmp/portage/dev-qt/qtcore-4.8.7-r1/work/qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp // Workaround a bug while parsing the boost/type_traits/has_operator.hpp header. See QTBUG-22829 pp.macros["BOOST_TT_HAS_OPERATOR_HPP_INCLUDED"]; pp.macros["BOOST_LEXICAL_CAST_INCLUDED"]; But nevertheless I am not able to compile scantailor-0.9.11.1. It still fails with: usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN" filters/output/CMakeFiles/output.dir/build.make:92: recipe for target 'filters/output/PictureZoneEditor.h.moc' failed make[2]: *** [filters/output/PictureZoneEditor.h.moc] Error 1 I am using the unpatched /usr/portage/dev-libs/boost/boost-1.57.0.ebuild from Dec 22nd: root@caiman:/usr/local/portage/dev-qt/qtcore(125)# ll /usr/portage/dev-libs/boost/boost-1.57.0.ebuild -rw-r--r-- 1 root root 12268 Dec 22 15:31 /usr/portage/dev-libs/boost/boost-1.57.0.ebuild boost-1.57.0 was compiled three days ago. qtcore-4.8.7-r1 was compiled today. Any hint is appreciated.
*** Bug 557220 has been marked as a duplicate of this bug. ***
Any news? We have now boost-1.58.0, qtcore-4.8.7-r1 and qtcore-5.5.1-r1. Is there any chance, that we are able again to emerge scantailor?
Found these patches for scantailor, you might want to try them? https://gist.githubusercontent.com/jkseppan/836934647cca55eba855/raw/eff85dafc5a0fdc62859f106ffffac28eba38d93/scantailor-enhanced-20140214-moc-boost.patch https://gist.githubusercontent.com/jkseppan/49901ece3da6a0604887/raw/32a273bec2d20c2c70e8b789616f93590af6a4b1/scantailor-enhanced-20140214-c++11.patch Might require -DCMAKE_CXX_FLAGS=-std=c++11 as well.
It is seeming increasingly unlikely that there can/will be a solution in qt itself. I suggest we continue patching consuming packages instead (indeed, a number of upstreams are doing this themselves anyway).
(In reply to Juergen Rose from comment #45) > Any news? We have now boost-1.58.0, qtcore-4.8.7-r1 and qtcore-5.5.1-r1. AFAIK Qt5's moc should *not* be affected by this bug/limitation. If you observe otherwise, please file a separate bug, preferably upstream.
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c5c21338553698f4f94deeede165c665042324 This is the best stopgap measure we can apply to moc for the time being. Anything more than this will probably require workarounds in the individual consumers.
I still believe unconditionally guarding all boost includes yields a more robust solution. You never know which additional include guards/macros get included in future boost versions.
(In reply to David Seifert from comment #50) > I still believe unconditionally guarding all boost includes yields a more > robust solution. You never know which additional include guards/macros get > included in future boost versions. That could hide some #define or #undef in the skipped headers that are actually needed during the moc run. Also, in the spirit of gentoo, I'm against heavy downstream patching.