Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605818 - media-gfx/blender-2.78a No rule to make target 'install/fast'. with CMAKE_MAKEFILE_GENERATOR="ninja"
Summary: media-gfx/blender-2.78a No rule to make target 'install/fast'. with CMAKE_MAK...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jonathan Scruggs (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-15 21:30 UTC by Risimi
Modified: 2017-01-31 14:09 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,83.30 KB, application/x-xz)
2017-01-15 21:30 UTC, Risimi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Risimi 2017-01-15 21:30:50 UTC
Created attachment 460230 [details]
build.log.xz

media-gfx/blender-2.78a fails to merge (install phase) when CMAKE_MAKEFILE_GENERATOR is set to "ninja" in the make.conf.

>>> Source compiled.
>>> Test phase [not enabled]: media-gfx/blender-2.78a

>>> Install blender-2.78a into /var/tmp/portage/tmpfs/portage/media-gfx/blender-2.78a/image/ category media-gfx
 * PT_PAX marking -m /var/tmp/portage/tmpfs/portage/media-gfx/blender-2.78a/work/blender-2.78a_build/bin/blender with scanelf
 * XATTR_PAX marking -me /var/tmp/portage/tmpfs/portage/media-gfx/blender-2.78a/work/blender-2.78a_build/bin/blender with setfattr
make --jobs=2 -C /var/tmp/portage/tmpfs/portage/media-gfx/blender-2.78a/work/blender-2.78a_build DESTDIR=/var/tmp/portage/tmpfs/portage/media-gfx/blender-2.78a/image/ install/fast 
make: Entering directory '/var/tmp/portage/tmpfs/portage/media-gfx/blender-2.78a/work/blender-2.78a_build'
make: *** No rule to make target 'install/fast'.  Stop.
make: Leaving directory '/var/tmp/portage/tmpfs/portage/media-gfx/blender-2.78a/work/blender-2.78a_build'
 * ERROR: media-gfx/blender-2.78a::gentoo failed (install phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/blender-2.78a::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/blender-2.78a::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-gfx:blender-2.78a:20170114-185518.log'.
 * The ebuild environment file is located at '/var/tmp/portage/tmpfs/portage/media-gfx/blender-2.78a/temp/environment'.
 * Working directory: '/var/tmp/portage/tmpfs/portage/media-gfx/blender-2.78a/work/blender-2.78a'
 * S: '/var/tmp/portage/tmpfs/portage/media-gfx/blender-2.78a/work/blender-2.78a'

The ebuild assumes that CMAKE_MAKEFILE_GENERATOR is set to makefiles and calls the make directly in the src_install().
Removing the direct call to make from the ebuild, allows it to install again.

diff --git a/media-gfx/blender/blender-2.78a.ebuild b/media-gfx/blender/blender-2.78a.ebuild
--- a/media-gfx/blender/blender-2.78a.ebuild
+++ b/media-gfx/blender/blender-2.78a.ebuild
@@ -249,7 +249,7 @@
 		dodoc -r "${CMAKE_USE_DIR}"/doc/doxygen/html/.
 	fi
 
-	emake -C "${CMAKE_BUILD_DIR}" DESTDIR="${D}" install/fast
+	cmake-utils_src_install
 
 	# fix doc installdir
 	docinto "html"
Comment 1 Jonathan Scruggs (RETIRED) gentoo-dev 2017-01-31 14:09:38 UTC
This was fixed in the -r1 updates. Thanks for reporting.