Jitsi Meet build recipe does not work
Despite all effort, the Jitsi Meet build recipe at https://gitlab.com/mvglasow/fdroiddata/blob/jitsimeet/metadata/org.jitsi.meet.txt does not seem to work.
Originally I installed Node.js from the official PPA, but build would fail with the following error:
* Where:
Build file '/builds/mvglasow/Navit-fdroid/fdroiddata/build/org.jitsi.meet/android/build.gradle' line: 73
* What went wrong:
A problem occurred configuring project ':react-native-background-timer'.
> Failed to notify project evaluation listener.
> /builds/mvglasow/Navit-fdroid/fdroiddata/build/org.jitsi.meet/node_modules/react-native-background-timer/package.json (No such file or directory)
I followed other React Native-based build recipes suggested by @Rudloff, installing Node.js from an archive, but npm install
fails due to insufficient permissions unless run with sudo. After I run it with sudo, build throws the same error as above.
The CI environment used was this: https://gitlab.com/mvglasow/Navit-fdroid/tree/jitsimeet-mvglasow It was built from an earlier project by tryagain from the Navit project and works for the current Navit build recipe I submitted a few days ago. Note that the environment invokes fdroid build --on-server
so the sudo commands can run, which has the side effect of fdroid deleting the sudo
package after these commands have run—if any of the later build steps tries to invoke sudo
, that is bound to fail.