Opened 4 years ago

Last modified 4 years ago

#61106 assigned defect

gr-osmosdr @20200214: Failed - ModuleNotFoundError: No module named 'mako' — at Version 8

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 Carsten 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"

Change History (9)

Changed 4 years ago by rfaber4

Attachment: main.log added

comment:1 Changed 4 years 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 4 years 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 4 years ago by kencu (Ken)

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

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

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

comment:5 Changed 4 years ago by michaelld (Michael Dickens)

In b82283d5741903c10aaab66a6104739e8ef57e76/macports-ports (master):

gr-osmosdr: add py-mako dependency

Might address #61106

comment:6 Changed 4 years 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 4 years ago by ryandesign (Ryan Carsten 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 4 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.