Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527694 - kde-base/plasma-workspace-5.1.0.1 falis to build: fatal error: Baloo/Query: No such file or directory
Summary: kde-base/plasma-workspace-5.1.0.1 falis to build: fatal error: Baloo/Query: ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-01 07:48 UTC by Dénes Botond
Modified: 2014-12-02 09:29 UTC (History)
1 user (show)

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


Attachments
Build log (kde-base:plasma-workspace-5.1.1:20141130-232013.log.gz,124.23 KB, application/x-gzip)
2014-11-30 23:39 UTC, Paweł Stankowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dénes Botond 2014-11-01 07:48:31 UTC
emerge plasma-workspace fails with the following error:

[ 48%] Building CXX object runners/baloo/CMakeFiles/krunner_baloosearchrunner.dir/baloosearchrunner.cpp.o
cd /var/tmp/portage/kde-base/plasma-workspace-5.1.0.1/work/plasma-workspace-5.1.0.1_build/runners/baloo && /usr/bin/x86_64-pc-linux-gnu-g++  -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DTRANSLATION_DOMAIN=\"plasma_runner_baloosearchrunner\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkrunner_baloosearchrunner_EXPORTS  -DQT_NO_DEBUG -DNDEBUG -O2 -pipe -mtune=native  -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -I/var/tmp/portage/kde-base/plasma-workspace-5.1.0.1/work/plasma-workspace-5.1.0.1_build/runners/baloo -I/var/tmp/portage/kde-base/plasma-workspace-5.1.0.1/work/plasma-workspace-5.1.0/runners/baloo -I/var/tmp/portage/kde-base/plasma-workspace-5.1.0.1/work/plasma-workspace-5.1.0.1_build -I/usr/include/KF5/KRunner -I/usr/include/KF5 -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/KF5/Plasma -I/usr/include/KF5/KService -I/usr/include/KF5/KConfigCore -I/usr/include/KF5/KCoreAddons -I/usr/include/qt5/QtGui -I/usr/include/KF5/KIOWidgets -I/usr/include/KF5/KIOCore -I/usr/include/KF5/KJobWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtNetwork -I/usr/include/KF5/KCompletion -I/usr/include/KF5/KWidgetsAddons -I/usr/include/KF5/KI18n    -o CMakeFiles/krunner_baloosearchrunner.dir/baloosearchrunner.cpp.o -c /var/tmp/portage/kde-base/plasma-workspace-5.1.0.1/work/plasma-workspace-5.1.0/runners/baloo/baloosearchrunner.cpp
/var/tmp/portage/kde-base/plasma-workspace-5.1.0.1/work/plasma-workspace-5.1.0/runners/baloo/baloosearchrunner.cpp:30:23: fatal error: Baloo/Query: No such file or directory
 #include <Baloo/Query>
                       ^
compilation terminated.
runners/baloo/CMakeFiles/krunner_baloosearchrunner.dir/build.make:57: recipe for target 'runners/baloo/CMakeFiles/krunner_baloosearchrunner.dir/baloosearchrunner.cpp.o' failed


Reproducible: Always

Steps to Reproduce:
emerge plasma-workspace



emerge --info '=kde-base/plasma-workspace-5.1.0.1::kde':
Portage 2.2.8-r2 (hardened/linux/amd64/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.14.14-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     8017916 total,     67468 free
KiB Swap:    9765620 total,   9753568 free
Timestamp of tree: Thu, 30 Oct 2014 11:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo gentoo-el kde
Installed sets: @kde-frameworks
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native"
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/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=native"
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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://mirrors.xservers.ro/gentoo/ ftp://de-mirror.org/gentoo/ http://de-mirror.org/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gentoo-el /var/lib/layman/kde"
SYNC="rsync.us.gentoo.org"
USE="X acl alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt cxx dbus dri dvd dvdr gdbm gif gtk gtk3 hardened iconv ipv6 jpeg justify libnotify mmx modules ncurses nls nptl ogg opengl openmp pam pango pax_kernel pcre pdf png policykit pulseaudio readline session sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower urandom usb vim-syntax vorbis xattr xft xtpax zlib" 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" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Michael Palimaka (kensington) gentoo-dev 2014-11-24 17:12:45 UTC
Does this persist with 5.1.1, and if so which version of baloo do you have?
Comment 2 Dénes Botond 2014-11-24 19:57:14 UTC
(In reply to Michael Palimaka (kensington) from comment #1)
> Does this persist with 5.1.1, and if so which version of baloo do you have?

Right now I deleted the kde-5 packages from my system, because I had some ugly conflicts with qt4 with recent updates (qtchooser) and I don't have time to solve it. But as soon as I can I will try again.
Comment 3 Paweł Stankowski 2014-11-30 23:39:53 UTC
Created attachment 390674 [details]
Build log

I have exactly the same error during plasma-workspace rebuild.

My packages versions:
kde-base/plasma-workspace-5.1.1[X,dbus]
kde-base/baloo-9999

The latter package provides /usr/include/KF5/Baloo/Baloo/Query file, but /usr/include/KF5/Baloo directory was not added to gcc's include paths - seems to be configure error, but I did not have time to investigate that. I attach build log.

I was able to build plasma-workspace when built as a dependency of plasma-desktop. Maybe there is some missing dependency as this error occurred right after 'depclean'.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2014-12-01 10:28:53 UTC
How long ago was kde-base/baloo-9999 updated?
Comment 5 Paweł Stankowski 2014-12-01 12:05:50 UTC
I installed it (and all other kde components) this weekend.
Comment 6 Michael Palimaka (kensington) gentoo-dev 2014-12-01 12:06:59 UTC
OK, just scratching for ideas since I'm having trouble reproducing. :(
Comment 7 Paweł Stankowski 2014-12-01 23:35:21 UTC
It was not that difficult to reproduce it, just emerge baloo-9999 and try to build plasma-workspace-5.1.1. baloo-5.1.9999 is the last version supported by plasma-workspace-5.1.*.

This commit broke compatibility with baloo-9999:
https://projects.kde.org/projects/kde/kdelibs/baloo/repository/revisions/2dddf1a2564707ff185789eae9e1407c1e2ad304/diff

KF5::BalooCore target was renamed to KF5::Baloo, but old target name is used in plasma-workspace-5.1.1. This change was not merged to Plasma/5.1 branch, so baloo-5.1.9999 is still good.

Solution: change dependency to <kde-base/baloo-5.2.*
Comment 8 Michael Palimaka (kensington) gentoo-dev 2014-12-02 09:29:53 UTC
That is one of the perils of mixing and matching live ebuilds with releases.