From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WBulIwBG6GAzVwAAgWs5BA (envelope-from ) for ; Fri, 09 Jul 2021 14:50:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SBxjHwBG6GB4BQAA1q6Kng (envelope-from ) for ; Fri, 09 Jul 2021 12:50:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7DD0B242EC for ; Fri, 9 Jul 2021 14:50:07 +0200 (CEST) Received: from localhost ([::1]:40202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1pxG-00023M-I7 for larch@yhetil.org; Fri, 09 Jul 2021 08:50:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1pxC-000230-It for guix-patches@gnu.org; Fri, 09 Jul 2021 08:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1pxC-0002sc-BK for guix-patches@gnu.org; Fri, 09 Jul 2021 08:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1pxC-0005Br-22 for guix-patches@gnu.org; Fri, 09 Jul 2021 08:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49339] [PATCH core-updates] gnu: mesa: Update to 21.1.4. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jul 2021 12:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49339 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: John Kehayias Cc: "49339@debbugs.gnu.org" <49339@debbugs.gnu.org> Received: via spool by 49339-submit@debbugs.gnu.org id=B49339.162583497419913 (code B ref 49339); Fri, 09 Jul 2021 12:50:02 +0000 Received: (at 49339) by debbugs.gnu.org; 9 Jul 2021 12:49:34 +0000 Received: from localhost ([127.0.0.1]:58493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1pwj-0005B7-R1 for submit@debbugs.gnu.org; Fri, 09 Jul 2021 08:49:34 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:33222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1pwg-0005Ax-Rr for 49339@debbugs.gnu.org; Fri, 09 Jul 2021 08:49:32 -0400 Received: from [172.20.10.4] ([213.119.223.147]) by michel.telenet-ops.be with bizsmtp id T0pU250013BRdlx060pUGZ; Fri, 09 Jul 2021 14:49:29 +0200 Message-ID: From: Maxime Devos In-Reply-To: <_GQD4UBisH4wjKiOm3O6fzv8b1vdI890mQCX4gX6FQB7pXuDXpAU-mLiKMPRDMKu9vp_UFBUcOs6mlIKuKAbZ9W1lPQ5QnwhPBc2fra-Yow=@protonmail.com> References: <1aa813b7dee2233dd82ae3d74d175fc68e28fdd5.camel@telenet.be> <_GQD4UBisH4wjKiOm3O6fzv8b1vdI890mQCX4gX6FQB7pXuDXpAU-mLiKMPRDMKu9vp_UFBUcOs6mlIKuKAbZ9W1lPQ5QnwhPBc2fra-Yow=@protonmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-CPiw1IPkqIhUqRWotrWu" Date: Fri, 09 Jul 2021 14:48:08 +0200 MIME-Version: 1.0 User-Agent: Evolution 3.34.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1625834969; bh=8b3prCLx7rKtBPojpl+rKA2i5ACENI40UGEc5WNAzBY=; h=Subject:From:To:Cc:In-Reply-To:References:Date; b=RdOtYMAQtt0GIRAGZAbmtZLwggOf1DSRXR3uY+/QQ4DEXXDGv6Pf/r+jXkQ3xHb7H Y9EJ1LyjXS1x0Bgs+kFUGdKqZYIZB7e2Kd4Hm7t2HVP6RwTnBP/nJKxSDs5Ez7YZs8 g5Wt5u2kSY++IzABos/07DgxeOutOmayVzOZHigj8jqFwbElHk/H2I5QD9oq2yAOY4 WZkBuNEclpoVLHtAKRr5w715INV46XjIPuzz2CSLF9/7xqZGvsd5BkfW2sI1Al5IPl +0q6JQWwvHO3e8uPyWEvg96t3wvnxjq38VSBVDr3FpAdEK4d9Po2i/+WW0hNOAiMFC HhQ9nSIE6rsKQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625835008; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=8b3prCLx7rKtBPojpl+rKA2i5ACENI40UGEc5WNAzBY=; b=gDNO1HjOVZwnTyKesHfAeb/7o0odX2STxZVXZ4uGd2/QFA0JvNYlL/NHgFXaq2Peeywd+h fdY0tWkotmTzbeqbWWfb3pM0bV1Mdu8a0KtFfcrdMqpfAhwcIKsWHknZmipOzErgwWHr7I K73nJkNulPcmF4B8IyHEdXWM7sYTg+HUDAoAfoSjJ8QOh1k3jiNQgNC5fd+3AF9ZsqQZCY CEGlewQokMO6h2iWkXTdtXr6+saChsn03wB3mkwMRJp8nXHxLKyXXO+d9NCllfAkqFVZbv qM+P3dV5ZYonXGeplS+jxuE5HBVTVeeaoCpWJ2Tkr6RFR5paFQM7nlPn4vfWTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625835008; a=rsa-sha256; cv=none; b=V7r8zdAD/5H62unjjMwfYqPhiw/CLPF+mnMgQfA0ZLNugbgJwvueBkdKBJmcSoHwrxjER9 qNqdTMxatPPrxIgqs90Ep/2LBBK95IP8NGTc05EaPpZZ9QRR7xXgDF5U9nsD0okVUfnzb2 4s+ynyormq1sAIJUHeBoWfBRSyBpwE+MfMas8UZ1aZXZm9StwhcGxypnLGVejgGStm7n4P QM07QAQYVsXaAnzaeSpCv1SjrgNXKPGy+lYJAycaB+xa+cUksLQfq8i7AQ6gRwG5wlIxiv poV9/tDVGP/JfefOpl82+mU2hKEd6fIooSDxIrXh31NYrM1sz7QbjJeq2HVVCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=RdOtYMAQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=RdOtYMAQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7DD0B242EC X-Spam-Score: -3.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: OWA4t1XsKZQX --=-CPiw1IPkqIhUqRWotrWu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable John Kehayias schreef op vr 09-07-2021 om 02:41 [+0000]: >=20 [...] > > If with this update of mesa, (almost) every package using mesa also nee= ds libglvnd, > >=20 > > then why not add 'libglvnd' to the propagated-inputs mesa, for about th= e same reasons > >=20 > > that 'atk' has 'glib' in 'propagated-inputs'? > >=20 > > Not sure if the comparison applies though. > > [...] > That sounds like a good idea, but I think there may be some kinks to work= out. Adding libglvnd to propagated-inputs of Mesa does lead to the success= ful building of dependents (tested on libepoxy and virtualgl, for example). > However, libepoxy fails on a test because it doesn't find libGL. > That is no longer in Mesa's lib but from libglvnd if I'm understanding co= rrectly. May just be a problem with the test since building works (which ch= ecks for GL). Warning: I've no idea how building mesa and libglvnd works, how linking against mesa and libglvnd works, and how mesa and libglvnd work, besides =E2=80=98you can use the GL_... functions to do GL stuff=E2= =80=99. That said, it appears some package definitions expect "libGL.so" to be in m= esa. (Search for "/lib/libGL" and "lib/libEGL" with 'git grep -F"'). I've found about twenty such occurences, including libepoxy. So it appears that adding libglvnd to the propagated-inputs and fixing these twenty package definitions should be doable. Looking at libepoxy in particular: (let ((python (assoc-ref inputs "python")) (mesa (assoc-ref inputs "mesa"))) (substitute* "src/gen_dispatch.py" (("/usr/bin/env python") python)) (substitute* (find-files "." "\\.[ch]$") (("libGL.so.1") (string-append mesa "/lib/libGL.so.1")) (("libEGL.so.1") (string-append mesa "/lib/libEGL.so.1"))) #t)))))) it seems like the test failure isn't a false positive, as libGL.so.1 is sea= rched for in the wrong location. >=20 > Anyway, perhaps we want to tackle libglvnd separately? I don't think it i= s specific to the Mesa version change, but more of how we want to handle gl= across packages. Still, it will involve changes to how we build Mesa as we= ll as possibly other packages. I'm not sure that the Mesa version change wi= ll require other changes in dependent packages (I can only test a few on my= own). >=20 > How do you think we should proceed? I'd suggest adding libglvnd to propagated-inputs and adjusting the twenty package definitions to refer to libglvnd, and testing some graphical applications. "mesa-utils" has "glxdemo" and "glxheads" and has few dependencies, maybe start with that? Greetings, Maxime. --=-CPiw1IPkqIhUqRWotrWu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYOhFgRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vsDAQDfiVAjfmuRpFS3StY4McBcAJzT DuAC6G9EELLQ5cfN5AEA9tEbt+W1imHek2Wri3dx3P71odK2NDD4xJkZ9x3kpAI= =TIEx -----END PGP SIGNATURE----- --=-CPiw1IPkqIhUqRWotrWu--