Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687704 - kde-frameworks/kdesignerplugin-5.59.0[-designer]: cmake error if in build order before kde-frameworks/kcompletion-${PV}
Summary: kde-frameworks/kdesignerplugin-5.59.0[-designer]: cmake error if in build ord...
Status: RESOLVED FIXED
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: 2019-06-09 08:04 UTC by peter@prh.myzen.co.uk
Modified: 2019-06-09 18:55 UTC (History)
0 users

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


Attachments
ebuild log (kde-frameworks:kdesignerplugin-5.59.0:20190609-073631.log,4.92 KB, text/x-log)
2019-06-09 08:04 UTC, peter@prh.myzen.co.uk
Details
emerge --info (emerge.info,6.31 KB, text/plain)
2019-06-09 08:05 UTC, peter@prh.myzen.co.uk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description peter@prh.myzen.co.uk 2019-06-09 08:04:00 UTC
Created attachment 579310 [details]
ebuild log

Today's update was of kde-frameworks to version 5.59.0. With -j 12, kdesignerplugin failed because kcompletion had not yet been installed.
Comment 1 peter@prh.myzen.co.uk 2019-06-09 08:05:17 UTC
Created attachment 579312 [details]
emerge --info
Comment 2 Andreas Sturmlechner gentoo-dev 2019-06-09 08:16:57 UTC
The ebuild already depends on kcompletion. This looks more like a broken kcompletion installation.
Comment 3 peter@prh.myzen.co.uk 2019-06-09 08:30:18 UTC
(In reply to Andreas Sturmlechner from comment #2)
> The ebuild already depends on kcompletion.

Ah, so I see. I didn't spot it the first time.

> This looks more like a broken kcompletion installation.

On the other hand, repeating the emerge immediately after the kde-frameworks batch succeeded, without any other action by me.
Comment 4 Andreas Sturmlechner gentoo-dev 2019-06-09 10:23:16 UTC
While the dependency is there, it seems we should make sure to disable search for KCompletion (even if it is not required to satisfy USE=-designer) to avoid this issue. It may have become fatal only with some cmake version or no one has caught it yet (-j 12 is somewhat high).
Comment 5 Larry the Git Cow gentoo-dev 2019-06-09 11:21:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c88a563824a21abb3206aa0254e2394e7571d02f

commit c88a563824a21abb3206aa0254e2394e7571d02f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-06-09 11:19:38 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-06-09 11:20:56 +0000

    kde-frameworks/kdesignerplugin: Disable all optional deps w/ !designer
    
    A high --jobs number could lead to cmake errors otherwise.
    
    Closes: https://bugs.gentoo.org/687704
    Package-Manager: Portage-2.3.67, Repoman-2.3.14
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/kdesignerplugin/kdesignerplugin-5.59.0.ebuild | 4 ++++
 1 file changed, 4 insertions(+)
Comment 6 Larry the Git Cow gentoo-dev 2019-06-09 11:26:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=58d76a6905f75da950c06c01f13d65bbfa1255d0

commit 58d76a6905f75da950c06c01f13d65bbfa1255d0
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-06-09 11:19:38 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-06-09 11:24:38 +0000

    kde-frameworks/kdesignerplugin: Disable all optional deps w/ !designer
    
    A high --jobs number could lead to cmake errors otherwise.
    
    Closes: https://bugs.gentoo.org/687704
    Package-Manager: Portage-2.3.67, Repoman-2.3.14
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/kdesignerplugin/kdesignerplugin-9999.ebuild | 4 ++++
 1 file changed, 4 insertions(+)
Comment 7 peter@prh.myzen.co.uk 2019-06-09 18:55:32 UTC
--jobs=12 is just one job for each core. Well, actually, there are six cores, hyperthreaded.

Thanks for the fix.