When building the Android dependencies and SOURCES_PATH
is set to a non-default location (i.e. not in the depends directory), doing make apk
results in the following error:
0find: ‘../depends/sources/’: No such file or directory
1find: ‘../depends/sources/’: No such file or directory
2tar: --exclude=*/*: Cannot open: No such file or directory
3tar: Error is not recoverable: exiting now
4find: ‘../depends/sources/’: No such file or directory
5find: ‘../depends/sources/’: No such file or directory
6tar: --exclude=*/*: Cannot open: No such file or directory
7tar: Error is not recoverable: exiting now
8find: ‘../depends/sources/’: No such file or directory
9find: ‘../depends/sources/’: No such file or directory
10tar: --exclude=*/*: Cannot open: No such file or directory
11tar: Error is not recoverable: exiting now
It seems like the culprit is https://github.com/bitcoin/bitcoin/blob/a3791da0e80ab35e862989373f033e5be4dff26b/src/Makefile.qt.include#L385-L387 which is looking for files in the default depends sources path.