Opened 3 months ago
Last modified 4 weeks ago
#67746 assigned defect
mongodb @6.0.5: fails to install on macOS Ventura (Apple M2 Pro)
Reported by: | klmr (Konrad Rudolph) | Owned by: | ryandesign (Ryan Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | ventura arm64 | Cc: | drawlusyk |
Port: | mongodb |
Description
Attempting to install the mongodb port fails (including after performing sudo port clean mongodb
) with the following error:
Error: Failed to configure mongodb: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mongodb/mongodb/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port mongodb failed
If I understand correctly, the relevant error inside the build log is:
LookupError: file:///opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mongodb/mongodb/work/distfiles/setuptools-67.0.0.tar.gz is already being built: setuptools>=40.8.0 from file:///opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mongodb/mongodb/work/distfiles/setuptools-67.0.0.tar.gz
The full build log is attached.
Attachments (1)
Change History (5)
Changed 3 months ago by klmr (Konrad Rudolph)
comment:1 Changed 3 months ago by ryandesign (Ryan Schmidt)
Cc: | ryandesign removed |
---|---|
Owner: | set to ryandesign |
Status: | new → assigned |
comment:2 Changed 2 months ago by ryandesign (Ryan Schmidt)
Cc: | drawlusyk added |
---|
Has duplicate #67886.
If anyone knows what the problem is, please let me know. I'm not able to understand Python error output.
I know the port is outdated so I will need to update it and deal with this issue then.
comment:3 Changed 4 weeks ago by mohd-akram (Mohamed Akram)
This is an issue with pip. I've created a ticket.
comment:4 Changed 4 weeks ago by mohd-akram (Mohamed Akram)
The pip issue is related to a change that caused widespread breakage. The wheel package is now required to install anything, but the version in the Portfile seemed to have a circular dependency on setuptools. The issue is resolved by updating the wheel dependency to the next newer version:
wheel-0.40.0.tar.gz \ rmd160 1df635f1a5dc250e096385eca68f0b8c6e5b3472 \ sha256 cd1196f3faee2b31968d626e1731c94f99cbdb67cf5a46e4f5656cbee7738873 \ size 96226
Hmm, we had successful builds of this port on our automated build machines on Ventura on arm64 and on all other supported OS versions when it was originally updated to 6.0.5. I'm not sure what would have changed since then. I don't know a lot about the python module build process that was going on at the time of the error you saw.