[SERVER-29420] Tools build needs to specify OpenSSL header path via CGO_CPPFLAGS Created: 01/Jun/17  Updated: 30/Oct/23  Resolved: 05/Jun/17

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.0.16, 3.2.14, 3.4.5, 3.5.9

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4, v3.2, v3.0
Sprint: Platforms 2017-06-19
Participants:

 Description   

We updated master to use the toolchain SSL headers when building the server, but we did not tell cgo where to find those headers during the tools build. We need to do this, or the build will fail when run on a macOS 10.12 machine where the system SSL headers are not present.



 Comments   
Comment by Githook User [ 06/Jun/17 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-29420 Use SSL headers from toolchain when building tools on OS X

(cherry picked from commit 2accdb583a33a32d1adbb99c4905bd53c20d3f7d)
Branch: v3.0
https://github.com/mongodb/mongo/commit/5441f9de6ffcde3ce46ef7af5d00ea7c951142b9

Comment by Githook User [ 06/Jun/17 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-29420 Use SSL headers from toolchain when building tools on OS X

(cherry picked from commit 2accdb583a33a32d1adbb99c4905bd53c20d3f7d)
Branch: v3.2
https://github.com/mongodb/mongo/commit/f2847a6ecf6bf0ca5b2a2b6e248466680d1290de

Comment by Githook User [ 05/Jun/17 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-29420 Use SSL headers from toolchain when building tools on OS X

(cherry picked from commit 2accdb583a33a32d1adbb99c4905bd53c20d3f7d)
Branch: v3.4
https://github.com/mongodb/mongo/commit/17334c154308b7b2fef687c5cb627978241707f8

Comment by Githook User [ 05/Jun/17 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-29420 Use SSL headers from toolchain when building tools on OS X
Branch: master
https://github.com/mongodb/mongo/commit/2accdb583a33a32d1adbb99c4905bd53c20d3f7d

Generated at Thu Feb 08 04:20:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.