Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652876 - kde-frameworks/baloo-5.43.0 emake failed
Summary: kde-frameworks/baloo-5.43.0 emake failed
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-09 20:33 UTC by Urban
Modified: 2018-06-30 21:02 UTC (History)
1 user (show)

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


Attachments
emerge --info '=kde-frameworks/baloo-5.43.0::gentoo' (emerge-info.txt,19.37 KB, text/plain)
2018-04-09 20:34 UTC, Urban
Details
emerge -pqv '=kde-frameworks/baloo-5.43.0::gentoo' (emerge-pqv.txt,72 bytes, text/plain)
2018-04-09 20:35 UTC, Urban
Details
build.log (build.log,127.75 KB, text/x-log)
2018-04-09 20:35 UTC, Urban
Details
environment (environment,147.54 KB, text/plain)
2018-04-09 20:35 UTC, Urban
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Urban 2018-04-09 20:33:32 UTC
Emerging kde-frameworks/baloo-5.43.0 fails during emake.

[ 19%] Linking CXX shared module ../../../bin/baloosearchmodule.so
cd /var/tmp/portage/kde-frameworks/baloo-5.43.0/work/baloo-5.43.0_build/src/kioslaves/kded && /usr/bin/cmake -E cmake_link_script CMakeFiles/baloosearchmodule.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -ggdb -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -pedantic -Wsuggest-override -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -shared  -o ../../../bin/baloosearchmodule.so CMakeFiles/baloosearchmodule.dir/baloosearchmodule.cpp.o CMakeFiles/baloosearchmodule.dir/baloosearchmodule_autogen/mocs_compilation.cpp.o /usr/lib64/libKF5KIOCore.so.5.43.0 /usr/lib64/libKF5Service.so.5.43.0 /usr/lib64/libKF5CoreAddons.so.5.43.0 /usr/lib64/libKF5DBusAddons.so.5.43.0 /usr/lib64/libQt5DBus.so.5.9.4 /usr/lib64/libKF5ConfigCore.so.5.43.0 /usr/lib64/libQt5Core.so.5.9.4 
CMakeFiles/baloosearchmodule.dir/baloosearchmodule.cpp.o: In function `Factory::Factory()':
/var/tmp/portage/kde-frameworks/baloo-5.43.0/work/baloo-5.43.0/src/kioslaves/kded/baloosearchmodule.cpp:106: undefined reference to `vtable for Factory'
CMakeFiles/baloosearchmodule.dir/baloosearchmodule.cpp.o: In function `Factory::~Factory()':
/var/tmp/portage/kde-frameworks/baloo-5.43.0/work/baloo-5.43.0/src/kioslaves/kded/baloosearchmodule.cpp:106: undefined reference to `vtable for Factory'
CMakeFiles/baloosearchmodule.dir/baloosearchmodule.cpp.o: In function `Factory::~Factory()':
/var/tmp/portage/kde-frameworks/baloo-5.43.0/work/baloo-5.43.0/src/kioslaves/kded/baloosearchmodule.cpp:106: undefined reference to `vtable for Factory'
collect2: error: ld returned 1 exit status
make[2]: *** [src/kioslaves/kded/CMakeFiles/baloosearchmodule.dir/build.make:121: bin/baloosearchmodule.so] Error 1
Comment 1 Urban 2018-04-09 20:34:42 UTC
Created attachment 526960 [details]
emerge --info '=kde-frameworks/baloo-5.43.0::gentoo'
Comment 2 Urban 2018-04-09 20:35:05 UTC
Created attachment 526962 [details]
emerge -pqv '=kde-frameworks/baloo-5.43.0::gentoo'
Comment 3 Urban 2018-04-09 20:35:30 UTC
Created attachment 526964 [details]
build.log
Comment 4 Urban 2018-04-09 20:35:50 UTC
Created attachment 526966 [details]
environment
Comment 5 Urban 2018-04-23 06:04:23 UTC
I just managed to build baloo and baloo-widgets without problems, but I had to manually remove the file /usr/include/kpluginfactory.h (and then I put it back after emerge completed).

# equery belongs /usr/include/kpluginfactory.h
 * Searching for /usr/include/kpluginfactory.h ...
kde-frameworks/kdelibs-4.14.37 (/usr/include/kpluginfactory.h)


I suppose there is a conflict while the file src/kioslaves/kded/baloosearchmodule.cpp is processed with moc and the wrong file (/usr/include/kpluginfactory.h instead of /usr/include/KF5/KCoreAddons/kpluginfactory.h) is used for include with moc, while the correct one is used while compiling the file.
Comment 6 Andreas Sturmlechner gentoo-dev 2018-04-24 11:05:29 UTC
Looking at the CMakeLists.txt file though I can't see why, as KF5::CoreAddons is properly added to link_libraries for baloosearchmodule, there is no change to those sources in years and no one else has come up with this build issue so far.

Even though it will solve itself when we dance the kdelibs-4 last-rites soon, it would be still interesting to know what's going on...
Comment 7 Urban 2018-04-24 11:15:20 UTC
(In reply to Andreas Sturmlechner from comment #6)
> Looking at the CMakeLists.txt file though I can't see why, as
> KF5::CoreAddons is properly added to link_libraries for baloosearchmodule,
> there is no change to those sources in years and no one else has come up
> with this build issue so far.
> 
> Even though it will solve itself when we dance the kdelibs-4 last-rites
> soon, it would be still interesting to know what's going on...

There is something I can do to help you figure out what's happening?
Comment 8 Andreas Sturmlechner gentoo-dev 2018-06-06 11:58:55 UTC
Please test with 5.46.0.