[MacPorts] #62060: Gnuradio configure and build failure on OSX 10.14.6

MacPorts noreply at macports.org
Sun Jan 17 19:31:30 UTC 2021


#62060: Gnuradio configure and build failure on OSX 10.14.6
-----------------------+-----------------------
  Reporter:  pa3axa    |      Owner:  michaelld
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.6.4
Resolution:            |   Keywords:
      Port:  gnuradio  |
-----------------------+-----------------------

Comment (by pa3axa):

 Yes Hamradio is one of my interest and PA3AXA is my call sign.\\

 Yesterday I restarted this again, clean install OSX 10.14.4,\\
 updated to 10.14.6 and Xcode 10.3.1. First had to fix the\\
 OSX 10.14 SDK with the suggestions done in #59837\\

 Then sudo port install gnuradio this failed during\\
 configure on the atk library\\

 {{{
 :info:configure --   Dependency GTK_GI_FOUND = FALSE
 }}}


 Then I followed the above suggestions.

 Clean and Reinstall gobject-introspection forced


 {{{
 MacPro:~ macpro$ sudo port -sn upgrade --force gobject-introspection
 --->  Computing dependencies for gobject-introspection
 }}}


 That worked, then


 {{{
 sudo port clean gdk-pixbuf2 atk
 sudo port -sn upgrade --force gdk-pixbuf2 atk
 }}}


 That finished without any error.

 Next

 {{{
  macpro$ sudo port clean gnuradio
 --->  Cleaning gnuradio
 MacPro:~ macpro$ sudo port install gnuradio
 --->  Computing dependencies for gnuradio
 }}}


 That finishes without errors but during the building a message about
 installing
 the JAVA SDK popup, and agreed.

 Put it all to the test gnuradio-companion won't start


 {{{
 gnuradio-companion:54059): Gtk-WARNING **: 18:09:36.500: Locale not
 supported by C library.
         Using the fallback 'C' locale.
 No such schema ?org.gnome.desktop.interface?
 Traceback (most recent call last):
   File "/opt/local/bin/gnuradio-companion", line 102, in <module>
     run_main()
   File "/opt/local/bin/gnuradio-companion", line 95, in run_main
     exit(main())
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gnuradio/grc/main.py", line 73, in main
     from .gui.Platform import Platform
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gnuradio/grc/gui/Platform.py", line 26, in <module>
     from . import canvas
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gnuradio/grc/gui/canvas/__init__.py", line 21, in <module>
     from .param import Param
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gnuradio/grc/gui/canvas/param.py", line 23, in <module>
     from .. import ParamWidgets, Utils, Constants
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gnuradio/grc/gui/ParamWidgets.py", line 69, in <module>
     add_style_provider()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gnuradio/grc/gui/ParamWidgets.py", line 67, in
 add_style_provider
     Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION
 TypeError: Argument 0 does not allow None as a value

 }}}

 Remove gnuradio and installed gnuradio37 error remains\\
 but now refers to Python 2.7.



 {{{
 MacPro:~ macpro$ gnuradio-companion

 (process:81795): Gtk-WARNING **: 20:26:19.224: Locale not supported by C
 library.
         Using the fallback 'C' locale.
 Traceback (most recent call last):
   File "/opt/local/bin/gnuradio-companion", line 97, in <module>
     check_gtk()
   File "/opt/local/bin/gnuradio-companion", line 64, in check_gtk
     die(err, "Failed to initialize GTK. If you are running over ssh, "
   File "/opt/local/bin/gnuradio-companion", line 42, in die
     import gtk
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/gtk-2.0/gtk/__init__.py", line 69, in <module>
     _init()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/gtk-2.0/gtk/__init__.py", line 57, in _init
     warnings.warn(str(e), _gtk.Warning)
 gtk.GtkWarning: could not open display
 }}}

 So all in all, we managed to fix the configuration error, building is fine
 but now we another GTK related issue

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


More information about the macports-tickets mailing list