From owner-freebsd-current@freebsd.org Mon Oct 5 04:54:52 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D8DD93F7051 for ; Mon, 5 Oct 2020 04:54:52 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C4SvH1gB8z4fQn for ; Mon, 5 Oct 2020 04:54:50 +0000 (UTC) (envelope-from ohartmann@walstatt.org) X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from hermann.fritz.box ([77.13.119.197]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M6llE-1kJGdi40sg-008MYu for ; Mon, 05 Oct 2020 06:54:49 +0200 Date: Mon, 5 Oct 2020 06:54:39 +0200 From: "Hartmann, O." To: FreeBSD CURRENT Subject: CURRENT: cross compiling 12-STABLE failure in: bin/cp/utils.c:517:14: error: member reference base type 'void' is not a structure or union Message-ID: <20201005065439.2b5c7375@hermann.fritz.box> Organization: walstatt.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/.Ehw=m8BSBFRF7Yb2JZXYfq"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Provags-ID: V03:K1:eiZVup17X9KQpMP+gkK4RBHS9xxPatCJmv3jH1wIJRAIA/uK4lR lX2cSAA6vRXoVvE73puyKDUIXNLcV6M3v8pUXwChfKigtDm+1iA2/qaOv2FBY9tGL9tTf5Q V40S7IaVhCw8TnVsvytJ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fIWb6D6EjjfCm5yFd1odDAhKsm5 LM3GYLDU6QxwcBKMXOEw7qnOQrjFG1PZpIApUO8/6HIW2FIMVIYW8Ohp9S8+AVhHGDT18vrat S3rMAt6JD5UBlGOaW7aWmI7USxeODDh96zDg/MFbsfl0FZO2F5lDbWcP5dRObIex8HZbsN8h/ eYC89miN39KUTf4ZTWKAIFvAAXRfXAZhMx2kH0O/vYZo2IKUoGXx20+K8Uy05NAYAU6LVZDGB 7sCeQtxcaLpkDIIRs81I5v1yGdaUkG/4i+HyNgrxqMNCBXS03Nifk12cZNSROl0/iHsXAvrP8 K3ER+/FU+Hh0+rUNcljXB87On5ayQgYIixQWSrQ== X-Rspamd-Queue-Id: 4C4SvH1gB8z4fQn X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.17 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.15.19:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.58)[-0.580]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[77.13.119.197:received]; DMARC_NA(0.00)[walstatt.org]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; NEURAL_HAM_SHORT(-0.48)[-0.476]; NEURAL_HAM_MEDIUM(-0.62)[-0.617]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.19:from] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2020 04:54:52 -0000 --Sig_/.Ehw=m8BSBFRF7Yb2JZXYfq Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable For a couple of weeks now cross-compiling 12-STBALE on CURRENT fails due to an compiler error in bin/cp/utils.c, see details below. At this moment, CURRENT is at FreeBSD 13.0-CURRENT #39 r366364: Fri Oct 2 17:51:39 CEST 2020 amd64 and the sources for 12-STABLE are at revision 366437. The compilation environment is the NanoBSD environment of the CURRENT running host. A similar constellation of host and cross-compiled target (regarding OS versions, the hardware platform is slightly different, for the record) works: running a simple, well known "make" builds 12-STABLE without problems. I tried to build NanoBSD in a vanilla state (without conf files for WITH/WITHOUT tags), but the failure is always the same. Can someone help or give some hints where to look for the reason of th miscompilation? Thanks in advance, oh [...] --- CP1026%UCS.mps --- /pool/nanobsd/amd64/ALERICH_12-STABLE_amd64/pool/sources/12-STABLE/src/amd6= 4.amd64/usr.bin/mkcsmapper_static/mkcsmapper_static -o CP1026%UCS.mps /pool/sources/12-STABLE/src/share/i18n/csmapper/CP/CP1026%UCS.src --- UCS%CP1026.mps --- /pool/nanobsd/amd64/ALERICH_12-STABLE_amd64/pool/sources/12-STABLE/src/amd6= 4.amd64/usr.bin/mkcsmapper_static/mkcsmapper_static -o UCS%CP1026.mps /pool/sources/12-STABLE/src/share/i18n/csmapper/CP/UCS%CP1026.src --- 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 --- all_subdir_lib --- --- all_subdir_share --- --Sig_/.Ehw=m8BSBFRF7Yb2JZXYfq Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCX3qnDwAKCRA4N1ZZPba5 R6IqAPsGNQfJw/TT0vZNpynWCGvXLqgCOZVcC2TJNAfVSZl2ngD/RKh+YVlHQVpU p3jRkm9mxPoZEAV4nSIT7otDBBLwxw8= =GNxd -----END PGP SIGNATURE----- --Sig_/.Ehw=m8BSBFRF7Yb2JZXYfq--