Bug#992377: manpages-dev
On Wed, Aug 18, 2021 at 11:44:14AM +0200, Michael Kerrisk (man-pages) wrote: > Upstream maintainer here. The keyutils pages in Section 2 > are an unusual case. The wrapper functions are provided in > the libkeyutils library (instead of, as is conventional, > the C library), as noted in the add_key(2) page. > The package that provides that library also provides > the header file. The manual page implies > that, but doesn't make it completely clear. I've added > a sentence to the manual page to make this more explicit: > >Glibc does not provide a wrapper for this system call. A wrapper >is provided in the libkeyutils library. **(The accompanying package >provides the header file.)** When employing the wrap‐ >per in that library, link with -lkeyutils. > > Of course, the name of the relevant package depends on the distro. > For Debian, I believe it is "libkeyutils-dev". (I run Fedora, > where the package is the somewhat unconventionally named > "keyutils-libs-devel".) Confirmed to be present in man-pages-5.13, and IMO sufficiently explained, hence this bug could be closed accordingly once that version gets packaged. Cheers, Flo signature.asc Description: PGP signature
Bug#992377: manpages-dev
tags 992377 fixed-upstream thanks Upstream maintainer here. The keyutils pages in Section 2 are an unusual case. The wrapper functions are provided in the libkeyutils library (instead of, as is conventional, the C library), as noted in the add_key(2) page. The package that provides that library also provides the header file. The manual page implies that, but doesn't make it completely clear. I've added a sentence to the manual page to make this more explicit: Glibc does not provide a wrapper for this system call. A wrapper is provided in the libkeyutils library. **(The accompanying package provides the header file.)** When employing the wrap‐ per in that library, link with -lkeyutils. Of course, the name of the relevant package depends on the distro. For Debian, I believe it is "libkeyutils-dev". (I run Fedora, where the package is the somewhat unconventionally named "keyutils-libs-devel".) Thanks, Michael
Bug#992377: manpages-dev
Package: manpages-dev Version: 5.10-1 Severity: normal X-Debbugs-Cc: dbrazz...@snet.net Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? Tried to compile the man 2 add_key example program * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? Compile error indicating include file 'keyutils.h' not found * What outcome did you expect instead? Clean comile *** End of the template - remove these template lines *** -- System Information: Debian Release: 11.0 APT prefers testing APT policy: (990, 'testing'), (500, 'stable-security'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-8-amd64 (SMP w/2 CPU threads) Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULELocale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages manpages-dev depends on: ii manpages 5.10-1 manpages-dev recommends no packages. Versions of packages manpages-dev suggests: ii man-db [man-browser] 2.9.4-2 -- no debconf information