Re: git: 1dbcc7ee92c4 - main - Makefile.inc1: Make sure mandoc bootstrap tool depends on libz
- Reply: Pouria Mousavizadeh Tehrani : "Re: git: 1dbcc7ee92c4 - main - Makefile.inc1: Make sure mandoc bootstrap tool depends on libz"
- In reply to: Jessica Clarke : "git: 1dbcc7ee92c4 - main - Makefile.inc1: Make sure mandoc bootstrap tool depends on libz"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Oct 2026 07:31:19 UTC
Am Tage des Herren Thu, 29 Oct 2026 00:45:15 +0000
Jessica Clarke <jrtc27@FreeBSD.org> schrieb:
> The branch main has been updated by jrtc27:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=1dbcc7ee92c427480802cd1a40e1a1e3395d9bac
>
> commit 1dbcc7ee92c427480802cd1a40e1a1e3395d9bac
> Author: Jessica Clarke <jrtc27@FreeBSD.org>
> AuthorDate: 2026-10-29 00:45:01 +0000
> Commit: Jessica Clarke <jrtc27@FreeBSD.org>
> CommitDate: 2026-10-29 00:45:01 +0000
>
> Makefile.inc1: Make sure mandoc bootstrap tool depends on libz
>
> It links against both libopenbsd and libz, so reflect this in the
> bootstrap tool's dependencies in case of races from highly-parallel
> builds.
>
> Reported by: jkh
> MFC after: 1 week
> ---
> Makefile.inc1 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile.inc1 b/Makefile.inc1
> index 1ab53d6a3bcd..0ade6d0c7ccd 100644
> --- a/Makefile.inc1
> +++ b/Makefile.inc1
> @@ -2779,7 +2779,7 @@ ${_bt}-${_tool}: ${_bt}-usr.bin/yacc ${_bt_lex_depend}
> .endfor
> .endif
>
> -${_bt}-usr.bin/mandoc: ${_bt}-lib/libopenbsd
> +${_bt}-usr.bin/mandoc: ${_bt}-lib/libopenbsd ${_bt}-lib/libz
>
> # The tools listed in _basic_bootstrap_tools will generally not be
> # bootstrapped unless BOOTSTRAP_ALL_TOOL is set. However, when building on a
>
In my case, on a recent git pull, buildworld fails with:
[...]
make[2]: don't know how to make _bootstrap-tools-lib/libz. Stop
make[2]: stopped making "bootstrap-tools" in /usr/src
0.02 real 0.03 user 0.09 sys
make[1]: stopped making "buildworld" in /usr/src
make: stopped making "buildworld buildkernel" in /usr/src
This seems not right.
Kind regards,
oh
--
A FreeBSD user