From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UO96InmHe19uIwAA0tVLHw (envelope-from ) for ; Mon, 05 Oct 2020 20:52:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6FBOHnmHe19pRgAAbx9fmQ (envelope-from ) for ; Mon, 05 Oct 2020 20:52:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EC415940546 for ; Mon, 5 Oct 2020 20:52:08 +0000 (UTC) Received: from localhost ([::1]:59018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPXSp-0001Mp-TS for larch@yhetil.org; Mon, 05 Oct 2020 16:52:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPXSk-0001Mh-2S for guix-patches@gnu.org; Mon, 05 Oct 2020 16:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39114) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPXSj-0005m4-PV for guix-patches@gnu.org; Mon, 05 Oct 2020 16:52:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kPXSj-00077l-P0 for guix-patches@gnu.org; Mon, 05 Oct 2020 16:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43654] [PATCH] Add perl-opengl Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Oct 2020 20:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43654 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Malte Frank Gerdes Cc: Kei Kebreau , 43654@debbugs.gnu.org Received: via spool by 43654-submit@debbugs.gnu.org id=B43654.160193109627352 (code B ref 43654); Mon, 05 Oct 2020 20:52:01 +0000 Received: (at 43654) by debbugs.gnu.org; 5 Oct 2020 20:51:36 +0000 Received: from localhost ([127.0.0.1]:50660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPXSK-000776-AL for submit@debbugs.gnu.org; Mon, 05 Oct 2020 16:51:36 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:58406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPXSH-00076x-HY for 43654@debbugs.gnu.org; Mon, 05 Oct 2020 16:51:35 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 195A9E14; Mon, 5 Oct 2020 22:51:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5im8K_vhSo9T; Mon, 5 Oct 2020 22:51:31 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:910:103f::3f1]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 10B02297; Mon, 5 Oct 2020 22:51:30 +0200 (CEST) Date: Mon, 5 Oct 2020 22:51:29 +0200 From: Andreas Enge Message-ID: <20201005205129.GA13742@jurong> References: <86pn67xcmn.fsf@gmail.com> <87mu15b6yw.fsf@posteo.net> <20201002182917.GB4862@jurong> <86362ws9sf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86362ws9sf.fsf@gmail.com> X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -0.3 (/) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.99 X-TUID: D/DQZX5r4Ua6 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