Re: git: 0a0f7486413c - main - man: Build manpages for all architectures

From: Fernando_Apesteguía <fernape_at_freebsd.org>
Date: Thu, 11 Nov 2021 06:47:30 UTC
On Thu, Nov 11, 2021 at 2:25 AM Ed Maste <emaste@freebsd.org> wrote:
>
> On Wed, 10 Nov 2021 at 20:13, Ed Maste <emaste@freebsd.org> wrote:
> >
> > 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.
>
> It seems Baptiste reported this in another reply, but somehow I don't
> have that message.
> https://lists.freebsd.org/pipermail/dev-commits-src-main/2021-July/005523.html

Hi Ed,

Yes, Bapt reported this and I briefly talked to him in July. He said
the problem was more isolated than he thought initially. I've been
looking at this on and off but to no luck. I'll try to have a look
again. Unfortunately this will not happen before next monday.

Cheers.