Summary: | media-gfx/blender-4.0.1: fails to install with USE="man" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Florian Badie <florianbadie> |
Component: | Current packages | Assignee: | Paul Zander <negril.nx+gentoo> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | agrigo2001, bearcatsandor, darkdefende, einfair, gentoo, leonchik1976, lockalsash, proxy-maint |
Priority: | Normal | Keywords: | PATCH, PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=922324 https://github.com/gentoo/gentoo/pull/34941 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 351559 | ||
Attachments: |
build.log
blender-4.0.1-man-j1.patch build.log.xz |
Description
Florian Badie
2023-11-24 14:35:13 UTC
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 |