From: Marius Bakke <mbakke@fastmail.com>
To: 26465@debbugs.gnu.org
Subject: bug#26465: [PATCH] gnu: mesa: Update to 17.0.3.
Date: Wed, 12 Apr 2017 18:26:50 +0200 [thread overview]
Message-ID: <20170412162650.31333-1-mbakke@fastmail.com> (raw)
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 '<pwd.h>'. 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
next reply other threads:[~2017-04-12 16:28 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-12 16:26 Marius Bakke [this message]
2017-04-14 17:52 ` bug#26465: [PATCH] gnu: mesa: Update to 17.0.3 Kei Kebreau
2017-04-15 16:58 ` Marius Bakke
2017-04-17 19:33 ` Marius Bakke
2017-04-17 20:09 ` Staging Leo Famulari
2017-04-18 17:00 ` Staging Marius Bakke
2017-04-18 18:52 ` [staging] Mesa FTBFS on 32-bit architectures Leo Famulari
2017-04-18 19:30 ` Leo Famulari
2017-04-18 23:52 ` Leo Famulari
2017-04-19 0:02 ` Marius Bakke
2017-04-19 0:13 ` Leo Famulari
2017-04-19 0:17 ` Marius Bakke
2017-04-19 22:03 ` Leo Famulari
2017-04-19 0:37 ` Leo Famulari
2017-04-21 13:57 ` Staging Marius Bakke
2017-04-21 17:47 ` Staging Leo Famulari
2017-04-21 18:59 ` Staging Mark H Weaver
2017-04-21 19:05 ` Staging Leo Famulari
2017-04-23 9:45 ` Staging Marius Bakke
2017-04-23 9:49 ` Staging Marius Bakke
2017-04-25 18:33 ` Staging Leo Famulari
2017-04-27 4:49 ` Staging merged! Leo Famulari
2017-04-27 6:40 ` Ricardo Wurmus
2017-04-27 13:50 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170412162650.31333-1-mbakke@fastmail.com \
--to=mbakke@fastmail.com \
--cc=26465@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.