Build error Tor Browser Android for F-Droid: printf
I try to compile Tor Browser Android with F-Droid, but hit a hard wall. Compiling according to the docs and without containers works in a fresh Debian 11 container. Running about the same commands with F-Droid build leads to a curious error message while trying to compile node. I tried the build process multiple times, even on a fresh bare-metal Debian 11 installation, with always the same error message. Here it is:
make[1]: printf: Argument list too long
The full logs can be found here (GitLab was not happy about the file size). And the F-Droid build script for these logs is here while the newest build script might be found in the branch.
My suspicion is that make calls the printf program and either make, the shell or printf is unhappy about the argument size. And the argument size might be bigger, because the absolute paths are in the F-Droid build longer, as they are done in /fdroiddata/build/org.torproject.torbrowser/...
.
Ping to tor-browser#27539