From owner-freebsd-ports@freebsd.org Wed Feb 19 22:28:46 2020 Return-Path: Delivered-To: freebsd-ports@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 09ED2246F3C for ; Wed, 19 Feb 2020 22:28:46 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48NC6z5Zhpz3Lmg for ; Wed, 19 Feb 2020 22:28:43 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 1CCA13C0199; Wed, 19 Feb 2020 22:28:32 +0000 (UTC) Date: Wed, 19 Feb 2020 22:28:32 +0000 From: Brooks Davis To: Mark Millard Cc: FreeBSD ports Subject: Re: amd64->{armv7,aarc64} cross builds of devel/llvm10 (via poudriere-devel): failed in package stage for missing libarcher* files Message-ID: <20200219222831.GB27291@spindle.one-eyed-alien.net> References: <748AD052-A5DE-4BF8-8555-AF5ED9C558D1@yahoo.com> <4D620241-A689-4A01-8BF5-C2958A6E13AA@yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ftEhullJWpWg/VHq" Content-Disposition: inline In-Reply-To: <4D620241-A689-4A01-8BF5-C2958A6E13AA@yahoo.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 48NC6z5Zhpz3Lmg X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-6.53 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; IP_SCORE(-3.63)[ip: (-9.52), ipnet: 199.48.128.0/22(-4.75), asn: 36236(-3.82), country: US(-0.05)]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[yahoo.com]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; SIGNED_PGP(-2.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; RCVD_COUNT_ZERO(0.00)[0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2020 22:28:46 -0000 --ftEhullJWpWg/VHq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Fixed in r526532. Thanks for the hint that it was in OPENMP. -- Brooks On Mon, Feb 17, 2020 at 08:19:26PM -0800, Mark Millard wrote: > On 2020-Feb-17, at 09:56, Mark Millard wrote: >=20 > > On 2020-Feb-17, at 09:53, Mark Millard wrote: > >=20 > >> [The native arm64 build worked fine. But the cross builds > >> got . . .] > >>=20 > >> The builds failed with: > >>=20 > >> =3D=3D=3D=3D> Compressing man pages (compress-man) > >> =3D=3D=3D> Installing ldconfig configuration file > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<= phase: package >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> =3D=3D=3D> Building package for llvm10-10.0.0.r1_1 > >> pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm10/work= /stageusr/local/llvm10/lib/libarcher.so:No such file or directory > >> pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm10/work= /stageusr/local/llvm10/lib/libarcher_static.a:No such file or directory > >> *** Error code 1 > >>=20 > >> Stop. > >> make: stopped in /usr/ports/devel/llvm10 > >> =3D>> Cleaning up wrkdir > >> =3D=3D=3D> Cleaning for llvm10-10.0.0.r1_1 > >>=20 > >>=20 > >> head -r3577979 based system source; head -r536339 based ports tree. > >>=20 > >=20 > > I forgot to list: > >=20 > > =3D=3D=3D> The following configuration options are available for llvm10= -10.0.0.r1_1: > > BE_AMDGPU=3Don: AMD GPU backend (required by mesa) > > CLANG=3Don: Build clang > > DOCS=3Don: Build and/or install documentation > > EXTRAS=3Don: Extra clang tools > > LIT=3Don: Install lit and FileCheck test tools > > LLD=3Don: Install lld, the LLVM linker > > LLDB=3Don: Install lldb, the LLVM debugger > > LLD_LINK=3Don: Link ld.lld as ld to clang uses it > > PYCLANG=3Doff: Install python bindings to libclang > > =3D=3D=3D=3D> Options available for the single BACKENDS: you have to se= lect exactly one of them > > BE_FREEBSD=3Doff: Backends for FreeBSD architectures > > BE_NATIVE=3Don: Backend(s) for this architecture (ARM) > > BE_STANDARD=3Doff: All non-experimental backends > >=20 >=20 >=20 > llvm10-10.0.0.r2 gets the same. >=20 > I was curious what the libarcher* files would be tied to > and found that libarcher is a tool library for an llvm > openmp tool. >=20 > But openmp does not seem to be available for armv7 or > aarch64 so the file is not expected to be present for > installation, much like libgomp.so , liniomp5.so , > libomp.so , and libomptarget.so . Looks like a > %%OPENMP%% prefix is needed in llvm10/pkg-plist for > each of the two libarcher lines. >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) >=20 --ftEhullJWpWg/VHq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeTbaPAAoJEKzQXbSebgfAnMoIAImYZqbmNyYKZgV8Hnc0YkBe RtyCkX5lWdMYygorL7xEIN8pdkShQVFdsQDjheypjeWb1na26U6R2623/EDtAIM5 sRbgE5oqy3EZSZsLLMwMOQ7hMyr3X1D48y704pbrSEQdE5VsLrV2ANk3ELdo06mG dBfZ2wJpgF7TRL/mCyP20RwF2Tm2P5n0DsNDavO+qaYhfVsgl9OZl0vtvhrsnfeT w/NtKp4vBigqb+e1LfbVEiYt8jGjfAdtLQ9lzvMEBtifAuZSLMnA3DO8l4qkgeGM Uu8QcxjnHP1laMbDx2MKvpz/9dtFWsXzzRN8vAWusvqP5QhsCRYofOVL3bd1c1o= =SJ6y -----END PGP SIGNATURE----- --ftEhullJWpWg/VHq--