Date: Sun, 20 Sep 2020 20:24:53 +0200 From: "Hartmann, O." <ohartmann@walstatt.org> To: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: bin/cp/utils.c:517:14: error: member reference base type 'void' is not a structure or union (RESCUE) Message-ID: <20200920202453.25556711@hermann.fritz.box>
next in thread | raw e-mail | index | archive | help
--Sig_/wSZ51QYMKDCj_RRrvRY9QXQ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable A couple of weeks for now it is impossible to compile nanoBSD (based on 12-STABLE, most recent r365925), compiled on a host running recent CURRENT (FreeBSD 13.0-CURRENT #0 r365487: Fri Sep 18 16:31:04 CEST 2020 amd64). Since the introduction of LLVM 10 to 12-STABLE and LLVM 11 to CURRENT, the (cross) compilation of nanoBSD fails on the building host with the error shown below. Although option "WITHOUT_RESCU" is set when either building or building/installing the sources, the shown error popps up. The curious thing is, that I also build 12-STABLE jails on the same CURRENT system the "tradiotional way" (means: building the 12-STABLE and then installing the jail via ezjail-admin without interaction of any foreign/network sources except the source repository. No error of the shown kind ever occurs. Can someon please explain this problem? It looks like a bug in a make file. Regards, Oliver [...] cc -target x86_64-unknown-freebsd12.2 --sysroot=3D/pool/nanobsd/amd64/ALERICH_12-STABLE_amd64/pool/sources/12-STA= BLE/src/amd64.amd64/tmp -B/pool/nanobsd/amd64/ALERICH_12-STABLE_amd64/pool/sources/12-STABLE/src/am= d64.amd64/tmp/usr/bin -pg -O2 -pipe -O3 -pipe -fno-common -I/pool/sources/12-STABLE/src/lib/msun/x86 -I/pool/sources/12-STABLE/src/lib/msun/ld80 -I/pool/sources/12-STABLE/src/lib/msun/amd64 -I/pool/sources/12-STABLE/src/lib/msun/src -I/pool/sources/12-STABLE/src/lib/libc/include -I/pool/sources/12-STABLE/src/lib/libc/amd64 -DNDEBUG -mretpoline -MD -MF.depend.e_j1f.po -MTe_j1f.po -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c /pool/sources/12-STABLE/src/lib/msun/src/e_j1f.c -o e_j1f.po --- all_subdir_rescue --- /pool/sources/12-STABLE/src/bin/cp/utils.c:517:14: error: member reference base type 'void' is not a structure or union aclp =3D &acl->ats_acl; ~~~^ ~~~~~~~ /pool/sources/12-STABLE/src/bin/cp/utils.c:518:11: error: incomplete definition of type 'struct acl' if (aclp->acl_cnt !=3D 0 && aclsetf(dest_dir, ~~~~^ /pool/sources/12-STABLE/src/bin/cp/utils.c:468:9: note: forward declaration of 'struct acl' struct acl *aclp; ^ 2 errors generated. *** [/pool/sources/12-STABLE/src/bin/cp/utils.o] Error code 1 make[6]: stopped in /pool/nanobsd/amd64/ALERICH_12-STABLE_amd64/pool/sources/12-STABLE/src/amd6= 4.amd64/rescue/rescue 1 error make[6]: stopped in /pool/nanobsd/amd64/ALERICH_12-STABLE_amd64/pool/sources/12-STABLE/src/amd6= 4.amd64/rescue/rescue *** [rescue] Error code 2 make[5]: stopped in /pool/sources/12-STABLE/src/rescue/rescue 1 error make[5]: stopped in /pool/sources/12-STABLE/src/rescue/rescue --Sig_/wSZ51QYMKDCj_RRrvRY9QXQ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCX2eedQAKCRA4N1ZZPba5 R46qAQC2mb8BWQoqLMs4H6qGy4o2EFL4vUws5FvwB3bMI3SINQD+PDVfQ7oZs70K O/S5X934oAQYe3/Yds1XufWWknYc7QM= =sSRB -----END PGP SIGNATURE----- --Sig_/wSZ51QYMKDCj_RRrvRY9QXQ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200920202453.25556711>