[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 06:49:03 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:
 Keywords:               |       Port:
-------------------------+--------------------
 I am generating the PortIndex on linux using the following command

 `portindex -p macosx_19_i386`

 But for certain ports, I am getting issues related to sysctl


 {{{
 Warning: Failed to open old entry for python/py-tensorflow, making a new
 one
 Adding port python/py-tensorflow
 Failed to parse file python/py-tensorflow/Portfile with subport
 'py37-tensorflow': can't read "bazel.build_opts": sysctl not available
 Failed to parse file python/py-tensorflow/Portfile with subport
 'py38-tensorflow': can't read "bazel.build_opts": sysctl not available
 Failed to parse file python/py-tensorflow/Portfile with subport
 'py39-tensorflow': can't read "bazel.build_opts": sysctl not available
 }}}

 Another type of errors encountered are:


 {{{
 Failed to parse file math/pari/Portfile: sysctl not available
 }}}


 I am running MacPorts using a Docker container on Ubuntu 20.0.4. The build
 was done using latest source code from macports-base repo.

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


More information about the macports-tickets mailing list