unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40031: OpenScad Test errors
@ 2020-03-11 20:48 Ekaitz Zarraga
  2020-03-11 22:51 ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Ekaitz Zarraga @ 2020-03-11 20:48 UTC (permalink / raw)
  To: 40031

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

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



[-- Attachment #2: Openscad_Error.drv.bz2 --]
[-- Type: application/x-bzip, Size: 57415 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#40031: OpenScad Test errors
  2020-03-11 20:48 bug#40031: OpenScad Test errors Ekaitz Zarraga
@ 2020-03-11 22:51 ` Leo Famulari
  2020-03-12 12:03   ` Ekaitz Zarraga
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2020-03-11 22:51 UTC (permalink / raw)
  To: Ekaitz Zarraga; +Cc: 40031

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#40031: OpenScad Test errors
  2020-03-11 22:51 ` Leo Famulari
@ 2020-03-12 12:03   ` Ekaitz Zarraga
  2020-03-20 18:06     ` Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: Ekaitz Zarraga @ 2020-03-12 12:03 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 40031@debbugs.gnu.org

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, March 11, 2020 10:51 PM, Leo Famulari <leo@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!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#40031: OpenScad Test errors
  2020-03-12 12:03   ` Ekaitz Zarraga
@ 2020-03-20 18:06     ` Marius Bakke
  0 siblings, 0 replies; 4+ messages in thread
From: Marius Bakke @ 2020-03-20 18:06 UTC (permalink / raw)
  To: Ekaitz Zarraga, Leo Famulari; +Cc: 40031@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 1602 bytes --]

Ekaitz Zarraga <ekaitz@elenq.tech> writes:

> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Wednesday, March 11, 2020 10:51 PM, Leo Famulari <leo@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!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-20 18:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-11 20:48 bug#40031: OpenScad Test errors Ekaitz Zarraga
2020-03-11 22:51 ` Leo Famulari
2020-03-12 12:03   ` Ekaitz Zarraga
2020-03-20 18:06     ` Marius Bakke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).