jitsi-meet: F-Droid can't build - non-FOSS libs
ERROR: Found usual suspect 'firebase' at node_modules/react-native-device-info/android/build.gradle
ERROR: Found usual suspect 'google.*play.*services' at node_modules/react-native-device-info/android/build.gradle
ERROR: Found unknown maven repo '$rootDir/../node_modules/react-native/android' at node_modules/react-native-device-info/android/build.gradle
An odd little dependency that blocks other apps too iirc, apparently without closed source Google Services apps can’t just find out 2-3 properties about the device they run on. 🙁
Can that be fenced off since it’s used (only) by Amplitude tracking and we don’t need that in F-Droid anyway?
2021-01-07 12:13:17,532 DEBUG: buildserver > error Unable to resolve module `react-native-device-info` from `node_modules/amplitude-js/amplitude.native.js`: react-native-device-info could not be found within the project.
2021-01-07 12:13:17,533 DEBUG: buildserver >
2021-01-07 12:13:17,533 DEBUG: buildserver > Error: Unable to resolve module `react-native-device-info` from `node_modules/amplitude-js/amplitude.native.js`: react-native-device-info could not be found within the project.
2021-01-07 12:13:17,533 DEBUG: buildserver > If you are sure the module exists, try these steps:
2021-01-07 12:13:17,533 DEBUG: buildserver > 1. Clear watchman watches: watchman watch-del-all
2021-01-07 12:13:17,533 DEBUG: buildserver >
2021-01-07 12:13:17,534 DEBUG: buildserver > 2. Delete node_modules: rm -rf node_modules and run yarn install
2021-01-07 12:13:17,534 DEBUG: buildserver > If you are sure the module exists, try these steps:
2021-01-07 12:13:17,534 DEBUG: buildserver > 3. Reset Metro's cache: yarn start --reset-cache
2021-01-07 12:13:17,534 DEBUG: buildserver > 1. Clear watchman watches: watchman watch-del-all
2021-01-07 12:13:17,534 DEBUG: buildserver > 4. Remove the cache: rm -rf /tmp/metro-*. Run CLI with --verbose flag for more details.
2021-01-07 12:13:17,535 DEBUG: buildserver > 2. Delete node_modules: rm -rf node_modules and run yarn install
2021-01-07 12:13:17,535 DEBUG: buildserver > 3. Reset Metro's cache: yarn start --reset-cache
2021-01-07 12:13:17,535 DEBUG: buildserver > 4. Remove the cache: rm -rf /tmp/metro-*
2021-01-07 12:13:17,535 DEBUG: buildserver > at ModuleResolver.resolveDependency (/home/vagrant/build/org.jitsi.meet/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:186:15)
2021-01-07 12:13:17,536 DEBUG: buildserver > at ResolutionRequest.resolveDependency (/home/vagrant/build/org.jitsi.meet/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:52:18)
2021-01-07 12:13:17,536 DEBUG: buildserver > at DependencyGraph.resolveDependency (/home/vagrant/build/org.jitsi.meet/node_modules/metro/src/node-haste/DependencyGraph.js:282:16)
2021-01-07 12:13:17,536 DEBUG: buildserver > at Object.resolve (/home/vagrant/build/org.jitsi.meet/node_modules/metro/src/lib/transformHelpers.js:267:42)
2021-01-07 12:13:17,536 DEBUG: buildserver > at dependencies.map.result (/home/vagrant/build/org.jitsi.meet/node_modules/metro/src/DeltaBundler/traverseDependencies.js:426:31)
2021-01-07 12:13:17,536 DEBUG: buildserver > at Array.map (<anonymous>)
2021-01-07 12:13:17,537 DEBUG: buildserver > at resolveDependencies (/home/vagrant/build/org.jitsi.meet/node_modules/metro/src/DeltaBundler/traverseDependencies.js:423:18)
2021-01-07 12:13:17,537 DEBUG: buildserver > at /home/vagrant/build/org.jitsi.meet/node_modules/metro/src/DeltaBundler/traverseDependencies.js:275:33
2021-01-07 12:13:17,537 DEBUG: buildserver > at Generator.next (<anonymous>)
2021-01-07 12:13:17,537 DEBUG: buildserver > at asyncGeneratorStep (/home/vagrant/build/org.jitsi.meet/node_modules/metro/src/DeltaBundler/traverseDependencies.js:87:24)
2021-01-07 12:13:17,538 DEBUG: buildserver >
2021-01-07 12:13:17,538 DEBUG: buildserver > > Task :sdk:bundleReleaseJsAndAssets FAILED
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (20 by maintainers)
Commits related to this issue
- fix(libre-build) skip spurious Firebase and GCM dependencies Fixes: https://github.com/jitsi/jitsi-meet/issues/8353 — committed to saghul/jitsi-meet by saghul 3 years ago
- fix(libre-build) skip spurious Firebase and GCM dependencies Fixes: https://github.com/jitsi/jitsi-meet/issues/8353 — committed to saghul/jitsi-meet by saghul 3 years ago
- fix(libre-build) skip spurious Firebase and GCM dependencies Fixes: https://github.com/jitsi/jitsi-meet/issues/8353 — committed to saghul/jitsi-meet by saghul 3 years ago
- fix(libre-build) skip spurious Firebase and GCM dependencies Fixes: https://github.com/jitsi/jitsi-meet/issues/8353 — committed to jitsi/jitsi-meet by saghul 3 years ago
- fix(libre-build) skip spurious Firebase and GCM dependencies Fixes: https://github.com/jitsi/jitsi-meet/issues/8353 — committed to saghul/jitsi-meet by saghul 3 years ago
- fix(libre-build) skip spurious Firebase and GCM dependencies Fixes: https://github.com/jitsi/jitsi-meet/issues/8353 — committed to jitsi/jitsi-meet by saghul 3 years ago
- fix(libre-build) skip spurious Firebase and GCM dependencies Fixes: https://github.com/jitsi/jitsi-meet/issues/8353 — committed to HoppFoundation/jitsi-meet by saghul 3 years ago
- Jitsi sync up (#17) * add systemd to letsencrypt installer (#8289) * add systemd to letsencrypt * Better readability of systemd change Co-authored-by: Sebastian Feustel <sebastian.feustel@a... — committed to Trinary-Projects/jitsi-meet by Amansingla97 3 years ago
FYI https://gitlab.com/fdroid/fdroiddata/-/merge_requests/8115
https://github.com/react-native-device-info/react-native-device-info/pull/1156 should fix it, I’ll pull the new release once it’s merged upstream.
I see. I opened https://github.com/react-native-device-info/react-native-device-info/issues/1149 – I think the fix is not very complex.