From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id xu9LObOAd1+tKwAA0tVLHw (envelope-from ) for ; Fri, 02 Oct 2020 19:34:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aN+NNLOAd1+/WgAAB5/wlQ (envelope-from ) for ; Fri, 02 Oct 2020 19:34:11 +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 398999402DA for ; Fri, 2 Oct 2020 19:34:11 +0000 (UTC) Received: from localhost ([::1]:55742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOQoj-0006Kl-27 for larch@yhetil.org; Fri, 02 Oct 2020 15:34:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOQoc-0006KQ-E7 for guix-patches@gnu.org; Fri, 02 Oct 2020 15:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59289) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kOQoc-0008Lv-5K for guix-patches@gnu.org; Fri, 02 Oct 2020 15:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kOQoc-0003zT-2x for guix-patches@gnu.org; Fri, 02 Oct 2020 15:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43654] [PATCH] Add perl-opengl Resent-From: Malte Frank Gerdes Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 02 Oct 2020 19:34:02 +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: Andreas Enge Cc: Kei Kebreau , 43654@debbugs.gnu.org Received: via spool by 43654-submit@debbugs.gnu.org id=B43654.160166719415285 (code B ref 43654); Fri, 02 Oct 2020 19:34:02 +0000 Received: (at 43654) by debbugs.gnu.org; 2 Oct 2020 19:33:14 +0000 Received: from localhost ([127.0.0.1]:42602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOQnq-0003yT-5A for submit@debbugs.gnu.org; Fri, 02 Oct 2020 15:33:14 -0400 Received: from mail-ed1-f41.google.com ([209.85.208.41]:37599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOQno-0003yF-AC for 43654@debbugs.gnu.org; Fri, 02 Oct 2020 15:33:12 -0400 Received: by mail-ed1-f41.google.com with SMTP id n22so2872749edt.4 for <43654@debbugs.gnu.org>; Fri, 02 Oct 2020 12:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=4PQuYzCpBsUrJcb44h31MMxE6CsDaGqcUiE4ti2BeNE=; b=RMXlqDWgbqmBv1vt24t28vmLb+b43L0X74wFaJE9AUxXtSpSef9v1383PGKfMlPNQB So4ubnqHtknGDfhpigpshprGCYH8MB4ObBDW+Szs1fLJ2ADmKH0zpBtFT8PEO8dampCF 3iDvKaQ1iYV2hC5LjcwaQIzZeYBWIuf+V/6cj12NkLLFAXeGUnJAOVNpNDUR+1K0Dn0J vq/NSyUjFIGSukY21MwPIFIfH/tc/KcXtJBTeH1yUsfx0Eu2CL59PDrYwu/ucNV6w55i KxMbHPKn6+WGt+/XLKskQdV15AjzLCXNBPFu2sdY495KSR7e0sGbZPilnElgczCfGSdL 4tog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=4PQuYzCpBsUrJcb44h31MMxE6CsDaGqcUiE4ti2BeNE=; b=MkypIIiLmfL474oIFYlHhKZ5n5iU2nZLBtm9y5ai6huI+8n3KVh0h3jelL1bRrmSme GssDl5IAERvgIPnZ68IA2M87btC5Fib0/jMcSt5TSXAspg84StuTopQV12+YXGAQ5KuA BKemQSSXMa81LGX19vmper7aeCiG5TEEYqy6Us6UdEMnrSqliainSSe8PBnvoTh6V/fi AOgan2zyBvYOUYdoUksitoayBm2RdxaJZ5XfA+tZZ1I0MKPAUsMoGl5lE5OocQwZdS3N 0yEf3FSHZRLkxpvPsJ0GRSRPWz3RFpGmfQwGvZ2eqn8z6TsDrAsBrNNCAyx31HHHyGhB kHoQ== X-Gm-Message-State: AOAM532+5J3ufnohPu07cAicxRKGZ8jsjXMJMbcsioR/TmoSkqD1Zzbt neZqDS4UAwGIOhaTknwBa2QG+BE30fEMZw== X-Google-Smtp-Source: ABdhPJyW7Xd229F1gnDsmAFnnOdlZ4w615zhFUnE8fbWkEOxVnWqojzBzjdFddOD6ZF0cOCh89DyHA== X-Received: by 2002:a05:6402:3c1:: with SMTP id t1mr4028280edw.231.1601667185641; Fri, 02 Oct 2020 12:33:05 -0700 (PDT) Received: from Morphium (ip-84-118-73-55.unity-media.net. [84.118.73.55]) by smtp.gmail.com with ESMTPSA id bz5sm1690895ejc.83.2020.10.02.12.33.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Oct 2020 12:33:04 -0700 (PDT) From: Malte Frank Gerdes References: <86pn67xcmn.fsf@gmail.com> <87mu15b6yw.fsf@posteo.net> <20201002182917.GB4862@jurong> Date: Fri, 02 Oct 2020 21:33:04 +0200 In-Reply-To: <20201002182917.GB4862@jurong> (Andreas Enge's message of "Fri, 2 Oct 2020 20:29:17 +0200") Message-ID: <86362ws9sf.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=RMXlqDWg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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.09 X-TUID: m0+5zOOFGmZ8 > 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