On Sat, Jan 27, 2024 at 1:58 AM Luya Tshimbalanga <luya@xxxxxxxxxxxxxxxxx> wrote:Hello team, I attempt to build MaterialX, an optional requirement for Blender 4.x but hit an interesting issue with RPATH (partially resolved). An example on https://download.copr.fedorainfracloud.org/results/@designsuite/blender/fedora-39-x86_64/06966310-materialx/builder-live.log.gz shows the path on /usr/ rather than say /usr/share/materialxThis doesn't have anything to do with RPATH. Upstream's build is just broken for FHS layout. For example, the "root-level documents" are installed here: https://github.com/AcademySoftwareFoundation/MaterialX/blob/2f169d152f295114efe982ab06a74bfd930bb540/CMakeLists.txt#L354-L379 This just installs documentation to ".", which is /usr. Following the workaround from Arch Linux, manually creating the directory helped. With some tweaks, the build was successful abet disabling python for the time being: https://copr.fedorainfracloud.org/coprs/g/designsuite/blender/build/6967755/
-- Luya Tshimbalanga Fedora Design Team Fedora Design Suite maintainer |
-- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue