Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 744994

Summary: net-fs/samba-4.11: Cleanup runtime dependencies
Product: Gentoo Linux Reporter: Raul E Rangel <ismell>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED FIXED    
Severity: normal CC: bkohler, jstein, mmokrejs, sam
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/17995
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Samba deps

Description Raul E Rangel 2020-09-28 02:45:22 UTC
I'm trying to build a very tiny samba container, but the samba ebuild seems to include runtime deps that I don't think are actually required. I have attached a log showing the dependencies.

Just looking at the depends, I think that subunit and cmocka should be guarded by the test USE flag.

It also looks like perl could be moved to a BDEPEND. It doesn't look like samba installs any perl, so I don't think it's a runtime dep.

I haven't traced why sys-libs/e2fsprogs-libs is required as a runtime dep.

Am I missing any other dependencies that could be trimmed?

I can send a patch once I get some guidance.

Thanks

Reproducible: Always

Steps to Reproduce:
1. emerge -tv --root=/build net-fs/samba
Actual Results:  
Emerged runtime deps that are not required.
Comment 1 Raul E Rangel 2020-09-28 02:45:59 UTC
Created attachment 662707 [details]
Samba deps
Comment 2 Raul E Rangel 2020-10-21 22:53:33 UTC
https://github.com/gentoo/gentoo/pull/17995 for switching talloc to EAPI7. If this looks OK, I'll push up a PR for ldb and the samba.
Comment 3 Martin Mokrejš 2021-08-28 15:56:27 UTC
The PR was already closed, what else is remaining to happen?