OpenScad Test errors

  • Done
  • quality assurance status badge
Details
3 participants
  • Ekaitz Zarraga
  • Leo Famulari
  • Marius Bakke
Owner
unassigned
Submitted by
Ekaitz Zarraga
Severity
normal

Debbugs page

Ekaitz Zarraga wrote 5 years ago
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
ErV9MkR5qE8DUlVUY6CXZ2MlunhOpm2UiO7RiNxAmix74bCzxlP_FPNxIU8OMOdyaE2Tk4UYHzUZjZIQtomXPtpp8MTH8liFTw_4TfhhmRU=@elenq.tech
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
Leo Famulari wrote 5 years ago
(name . Ekaitz Zarraga)(address . ekaitz@elenq.tech)(address . 40031@debbugs.gnu.org)
20200311225144.GB22532@jasmine.lan
On Wed, Mar 11, 2020 at 08:48:43PM +0000, Ekaitz Zarraga wrote:
Toggle quote (9 lines)
> 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.
Ekaitz Zarraga wrote 5 years ago
(name . Leo Famulari)(address . leo@famulari.name)(name . 40031@debbugs.gnu.org)(address . 40031@debbugs.gnu.org)
49ouC9nRCLekpgO0n2l-KGx5ytBXMNBMC-YBp80CGL86C_FM1W97u7NOtPhrofi_Z5yvfqXlw27-HbtK2gqPOjFgdsav-L85B1lna6S1GiI=@elenq.tech
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, March 11, 2020 10:51 PM, Leo Famulari <leo@famulari.name> wrote:

Toggle quote (14 lines)
> 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!
Marius Bakke wrote 5 years ago
(name . 40031@debbugs.gnu.org)(address . 40031-done@debbugs.gnu.org)
877dze9a09.fsf@devup.no
Ekaitz Zarraga <ekaitz@elenq.tech> writes:

Toggle quote (38 lines)
> ‐‐‐‐‐‐‐ 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:


Closing the bug, thanks for reporting it!
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl51BhcACgkQoqBt8qM6
VPowWQf/e5DqG9F251M0z/bTpjF746QPY+VMFGuiGgxYI6DSA/1Yks/B8Iz3l7Sr
Tkkt2vRKH/Udh5s2OBrSTGJ1JAsYmts+YF0obkgp/cV4SCvt7+VxjZS6bOWY3dhR
UPsUJQ9eQhn19QtBoVHfUmTV1adebrnTBlqAoTKPael/ciPPPVfsPZLrMdL0UXh4
vj3zfDzV+msmB3IZkBYb17kvAmJqy2qHllcRjSRugFyEYVE1R7/Zgm3cyPLIE2/T
SPn7GpPbrsvYf/Bn17QzFq0m3b4qubmr8f09cHbTCwS4NhWO5x2h8EOIWRGIZu/w
iALrreanJOnpTqm1qxT9zM6HEdRnpQ==
=ZT3k
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 40031@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 40031
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help