all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Malte Frank Gerdes <malte.f.gerdes@gmail.com>
To: Andreas Enge <andreas@enge.fr>
Cc: Kei Kebreau <kkebreau@posteo.net>, 43654@debbugs.gnu.org
Subject: [bug#43654] [PATCH] Add perl-opengl
Date: Fri, 02 Oct 2020 21:33:04 +0200	[thread overview]
Message-ID: <86362ws9sf.fsf@gmail.com> (raw)
In-Reply-To: <20201002182917.GB4862@jurong> (Andreas Enge's message of "Fri, 2 Oct 2020 20:29:17 +0200")

> Hello,
>
> On Fri, Oct 02, 2020 at 12:13:43AM -0400, Kei Kebreau wrote:
>> > @@ -0,0 +1,5 @@
>> > +GLUT=20801
>> > +VERSION=3.0 Mesa 10.2.6
>> > +VENDOR=Intel Open Source Technology Center
>> > +RENDERER=Mesa DRI Intel(R) Ivybridge Mobile
>> I suppose the purpose of this glversion.txt is to avoid reproducibility
>> issues?  I see it was added as a "pretty ugly hack" in the nixpkgs
>> repository [1].  (Interestingly enough, this text file doesn't seem to
>> cause me any issues, even though my computer doesn't support OpenGL 3.0,
>> so I guess it's fine.)
>
> I also tried to package perl-opengl (as a prerequisite for slic3r); the
> problem is that during the configure phase it wants to do this:
>
> In order to test your GPU's capabilities, run this make under an X11 shell
> freeglut (./glversion): failed to open display ''
> make: *** [Makefile:24: glversion.txt] Error 1
>
> to create the file, which will presumably depend on the GPU in the build
> machine, a no-go. Nix works around this by providing a fixed file. I did not
> investigate whether this will work everywhere; it clearly leaks information
> on the machine where it was created. In my case, for instance, I got "Skylake"
> instead of "Ivybridge". It all feels a bit brittle; for instance, we have
> freeglut@2.8.1 and @3.2.1 in Guix; I suppose "GLUT=20801" refers to @2.8.1.
> Will it work with a newer version? Our mesa is @20.0.8 and not 10.2.6.

I just tried to build with those variables set to arbitrary values:

--8<---------------cut here---------------start------------->8---
GLUT=99999
VERSION=3.0 Mesa 99.99.99
VENDOR=NoVendor
RENDERER=MesaRenderer
--8<---------------cut here---------------end--------------->8---

the package builds and no tests fail, so those might even be irrelevant,
but i cannot test it properly, because no program using perl-opengl is
packaged (and i can't manage to get slic3r packaged...).


Malte




  reply	other threads:[~2020-10-02 19:34 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-27 19:06 [bug#43654] [PATCH] Add perl-opengl Malte Frank Gerdes
2020-10-02  4:13 ` Kei Kebreau
2020-10-02 17:59   ` Malte Frank Gerdes
2020-10-02 18:29   ` Andreas Enge
2020-10-02 19:33     ` Malte Frank Gerdes [this message]
2020-10-04  8:26       ` Andreas Enge
2020-10-04 12:28         ` Malte Frank Gerdes
2020-10-04 12:32         ` Malte Frank Gerdes
2020-10-05 20:51       ` Andreas Enge
2020-10-05 22:35         ` Andreas Enge
2020-10-05 22:47           ` Andreas Enge
2020-10-05 15:01   ` Malte Frank Gerdes
2020-10-05 20:05     ` Andreas Enge
2020-10-05 20:11     ` Andreas Enge
2020-10-05  8:10 ` Malte Frank Gerdes
2020-10-07 18:20 ` Malte Frank Gerdes
2020-10-10 13:09   ` bug#43654: " Andreas Enge

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=86362ws9sf.fsf@gmail.com \
    --to=malte.f.gerdes@gmail.com \
    --cc=43654@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    --cc=kkebreau@posteo.net \
    /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.