Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency handling in sandbox shared library components #38

Open
btgoodwin opened this issue Jun 1, 2020 · 0 comments
Open

Dependency handling in sandbox shared library components #38

btgoodwin opened this issue Jun 1, 2020 · 0 comments

Comments

@btgoodwin
Copy link

REDHAWK 2.2.5 and 2.2.6

Summary: shared library Components that have softpkg dependencies that in-turn also have softpkg dependencies fail to load in certain runtime environments. The error indicates that innermost dependency failed to load because the outermost independency's .so.0.0 file does not exist (which is false). If one reverses the order of the dependencies list so that the outermost dependencies are loaded first, the problem is resolved. An example component for this behavior is rh.DataConverter (depends on fftlib, which depends on dsp).

In ossie.utils.sandbox local.py at approximately line 283, the dependency list is resolved recursively:

# Resolve all dependency localfiles
deps = self._resolveDependencies(sdrroot, device, impl)
deps.reverse() # <<< PROPOSED PATCH

With the above patch applied, the dsp softpkg is loaded first, then fftlib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant