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

> Task :realm:configureCMakeDebug[arm64-v8a] FAILED, React Native 0.76 #6908

Closed
nigelrudolf opened this issue Oct 24, 2024 · 17 comments
Closed

Comments

@nigelrudolf
Copy link

nigelrudolf commented Oct 24, 2024

How frequently does the bug occur?

always

Description

Task :realm:configureCMakeDebug[arm64-v8a] FAILED
C/C : CMake Error at CMakeLists.txt:14 (add_library):
C/C : Target "realm-js-android-binding" links to target
C/C : "ReactAndroid::reactnativejni" but the target was not found. Perhaps
C/C : find_package() call is missing for an IMPORTED target, or an ALIAS target
C/C : is missing?
C/C : CMake Error at CMakeLists.txt:14 (add_library):
C/C : Target "realm-js-android-binding" links to target
C/C : "ReactAndroid::turbomodulejsijni" but the target was not found. Perhaps a
C/C : find_package() call is missing for an IMPORTED target, or an ALIAS target
C/C : is missing?
C/C : CMake Generate step failed. Build files cannot be regenerated correctly.

Stacktrace & log output

https://files.slack.com/files-pri/T4ZL804RH-F07TE3DRYRY/realm-error

Can you reproduce the bug?

Always

Reproduction Steps

npm run android

Version

12.13.1

What services are you using?

Local Database only

Are you using encryption?

Yes

Platform OS and version(s)

0.76.0

Build environment

Which debugger for React Native: ..
React Native DevTools

Cocoapods version

No response

Copy link

sync-by-unito bot commented Oct 24, 2024

➤ PM Bot commented:

Jira ticket: RJS-2911

@felipegmg
Copy link

same issue here!

@coder-xiaomo
Copy link

Same issue here, after upgrading from react-native 0.75.4 to 0.76

using [email protected]

> Task :realm:configureCMakeDebug[arm64-v8a]
C/C  : CMake Error at CMakeLists.txt:14 (add_library):
C/C  :   Target "realm-js-android-binding" links to target
C/C  :   "ReactAndroid::reactnativejni" but the target was not found.  Perhaps a
C/C  :   find_package() call is missing for an IMPORTED target, or an ALIAS target
C/C  :   is missing?
C/C  : CMake Error at CMakeLists.txt:14 (add_library):
C/C  :   Target "realm-js-android-binding" links to target
C/C  :   "ReactAndroid::turbomodulejsijni" but the target was not found.  Perhaps a
C/C  :   find_package() call is missing for an IMPORTED target, or an ALIAS target
C/C  :   is missing?
C/C  : CMake Generate step failed.  Build files cannot be regenerated correctly.

> Task :realm:configureCMakeDebug[arm64-v8a] FAILED

@kraenhansen kraenhansen self-assigned this Oct 25, 2024
@Jean-Diniz
Copy link

The same occurs for v20.0.0

@bhojaniasgar
Copy link

Also Facing this same Issue

Screenshot 2024-10-26 at 1 56 37 PM

@DiarraDah
Copy link

I also have the same error on Android but not on iOS with react-native: 0.76.0 and realm 20.0.0.

Any solution ?

@kraenhansen
Copy link
Member

@DiarraDah it's in the oven: #6912 🍞⏲️

@DevRedaKhalaf
Copy link

@DiarraDah it's in the oven: #6912 🍞⏲️

I'm still facing the same issue after the merge of your pull request, any advice?

@kraenhansen
Copy link
Member

@DevRedaKhalaf 🙈 it needs to be released as well.
Currently, battling a GitHub Actions outage: https://www.githubstatus.com/incidents/9yk1fbk0qjjc

@DevRedaKhalaf
Copy link

@DevRedaKhalaf 🙈 it needs to be released as well. Currently, battling a GitHub Actions outage: https://www.githubstatus.com/incidents/9yk1fbk0qjjc

OMG!
anyway, i appreciate your help and fast reply.

@kraenhansen
Copy link
Member

This should be fixed with Realm JS v12.13.2. Please take it for a spin and let me know if it works for you 👍

I appreciate y'alls patience on the turnaround of this one.

@driq
Copy link

driq commented Nov 4, 2024

Thanks @kraenhansen!

Any chance of this landing in Realm 20.x?

@kraenhansen
Copy link
Member

Any chance of this landing in Realm 20.x?

Sure - that's the idea 👍 As that will be the first release commits from v12 ported onto v20, I just have to figure out if I'd be merging main into community or do individual cherry-picks 🤔

@mgagna
Copy link

mgagna commented Nov 29, 2024

Any chance of this landing in Realm 20.x?

Sure - that's the idea 👍 As that will be the first release commits from v12 ported onto v20, I just have to figure out if I'd be merging main into community or do individual cherry-picks 🤔

Do you know if there is an ETA for the Realm 20.x update?
Should we downgrade to Realm 12.13.x?

@kraenhansen
Copy link
Member

@mgagna thanks for the nudge 🙂 It's cooking now: #6940

@kraenhansen
Copy link
Member

kraenhansen commented Dec 2, 2024

@mgagna it's released as v20.1.0

@mgagna
Copy link

mgagna commented Dec 3, 2024

Thanks @kraenhansen
I've updated it and confirmed it builds and works well ([email protected] and [email protected]).
I'll be happy to give you a nudge anytime you need one😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants