F-Droid build failed 1.21.0.3 / Downgrade NDK r25b > r24 / python(3)?
See original GitHub issueDescription of the issue
# github.com/syncthing/syncthing/cmd/syncthing
/home/vagrant/build/syncthing-android-prereq/go_1.19.1/pkg/tool/linux_amd64/link: running /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi19-clang failed: exit status 1
clang-14: error: unable to execute command: posix_spawn failed: Exec format error
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
exit status 2
exit status 1
Traceback (most recent call last):
File "./build-syncthing.py", line 385, in <module>
] + ['-no-upgrade', 'build'], env=environ, cwd=syncthing_dir)
File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.19.1/bin/go', 'run', 'build.go', '-goos', 'android', '-goarch', 'arm', '-cc', '/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi19-clang', '-version', u'v1.21.0', '-no-upgrade', 'build']' returned non-zero exit status 1
https://monitor.f-droid.org/builds/log/com.github.catfriend1.syncthingandroid/1210003#site-footer
Could you please take a look? Thanks!
Issue Analytics
- State:
- Created a year ago
- Comments:15 (9 by maintainers)
Top Results From Across the Web
WSL1 NDK r25 clang-14: cannot execute binary file ... - GitHub
android -ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-12 -v Andr.. ... F-Droid build failed 1.21.0.3 / Downgrade NDK r25b > r24 ...
Read more >syncthing-android - bytemeta
syncthing-android repo issues. ... F-Droid build failed 1.21.0.3 / Downgrade NDK r25b > r24 / python(3)?. tidux. tidux CLOSED · Updated 4 weeks...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Got the same problem too on my Debian builder. I wonder what’s the root cause here as it builds fine under Windows.
Thanks!