Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2021 20:13:40 -0500
From:      Ed Maste <emaste@freebsd.org>
To:        =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernape@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>,  "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, dev-commits-src-main@freebsd.org
Subject:   Re: git: 0a0f7486413c - main - man: Build manpages for all architectures
Message-ID:  <CAPyFy2C-rn3rRsFRCCBUjpe3mOUYCzpbvpQnNtiHy=btGqQ0iA@mail.gmail.com>
In-Reply-To: <202106300806.15U86pGq037942@gitrepo.freebsd.org>
References:  <202106300806.15U86pGq037942@gitrepo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

On Wed, 30 Jun 2021 at 04:06, Fernando Apesteguía <fernape@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 <fernape@FreeBSD.org>
> AuthorDate: 2021-06-09 10:58:04 +0000
> Commit:     Fernando Apesteguía <fernape@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.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2C-rn3rRsFRCCBUjpe3mOUYCzpbvpQnNtiHy=btGqQ0iA>