[MacPorts] #60946: gnuradio-companion build failure, Cairo not found

MacPorts noreply at macports.org
Sun Aug 2 16:17:06 UTC 2020


#60946: gnuradio-companion build failure, Cairo not found
---------------------+-----------------------
  Reporter:  d0plr   |      Owner:  michaelld
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.6.3
Resolution:          |   Keywords:
      Port:          |
---------------------+-----------------------

Comment (by d0plr):

 Hello,

 I used the default variants of gnuradio, so python37 should be selected.


 {{{
 $ python3.7 -c "import gi; gi.require_foreign('cairo', 'Context')"
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gi/__init__.py", line 179, in require_foreign
     _gi.require_foreign(namespace, symbol)
 TypeError: Couldn't find foreign struct converter for 'cairo.Context'

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gi/__init__.py", line 181, in require_foreign
     raise ImportError(str(e))
 ImportError: Couldn't find foreign struct converter for 'cairo.Context'

 }}}

 I attached the full build log.
 Thanks !

-- 
Ticket URL: <https://trac.macports.org/ticket/60946#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list