Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557994 - kde-base/pykde4-4.14.3 with CMAKE_MAKEFILE_GENERATOR="ninja": make: *** No rule to make target 'install'. Stop.
Summary: kde-base/pykde4-4.14.3 with CMAKE_MAKEFILE_GENERATOR="ninja": make: *** No ru...
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: ninja-porting
  Show dependency tree
 
Reported: 2015-08-17 09:35 UTC by Franz Trischberger
Modified: 2015-08-18 19:10 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,680.07 KB, text/plain)
2015-08-17 09:35 UTC, Franz Trischberger
Details

Note You need to log in before you can comment on or make changes to this bug.
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