[COMPASS-6041] x64 macOS crypt shared library is included in M1 builds Created: 22/Aug/22  Updated: 29/Oct/23  Resolved: 22/Aug/22

Status: Closed
Project: Compass
Component/s: Field Level Encryption, Packaging
Affects Version/s: None
Fix Version/s: 1.33.0

Type: Bug Priority: Major - P3
Reporter: Anna Henningsen Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 2
Documentation Changes: Not Needed
Sprint: Iteration Isopod

 Description   

m1 ➜  ~ file '/Applications/MongoDB Compass Beta.app/Contents/Resources/app.asar.unpacked/build/assets/mongo_crypt_v1.f7290447a81e1def9d9d.dylib'
/Applications/MongoDB Compass Beta.app/Contents/Resources/app.asar.unpacked/build/assets/mongo_crypt_v1.f7290447a81e1def9d9d.dylib: Mach-O 64-bit dynamically linked shared library x86_64

discovered by alena.khineika@mongodb.com on 1.33.0-beta.5

maybe related to the additions we made to the hadron-build package for M1 support where we don’t use process.arch for determining architecture on M1: https://github.com/mongodb-js/compass/pull/3269/files#diff-18e78477517ef092a91ecbad3621a81706ec937fa7469073a82d1bb0594be565R118



 Comments   
Comment by Githook User [ 28/Sep/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix(compass): adjust crypt shared library download script for M1 builds COMPASS-6041 (#3374)
Branch: update-compass-shell-to-shared-config
https://github.com/mongodb-js/compass/commit/abd65a86d4a278289a74c9dd13cdafc70f2dfeef

Comment by Githook User [ 31/Aug/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix(compass): adjust crypt shared library download script for M1 builds COMPASS-6041 (#3374)
Branch: 1.33-releases
https://github.com/mongodb-js/compass/commit/abd65a86d4a278289a74c9dd13cdafc70f2dfeef

Comment by Githook User [ 30/Aug/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix(compass): adjust crypt shared library download script for M1 builds COMPASS-6041 (#3374)
Branch: compass-settings
https://github.com/mongodb-js/compass/commit/abd65a86d4a278289a74c9dd13cdafc70f2dfeef

Comment by Githook User [ 26/Aug/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix(compass): adjust crypt shared library download script for M1 builds COMPASS-6041 (#3374)
Branch: connection-info-modal
https://github.com/mongodb-js/compass/commit/abd65a86d4a278289a74c9dd13cdafc70f2dfeef

Comment by Githook User [ 22/Aug/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix(compass): adjust crypt shared library download script for M1 builds COMPASS-6041 (#3374)
Branch: main
https://github.com/mongodb-js/compass/commit/abd65a86d4a278289a74c9dd13cdafc70f2dfeef

Generated at Wed Feb 07 22:41:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.