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

Rainer Hurling rhurlin at gwdg.de
Tue Oct 6 19:30:34 UTC 2020


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.

> 
> Am I doing something wrong? I thought, the cp/utils.c problem was solved
> some time ago?
> 
> Thanks for any insight and help.
> 
> Regards,
> Rainer Hurling



More information about the freebsd-ports mailing list