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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Jun 2021 at 04:06, Fernando Apestegu=C3=ADa <fernape@freebsd.org=
> wrote:
>
> The branch main has been updated by fernape (doc, ports committer):
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=3D0a0f7486413c147d56808b3805=
5c40c64cff61f5
>
> commit 0a0f7486413c147d56808b38055c40c64cff61f5
> Author:     Fernando Apestegu=C3=ADa <fernape@FreeBSD.org>
> AuthorDate: 2021-06-09 10:58:04 +0000
> Commit:     Fernando Apestegu=C3=ADa <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+=3D${_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=3D$stagedir installworld
installkernel distribution
$ cd $stagedir
$ makefs -D -B little -o label=3DFreeBSD_root -o version=3D2 ufs.part METAL=
OG
...
METALOG:22728: error: absolute path cannot contain .. component
...

and the line in question is:
./usr/share/man/man4/aarch64/../armv8crypto.4.gz type=3Dfile uname=3Droot
gname=3Dwheel mode=3D0444 size=3D1377 tags=3Dpackage=3Dutilities

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



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