From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Error cross-compiling Mesa: failing test Date: Fri, 06 Sep 2019 21:10:39 +0200 Message-ID: <87ftl9z1e8.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41964) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i6Jd7-0001L4-Pw for guix-devel@gnu.org; Fri, 06 Sep 2019 15:10:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i6Jd6-0003iF-7C for guix-devel@gnu.org; Fri, 06 Sep 2019 15:10:45 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:43097) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i6Jd6-0003gz-0R for guix-devel@gnu.org; Fri, 06 Sep 2019 15:10:44 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org, Marius Bakke --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi! Our current `mesa' package has this bit: =2D-8<---------------cut here---------------start------------->8--- ,@(if (string-prefix? "i686" (%current-system)) ;; Disable new test from Mesa 19 that fails on i686. Upstre= am ;; report: . `((add-after 'unpack 'disable-failing-test (lambda _ (substitute* "src/gallium/tests/unit/meson.build" (("'u_format_test',") "")) #t))) '()) =2D-8<---------------cut here---------------end--------------->8--- When I attempt to cross-compile the package from x86-64 to x686, the faulty test is not disabled and the check phase fails. If I turn (%current-system) to (%current-target-system) it works. Should we update the package to use (%current-target-system) then? Marius? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl1yry8ACgkQm9z0l6S7 zH/YSwf9GRU/jFz8Q5r8w0DbB47rMMxupd3QwNBq/5ipCInD1PKFH0QdO+cXg5+l jEt2CK/8DhsbWNhLRxVD5dnryJZPws5umM2LnkHPgxS6RZ6Yro/2fdqFYoZUslkL E3cMs5o9XNbMsqR0gbY6BjMoW3S2f0X3U5jgzXG0pgH/1Wujv9LrtFRz4fZDIz6S JDC9G/jILi107YhFQhVpTXwFJgM9kL1L110FBXk7mFH86ZC4S0MhW7hTcSaxlL/5 hcHS85IWlJX8pri5RZoFTCMz5x5eMrHdVWS7OBmu57kVsjdwheHcwgeKlRQZ/0RH EEMv5UcWx+kBzuk3b8BxGyzayUf5/w== =pW7Z -----END PGP SIGNATURE----- --=-=-=--