Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: compilation of vscode-encrypt for darwin arm64 #154762

Merged
merged 1 commit into from
Jul 12, 2022
Merged

Conversation

deepak1556
Copy link
Collaborator

@deepak1556 deepak1556 commented Jul 11, 2022

Current Insiders still ships a broken version of the vscode-encrypt native module for macOS arm64,

% nm -g /Applications/Visual\ Studio\ Code\ -\ Insiders.app/Contents/Resources/app/node_modules.asar.unpacked/vscode-encrypt/build/Release/vscode-encrypt-native.node | grep _openssl_fopen

From local build of latest vscode-encrypt

% nm -g ./build/Release/vscode-encrypt-native.node | grep _openssl_fopen
00000000000dc740 T _openssl_fopen

Fixes #152964

/cc @TylerLeonhardt

@deepak1556 deepak1556 self-assigned this Jul 11, 2022
@deepak1556 deepak1556 added this to the July 2022 milestone Jul 11, 2022
@deepak1556
Copy link
Collaborator Author

@deepak1556
Copy link
Collaborator Author

Openssl is built for the wrong architecture in CI due to cross compilation

Configuring OpenSSL version 1.1.1n (0x101010efL) for darwin64-x86_64-cc

@deepak1556 deepak1556 changed the title chore: update build cache fix: compilation of vscode-encrypt for darwin arm64 Jul 12, 2022
@deepak1556
Copy link
Collaborator Author

Verified with

Screenshot 2022-07-12 184817

@deepak1556 deepak1556 marked this pull request as ready for review July 12, 2022 09:48
@deepak1556 deepak1556 enabled auto-merge (squash) July 12, 2022 09:49
@deepak1556 deepak1556 merged commit 02d648f into main Jul 12, 2022
@deepak1556 deepak1556 deleted the robo/fix_nm_build branch July 12, 2022 10:00
@Dids
Copy link

Dids commented Jul 12, 2022

@deepak1556 Curious why this fix was made only for the darwin build but not for darwin-universal?

I'm definitely seeing this keychain issue across both macOS builds on macOS Ventura, but I also have no idea when this fix will go live with a new insiders build, or if it should even be affecting the universal builds or not.

@deepak1556
Copy link
Collaborator Author

Fix for arm64 also addresses the issue for universal, the fix will be be available with tomorrow's insider.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot persist / load GitHub Authentication SignIn Token to macOS Ventura Beta 2 Keychain
3 participants