From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyL7m-0005nx-HZ for guix-patches@gnu.org; Wed, 12 Apr 2017 12:28:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyL7i-0002Z4-Fo for guix-patches@gnu.org; Wed, 12 Apr 2017 12:28:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46439) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyL7i-0002YO-D6 for guix-patches@gnu.org; Wed, 12 Apr 2017 12:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cyL7i-00067o-60 for guix-patches@gnu.org; Wed, 12 Apr 2017 12:28:02 -0400 Subject: bug#26465: [PATCH] gnu: mesa: Update to 17.0.3. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyL6h-0005gX-T2 for guix-patches@gnu.org; Wed, 12 Apr 2017 12:27:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyL6d-0001za-SJ for guix-patches@gnu.org; Wed, 12 Apr 2017 12:26:59 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:40883) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cyL6d-0001zN-IU for guix-patches@gnu.org; Wed, 12 Apr 2017 12:26:55 -0400 From: Marius Bakke Date: Wed, 12 Apr 2017 18:26:50 +0200 Message-Id: <20170412162650.31333-1-mbakke@fastmail.com> 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: 26465@debbugs.gnu.org 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. * 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 Nouveau ;; are stuck at OpenGL 2.1 instead of OpenGL 3.0+. "--enable-texture-float" - + ;; Also enable the tests. "--enable-gallium-tests" @@ -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 specification - a system for rendering interactive 3D graphics. A variety of device drivers -- 2.12.2