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/materialx This 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. And the same for resources: https://github.com/AcademySoftwareFoundation/MaterialX/blob/2f169d152f295114efe982ab06a74bfd930bb540/resources/CMakeLists.txt#L3 which doesn't add datadir, but just goes to top-level "resources". This should probably be reported upstream. > The build is located on https://copr.fedorainfracloud.org/coprs/g/designsuite/blender/build/6966310/ including the spec file. > > Helps welcome! > > Luya -- Elliott -- _______________________________________________ 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