can't find ECM module, please find patch attached Reproducible: Always
Created attachment 421932 [details, diff] fix plasma-workspace-5.5* build tested on plasma-workspace 5.5.2-r1
Please attach failing build log and emerge --info.
emerge --info Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-4.9.3, glibc-2.21-r1, 4.1.12-gentoo x86_64) ================================================================= System uname: Linux-4.1.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.2 KiB Mem: 24634848 total, 8208400 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 05 Jan 2016 15:00:01 +0000 sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.9 [disabled] app-shells/bash: 4.3_p42-r1::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.3.5-r2::gentoo, 3.4.3-r1::gentoo dev-util/ccache: 3.1.9-r4::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.18.4::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::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 kde location: /var/lib/layman/kde masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS=" -march=native -O2 -fomit-frame-pointer -pipe " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /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" CXXFLAGS=" -march=native -O2 -fomit-frame-pointer -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="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" 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 acl acpi ads alsa amd64 android apache2 autotools awt bash-completion bazaar berkdb bluetooth branding btrfs bzip2 cairo capi cdda cdr cli cmake cracklib crypt cups curl cvs cxx dbus declarative djvu dri dts dvd dvdr emboss encode examples exif fam firefox flac fontconfig fortran fprint freerdp gd gdbm gecko gif git glamor gnome gnome-shell gpm gstreamer gtk gudev hwdb iconv icu introspection ios ipv6 jabber jpeg json kde keymap kipi lcms ldap legacy-systray libnotify lzma mad mdnsresponder-compat mercurial mmx mmxext mng mod modplug modules mono mp3 mp4 mpeg mrim multilib mysql ncurses networkmanager nls nptl nsplugin nvidia objc odbc ogg openal opencl openconnect opengl openmp openrc oscar osmesa oss otr pam pango pcre pdf pdo perl pgo phonon php plasma png policykit ppds prelink purple python qml qt3support qt4 qt5 qthelp readline run-exes sdl seccomp semantic-desktop session source spell sqlite sse sse2 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification static-user subversion svg system-boost system-cairo system-ffmpeg system-icu system-jpeg system-libs system-libvncserver system-libvpx system-lua system-sqlite system-wine systemd tcpd telepathy theora thunar tiff truetype udev udisks unicode upcall upnp upower usb v4l valgrind vkontakte vorbis webstart widgets wifi win32 winbind wxwidgets x264 xattr xcb xcomposite xfs xinerama xml xscreensaver xv xvid xvmc 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="mmx mmxext sse sse2" 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 synaptiks" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_USER_TARGETS="arm ppc64" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nouveau nv intel" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Please also attach the failing build log.
Created attachment 422148 [details] build.log
Created attachment 422150 [details] CMakeLists.txt Could you please run the CMakeLists.txt and report the output?
-- The C compiler identification is GNU 4.9.3 -- The CXX compiler identification is GNU 4.9.3 -- Check for working C compiler: /usr/lib/ccache/bin/cc -- Check for working C compiler: /usr/lib/ccache/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/lib/ccache/bin/c++ -- Check for working CXX compiler: /usr/lib/ccache/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done ECM_FIND_MODULE_DIR: /usr/local/share/ECM/find-modules/ ECM_MODULE_DIR: /usr/local/share/ECM/modules/ ECM_KDE_MODULE_DIR: /usr/local/share/ECM/kde-modules/ ECM_MODULE_PATH: /usr/local/share/ECM/modules/;/usr/local/share/ECM/find-modules/;/usr/local/share/ECM/kde-modules/ CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 3.3) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/kde-plasma/plasma-workspace-5.5.2-r1/work/plasma-workspace-5.5.2/t
(In reply to Cj from comment #7) > ECM_FIND_MODULE_DIR: /usr/local/share/ECM/find-modules/ > ECM_MODULE_DIR: /usr/local/share/ECM/modules/ > ECM_KDE_MODULE_DIR: /usr/local/share/ECM/kde-modules/ > ECM_MODULE_PATH: > /usr/local/share/ECM/modules/;/usr/local/share/ECM/find-modules/;/usr/local/ > share/ECM/kde-modules/ Does /usr/local/share/ECM really exist (it shouldn't)?
name@localhost ~ $ qfile /usr/local/share/ECM/modules/ECMAddAppIcon.cmake name@localhost ~ $ qfile /usr/share/ECM/modules/ECMAddAppIcon.cmake kde-frameworks/extra-cmake-modules (/usr/share/ECM/modules/ECMAddAppIcon.cmake) you are right could it least from plasma-workspace-5.4.3 that was installed before?
(In reply to Cj from comment #9) > name@localhost ~ $ qfile /usr/local/share/ECM/modules/ECMAddAppIcon.cmake > name@localhost ~ $ qfile /usr/share/ECM/modules/ECMAddAppIcon.cmake > kde-frameworks/extra-cmake-modules > (/usr/share/ECM/modules/ECMAddAppIcon.cmake) > > > you are right > > could it least from plasma-workspace-5.4.3 that was installed before? It's unlikely. I suggest removing all the ECM stuff from /usr/local and trying again.
localhost t # cmake .. ECM_FIND_MODULE_DIR: /usr/share/ECM/find-modules/ ECM_MODULE_DIR: /usr/share/ECM/modules/ ECM_KDE_MODULE_DIR: /usr/share/ECM/kde-modules/ ECM_MODULE_PATH: /usr/share/ECM/modules/;/usr/share/ECM/find-modules/;/usr/share/ECM/kde-modules/ CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 3.3) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/kde-plasma/plasma-workspace-5.5.2-r1/work/plasma-workspace-5.5.2/t