Opened 4 years ago

Last modified 3 years ago

#60742 assigned defect

geda-gaf @1.10.0_0 gnetlist xorn.guile import error

Reported by: DavidLibault Owned by: markemer (Mark Anderson)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: geda-gaf

Description (last modified by mf2k (Frank Schima))

When launching gsch2pcb with a project file as usual, gnetlist (well, the python2.7 interpreter) complains about not being able to import xorn.guile :

  File "/opt/local/bin/gnetlist", line 46, in <module>
    import xorn.guile
ImportError: dlopen(/opt/local/lib/python2.7/site-packages/xorn/guilemodule.so, 2): Symbol not found: _scm_frame_procedure
  Referenced from: /opt/local/lib/python2.7/site-packages/xorn/guilemodule.so
  Expected in: flat namespace
 in /opt/local/lib/python2.7/site-packages/xorn/guilemodule.so

This should not happen as guile 2.2 is installed on my system :

$ port installed | grep guile
  guile @2.2.4_2 (active)

This error can be reproduced easily by just launching gnetlist from the command line :

$ gnetlist
Traceback (most recent call last):
  File "/opt/local/bin/gnetlist", line 46, in <module>
    import xorn.guile
ImportError: dlopen(/opt/local/lib/python2.7/site-packages/xorn/guilemodule.so, 2): Symbol not found: _scm_frame_procedure
  Referenced from: /opt/local/lib/python2.7/site-packages/xorn/guilemodule.so
  Expected in: flat namespace
 in /opt/local/lib/python2.7/site-packages/xorn/guilemodule.so

In case it matters : my system is Catalina version 10.15.5.

As a consequence the geda-gaf package is not usable anymore...

Change History (7)

comment:1 Changed 4 years ago by DavidLibault

Port: geda-gaf added

comment:2 Changed 4 years ago by reneeotten (Renee Otten)

Owner: set to markemer
Priority: HighNormal
Status: newassigned

For future reference, please add the maintainer of the port to CC (port info --maintainer geda-gaf) and do not set the priority.

comment:3 Changed 4 years ago by kencu (Ken)

according to <https://bugs.launchpad.net/geda/+bug/1782306> geda only ever worked with guile-2.0, and failed with this error when using guile-2.2. There is a suggested change in that ticket to make it build/link against guile-2.2, but someone had an issue with it.

Did this ever work?

I don't see a guile-2.0 port available in macports.

comment:4 Changed 4 years ago by kencu (Ken)

You may be in luck -- a few years ago I tried to get guile 2.2 building on PowerPC and failed, so PowerPC has been held to guile 2.0 (it's already in the Portfile for PowerPC). It would therefore be pretty easy to make that available.

So we'll see what the maintainer says, but if the only solution turns out to be using guile-2.0, that is likely not too hard to enable.

comment:5 Changed 4 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:6 Changed 4 years ago by markemer (Mark Anderson)

Yeah - this worked for me last build, let me try again. The PR had a patch to permit 2.2 - however, rolling back to 2.0 might well be an option.

comment:7 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Check if the problem remains with geda-gaf @1.10.2.

Note: See TracTickets for help on using tickets.