GNU bug report logs - #40031
OpenScad Test errors

Previous Next

Package: guix;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40031 in the body.
You can then email your comments to 40031 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#40031; Package guix. (Wed, 11 Mar 2020 20:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ekaitz Zarraga <ekaitz <at> elenq.tech>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 11 Mar 2020 20:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ekaitz Zarraga <ekaitz <at> elenq.tech>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: OpenScad Test errors
Date: Wed, 11 Mar 2020 20:48:43 +0000
[Message part 1 (text/plain, inline)]
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?

Regards,
Ekaitz

ElenQ Technology
Ethical Innovation


[Openscad_Error.drv.bz2 (application/x-bzip, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#40031; Package guix. (Wed, 11 Mar 2020 22:52:01 GMT) Full text and rfc822 format available.

Message #8 received at 40031 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Ekaitz Zarraga <ekaitz <at> elenq.tech>
Cc: 40031 <at> debbugs.gnu.org
Subject: Re: bug#40031: OpenScad Test errors
Date: Wed, 11 Mar 2020 18:51:44 -0400
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.




Information forwarded to bug-guix <at> gnu.org:
bug#40031; Package guix. (Thu, 12 Mar 2020 12:05:01 GMT) Full text and rfc822 format available.

Message #11 received at 40031 <at> debbugs.gnu.org (full text, mbox):

From: Ekaitz Zarraga <ekaitz <at> elenq.tech>
To: Leo Famulari <leo <at> famulari.name>
Cc: "40031 <at> debbugs.gnu.org" <40031 <at> debbugs.gnu.org>
Subject: Re: bug#40031: OpenScad Test errors
Date: Thu, 12 Mar 2020 12:03:51 +0000
‐‐‐‐‐‐‐ 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!




Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Fri, 20 Mar 2020 18:07:01 GMT) Full text and rfc822 format available.

Notification sent to Ekaitz Zarraga <ekaitz <at> elenq.tech>:
bug acknowledged by developer. (Fri, 20 Mar 2020 18:07:01 GMT) Full text and rfc822 format available.

Message #16 received at 40031-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Ekaitz Zarraga <ekaitz <at> elenq.tech>, Leo Famulari <leo <at> famulari.name>
Cc: "40031 <at> debbugs.gnu.org" <40031-done <at> debbugs.gnu.org>
Subject: Re: bug#40031: OpenScad Test errors
Date: Fri, 20 Mar 2020 19:06:14 +0100
[Message part 1 (text/plain, inline)]
Ekaitz Zarraga <ekaitz <at> elenq.tech> writes:

> ‐‐‐‐‐‐‐ 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?

It looks like this problem fixed itself.  OpenSCAD builds successfully
on 'master' now, at least for i686 and x86_64:

https://ci.guix.gnu.org/search?query=openscad

Closing the bug, thanks for reporting it!
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 18 Apr 2020 11:24:05 GMT) Full text and rfc822 format available.

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

Previous Next


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