Poudriere: Installing or updating jails fail with cp/utils.c error

Kyle Evans kevans at freebsd.org
Tue Oct 6 19:47:02 UTC 2020


On Tue, Oct 6, 2020 at 2:30 PM Rainer Hurling <rhurlin at gwdg.de> wrote:
>
> On 02.10.20 11:19, Rainer Hurling wrote:
> > For some time now, I get the following error when trying to create or
> > update 11.4 or 12.2 jails in Poudriere:
> >
> >
> > #poudriere jail -c -j F114i386 -v stable/11 -a i386 -m svn+https
> >
> > [..snip..]
> > --- all_subdir_rescue ---
> > --- /poudriere/jails/F114i386/usr/src/bin/cp/utils.o ---
> > cc  -O2 -pipe   -std=gnu99    -Qunused-arguments   -O2 -pipe -c
> > /poudriere/jails/F114i386/usr/src/bin/cp/utils.c -o
> > /poudriere/jails/F114i386/usr/src/bin/cp/utils.o
> > /poudriere/jails/F114i386/usr/src/bin/cp/utils.c:515:14: error: member
> > reference base type 'void' is not a structure or union
> >                 aclp = &acl->ats_acl;
> >                         ~~~^ ~~~~~~~
> > /poudriere/jails/F114i386/usr/src/bin/cp/utils.c:516:11: error:
> > incomplete definition of type 'struct acl'
> >                 if (aclp->acl_cnt != 0 && aclsetf(dest_dir,
> >                     ~~~~^
> > /poudriere/jails/F114i386/usr/src/bin/cp/utils.c:466:9: note: forward
> > declaration of 'struct acl'
> >         struct acl *aclp;
> >                ^
> > 2 errors generated.
> > *** [/poudriere/jails/F114i386/usr/src/bin/cp/utils.o] Error code 1
> >
> > make[5]: stopped in
> > /usr/obj/i386.i386/poudriere/jails/F114i386/usr/src/rescue/rescue
> >
> >
> > This happens on a recent 13.0-CURRENT amd64 (r366190). Updating HEAD
> > jails work fine so far.
>
> Just for the record:
>
> After updating my (host) box to 13.0-CURRENT r366466 (crunchgen: fix
> MK_AUTO_OBJ logic), I am able to install and update my jails versions
> 11.4 and 12.1 on Poudriere again.
>

Ah, my apologies for missing this report. :-( Indeed, that should be
the end of that; it will get MFC'd in ~2 days to mitigate the issue on
stable/12 since I MFC'd the breaking commit back, but the bug
fortunately did not make it into 12.2.

Thanks,

Kyle Evans


More information about the freebsd-ports mailing list