CMake fails to find the man file in the install step. Reproducible: Always Steps to Reproduce: 1. Enable media-gfx/blender man USE flag 2. emerge media-gfx/blender Actual Results: The command fails in the install step. Expected Results: Blender installs correctly with USE="man" I don't know why I enabled the man USE flag so I'll just install it without it now.
Created attachment 875516 [details] build.log
There is a race condition in the install process if USE="man" is set at https://projects.blender.org/blender/blender/src/branch/main/source/creator/CMakeLists.txt#L1805. I've attached a patch that can be used to install with USE="man" that I'd prefer not to merge and rather get the problem properly fixed.
Created attachment 875615 [details, diff] blender-4.0.1-man-j1.patch
Are these two upstream PRs related or is this an other issue? https://projects.blender.org/blender/blender/pulls/115127 https://projects.blender.org/blender/blender/pulls/115320
This is unrelated. Two cmake targets are created here: https://projects.blender.org/blender/blender/src/branch/main/source/creator/CMakeLists.txt#L1805 https://projects.blender.org/blender/blender/src/branch/main/source/creator/CMakeLists.txt#L1841 When the install part is run with enough parallelism the second install call is issued before the first one is finished or has even started, because there is no dependency between blender.1 being created and it being installed. I haven't quite gotten to look for a proper solution yet, because the whole compiling blender.1 in install is not pretty and doesn't fit the preferred workflow in gentoo. I was going to going to open an issue with upstream once I had anything better.
*** Bug 920287 has been marked as a duplicate of this bug. ***
Fixed in bug 922324
Created attachment 882762 [details] build.log.xz
still fails to build with USE=man. build.log attached