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

pkgdepend only adds PLATFORM runpaths for objects not themselves in /platform #510

Open
richlowe opened this issue Mar 2, 2025 · 0 comments

Comments

@richlowe
Copy link
Contributor

richlowe commented Mar 2, 2025

I'm not sure why this is, but there's a clear else: in elf.py that is doing this.

The upshot is that if you deliver an object into /platform, you can't depend on another object that lands in /platform because pkgdepend fails to find it (even though it will work).

You can see this being worked around in Xen

# pkgdepend does not know to also look for modules in the base platform                                                                                      
file path=platform/$(ARCH32)hvm/kernel/drv/$(ARCH64)/xpv group=sys \
    pkg.depend.runpath=$PKGDEPEND_RUNPATH:/platform/$(ARCH32)pc/kernel

It seems like pkgdepend would know, if it had not been explicitly prevented from it.

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