-
Notifications
You must be signed in to change notification settings - Fork 278
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
Fix misplaced library location and update to samba 4.21.0 #30389
base: main
Are you sure you want to change the base?
Conversation
ed85a16
to
39c2152
Compare
New samba requires |
39c2152
to
e8e8f31
Compare
096bca3
to
6610fa2
Compare
Thanks for the additional fixes. The build failure is the same one I've been looking at in the other PR. |
Alright, I cleared the cache and I get the same error... Let me try a couple things. |
d775272
to
53e50ec
Compare
Can you explain the rationale behind the additional build flags you added? Thanks! |
All but
Again, the point is to make sure that a future update won't pull the rug under us. This could go in another commit but as I've alluded to, I'm going to rework subpackages anyway. As for
Melange's default The last part, the only one that differs from defaults, sort-of, is Once again, I'll resplit the package cleanly to make it all work. |
Much appreciated! |
53e50ec
to
6b86721
Compare
Status is that I've mostly split things up into small pieces (so that the whole 50 MB of samba are not pulled every time someone "just" needs However Opened a bug report here and identified where shit hits the fan. I'll try to submit code tomorrow to get detection running. It's a matter of scanning the elf object for RPATHS and try that first (that's how it works under Linux). I suggest keeping the slashes in the handles like |
Yeah... It does not solve my original problem, which is that private libs are copied in the wrong place. Those packages are also huge and contain a lot of attack surface for a piece of software that constantly have CVEs to its name... I understand why those libraries were copied in a wrong place though: melange does not detect them when they are not in normal system folders. I'll submit my changes to melange tomorrow for it to detect libraries in binary's rpath/runpath. Once that's done, I'll submit an updated finer-grained melange file. |
Fixes misplaced libraries (mistakenly put origin's
/usr/lib/samba
into/usr/lib
).