[MacPorts] #69186: mongodb: build failed in Sonoma 14.2.1

MacPorts noreply at macports.org
Thu Jan 25 17:04:11 UTC 2024


#69186: mongodb: build failed in Sonoma 14.2.1
--------------------------+------------------------
  Reporter:  josemgarcia  |      Owner:  ryandesign
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.9.0
Resolution:               |   Keywords:
      Port:  mongodb      |
--------------------------+------------------------

Old description:

> I have tried to install mongodb in Sonoma 14.2.1 (Xcode version 15.2)
> without luck. I have also tried to install previous versions of the port,
> including the last 5.x and the result is the same. It fails when building
> just giving this info:
>
> --->  Building mongodb
> Error: Failed to build mongodb: 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

New description:

 I have tried to install mongodb in Sonoma 14.2.1 (Xcode version 15.2)
 without luck. I have also tried to install previous versions of the port,
 including the last 5.x and the result is the same. It fails when building
 just giving this info:

 {{{
 --->  Building mongodb
 Error: Failed to build mongodb: 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
 }}}

--

Comment (by ryandesign):

 The log says:
 {{{
 :info:build C++ compiler /usr/bin/clang++ can't link C++ programs
 :info:build See
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mongodb/mongodb/work
 /mongodb-src-r6.0.7/build/scons/config.log for details
 }}}
 Could you attach that config.log file?

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


More information about the macports-tickets mailing list