From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cz5P8-0000hE-KF for guix-patches@gnu.org; Fri, 14 Apr 2017 13:53:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cz5P4-0002eh-Jl for guix-patches@gnu.org; Fri, 14 Apr 2017 13:53:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49226) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cz5P4-0002ea-Fs for guix-patches@gnu.org; Fri, 14 Apr 2017 13:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cz5P4-0002Sv-79 for guix-patches@gnu.org; Fri, 14 Apr 2017 13:53:02 -0400 Subject: bug#26465: [PATCH] gnu: mesa: Update to 17.0.3. Resent-Message-ID: From: Kei Kebreau References: <20170412162650.31333-1-mbakke@fastmail.com> Date: Fri, 14 Apr 2017 13:52:43 -0400 In-Reply-To: <20170412162650.31333-1-mbakke@fastmail.com> (Marius Bakke's message of "Wed, 12 Apr 2017 18:26:50 +0200") Message-ID: <87r30unafo.fsf@openmailbox.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Marius Bakke Cc: 26465@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Marius Bakke writes: > There is a test failure in this version. As far as I can tell, this is > because it fails to locate or write to the users home directory. > Setting $HOME to /tmp does not work since it looks it up directly > through ''. I'd like a second opinion before disabling this test. > In src/compiler/test-suite.log I found that the test tried and failed to create "/.cache". Is this the failure you're talking about? > > * gnu/packages/gl.scm (mesa): Update to 17.0.3. > [source]: Adapt URI to new directory structure. > [arguments]: Add 'set-HOME' phase. Remove stray whitespaces. > [home-page]: Use HTTPS. > --- > gnu/packages/gl.scm | 22 +++++++++++++++------- > 1 file changed, 15 insertions(+), 7 deletions(-) > > diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm > index 37a1bd909..ba2e22f64 100644 > --- a/gnu/packages/gl.scm > +++ b/gnu/packages/gl.scm > @@ -199,15 +199,17 @@ also known as DXTn or DXTC) for Mesa.") > (define-public mesa > (package > (name "mesa") > - (version "13.0.5") > + (version "17.0.3") > (source > (origin > (method url-fetch) > - (uri (string-append "ftp://ftp.freedesktop.org/pub/mesa/" > - version "/mesa-" version ".tar.xz")) > + (uri (list (string-append "ftp://ftp.freedesktop.org/pub/mesa/" > + "mesa-" version ".tar.xz") > + (string-append "ftp://ftp.freedesktop.org/pub/mesa/" > + version "/mesa-" version ".tar.xz"))) > (sha256 > (base32 > - "11zgynii1wz17131ml1mmblpwib8m88zz2jwi5h5llh1r3iagkmz")) > + "1vg7kzkaanawlr2zjbki05f1bpnf651qlg0jz47dc0m0fm86yr6a")) > (patches > (search-patches "mesa-wayland-egl-symbols-check-mips.patch")))) > (build-system gnu-build-system) > @@ -263,7 +265,7 @@ also known as DXTn or DXTC) for Mesa.") > ;; Without floating point texture support, drivers such as Nouv= eau > ;; are stuck at OpenGL 2.1 instead of OpenGL 3.0+. > "--enable-texture-float" > -=20=20=20=20=20=20=20=20=20 > + > ;; Also enable the tests. > "--enable-gallium-tests" >=20=20 > @@ -307,8 +309,14 @@ also known as DXTn or DXTC) for Mesa.") > ;; it's never installed since Mesa removed its > ;; egl_gallium support. > (("\"gbm_dri\\.so") > - (string-append "\"" out "/lib/dri/gbm_dri.so"))))))))) > - (home-page "http://mesa3d.org/") > + (string-append "\"" out "/lib/dri/gbm_dri.so"))) > + #t))) > + (add-before 'check 'set-HOME > + (lambda _ > + ;; One test tries to create $HOME/.cache. > + (setenv "HOME" "/tmp") > + #t))))) > + (home-page "https://mesa3d.org/") > (synopsis "OpenGL implementation") > (description "Mesa is a free implementation of the OpenGL specificat= ion - > a system for rendering interactive 3D graphics. A variety of device dri= vers --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAljxDGsACgkQ5qXuPBlG eg1AORAApF3hBYRgnu99RhCLuLPkxxeXcr7U1N7S1MpCi7pXzaA58vK0Y7m7Jvtv paASRyIr9hza1cPG4lkKA+ts+K2xOR9zvejOV9H59UJ9EbxjllXEw/u6WI+oe7qe USf196dJYc1j3PUJseTdDd+m32tVyKjbJROyS+t40uZxvBxKT0f8/1ToftuwfwCl leYk+MTp5Qjyie9TZoIPV4JfPPo5PrwnXWHKzgIX2TJo8uLtzwZzEW93qYJJgHhG /omC6mpbCIDw+o1+fKYjbiAb7uKCecEpQ0qCL4M/c52zAiW1LJw5bNGP7pwnMW7f GHzkzZZ/ZDisiB5NM8VrBo4w7vzwDW73mft9MIwBbM3VxUhjTTTiIU1kdeOErMEc VRkq4cyrT2jlANRQ4JeY+zhK3sI+VNebswKk2JAB30eceYtrV+yZcS34dVrtfcre kY9wMkMnsYKG1sD3tBlxpjAPxqh+cK3wEO1NkSd3caIANGqo51z0Zz0/ZizKbuB9 7V36tuHdOUD4qYJZSOlKvR3BpDQphetUuvMrR6jSwsVFqVBuMpc5wYCWH1zyTJyy z8g8/SX5h1+DQaorOEwlROxD4KCPWEhlpB+Gdf0li/6u/dqCnpIbXubIR19bUzdZ 9M/AS9WoBFSvr5r7jVvLYteKnUxq9N9cfOLcW4oQXkOhn55YkrM= =hnqT -----END PGP SIGNATURE----- --=-=-=--