Opened 5 months ago

Last modified 3 months ago

#61106 assigned defect

gr-osmosdr @20200214: Failed - ModuleNotFoundError: No module named 'mako'

Reported by: rfaber4 Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: catalina Cc:
Port: gr-osmosdr

Description (last modified by ryandesign (Ryan Schmidt))

Installation of gr-osmosdr failed on OSX 10.15.6.
Using MacPorts 2.6.3 and Xcode 11.6
Failing command: sudo port install gr-osmosdr
Tried:

sudo port -f uninstall installed
sudo rm -rf /opt/local/var/macports/build/*

and then installed gnuradio and rtl-sdr before trying to install gr-osmosdr again.

Got the following error message. Will try to attach entire log to this ticket.

:debug:build Error code: CHILDSTATUS 86351 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

Attachments (1)

main.log (814.0 KB) - added by rfaber4 5 months ago.

Download all attachments as: .zip

Change History (11)

Changed 5 months ago by rfaber4

Attachment: main.log added

comment:1 Changed 5 months ago by kencu (Ken)

462     :info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/work/gr-osmosdr-af2fda22b3b3745520ef38e9aaa757484871ee0c/grc/gen_osmosdr_blocks.py", line 354, in parse_tmpl
463	:info:build     from mako.template import Template
464	:info:build ModuleNotFoundError: No module named 'mako'
465	:info:build make[2]: *** [grc/rtlsdr_source.block.yml] Error 1

comment:2 Changed 5 months ago by kencu (Ken)

Summary: gr-osmosdr @20200214: Failed to build gr-osmosdr: command execution failedgr-osmosdr @20200214: Failed - ModuleNotFoundError: No module named 'mako'

comment:3 Changed 5 months ago by kencu (Ken)

Description: modified (diff)
Owner: set to michaelld
Status: newassigned

comment:4 Changed 5 months ago by kencu (Ken)

Thanks for the report and log. Michael will take a look.

comment:5 Changed 5 months ago by michaelld (Michael Dickens)

In b82283d5741903c10aaab66a6104739e8ef57e76/macports-ports (master):

gr-osmosdr: add py-mako dependency

Might address #61106

comment:6 Changed 5 months ago by michaelld (Michael Dickens)

I just pushed what I think will fix the issue here. I'm building on 10.14 and have other issues to be fixed, which I'm also tracking down. Please update your ports and see if this helps.

comment:7 Changed 5 months ago by ryandesign (Ryan Schmidt)

https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/37578/steps/install-port/logs/stdio

Traceback (most recent call last):
  File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-osmosdr/gr-osmosdr/work/gr-osmosdr-af2fda22b3b3745520ef38e9aaa757484871ee0c/docs/doxygen/swig_doc.py", line 34, in <module>
    from doxyxml import DoxyIndex, DoxyClass, DoxyFriend, DoxyFunction, DoxyFile
  File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-osmosdr/gr-osmosdr/work/osmocom-gr-osmosdr-af2fda2/docs/doxygen/doxyxml/__init__.py", line 69, in <module>
    from .doxyindex import DoxyIndex, DoxyFunction, DoxyParam, DoxyClass, DoxyFile, DoxyNamespace, DoxyGroup, DoxyFriend, DoxyOther
  File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-osmosdr/gr-osmosdr/work/osmocom-gr-osmosdr-af2fda2/docs/doxygen/doxyxml/doxyindex.py", line 31, in <module>
    from .generated import index
  File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-osmosdr/gr-osmosdr/work/osmocom-gr-osmosdr-af2fda2/docs/doxygen/doxyxml/generated/index.py", line 13, in <module>
    from . import compound
  File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-osmosdr/gr-osmosdr/work/osmocom-gr-osmosdr-af2fda2/docs/doxygen/doxyxml/generated/compound.py", line 15, in <module>
    from . import compoundsuper as supermod
  File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-osmosdr/gr-osmosdr/work/osmocom-gr-osmosdr-af2fda2/docs/doxygen/doxyxml/generated/compoundsuper.py", line 15, in <module>
    import six
ModuleNotFoundError: No module named 'six'

comment:8 Changed 5 months ago by ryandesign (Ryan Schmidt)

Description: modified (diff)

comment:9 Changed 5 months ago by michaelld (Michael Dickens)

Lordy what carp from upstream ... they should do better CMake scripting! Thanks for the pointer ... I really need to spend some quality time on the builders to see what info they provide!

comment:10 Changed 3 months ago by chrstphrchvz (Christopher Chavez)

In 46c6209d638e6f0b29ee42e5bb62c6a52d5dc9af/macports-ports (master):

gr-osmosdr: +docs variant requires six

See: #61106#comment:7

Note: See TracTickets for help on using tickets.