Error during build 0.12 #9629

issue ghost opened this issue on January 25, 2017
  1. ghost commented at 2:41 PM on January 25, 2017: none
    ./bin/gbuild:21:in `system!': failed to run on-target setarch x86_64 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError)
            from ./bin/gbuild:149:in `build_one_configuration'
            from ./bin/gbuild:285:in `block (2 levels) in <main>'
            from ./bin/gbuild:280:in `each'
            from ./bin/gbuild:280:in `block in <main>'
            from ./bin/gbuild:278:in `each'
            from ./bin/gbuild:278:in `<main>'
    
    debian@debian:~/gitian-builder$ tail -f var/build.log
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to samba.org port 80: Connection refused
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    curl: (22) The requested URL returned error: 404 Not Found
    make: *** [/home/ubuntu/cache/common/download-stamps/.stamp_fetched-native_ccache-ccache-3.2.4.tar.bz2.hash] Error 22
    make: Leaving directory `/home/ubuntu/build/bitcoin/depends'
    
    
  2. MarcoFalke commented at 8:18 PM on January 25, 2017: member

    ccache might not be the only dependency link which broke. I think qt moves their releases into an /archives/ subfolder when they are no longer supported, which breaks links as well.

  3. ghost commented at 8:35 PM on January 25, 2017: none

    :(

  4. MarcoFalke commented at 8:55 PM on January 25, 2017: member

    It should be easy to fix if you find the right location. Make sure to edit it here https://github.com/bitcoin/bitcoin/blob/c1b7421781b7a53485c6db4a6005a80e32267c9f/depends/packages/qt.mk#L3 and submit a patch to our branch.

    ​Please also note that maintenance end for 0.12 is when 0.14.0 is released according to https://bitcoincore.org/en/lifecycle/

    On Wed, Jan 25, 2017 at 9:36 PM, SHI notifications@github.com wrote:

    :(

    — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bitcoin/bitcoin/issues/9629#issuecomment-275225416, or mute the thread https://github.com/notifications/unsubscribe-auth/AGGmvw6AqL9s-VnHAWzWs3wLsXa2ZswKks5rV7I8gaJpZM4Ltj3u .

  5. theuni commented at 3:14 AM on January 26, 2017: member

    ccache is the first dependency downloaded. I would say it's more likely that @DATSEC is building with LXC and there's no network support in the guest. @DATSEC Please try again without skipping the optional "make download" step.

  6. laanwj added the label Build system on Jan 26, 2017
  7. laanwj commented at 9:32 AM on January 26, 2017: member

    I would say it's more likely that @DATSEC is building with LXC and there's no network support in the guest.

    But would it give 404 Not Found in that case?

  8. MarcoFalke commented at 10:03 AM on January 26, 2017: member

    Just verified that you need to call make download @DATSEC .

    Though, I still get the 404 for qt:

    Fetching qt...
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    curl: (22) The requested URL returned error: 404 Not Found
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    curl: (22) The requested URL returned error: 404 Not Found
    make[1]: *** [/root/bitcoin/depends/sources/download-stamps/.stamp_fetched-qt-qtbase-opensource-src-5.5.0.tar.gz.hash] Error 22
    make: *** [download-osx] Error 2
    
  9. MarcoFalke added this to the milestone 0.12.branch on Jan 26, 2017
  10. ghost commented at 12:08 PM on January 26, 2017: none

    @theuni I collected all the versions, starting with version 0.12 and below shows the error

  11. MarcoFalke commented at 8:49 PM on January 26, 2017: member

    @DATSEC You can try to populate the depends cache manually for gitian as a workaround if you need that: https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md#optional-seed-the-gitian-sources-cache-and-offline-git-repositories

  12. ghost commented at 1:50 PM on January 27, 2017: none

    @MarcoFalke Yes, thank you.

  13. fanquake closed this on May 21, 2017

  14. ghost commented at 10:25 AM on June 16, 2017: none

    Replace with this

    https://github.com/bitcoin/bitcoin/blob/c1b7421781b7a53485c6db4a6005a80e32267c9f/depends/packages/qt.mk#L3

    http://download.qt.io/archive/qt/5.5/$($(package)_version)

    Works without errors, if you create a fork only 0.12

  15. argospam commented at 2:07 AM on October 15, 2017: none

    Thank you @DATSEC!

    This works. bitcoin/depends/packages/qt.mk Line 3

    Replace "official_releases": $(package)_download_path=http://download.qt.io/official_releases/qt/5.5/$($(package)_version)/submodules

    with "archive": $(package)_download_path=http://download.qt.io/archive/qt/5.5/$($(package)_version)/submodules

  16. amd5 commented at 8:18 AM on December 17, 2018: none

    Support bitcoin

  17. MarcoFalke locked this on Sep 8, 2021

Milestone
0.12.branch


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: 2026-04-17 15:15 UTC

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