[SERVER-57084] MSI construction must depend on PDB installation Created: 20/May/21  Updated: 29/Oct/23  Resolved: 02/Jun/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.7, 5.0.0-rc2, 5.1.0-rc0

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

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0, v4.4
Sprint: Dev Platform 2021-05-31, Dev Platform 2021-06-14
Participants:
Linked BF Score: 27

 Description   

We declare dependencies on the installation of the executables we need for MSI construction here:

https://github.com/mongodb/mongo/blob/c1e603921ceba1c55d32b7978323cdc3261c7192/src/mongo/installer/msi/SConscript#L168-L181

But we don't declare dependencies on the PDB installation. That can allow MSI construction to happen before SCons has copied the PDBs into the install directory.

We should declare dependencies on the PDBs as well, or consider changing the explicit dependencies to declare a dependency on a hygienic builds install alias.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 15/Jun/21 ]

Author:

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

Message: SERVER-57084 Use auto install Alias names to express MSI binary and debug dependencies

(cherry picked from commit facee04a59eae18b8d61d6c9e1d35c4f218b53d1)
(cherry picked from commit 63569e3795cc95e7b94d6e95cff7525c7280f874)
Branch: v4.4
https://github.com/mongodb/mongo/commit/2afc2445f5b1c74dd62799b3e8ffe8179934c40a

Comment by Githook User [ 15/Jun/21 ]

Author:

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

Message: SERVER-57084 Use auto install Alias names to express MSI binary and debug dependencies

(cherry picked from commit facee04a59eae18b8d61d6c9e1d35c4f218b53d1)
Branch: v5.0
https://github.com/mongodb/mongo/commit/63569e3795cc95e7b94d6e95cff7525c7280f874

Comment by Githook User [ 02/Jun/21 ]

Author:

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

Message: SERVER-57084 Use auto install Alias names to express MSI binary and debug dependencies
Branch: master
https://github.com/mongodb/mongo/commit/facee04a59eae18b8d61d6c9e1d35c4f218b53d1

Generated at Thu Feb 08 05:40:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.