GNU bug report logs -
#40031
OpenScad Test errors
Previous Next
Reported by: Ekaitz Zarraga <ekaitz <at> elenq.tech>
Date: Wed, 11 Mar 2020 20:49:02 UTC
Severity: normal
Done: Marius Bakke <mbakke <at> fastmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, March 11, 2020 10:51 PM, Leo Famulari <leo <at> famulari.name> wrote:
> 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 errors 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=:1
Can't create OpenGL OffscreenView. Code: -1.
Error: openscad failed with return code 1
Test time = 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!
This bug report was last modified 5 years and 67 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.