Bug 216602

Summary: The build system requires the bsd compat libraries even if only installing man pages
Product: Documentation Reporter: Pierre Labastie (pierre.labastie)
Component: man-pagesAssignee: documentation_man-pages (documentation_man-pages)
Status: RESOLVED CODE_FIX    
Severity: normal CC: alx
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:

Description Pierre Labastie 2022-10-18 16:38:31 UTC
In version 6.0, Makefile unconditionally includes lib/build-src.mk, which itself unconditionally runs "pkg-config" to search libbsd-overlay. This generates spurious messages if this library is not installed, while this library is not needed if only installing the man pages on the system.

Note: I'm one of the linuxfromscratch editors, and we install the man pages early in the process.
Comment 1 Alejandro Colomar 2022-10-18 17:33:50 UTC
Hi Pierre!

Thanks!  I was worried about it but didn't know what to do.  I've fixed now:

<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=8f97613a490f5b5bdb1156f4572424771e051020>

<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=34caa7cd4d50f4ab306c18d5fc07c5619f237aea>

I'll release 6.01 soon with this fix, since it's important enough.  I would release 6.00.1, but I prefer releasing some recent changes that deserve a new release.
Comment 2 Pierre Labastie 2022-10-18 19:18:46 UTC
Thanks for the fast answer.