Bug 2441663
| Summary: | cmake module fails to import | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> |
| Component: | materialx | Assignee: | Luya Tshimbalanga <luya_tfz> |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | luya_tfz |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | materialx-1.39.5-1.fc44 materialx-1.39.5-1.fc43 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-06-24 01:30:23 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Orion Poplawski
2026-02-21 19:43:43 UTC
Same issue with /usr/lib/python3.14/site-packages/materialx/. That might make sense to require the python package. The current working solution extracted from blender.spec: https://src.fedoraproject.org/rpms/blender/blob/rawhide/f/blender.spec#_231 %if %{with materialx} BuildRequires: cmake(materialx) BuildRequires: materialx-data BuildRequires: python3-materialx %endif Second option somewhat failed to recognize the moved libraires and resources directory but the first option seems effective. Yeah, the point avoiding users or materialx from having to figure out the other deps they need. I'm surprised having the dirs in -devel didn't work, but okay. A weird case where second option managed to fail. Anyway, could you test this scratch build? https://koji.fedoraproject.org/koji/taskinfo?taskID=142626947 It should automatically include materialx-data requirement. FEDORA-2026-85d5d5f493 (materialx-1.39.5-1.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2026-85d5d5f493 FEDORA-2026-d2806ddffc (materialx-1.39.5-1.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-d2806ddffc FEDORA-2026-d2806ddffc has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-d2806ddffc` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d2806ddffc See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-85d5d5f493 has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-85d5d5f493` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-85d5d5f493 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-d2806ddffc (materialx-1.39.5-1.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2026-85d5d5f493 (materialx-1.39.5-1.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. Still have the issue with python: CMake Error at /usr/lib64/cmake/MaterialX/MaterialXConfig.cmake:29 (message): File or directory /usr/lib/python3.15/site-packages/materialx/ referenced by variable MATERIALX_PYTHON_DIR does not exist ! Call Stack (most recent call first): /usr/lib64/cmake/MaterialX/MaterialXConfig.cmake:59 (set_and_check) cmake/defaults/Packages.cmake:318 (find_package) CMakeLists.txt:23 (include) |