From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ekaitz Zarraga Subject: bug#40031: OpenScad Test errors Date: Thu, 12 Mar 2020 12:03:51 +0000 Message-ID: <49ouC9nRCLekpgO0n2l-KGx5ytBXMNBMC-YBp80CGL86C_FM1W97u7NOtPhrofi_Z5yvfqXlw27-HbtK2gqPOjFgdsav-L85B1lna6S1GiI=@elenq.tech> References: <20200311225144.GB22532@jasmine.lan> Reply-To: Ekaitz Zarraga Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34593) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCMaF-0006dN-H5 for bug-guix@gnu.org; Thu, 12 Mar 2020 08:05:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCMaE-0002sJ-IE for bug-guix@gnu.org; Thu, 12 Mar 2020 08:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCMaE-0002rH-27 for bug-guix@gnu.org; Thu, 12 Mar 2020 08:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCMaD-0008Qn-Uc for bug-guix@gnu.org; Thu, 12 Mar 2020 08:05:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20200311225144.GB22532@jasmine.lan> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: "40031@debbugs.gnu.org" <40031@debbugs.gnu.org> =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Wednesday, March 11, 2020 10:51 PM, Leo Famulari wro= te: > On Wed, Mar 11, 2020 at 08:48:43PM +0000, Ekaitz Zarraga wrote: > > > Hi, > > My installation of GuixSD fails to install OpenSCAD. > > Running `guix environment --pure --ad-hoc openscad` fails with the erro= rs I attach. > > Can you reproduce or is it just a problem with my installation? > > Ideas about how can I correct this? > > Try running it again the build with --keep-failed and then looking in > the build directory for test suite logs. There is not much to go on in > the build log you sent. I made it. I opened the folder and it's compiled and it runs pretty well. The tests have the following errors which are exclusively related with the = test tooling, in my opinion. ``` Unable to open a connection to the X server. DISPLAY=3D:1 Can't create OpenGL OffscreenView. Code: -1. Error: openscad failed with return code 1 Test time =3D 0.06 sec ``` The tests compare the *image* of what it's supposed to render OpenSCAD with= some already rendered images. The problem is it's trying to access a screen and it's unable to do it. There's `xvfb` for X testing but it's like it's not working. Ideas? Thanks!