GNU bug report logs - #43654
[PATCH] Add perl-opengl

Previous Next

Package: guix-patches;

Reported by: Malte Frank Gerdes <malte.f.gerdes <at> gmail.com>

Date: Sun, 27 Sep 2020 19:08:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Enge <andreas <at> enge.fr>
To: Malte Frank Gerdes <malte.f.gerdes <at> gmail.com>
Cc: Kei Kebreau <kkebreau <at> posteo.net>, 43654 <at> debbugs.gnu.org
Subject: [bug#43654] [PATCH] Add perl-opengl
Date: Mon, 5 Oct 2020 22:51:29 +0200
On Fri, Oct 02, 2020 at 09:33:04PM +0200, Malte Frank Gerdes wrote:
> 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---

Actually I just went further:
FREEGLUT=
GLUT=
VERSION=
VENDOR=
RENDERER=
EXTENSIONS=

The package compiles, but running test.pl (which showed just a blank square
before) now fails with this message:
Goto undefined subroutine &AutoLoader::AUTOLOAD at /home/andreas/.guix-profile/lib/perl5/site_perl/5.30.2/x86_64-linux-thread-multi/OpenGL.pm line 6178.

However, I tried several of the examples, and they work.

So one option would be to disable the test ("#:tests? #f") and create the
essentially empty glversion.txt file above inside a phase. There would not
even be a need to store it as a an auxiliary file; see the use of
"call-with-output-file" in guix/tests.scm, for instance.

What do you think?

Andreas





This bug report was last modified 4 years and 229 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.