[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:12:53 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 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 would probably help if Joshua or someone else looks into this.

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


More information about the macports-tickets mailing list