[MacPorts] #62753: Portindex: can't read "bazel.build_opts": sysctl not available (when faking platform on linux)
MacPorts
noreply at macports.org
Mon Apr 26 07:30:23 UTC 2021
#62753: Portindex: can't read "bazel.build_opts": sysctl not available (when faking
platform on linux)
--------------------------+--------------------
Reporter: arjunsalyan | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version:
Resolution: | Keywords:
Port: |
--------------------------+--------------------
Comment (by arjunsalyan):
Replying to [comment:3 mojca]:
> I have no clue yet, but there were some changes related to major OS
version to cater for the changes related to versioning in Big Sur, and
maybe that broke `PortIndex`.
>
> I suspect that `PortIndex` breaks (in the case of `py-tensorflow`) on
this code:
> {{{
> set min_darwin 16
> if { ${os.major} < ${min_darwin} } {
> known_fail yes
> ...
> }
> }}}
>
> Can you just check whether removing these lines helps removing the
error?
It did not help, the error remained exactly the same. I am wondering if
the problem is with docker, I have read that sysctl is not available in a
Container- we might need a workaround in that case.
--
Ticket URL: <https://trac.macports.org/ticket/62753#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list