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

Function to recognize multiarch tuples in directory names #35

Open
nightlark opened this issue Jan 2, 2025 · 0 comments
Open

Function to recognize multiarch tuples in directory names #35

nightlark opened this issue Jan 2, 2025 · 0 comments

Comments

@nightlark
Copy link
Collaborator

nightlark commented Jan 2, 2025

Matching include directories accurately requires being able to distinguish directories for different multiarch tuples from other arbitrary directory names.

There are also a handful of cases where it will be needed to pick to correct package name after normalizing a shared library name, such as libusb-1.0.so (normalized as libusb.so):

Collision libusb.so from libusb-1.0.so with matching package names
Original package names: [("libdevel/libusb-1.0-0-dev", "usr/lib/x86_64-linux-gnu/libusb-1.0.so")]
Normalized package names: [("universe/text/calibre-bin", "usr/lib/calibre/calibre/plugins/libusb.so"), ("libdevel/libusb-dev", "usr/lib/x86_64-linux-gnu/libusb.so")]

See #5 (comment) for more examples.

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