Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 557994

Summary: kde-base/pykde4-4.14.3 with CMAKE_MAKEFILE_GENERATOR="ninja": make: *** No rule to make target 'install'. Stop.
Product: Gentoo Linux Reporter: Franz Trischberger <franz.trischberger>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: franz.trischberger
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 557992    
Attachments: build.log

Description Franz Trischberger 2015-08-17 09:35:21 UTC
Created attachment 409226 [details]
build.log

Setting CMAKE_MAKEFILE_GENERATOR="emake" make pykde4 install fine.

NOTE:
I forced cmake generator to ninja via make.conf, as it usually speeds up compilation, especially for larger packages.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-08-17 15:35:15 UTC
What is the suggested solution - force emake generator in the package?
Comment 2 Franz Trischberger 2015-08-17 15:51:19 UTC
As emake still is the default I don't think forcing it in the ebuild is not necessary. But I think it is good to catch such failures early. This topic (+solution) came up in the forums, so there are users who set ninja globally. IMHO it is better to track this in bugzilla and not the forums.
And probably one day cmake-herd decides to fully go ninja ;) then a tracker bug is good to have.
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2015-08-17 21:36:19 UTC
(In reply to Michael Palimaka (kensington) from comment #1)
> What is the suggested solution - force emake generator in the package?

We need to overwrite the user choice here for sane build.

(In reply to Franz Fellner from comment #2)
> As emake still is the default I don't think forcing it in the ebuild is not
> necessary. But I think it is good to catch such failures early. This topic
> (+solution) came up in the forums, so there are users who set ninja
> globally. IMHO it is better to track this in bugzilla and not the forums.

It's better to fix it instead of having it just for the record.

> And probably one day cmake-herd decides to fully go ninja ;) then a tracker
> bug is good to have.

There is no cmake-herd -> kde is maintaining cmake-utils.eclass.
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2015-08-18 19:10:17 UTC
Thanks for reporting. This is fixed in git now, by forcing the default makefile generator. Please sync to get the changes.

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