Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557390 - [kde overlay] kde-apps/kdepimlibs-15.07.90 fails to merge
Summary: [kde overlay] kde-apps/kdepimlibs-15.07.90 fails to merge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-12 18:43 UTC by Jakub Caban
Modified: 2015-08-13 13:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Caban 2015-08-12 18:43:49 UTC
With pure KDE Overlay version I got:

>>> Working in BUILD_DIR: "/tmp/portage/kde-apps/kdepimlibs-15.07.90/work/kdepimlibs-15.07.90_build"
cmake --no-warn-unused-cli -C /tmp/portage/kde-apps/kdepimlibs-15.07.90/work/kdepimlibs-15.07.90_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=ON -DCMAKE_DISABLE_FIND_PACKAGE_KF5Prison=ON -DCMAKE_DISABLE_FIND_PACKAGE_Sasl2=OFF -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/tmp/portage/kde-apps/kdepimlibs-15.07.90/work/kdepimlibs-15.07.90_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/kde-apps/kdepimlibs-15.07.90/work/kdepimlibs-15.07.90_build/gentoo_toolchain.cmake  /tmp/portage/kde-apps/kdepimlibs-15.07.90/work/kdepimlibs-15.07.90
Not searching for unused variables given on the command line.
loading initial cache file /tmp/portage/kde-apps/kdepimlibs-15.07.90/work/kdepimlibs-15.07.90_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.9.3
-- The CXX compiler identification is GNU 4.9.3
-- Check for working C compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -- 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/lib64/ccache/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:38 (feature_summary):
  Unknown CMake command "feature_summary".


I have tried to find out what's wrong, but no go. Once I made it to compile by hand, but couldn't reproduce.

First thing I've found is that portage for some reason is commenting out important lines in CMakeList.txt:

# These subdirectories don't depend on anything from kdepimlibs.
# They shall be built first
#DONOTCOMPILE add_subdirectory(akonadi)
#DONOTCOMPILE add_subdirectory(akonadi-mime)
#DONOTCOMPILE add_subdirectory(akonadi-contact)
#DONOTCOMPILE add_subdirectory(akonadi-notes)
#DONOTCOMPILE add_subdirectory(akonadi-socialutils)
#DONOTCOMPILE add_subdirectory(kioslave)

But after adding:

sed -e '/^#DONOTCOMPILE / s///g' -i CMakeLists.txt

to the ebuild I got another errors:

-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -mtune=native -march=native -O2 -pipe -fomit-frame-pointer 
C++             -mtune=native -march=native -O2 -pipe -fomit-frame-pointer 
Linker flags:
Executable       -Wl,-O1 -Wl,--as-needed -Wl,-O2 -Wl,--sort-common
Module           -Wl,-O1 -Wl,--as-needed -Wl,-O2 -Wl,--sort-common
Shared           -Wl,-O1 -Wl,--as-needed -Wl,-O2 -Wl,--sort-common

-- Configuring done
CMake Error: INSTALL(EXPORT) given unknown export "KF5AkonadiTargets"
CMake Error: INSTALL(EXPORT) given unknown export "KF5AkonadiMimeTargets"
CMake Error: INSTALL(EXPORT) given unknown export "KF5AkonadiContactTargets"
CMake Error: INSTALL(EXPORT) given unknown export "KF5AkonadiNotesTargets"
CMake Error: INSTALL(EXPORT) given unknown export "KF5AkonadiSocialUtilsTargets"
-- Generating done
-- Build files have been written to: /tmp/portage/kde-apps/kdepimlibs-15.07.90/work/kdepimlibs-15.07.90_build

And I'm totally stuck. I'd love to try out the new Kontact Suite, but after hours of tries I must admit it beat me.

I can help with testing and provide any requested details :)

Reproducible: Always

Steps to Reproduce:
1. emerge -av1 kde-apps/kdepimlibs

Actual Results:  
Fail

Expected Results:  
Merge

# emerge --info kde-apps/kdepimlibs
Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.3, glibc-2.21-r1, 4.1.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-2670QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:     8138136 total,     79392 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Wed, 12 Aug 2015 17:30:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1
ccache version 3.2.2 [enabled]
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/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/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

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

mozilla
    location: /var/lib/layman/mozilla
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/mozilla.git
    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.git
    masters: gentoo
    priority: 50

my
    location: /var/lib/layman/my
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -march=native -O2 -pipe -fomit-frame-pointer"
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"
CXXFLAGS="-mtune=native -march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache clean-logs compressdebug 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="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O2 -Wl,--sort-common"
MAKEOPTS="-j4"
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="/tmp"
USE="X a52 aac acl acpi aes alsa amd64 avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr egl emboss encode exif facebook fam firefox firmware flac fortran gdbm gif git google gpm iconv icu ipv6 jpeg kde kdepim kipi kontact lcms ldap libav mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp optimized-qmake pam pango pcre pdf phonon php plasma png policykit popcnt ppds pulseaudio python3 qml qt3support qt4 qt5 readline scanner sdl semantic-desktop session spell sse sse2 sse3 sse4 sse4_1 sse4_2 sse4_4way ssl ssse3 ssse4 startup-notification svg system-cairo system-ffmpeg system-icu system-jpeg system-sqlite tcpd tiff touchpad truetype udev udisks unicode upower usb v4l v4ls vdpau vim-syntax vorbis wayland widgets wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid 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 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="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-08-13 13:22:05 UTC
Thanks, this was fixed in git by Andreas.

https://gitweb.gentoo.org/proj/kde.git/commit/?id=772c995cdb5429fee1395dc11189e8b872d2472c