Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606158 - dev-util/kdevplatform-5.0.x emerge fails if >=kde-frameworks/kconfig-5.30.0 is installed
Summary: dev-util/kdevplatform-5.0.x emerge fails if >=kde-frameworks/kconfig-5.30.0 i...
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:
: 607976 607978 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-01-18 09:30 UTC by Simon Gander
Modified: 2017-02-18 23:35 UTC (History)
2 users (show)

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


Attachments
Output of emerge --info, the build log, and the patch used to fix the problem. (kdevplatform-5.0.x-fix.tar.gz,79.86 KB, application/gzip)
2017-01-18 09:30 UTC, Simon Gander
Details
Updated ebuild (kdevplatform-5.0.3.ebuild,2.84 KB, text/plain)
2017-02-16 13:35 UTC, HTS
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Gander 2017-01-18 09:30:28 UTC
Created attachment 460520 [details]
Output of emerge --info, the build log, and the patch used to fix the problem.

Emerging dev-util/kdevplatform-5.0.x fails if >=kde-frameworks/kconfig-5.3.0 is installed.

Kconfig 5.3.0 seems to generate different code than its previous versions. This prevents kdevplatform from being built, because projectconfigskeleton.h has declared the additional needed constructor as private.

Using the patch in the attachment, I was able to successfully merge kdevplatform-5.0.3.

The bug appears to have been fixed upstream for kdevplatform 5.1.0.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-01-18 09:52:20 UTC
We should check if this patch is backwards-compatible with stable frameworks.
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2017-01-25 08:22:01 UTC
> =kde-frameworks/kconfig-5.3.0 

Is this a version typo?
Comment 3 Michael Palimaka (kensington) gentoo-dev 2017-01-25 11:20:49 UTC
(In reply to Johannes Huber from comment #2)
> > =kde-frameworks/kconfig-5.3.0 
> 
> Is this a version typo?

I think so, I was able to reproduce the failure with 5.30.
Comment 4 Simon Gander 2017-01-25 12:17:18 UTC
(In reply to Johannes Huber from comment #2)
> > =kde-frameworks/kconfig-5.3.0 
> 
> Is this a version typo?

Yes it is. Sorry, my mistake. I meant 5.30.0.

It worked with 5.28.0, and didn't with 5.30.0. And according to the sources of kconfig I compared, it should work with 5.29.0, although I didn't test that.

The patch contains basically the same code as in kdevplatform-5.1.0 in the upstream git repository.
Comment 5 Andreas Sturmlechner gentoo-dev 2017-02-02 09:46:00 UTC
*** Bug 607978 has been marked as a duplicate of this bug. ***
Comment 6 Andreas Sturmlechner gentoo-dev 2017-02-02 12:56:31 UTC
*** Bug 607976 has been marked as a duplicate of this bug. ***
Comment 7 Juergen Rose 2017-02-12 14:50:33 UTC
Is there not any patch?
Comment 8 HTS 2017-02-16 13:35:23 UTC
Created attachment 463948 [details]
Updated ebuild
Comment 9 HTS 2017-02-16 13:35:38 UTC
(In reply to Juergen Rose from comment #7)
> Is there not any patch?

The patch for kdevplatform is included in the attached tar. I've attached the updated ebuild that includes the patch.
Comment 10 Andreas Sturmlechner gentoo-dev 2017-02-18 23:35:08 UTC
Thanks, fixed in kdevplatform-5.0.3-r1.