[MacPorts] #65595: gnuradio: TypeError: Argument 0 does not allow None as a value
MacPorts
noreply at macports.org
Tue Aug 2 14:45:02 UTC 2022
#65595: gnuradio: TypeError: Argument 0 does not allow None as a value
--------------------------+-----------------------
Reporter: adamgao1996 | Owner: michaelld
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gnuradio |
--------------------------+-----------------------
Comment (by michaelld):
OK a few thoughts:
1) you'll want to make sure the `+pythonX` variants are the same; they are
not for the noted `uhd` and `gnuradio` from your prior entry. We're slowly
working through ports to move them to `+python310` where possible; there
is currently a mismatch between UHD and GNU Radio that will be resolved
soon. In the meantime, you can set default variants in
`/opt/local/etc/macports/variants.conf` file. For example mine shows:
{{{
-x11 +no_x11 +quartz
+python310
+openblas
}}}
You might choose otherwise, of course. Having whatever variants you pick
noted in this file will enforce using them for new installs for packages
that support those variants.
2) In order to change variants for a specific package, dependency packages
sometimes need those variants too. This is the case for your `-x11 +no_x11
+quartz` ... `gtk3` needs to also be installed with those variants (and
some others will too, but `port` errors out at the first one I believe).
Unfortunately I don't think `port` can be told to "enforce variants" with
`install` ... just with `upgrade`. Thus you'll probably have to go through
and manually `uninstall` then `install` packages such as `gtk3` to get the
variants correct -- preferably after setting the default variants you want
as noted in (1).
3) An option to get (1) and (2) correct is to totally uninstall all
packages (`sudo port -f uninstall $(port installed)`), then do (1), then
try `sudo port install gnuradio` and hope for the best ... this will take
some time since most packages will be built from source. This option is
actually a good idea since you clearly had Brew installed at the same time
as MacPorts and -- while we try our best to keep dependency detection and
use within each's domain, to not cross-use dependencies -- this does
sometimes happen. Uninstalling both & then using just 1 package manager is
highly recommended.
--
Ticket URL: <https://trac.macports.org/ticket/65595#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list