#68424 closed defect (duplicate)

py310-protobuf3 build failure

Reported by: TresPorCiento Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py310-protobuf3

Description (last modified by jmroot (Joshua Root))

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

Attachments (1)

main.log (170.4 KB) - added by TresPorCiento 13 months ago.
Log

Download all attachments as: .zip

Change History (3)

Changed 13 months ago by TresPorCiento

Attachment: main.log added

Log

comment:1 Changed 13 months ago by TresPorCiento

I am running on a M1 iMac with Sonoma 14. I downloaded the new MacPorts base as port command instructed me. I use to run al the reinstall process coz I have been upgrading my Mac during these years. First time I see this issue with a port running this process. Seems the install process is using a deprecated option.

python -m build: error: unrecognized arguments: --cpp_implementation

comment:2 Changed 13 months ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: Sonoma 14.0 removed
Port: py310-protobuf3 added; gcalcli removed
Resolution: duplicate
Status: newclosed
Summary: I reinstalled all for Sonoma but gcalcli error installing it. an option being used in a command does not existpy310-protobuf3 build failure
Note: See TracTickets for help on using tickets.