[MacPorts] #68424: py310-protobuf3 build failure (was: I reinstalled all for Sonoma but gcalcli error installing it. an option being used in a command does not exist)

MacPorts noreply at macports.org
Wed Oct 11 20:48:29 UTC 2023


#68424: py310-protobuf3 build failure
------------------------------+--------------------
  Reporter:  TresPorCiento    |      Owner:  (none)
      Type:  defect           |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:  duplicate        |   Keywords:
      Port:  py310-protobuf3  |
------------------------------+--------------------
Changes (by jmroot):

 * status:  new => closed
 * keywords:  Sonoma 14.0 =>
 * resolution:   => duplicate
 * port:  gcalcli => py310-protobuf3


Old description:

> port install gcalcli
>
> --->  Computing dependencies for gcalcli
> The following dependencies will be installed:
>  py310-google-api
>  py310-google-api-core
>  py310-googleapis-common-protos
>  py310-protobuf3
> Continue? [Y/n]: Y
> --->  Fetching archive for py310-protobuf3
> --->  Attempting to fetch py310-protobuf3-4.21.12_2.darwin_23.arm64.tbz2
> from https://packages.macports.org/py310-protobuf3
> --->  Attempting to fetch py310-protobuf3-4.21.12_2.darwin_23.arm64.tbz2
> from
> https://ywg.ca.packages.macports.org/mirror/macports/packages/py310-protobuf3
> --->  Attempting to fetch py310-protobuf3-4.21.12_2.darwin_23.arm64.tbz2
> from https://cph.dk.packages.macports.org/py310-protobuf3
> --->  Building py310-protobuf3
> Error: Failed to build py310-protobuf3: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> protobuf3/py310-protobuf3/main.log for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port gcalcli failed
>
> This is the problem that log shows...
> :info:build usage: python -m build [-h] [--version] [--sdist] [--wheel]
> [--outdir OUTDIR]
> :info:build                        [--skip-dependency-check] [--no-
> isolation]
> :info:build                        [--config-setting CONFIG_SETTING]
> :info:build                        [srcdir]
> :info:build python -m build: error: unrecognized arguments:
> --cpp_implementation
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> protobuf3/py310-protobuf3/work/protobuf-4.21.12/python" &&
> /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
> -m build --no-isolation --cpp_implementation --wheel --outdir
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> protobuf3/py310-protobuf3/work
> :info:build Exit code: 2
> :error:build Failed to build py310-protobuf3: command execution failed

New description:

 {{{
 port install gcalcli

 --->  Computing dependencies for gcalcli
 The following dependencies will be installed:
  py310-google-api
  py310-google-api-core
  py310-googleapis-common-protos
  py310-protobuf3
 Continue? [Y/n]: Y
 --->  Fetching archive for py310-protobuf3
 --->  Attempting to fetch py310-protobuf3-4.21.12_2.darwin_23.arm64.tbz2
 from https://packages.macports.org/py310-protobuf3
 --->  Attempting to fetch py310-protobuf3-4.21.12_2.darwin_23.arm64.tbz2
 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/py310-protobuf3
 --->  Attempting to fetch py310-protobuf3-4.21.12_2.darwin_23.arm64.tbz2
 from https://cph.dk.packages.macports.org/py310-protobuf3
 --->  Building py310-protobuf3
 Error: Failed to build py310-protobuf3: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 protobuf3/py310-protobuf3/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port gcalcli failed
 }}}
 This is the problem that log shows...
 {{{
 :info:build usage: python -m build [-h] [--version] [--sdist] [--wheel]
 [--outdir OUTDIR]
 :info:build                        [--skip-dependency-check] [--no-
 isolation]
 :info:build                        [--config-setting CONFIG_SETTING]
 :info:build                        [srcdir]
 :info:build python -m build: error: unrecognized arguments:
 --cpp_implementation
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 protobuf3/py310-protobuf3/work/protobuf-4.21.12/python" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
 -m build --no-isolation --cpp_implementation --wheel --outdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 protobuf3/py310-protobuf3/work
 :info:build Exit code: 2
 :error:build Failed to build py310-protobuf3: command execution failed
 }}}

--

Comment:

 #68397

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


More information about the macports-tickets mailing list