Created attachment 417978 [details] ightdm-1.17.2_build.log Making all in liblightdm-qt make[2]: Entering directory '/var/tmp/portage/x11-misc/lightdm-1.17.2/work/lightdm-1.17.2/liblightdm-qt' QLightDM/greeter.h -o greeter_moc5.cpp QLightDM/power.h -o power_moc5.cpp make[2]: execvp: QLightDM/greeter.h: Permission denied Makefile:1019: recipe for target 'greeter_moc5.cpp' failed make[2]: *** [greeter_moc5.cpp] Error 127 make[2]: *** Waiting for unfinished jobs.... make[2]: execvp: QLightDM/power.h: Permission denied Makefile:1019: recipe for target 'power_moc5.cpp' failed make[2]: *** [power_moc5.cpp] Error 127 make[2]: Leaving directory '/var/tmp/portage/x11-misc/lightdm-1.17.2/work/lightdm-1.17.2/liblightdm-qt' Makefile:482: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/x11-misc/lightdm-1.17.2/work/lightdm-1.17.2' Makefile:414: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: x11-misc/lightdm-1.17.2::gentoo failed (compile phase): * emake failed * ls -la /var/tmp/portage/x11-misc/lightdm-1.17.2/work/lightdm-1.17.2/liblightdm-qt/QLightDM insgesamt 40 drwxr-xr-x 2 portage portage 4096 20. Nov 03:38 . drwxr-xr-x 3 portage portage 4096 26. Nov 22:28 .. -rw-r--r-- 1 portage portage 29 10. Aug 01:30 Greeter -rw-r--r-- 1 portage portage 3104 10. Aug 01:30 greeter.h -rw-r--r-- 1 portage portage 27 10. Aug 01:30 Power -rw-r--r-- 1 portage portage 1323 10. Aug 01:30 power.h -rw-r--r-- 1 portage portage 35 10. Aug 01:30 SessionsModel -rw-r--r-- 1 portage portage 1556 10. Aug 01:30 sessionsmodel.h -rw-r--r-- 1 portage portage 32 10. Aug 01:30 UsersModel -rw-r--r-- 1 portage portage 1398 10. Aug 01:30 usersmodel.h
emerge --info lightdm Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-5.2.0, glibc-2.22-r1, 4.3.0 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.3.0-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2 KiB Mem: 4047420 total, 2085180 free KiB Swap: 11010040 total, 11010040 free Timestamp of repository gentoo: Thu, 26 Nov 2015 20:45:01 +0000 Timestamp of repository poly-c: Thu, 26 Nov 2015 19:30:37 +0000 sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 ccache version 3.2.4 [enabled] app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.0::gentoo dev-lang/python: 2.7.10-r3::gentoo, 3.4.3-r2::gentoo, 3.5.0-r1::gentoo dev-util/ccache: 3.2.4::gentoo dev-util/cmake: 3.4.0-r1::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.18.3::gentoo sys-apps/sandbox: 2.9::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-r1::gentoo sys-devel/gcc: 5.2.0::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.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage priority: -1000 overlay_jl location: /usr/local/portage masters: gentoo priority: 0 betagarden location: /var/lib/layman/betagarden sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/betagarden.git masters: gentoo priority: 50 gamerlay location: /var/lib/layman/gamerlay sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/gamerlay.git masters: gentoo priority: 50 kde location: /var/lib/layman/kde sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/kde.git masters: gentoo priority: 50 libressl location: /var/lib/layman/libressl sync-type: laymansync sync-uri: https://github.com/gentoo/libressl.git masters: gentoo priority: 50 poly-c location: /var/lib/layman/poly-c sync-type: laymansync sync-uri: rsync://gentoofan.no-ip.org/poly-c masters: gentoo priority: 50 qt location: /var/lib/layman/qt sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/qt.git masters: gentoo priority: 50 x11 location: /var/lib/layman/x11 sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/x11 masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" 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" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --quiet-build=y --verbose-conflicts" FCFLAGS="-march=native -O2 -pipe" FEATURES="assume-digests binpkg-logs ccache 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="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" 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="3dnowext 64bit X Xaw3d a52 aac aacplus aacs aalib accessibility ace acl acpi activefilter aes aften alsa amd64 ap apm apng archive arping audacious audiofile automount bazaar bdplus berkdb binary-drivers bluetooth bluray boost bzip2 bzr cairo canusb ccache cdda cddb cdio cdparanoia cdr cdrdao cdrom cgi charconv chm chroot cjk clang cli client colordiff colors compress consolekit corefonts cpio cracklib crypt css cue cups curl curlwrappers cvs cxx d3d9 daemon dbus declarative device-mapper dga dhcp doom doomsday dos download-subs dri dri3 dts dump dv dvb dvd dvdnav eap eap-sim eap-tls ebook egl emerald emoticon encode enscript equalizer evdev exif extensions extras faac faad fam farstream fat fax fbcon fdformat ffmpeg fftw firefox flac fluidsynth fontconfig foomaticdb fortran freedoom ftp fuse g3dvl gadu gallium gbm gd gdbm geoip gif gimp git glamor gles2 glut gme gnutls gpg gphoto2 gpm graphite gsm gstreamer gtk gtk2 gtk3 gtkstyle gui gzip hddtemp hdf hdf5 heretic hexen hid highlight hpcups hpijs http hwdb iconv icq icu id3tag idn imagemagick inotify introspection ios ipc ipod ipv6 jack java javascript jit jpeg jpeg2k kate kdenlive keymap ladspa lame lcms legacy-systray lensfun libass libcanberra libinput libkms libnotify libressl librtmp libsamplerate libssh2 libtiger libv4l libwww live llvm-shared-libs lm_sensors logrotate lua lz4 lzma lzo mad madwifi magic man matroska md5sum meanwhile melt mercurial metalink midi mikmod mime minizip mixer mjpeg mmap mms mmx mmxext mng mobi mod modplug modules mono mouse mozilla mp3 mp4 mpeg mpeg2 mplayer mtp multilib multimedia multislot musepack musicbrainz nano-syntax ncat ncurses ndiff network nfs nfsidmap nfsv4 nfsv41 nls nmap-update nokia normalize nowlistening nping nptl nsplugin ntfs ntfsprogs ntp nvidia nvram obex ocr ogg ogm openal opencl opengl openh264 openmax openmp oscar osdmenu otr p2p pam pango panorama parport parse-clocks pcap pci pcre pcre16 pdf pipes plugins pm-utils png policykit postproc postscript ppds printsupport privacy projectm pulseaudio pvr python python3 qalculate qml qt5 quicktime r600-llvm-compiler radio rar raw rdesktop readline recording redeyes reiser4 reiserfs remote-access replaygain rpm rtc rtmp rtsp rubberband s3tc sbsms scanner schroedinger scripttools sdl seccomp secure-delete sensord session sftp sha512 shorten shout skins slang smi sndfile snowberry sockets sound soundtouch sox speex spell sql sqlite sqlite3 squashfs sse sse2 ssh ssl startup-notification statistics stk stream subtitles subversion svg swat symlink sync-plugin-portage syslog system-jsoncpp szip taglib tcpd texteffect tftp tftpd theora threads thumbnail tiff timidity tracepath traceroute track-src-odirect translator truetype twolame udev udisks unicode upower urlpicpreview usb v4l v4l2 vaapi vamp vcd vcdx vdpau video videos virtualbox vlm vnc vorbis vpx vroot vst wad wav wavpack webgl webkit webm webp webpresence widgets wifi winbind winpopup wmf wps wxwidgets x264 x265 xa xattr xcb xcomposite xfs xine xinerama xinetd xkb xml xmp xorg xosd xpm xrandr xscreensaver xv xvid xvmc yahoo zenmap zip zlib zvbi" ABI_X86="64" 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="mmx mmxext sse sse2 sse3 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 joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby20 ruby21 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="fbdev vesa svga vga radeon modesetting r100 r200 r300 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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= x11-misc/lightdm-1.16.5::gentoo was built with the following: USE="gnome gtk introspection qt5 -audit -kde -qt4" ABI_X86="64"
checking for LIBLIGHTDM_QT5... yes checking for x86_64-pc-linux-gnu-moc... no checking for moc... no Usage: which [options] [--] COMMAND [...] Write the full path of COMMAND(s) to standard output. --version, -[vV] Print version and exit successfully. --help, Print this help and exit successfully. --skip-dot Skip directories in PATH that start with a dot. --skip-tilde Skip directories in PATH that start with a tilde. --show-dot Don't expand a dot to current directory in output. --show-tilde Output a tilde for HOME directory for non-root. --tty-only Stop processing options on the right if not on tty. --all, -a Print all matches in PATH, not just the first --read-alias, -i Read list of aliases from stdin. --skip-alias Ignore option --read-alias; don't read stdin. --read-functions Read shell functions from stdin. --skip-functions Ignore option --read-functions; don't read stdin. Recommended use is to write the output of (alias; declare -f) to standard input, so that which can show aliases and shell functions. See which(1) for examples. If the options --read-alias and/or --read-functions are specified then the output can be a full alias or function definition, optionally followed by the full path of each command used inside of those. Report bugs to <which-bugs@gnu.org>. readlink: missing operand Try 'readlink --help' for more information. checking whether to build tests... checking for gtk-doc... no configure: WARNING: You will not be able to create source packages with 'make dist' because gtk-doc is not found. checking for gtkdoc-check... no checking for gtkdoc-check... no checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... no checking whether to build gtk-doc documentation... no checking for GTKDOC_DEPS... yes
checking for xmllint... xmllint checking whether NLS is requested... yes Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*)\${ <-- HERE ?([A-Z_]+)}?(.*)$/ at /usr/bin/intltool-update line 1065. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_NAME}?/ at /usr/bin/intltool-update line 1193. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?PACKAGE}?/ at /usr/bin/intltool-update line 1194. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_VERSION}?/ at /usr/bin/intltool-update line 1195. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?VERSION}?/ at /usr/bin/intltool-update line 1196. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_NAME}?/ at /usr/bin/intltool-update line 1222. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?PACKAGE}?/ at /usr/bin/intltool-update line 1223. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_VERSION}?/ at /usr/bin/intltool-update line 1224. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?VERSION}?/ at /usr/bin/intltool-update line 1225. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?\w+}?/ at /usr/bin/intltool-update line 1226. checking for intltool >= 0.35.0... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update
I reanimated lightdm-1.16.5.ebuild and it shows the same errors. lightdm-1.15.3 has the same configure warnings but compiles.
Without qt USE it compiles. Next big warning: make[1]: Leaving directory '/var/tmp/portage/x11-misc/lightdm-1.17.2/work/lightdm-1.17.2' * Removing unnecessary /usr/lib64/liblightdm-gobject-1.la (requested) >>> Completed installing lightdm-1.17.2 into /var/tmp/portage/x11-misc/lightdm-1.17.2/image/ * * This package seems to install gtk-doc documentation into the following * location(s): * * /usr/share/doc/lightdm-1.17.2/html/lightdm-gobject-1 * * gtk-doc documentation must always be installed into /usr/share/gtk-doc. * For more details, please see the GNOME team policy page: * https://wiki.gentoo.org/wiki/Project:GNOME/Gnome_Team_Ebuild_Policies#gtk-doc * strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version usr/lib64/liblightdm-gobject-1.so.0.0.0 usr/bin/dm-tool usr/libexec/lightdm-guest-session usr/sbin/lightdm
Attaching the config.log will be useful in debugging this
Created attachment 418292 [details] lightdm-1.17.2-config.log
You have listed about 3 different problems in this bug. So I am not sure what your actual complain is.
x11-misc/lightdm-1.17.3 still has the same errors. Making all in liblightdm-qt make[2]: Entering directory '/var/tmp/portage/x11-misc/lightdm-1.17.3/work/lightdm-1.17.3/liblightdm-qt' QLightDM/greeter.h -o greeter_moc5.cpp QLightDM/power.h -o power_moc5.cpp make[2]: execvp: QLightDM/greeter.h: Permission denied Makefile:1019: recipe for target 'greeter_moc5.cpp' failed make[2]: *** [greeter_moc5.cpp] Error 127 make[2]: *** Waiting for unfinished jobs.... make[2]: execvp: QLightDM/power.h: Permission denied Makefile:1019: recipe for target 'power_moc5.cpp' failed make[2]: *** [power_moc5.cpp] Error 127 make[2]: Leaving directory '/var/tmp/portage/x11-misc/lightdm-1.17.3/work/lightdm-1.17.3/liblightdm-qt' Makefile:482: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/x11-misc/lightdm-1.17.3/work/lightdm-1.17.3' Makefile:414: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: x11-misc/lightdm-1.17.3::gentoo failed (compile phase): * emake failed Would be nice if we could fix this first. I don't know if this is related to the other messages.
Created attachment 424256 [details, diff] lightdm-qtbindir.patch This looks like it's caused by /usr/bin/moc pointing to qtchooser these days. Attached is a patch to ensure the correct the correct binary is always called.
(In reply to Michael Palimaka (kensington) from comment #10) > Created attachment 424256 [details, diff] [details, diff] > lightdm-qtbindir.patch > > This looks like it's caused by /usr/bin/moc pointing to qtchooser these days. > > Attached is a patch to ensure the correct the correct binary is always > called. lightdm-1.17.3 merges with this patch. Solves the error in #c9 and the readlink options messages in #c2. Lines of #c3 are gone too. ================================================================= Package Settings ================================================================= x11-misc/lightdm-1.17.3::gentoo was built with the following: USE="gnome gtk introspection qt5 -audit -kde -qt4" ABI_X86="64" There is no /usr/bin/moc . find / -xdev -iname "moc" /usr/portage/media-sound/moc /usr/lib64/qt5/bin/moc /usr/lib64/qt4/bin/moc ls -l /usr/lib64/qt*/bin/moc -rwxr-xr-x 1 root root 1223920 25. Jan 12:55 /usr/lib64/qt4/bin/moc -rwxr-xr-x 1 root root 1137440 27. Jan 18:52 /usr/lib64/qt5/bin/moc Why does configure say?: checking for moc... no The only strange message I see in the log is: * This package seems to install gtk-doc documentation into the following * location(s): * * /usr/share/doc/lightdm-1.17.3/html/lightdm-gobject-1 * * gtk-doc documentation must always be installed into /usr/share/gtk-doc. * For more details, please see the GNOME team policy page: * https://wiki.gentoo.org/wiki/Project:GNOME/Gnome_Team_Ebuild_Policies#gtk-doc dev-util/gtk-doc is not installed on my system. checking whether to build tests... checking for gtk-doc... no configure: WARNING: You will not be able to create source packages with 'make dist' because gtk-doc is not found. checking for gtkdoc-check... no checking for gtkdoc-check... no checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... no checking whether to build gtk-doc documentation... no checking for GTKDOC_DEPS... yes from work/lightdm-1.17.3/config.log: configure:17823: checking for x86_64-pc-linux-gnu-moc configure:17853: result: no configure:17867: checking for moc configure:17897: result: no configure:17999: checking whether to build tests configure:18074: checking for gtk-doc configure:18077: $PKG_CONFIG --exists --print-errors "$gtk_doc_requires" Package gtk-doc was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk-doc.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk-doc' found configure:18080: $? = 1 configure:18086: result: no configure:18092: WARNING: You will not be able to create source packages with 'make dist' because gtk-doc is not found. configure:18100: checking for gtkdoc-check configure:18130: result: no configure:18137: checking for gtkdoc-check configure:18170: result: no configure:18179: checking for gtkdoc-rebase configure:18197: found /usr/bin/gtkdoc-rebase configure:18209: result: /usr/bin/gtkdoc-rebase configure:18223: checking for gtkdoc-mkpdf configure:18256: result: no configure:18281: checking whether to build gtk-doc documentation configure:18283: result: no configure:18296: checking for GTKDOC_DEPS configure:18303: $PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" configure:18306: $? = 0 configure:18320: $PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" configure:18323: $? = 0 configure:18361: result: yes
I wanted to use the changes from attached lightdm-qtbindir.patch for lightdm-1.18.1 but I now get this: libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -fPIC "-DQT_DISABLE_DEPRECATED_BEFORE=QT_VERSION_CHECK(4, 0, 0)" -I/ usr/include/qt5/QtDBus -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -Wall -I../liblightdm-gobject -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DQT_NO_KEYWORDS -march=native -O2 -pipe -c sessionsmodel .cpp -fPIC -DPIC -o .libs/liblightdm_qt5_3_la-sessionsmodel.o In file included from /usr/include/qt5/QtCore/qatomic.h:46:0, from /usr/include/qt5/QtCore/qglobal.h:1142, from /usr/include/qt5/QtCore/qatomic.h:41, from /usr/include/qt5/QtCore/qvariant.h:43, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtCore/QAbstractListModel:1, from QLightDM/sessionsmodel.h:14, from sessionsmodel.cpp:11: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" # error "Qt requires C++11 support" ^ and that reminds me to https://bugs.gentoo.org/show_bug.cgi?id=579038 qt is 5.7.9999 and gcc is 5.3.0
Created attachment 433422 [details, diff] lightdm-1.19.0.ebuild.patch diff -u /usr/portage/x11-misc/lightdm/lightdm-1.19.0.ebuild lightdm-1.19.0.ebuild --- /usr/portage/x11-misc/lightdm/lightdm-1.19.0.ebuild 2016-05-06 14:48:02.733879748 +0200 +++ lightdm-1.19.0.ebuild 2016-05-06 16:21:09.224394878 +0200 @@ -3,7 +3,7 @@ # $Id$ EAPI=6 -inherit autotools eutils pam readme.gentoo-r1 systemd versionator +inherit autotools eutils pam qmake-utils readme.gentoo-r1 systemd versionator TRUNK_VERSION="$(get_version_component_range 1-2)" DESCRIPTION="A lightweight display manager" @@ -58,6 +58,11 @@ "/session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \ data/lightdm.conf || die "Failed to fix lightdm.conf" + # use correct version of qmake. bug #566950 + sed -i -e "/AC_CHECK_TOOLS(MOC4/a AC_SUBST(MOC4,$(qt4_get_bindir)/moc)" configure.ac || die + sed -i -e "/AC_CHECK_TOOLS(MOC5/a AC_SUBST(MOC5,$(qt5_get_bindir)/moc)" configure.ac || die + + default # Remove bogus Makefile statement. This needs to go upstream still the same with x11-misc/lightdm-1.19.0 and qt5-5.7.9999
still the same with x11-misc/lightdm-1.19.1
Thanks, fixed in git. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb03d7cc4088b1690afba0e78180a59442594746