-
Notifications
You must be signed in to change notification settings - Fork 120
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
melange ignores libraries that are not executable when generating dependencies #1764
Comments
I'll also note that ubuntu also does ship /usr/lib/tcltk/sqlite3/libtclsqlite3.so without execute (0644).
That is not perfect, but there are ~2000 files on my desktop ubuntu installation in /usr that match
What I'm getting at is that I don't know |
This sounded eerily familiar, so I dug up a few times "whether a lib is executable" is mentioned in case it helps add context to this discussion... |
Yeah we should probably drop this check for libraries. I'm interested in what the diff looks like of a global melange scan of everything. |
I have not dug much, but in wolfi-dev/os#40650, we saw that melange was not generating a dependency on
so:libsqlite3.so.0
for tcl. I verified via my awesome printf debugging skills that it is being skipped because it is not executable (here).I also verified that continuing on even if the file is not executable will add the
depend = so:libsqlite3.so.0
dependency.The permissions check blames to 6ac562b, which is the first code added to do soname dependencies. (
package: implement SONAME dependency scanning
), so there isn't a lot of explanation for it.The text was updated successfully, but these errors were encountered: