Some days ago I started a discussion about general packaging questions. But I guess, I run now into problems that are more related to the special kind of libraries I'm dealing with. I'm trying to package the AMD ROCm Open Compute Stack.
For a better basis for discussion I uploaded the package.yml's I have already created to github. In the Readme you find the results of lseopkg
and the problems I have. Briefly summarized:
- Package ROCT-Thunk-Interface installs among other things the library
/usr/lib64/rocm/lib64/libhsakmt.so.1
- Package ROCR-Runtime can be built and it ends up with an eopkg package. But an error
Fatal: Unknown symbol: libhsakmt.so.1
occurs during packaging.
- This missing libhsakmt.so.1 afterwards causes errors when building libraries dependant on ROCR-Runtime.
- But
lseopkg
shows correctly installed libraries for ROCT-Thunk-Interface. Furthermore, if I install the ROCT-Thunk-Interface eopkg package locally and compile ROCR-Runtime manually against it, everything works.
Does anybody know what I'm doing wrong ? The package.yml files can be found in the git repo. Thank you very much.