Opened 6 years ago
Closed 6 years ago
#57348 closed defect (fixed)
mongodb @4.0.3: error: no member named 'SSLCopyRequestedPeerNameLength' in the global namespace
Reported by: | dbl001 (dbl) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | elcapitan | Cc: | |
Port: | mongodb |
Description (last modified by mf2k (Frank Schima))
I got an error building mogodb.
OS X 10.11.6 $ port version Version: 2.5.4
E.g. from /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mongodb/mongodb/main.log: info:build src/mongo/util/net/ssl_manager_apple.cpp:969:25: error: no member named 'SSLCopyRequestedPeerNameLength' in the global namespace :info:build auto status = ::SSLCopyRequestedPeerNameLength(_ssl.get(), &len); :info:build ~~^ :info:build src/mongo/util/net/ssl_manager_apple.cpp:975:20: error: no member named 'SSLCopyRequestedPeerName' in the global namespace ---> Computing dependencies for mongodb ---> Fetching archive for mongodb ---> Attempting to fetch mongodb-4.0.3_0.darwin_15.x86_64.tbz2 from https://packages.macports.org/mongodb ---> Attempting to fetch mongodb-4.0.3_0.darwin_15.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/mongodb ---> Attempting to fetch mongodb-4.0.3_0.darwin_15.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/mongodb ---> Fetching distfiles for mongodb ---> Attempting to fetch mongodb-src-r4.0.3.tar.gz from https://fastdl.mongodb.org/src ---> Verifying checksums for mongodb ---> Extracting mongodb ---> Configuring mongodb ---> 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_release_tarballs_ports_databases_mongodb/mongodb/main.log for details.
Attachments (2)
Change History (10)
Changed 6 years ago by dbl001 (dbl)
comment:1 Changed 6 years ago by mf2k (Frank Schima)
comment:2 Changed 6 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | mongodb removed |
Owner: | set to ryandesign |
Port: | mongodb added |
Status: | new → assigned |
comment:3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | elcapitan added |
---|---|
Summary: | Error: Failed to build mongodb: command execution failed → mongodb @4.0.3: error: no member named 'SSLCopyRequestedPeerNameLength' in the global namespace |
Hmm. Apple documentation says those symbols are available on 10.11 and later, and they do appear to be defined in the 10.11 SDK. Not sure why they're not found. I'll have to investigate further and/or report it to the developers.
comment:5 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
No, not yet: https://jira.mongodb.org/browse/SERVER-37640
Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | mongodb-10.11.patch added |
---|
comment:6 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
In the upstream ticket we've figured out why this is happening. I've attached the patch I'm testing, if you want to try it too.
comment:7 Changed 6 years ago by dbl001 (dbl)
I had to installld64, then everything worked. E.g.
$ sudo port install ld64 +ld64_xcode
comment:8 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In the future, please use WikiFormatting, fill in the Port field and add the port maintainer(s) to Cc (
port info --maintainers mongodb
), if any.