Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 2020 21:30:21 +0200
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        <freebsd-ports@freebsd.org>
Subject:   Re: Poudriere: Installing or updating jails fail with cp/utils.c error
Message-ID:  <7237c2b6-f378-ab89-4aba-cd57a22cd77b@gwdg.de>
In-Reply-To: <a3254453-7d1a-5d89-6a29-cf6651a881e0@gwdg.de>
References:  <a3254453-7d1a-5d89-6a29-cf6651a881e0@gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7237c2b6-f378-ab89-4aba-cd57a22cd77b>