Build updates #587

pull TheBlueMatt wants to merge 3 commits into bitcoin:master from TheBlueMatt:build-updates changing 3 files +50 −20
  1. TheBlueMatt commented at 7:46 PM on October 17, 2011: member

    This updates gitian descriptors and adds a few workarounds. Note: THIS DOES NOT WORK, the resulting bitcoin-qt.exe is broken, I'm just pull-requesting this to notify people and let others have a look at the result and attempt to fix the issue.

  2. TheBlueMatt commented at 7:53 PM on October 17, 2011: member

    Some tips on using gitian to duplicate the broken results: When gitian fails/finishes, you can log into the vm and mess around by doing export PATH=$PATH:libexec; on-target You can see the build-script gitian is executing by looking at var/build-script after the build has started (its pretty much just exporting some variables and running the script in the descriptor). If you want to build from this branch, use -c bitcoin=build-updates instead of master (note that the commit titled "remove this commit before merge" makes the gitian descriptors point to my repo instead of bitcoin/bitcoin)

  3. TheBlueMatt commented at 8:31 PM on October 17, 2011: member

    Oh, also this hasnt been tested for determinism yet, so there that...

  4. laanwj commented at 6:43 AM on October 22, 2011: member

    I'll take a look at this

  5. laanwj commented at 10:04 AM on October 23, 2011: member

    OK I'm stuck. How to get started?

    • What kind of AWS image to I need to create?
    • release-process.txt has some information, but it assumes there already is a virtual image with gitian and bitcoin source installed. Do I need to install those myself starting with the Ruby gems etc?
  6. TheBlueMatt commented at 6:00 PM on October 23, 2011: member

    You can't do this with AWS, it has to be a machine which has VT-x support. There are no gems anywhere here, just git clone gitian-builder and go.

  7. Add gitian descriptor for qt cross compile via MinGW. 6323d005a9
  8. Update Win32 gitian descriptor for bitcoin-qt. 0081f758e5
  9. remove this commit before merge. 6139fc6549
  10. luke-jr commented at 11:54 PM on October 28, 2011: member

    Note that the build issues are basically Ubuntu issues. Gentoo's crossdev at least has no problems building working EXEs.

  11. laanwj commented at 9:26 AM on October 29, 2011: member

    I think I solved this issue!

    The solution appears to be to remove -fstack-protector for the Windows build. Both for the linker and cflags.

    I haven't tested on a Windows machine but the resulting bitcoin-qt.exe works in Wine.

    luke-jr: yes, but we need to understand this issue, I feel it would be a mistake to just abandon it and switch Linux distributions, and hope we'll be ok :)

  12. luke-jr commented at 12:54 PM on October 29, 2011: member

    IIRC it wouldn't even build for me with that flag. ;)

  13. laanwj commented at 1:31 PM on October 29, 2011: member

    https://github.com/laanwj/bitcoin/tree/wingitianfix

    Now testing whether the build is deterministic and such...

  14. laanwj commented at 5:27 PM on October 29, 2011: member

    The last commit managed to make bitcoin-qt.exe build deterministic. I built it two times and both times the sha256 is the same.

    So the build is now complete. The resulting executable does hang a long time at "Done loading" for some reason I can't explain yet.

  15. laanwj commented at 5:46 PM on October 29, 2011: member

    Hm.. the "Done loading" problem seems to be something local (to do with seeding?), it hangs on connecting to my routers DNS port:

    socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 23
    connect(23, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.x.x")}, 16
    

    I think it is unrelated. Please help testing the gitian script.

    Edit: confirmed: It also happens on Linux now for me, so it has nothing to do with the build.

  16. TheBlueMatt commented at 9:51 PM on October 29, 2011: member

    Superceded by #598

  17. TheBlueMatt closed this on Oct 29, 2011

  18. dgenr8 referenced this in commit 8a0cb38940 on May 24, 2017
  19. sipa referenced this in commit cc05fa919a on Mar 30, 2019
  20. sipa referenced this in commit 1e32413e52 on Mar 30, 2019
  21. sipa referenced this in commit 54245985fb on Mar 31, 2019
  22. sipa referenced this in commit 3fe71bbd95 on Apr 2, 2019
  23. LongShao007 referenced this in commit 3d9a3d2063 on Jul 15, 2019
  24. LongShao007 referenced this in commit 8af66f3427 on Jul 15, 2019
  25. LongShao007 referenced this in commit 807f206f73 on Jul 15, 2019
  26. fjahr referenced this in commit e96901a4b9 on Jul 24, 2019
  27. kallewoof referenced this in commit 346c54401a on Oct 4, 2019
  28. kallewoof referenced this in commit c866f52e2a on Oct 4, 2019
  29. Losangelosgenetics referenced this in commit be0c9a43bd on Mar 12, 2020
  30. backpacker69 referenced this in commit ef89673ace on Mar 28, 2021
  31. DrahtBot locked this on Sep 8, 2021

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-13 18:16 UTC

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