Scenario: - FreeBSD main at 63007e46110d7f7a1f9d48fbac99f8a5bc166456 + some minor local patches - Building in a VM running main at faa9839aee95 using 'make buildworld buildkernel ...' - Installing using 'make installkernel installworld ... DESTDIR=/usr/tmp/x ...' Result: - Many man pages in /usr/share/man/man2 are missing, e.g., accept.2 Hint: - It seems they are related to libsys, although they should be in libc (according to what the man page says). -- Martin
(The faa9839aee95 above should be 9bbe06b004e2cadb55a3792c77991ee640bf0f52 + minor local changes.)
I see what I got wrong and will fix it shortly. Which library should install the manages is debatable. On one hand, libsys does provide the implementation for dynamically linked programs, other the other, libc also exposes the symbols and linking with libc is the primarily way to obtain them.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=d5677b0b8b8a1505edeaafab5606c4f890c1a42d commit d5677b0b8b8a1505edeaafab5606c4f890c1a42d Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-02-08 18:21:56 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-02-08 19:53:29 +0000 libsys: actually install manpages In initial hacking I'd bluntly disabled manpage installation in libsys, then later disabled them for libc, but forgot to fix the former leading to no syscall manapages. PR: 276887 Reported by: Martin Birgmeier <d8zNeCFG@aon.at> lib/libsys/Makefile | 8 -------- 1 file changed, 8 deletions(-)
Should be fixed now. Thanks for the report!