build, android: make apk fails if depends source cache is in a non-default location #22522

issue achow101 openend this issue on July 22, 2021
  1. achow101 commented at 0:24 am on July 22, 2021: member

    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.

  2. achow101 added the label Bug on Jul 22, 2021
  3. fanquake added the label Build system on Jul 22, 2021
  4. dongcarl commented at 1:15 am on July 22, 2021: contributor
    Seems like depends should define QT_BASE_PATH in config.site instead?
  5. hebasto commented at 12:23 pm on July 26, 2021: member

    @achow101 @dongcarl

    Do you mind testing a fix in #22555?

  6. hebasto commented at 9:18 am on June 2, 2024: member
    This can be closed as builds for Android are not possible in the master branch.
  7. fanquake closed this on Jun 2, 2024


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-07-03 10:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me