Bug 216602 - The build system requires the bsd compat libraries even if only installing man pages
Summary: The build system requires the bsd compat libraries even if only installing ma...
Status: RESOLVED CODE_FIX
Alias: None
Product: Documentation
Classification: Unclassified
Component: man-pages (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: documentation_man-pages@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-18 16:38 UTC by Pierre Labastie
Modified: 2022-10-18 19:18 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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.

Note You need to log in before you can comment on or make changes to this bug.