On 2024-01-27 01:04, Elliott Sales de Andrade wrote:
On Sat, Jan 27, 2024 at 1:58 AM Luya Tshimbalanga
<l...@fedoraproject.org> 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
onhttps://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.
That is the missing link.
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.
Agreed. Once addressed, perhaps submit a patch. I will update the status.
--
Luya Tshimbalanga
Fedora Design Team
Fedora Design Suite maintainer
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue