#69186 closed defect (fixed)
mongodb: C++ compiler /usr/bin/clang++ can't link C++ programs
Reported by: | josemgarcia (José María García) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.0 |
Keywords: | Cc: | ||
Port: | mongodb |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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
Attachments (2)
Change History (6)
Changed 10 months ago by josemgarcia (José María García)
comment:1 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
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?
Changed 10 months ago by josemgarcia (José María García)
Attachment: | config.log added |
---|
config.log file mentioned in the build error
comment:2 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)
Status: | assigned → accepted |
---|---|
Summary: | mongodb: build failed in Sonoma 14.2.1 → mongodb: C++ compiler /usr/bin/clang++ can't link C++ programs |
This is a new problem as of Xcode 15 due to the new linker it uses. I've reported the bug to the developers: https://jira.mongodb.org/browse/SERVER-85763
comment:3 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:4 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)
Note: See
TracTickets for help on using
tickets.
Build log file mentioned in the error message