Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675316 - [kde overlay] kde-plasma/xembed-sni-proxy-9999 wants frameworks 9999 due to commit 7caf6f1ad
Summary: [kde overlay] kde-plasma/xembed-sni-proxy-9999 wants frameworks 9999 due to c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-13 09:35 UTC by Duncan
Modified: 2019-01-13 12:16 UTC (History)
0 users

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 Duncan 2019-01-13 09:35:37 UTC
commit 7caf6f1ad
Author: Andreas Sturmlechner <asturm@gentoo.org>
Date:   Wed Jan 9 03:08:52 2019 +0100

kde-plasma/xembed-sni-proxy: Drop QT_MINIMAL and FRAMEWORKS_MINIMAL

---

All that did is drop the in-ebuild variable sets:

-FRAMEWORKS_MINIMAL="5.50.0"
-QT_MINIMAL="5.9.6"

But the ebuild still applies a patch:

PATCHES=( "${FILESDIR}/${PN}-5.14.2-standalone.patch" )

... which adds this line...

+    set(KF5_MIN_VERSION "GENTOO_KF5_MINIMAL")

And the ebuild still uses those vars in src_prepare:

sed -e "/set/s/GENTOO_PV/${PV}/" \
-e "/set/s/GENTOO_QT_MINIMAL/${QT_MINIMAL}/" \
-e "/set/s/GENTOO_KF5_MINIMAL/${FRAMEWORKS_MINIMAL}/" \
-i CMakeLists.txt || die "Failed to prepare CMakeLists.txt"



Somewhere between the patch, the remaining ebuild sed referring to FRAMEWORKS_MINIMAL, the kde5 eclasses, and the cmake detection files, without the specific variable set in the ebuild, something's defaulting to the ebuild version number, thus 9999 for the live ebuilds, because now the ebuild fails in the configure phase with...

CMake Error at CMakeLists.txt:12 (find_package):
Could not find a configuration file for package "ECM" that is compatible
with requested version "9999".
The following configuration files were considered but not accepted:
/share/ECM/cmake/ECMConfig.cmake, version: 5.54.0
/usr/share/ECM/cmake/ECMConfig.cmake, version: 5.54.0


Meanwhile, while it may or may not be a "proper" fix, reverting 7caf6f1ad confirmed to allow xembed-sni-proxy to build properly once again. =:^)
Comment 1 Larry the Git Cow gentoo-dev 2019-01-13 12:16:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=88fca674666341bc813e89ba260b98b2f9a35498

commit 88fca674666341bc813e89ba260b98b2f9a35498
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-01-13 12:02:32 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-01-13 12:12:50 +0000

    kde-plasma/xembed-sni-proxy: Fix standalone patch to 5.15 min versions
    
    Closes: https://bugs.gentoo.org/675316
    Package-Manager: Portage-2.3.55, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 ...2-standalone.patch => xembed-sni-proxy-5.14.90-standalone.patch} | 6 +++---
 kde-plasma/xembed-sni-proxy/xembed-sni-proxy-9999.ebuild            | 6 ++----
 2 files changed, 5 insertions(+), 7 deletions(-)