Opened 2 years ago
Closed 2 years ago
#5143 closed enhancement (fixed)
util-linux appears not to look for libcap.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 11.3 |
Component: | Book | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description
Researching what might have gone wrong in David Bryant's current build (elogind not finding libcap) I checked what uses libcap in LFS.
When I looked for 'cap' in my util-linux log, I saw:
checking for linux/capability.h... yes (part of the linux headers) checking for capng_apply in -lcap-ng... no
Looking back as far as LFS-8.3 (util-linux-2.32.1, my oldest logs on this machine) I see that too was looking for libcap-ng.
That package is https://people.redhat.com/sgrubb/libcap-ng/ - I think we can remove it from appendix C (sependencies) ?
Change History (4)
comment:1 by , 2 years ago
comment:2 by , 2 years ago
Double checking, it was added in g28bdcfe0ef164 July 2021 (part of a series updating the dependency details). I compared that to what was in ge182fa3535c9 just before that series to confirm it was new.
At that time util-linux was 2.37 which had configure.ac checking for cap_ng not libcap.
comment:3 by , 2 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
I'll pick this up once I've got all my buildscripts more up to date and have started a build.
comment:4 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in g7e7d8600e871 11.2-154.
Agree to remove it, and add libcap-ng into external dependencies.