Hi
I want to setup a dev environment to build the android app.
I tried to build the native part with gradle but there are compilation problems
./gradlew --scan buildNative assembleDebug
Configure project :app Signing not ready. Did you specify a signingConfig for the variation Release?
Task syncthing:buildNative FAILED Starting build for arm
Building Syncthing
`# runtime/cgo
In file included from gcc_libinit.c:8:
In file included from /home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/pthread.h:37:
In file included from /home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/time.h:33: In file included from /home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/sys/time.h:37:
In file included from /home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/sys/select.h:36:
/home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/signal.h:96:18: error: expected ‘;’ at end of declaration list
/home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/asm/signal.h:85:22: note: expanded from macro ‘sa_handler’
In file included from gcc_libinit.c:8:
In file included from /home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/pthread.h:37:
In file included from /home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/time.h:33:
In file included from /home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/sys/time.h:37:
In file included from /home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/sys/select.h:36:
/home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/signal.h:97:12: error: expected ‘)’
/home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/asm/signal.h:86:24: note: expanded from macro ‘sa_sigaction’
/home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/signal.h:97:10: note: to match this ‘(’
/home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/signal.h:97:12: error: duplicate member ‘_u’
/home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/asm/signal.h:86:22: note: expanded from macro ‘sa_sigaction’
/home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin/…/sysroot/usr/include/signal.h:96:18: note: previous declaration is here
/home/jaoh/git/syncthing-android/syncthing/gobuild/standalone-ndk/android-14-arm/bin /…/sysroot/usr/include/asm/signal.h:85:20: note: expanded from macro ‘sa_handler’ `
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ‘syncthing:buildNative’. Process ‘command ‘./build-syncthing.bash’’ finished with non-zero exit value 2
BUILD FAILED in 48s 1 actionable task: 1 executed
is this a knowen mistake on my side or is the build broken ?