Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 450350 - [kde-overlay] kde-base/kdepimlibs-4.9.97 fails configure with USE="-semantic-desktop" because of missing nepomuk-core
Summary: [kde-overlay] kde-base/kdepimlibs-4.9.97 fails configure with USE="-semantic-...
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: 2013-01-05 09:04 UTC by Franz Trischberger
Modified: 2013-01-05 16:00 UTC (History)
1 user (show)

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


Attachments
build.log (1357375930-install-kde-base_kdepimlibs-4.9.97:4::kde.out,14.87 KB, text/plain)
2013-01-05 09:04 UTC, Franz Trischberger
Details
kdepimlibs-4.9.97.ebuild (kdepimlibs-4.9.97.ebuild,2.22 KB, text/plain)
2013-01-05 11:23 UTC, Franz Trischberger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2013-01-05 09:04:14 UTC
Created attachment 334482 [details]
build.log

-- The following REQUIRED packages have not been found:

 * NepomukCore , NepomukCore , <http://www.kde.org>
   Nepomuk extends the search and tagging functionalities in KMail and Akonadi

-- Configuring incomplete, errors occurred!

So times are over where we can build without semantic-desktop? So many packages depend on kdepimlibs :(
Comment 1 Franz Trischberger 2013-01-05 11:20:54 UTC
Found the issue:
they replace macro_log_feature with set_package_properties, so sed did not anymore replace anything ;)

diff --git a/kde-base/kdepimlibs/kdepimlibs-4.9.97.ebuild b/kde-base/kdepimlibs/kdepimlibs-4.9.97.ebuild
index 8ccb8d1..9cf3f20 100644
--- a/kde-base/kdepimlibs/kdepimlibs-4.9.97.ebuild
+++ b/kde-base/kdepimlibs/kdepimlibs-4.9.97.ebuild
@@ -44,7 +44,7 @@ src_prepare() {
 
        # Disable hardcoded checks
        sed -r -e '/find_package\((Akonadi|SharedDesktopOntologies|Soprano|Nepomuk)/{/macro_optional_/!s/find/macro_optional_&/}' \
-               -e '/macro_log_feature\((Akonadi|SHAREDDESKTOPONTOLOGIES|Soprano|Nepomuk)_FOUND/s/ TRUE / FALSE /' \
+               -e '/set_package_properties\((Akonadi|SHAREDDESKTOPONTOLOGIES|Soprano|Nepomuk)/s/ REQUIRED / OPTIONAL /' \
                -e '/add_subdirectory\((akonadi|mailtransport)/{/macro_optional_/!s/add/macro_optional_&/}' \
                -i CMakeLists.txt || die
        if ! use semantic-desktop; then
Comment 2 Franz Trischberger 2013-01-05 11:23:07 UTC
Created attachment 334500 [details]
kdepimlibs-4.9.97.ebuild

The modified ebuild
Comment 3 Chris Reffett (RETIRED) gentoo-dev Security 2013-01-05 16:00:42 UTC
Fixed in the overlay, also applied the fix to 4.10.49.9999 and 9999 versions. Thanks!