-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 android builds: update hermes commit hash #7781
Conversation
android build fails with xcode 15 command line tools. ``` node_modules/react-native/sdks/hermes/lib/Support/Semaphore.cpp:35:3: error: use of undeclared identifier 'assert' assert(semPtr_ != nullptr && "sem_open should have succeeded"); ^ 1 error generated. make[3]: *** [lib/Support/CMakeFiles/hermesSupport.dir/Semaphore.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [lib/Support/CMakeFiles/hermesSupport.dir/all] Error 2 make[1]: *** [tools/hermesc/CMakeFiles/hermesc.dir/rule] Error 2 make: *** [hermesc] Error 2 ``` `#include <cassert>` is needed to bring assert implementation See changes on our hermes fork MetaMask/hermes@52725e8
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah thought i was the only one!
originally ran into this ~1mo ago on Xcode 14.2 thinking it was SES
then realising it's happening locally too on main
- but CI somehow passing?
so till now been bypassing our custom build locally as temp fix
android build fails with xcode 15 command line tools.
so can confirm was happening on xcode 14 cli tools too
still not 100% what the exact cause was 1 month ago if you have a better idea
but the fix makes sense, thanks for tackling this
and wondering what we can do to anticipate our custom fork breaking android in future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jpcloureiro I was able to build android locally using yarn start:android
from this branch.
LGTM
E2E test started on Bitrise: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/c0b4ec1b-a317-4cc9-b53e-e9d19443377a |
Description
Patch file update breaks GH diff. Line 92 is the only change made.
android build fails with xcode 15 command line tools.
#include <cassert>
is needed to bring assert implementationSee changes on our hermes fork
MetaMask/hermes@52725e8
Related issues
Fixes: #
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist