Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 744994 - net-fs/samba-4.11: Cleanup runtime dependencies
Summary: net-fs/samba-4.11: Cleanup runtime dependencies
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-09-28 02:45 UTC by Raul E Rangel
Modified: 2021-08-28 16:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Samba deps (samba.log,31.81 KB, text/plain)
2020-09-28 02:45 UTC, Raul E Rangel
Details

Note You need to log in before you can comment on or make changes to this bug.
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?