On Wed, 30 Jun 2021 at 04:06, Fernando Apesteguía <fern...@freebsd.org> wrote:
>
> The branch main has been updated by fernape (doc, ports committer):
>
> URL: 
> https://cgit.FreeBSD.org/src/commit/?id=0a0f7486413c147d56808b38055c40c64cff61f5
>
> commit 0a0f7486413c147d56808b38055c40c64cff61f5
> Author:     Fernando Apesteguía <fern...@freebsd.org>
> AuthorDate: 2021-06-09 10:58:04 +0000
> Commit:     Fernando Apesteguía <fern...@freebsd.org>
> CommitDate: 2021-06-30 07:57:51 +0000
>
>     man: Build manpages for all architectures
...
> +# Link files to the parent directory
> +.for _manpage in ${MAN}
> +MLINKS+=${_manpage} ../${_manpage}
> +.endfor

It looks like this breaks -DNO_ROOT image building, because the
METALOG ends up with ".." entries and makefs(8) cannot tolerate those:

$ make $make_args -DNO_ROOT DESTDIR=$stagedir installworld
installkernel distribution
$ cd $stagedir
$ makefs -D -B little -o label=FreeBSD_root -o version=2 ufs.part METALOG
...
METALOG:22728: error: absolute path cannot contain .. component
...

and the line in question is:
./usr/share/man/man4/aarch64/../armv8crypto.4.gz type=file uname=root
gname=wheel mode=0444 size=1377 tags=package=utilities

I haven't yet thought about how this could be addressed.

Reply via email to