depends: qt: Fix C{,XX} pickup #17466

pull dongcarl wants to merge 1 commits into bitcoin:master from dongcarl:2019-11-qt-CC-CXX-pickup changing 1 files +2 −0
  1. dongcarl commented at 6:15 pm on November 13, 2019: member
    QT LOVES to do things its own way and simply ignore all environment variables. Even listing QMAKE_CC=... in ./configure flags does’t work reliably. This is why we gotta literally edit their config files for them. Thanks QT.
  2. depends: qt: Fix C{,XX} pickup bc728d12a9
  3. dongcarl added the label Build system on Nov 13, 2019
  4. dongcarl added the label Needs gitian build on Nov 13, 2019
  5. MarcoFalke added the label GUI on Nov 13, 2019
  6. MarcoFalke commented at 7:42 pm on November 13, 2019: member
    I guess we can’t test this as standalone? Just see if the gitian build still passes?
  7. dongcarl commented at 7:48 pm on November 13, 2019: member

    I guess we can’t test this as standalone? Just see if the gitian build still passes?

    This should only affect the OSX Gitian build, so if that passes then we should be good… Or maybe I’m misunderstanding you?

  8. fanquake removed the label GUI on Nov 13, 2019
  9. MarcoFalke commented at 9:15 pm on November 13, 2019: member
    Is this a bugfix? We use a hardcoded clang-x86_64 to build for macos, so I hope this works before and after this pull request?
  10. MarcoFalke closed this on Nov 13, 2019

  11. MarcoFalke reopened this on Nov 13, 2019

  12. dongcarl commented at 9:32 pm on November 13, 2019: member

    Is this a bugfix? We use a hardcoded clang-x86_64 to build for macos, so I hope this works before and after this pull request?

    Not a bugfix but just making depends work properly: settings should propagate to all packages wherever possible. I’ve tested this for crossing from Linux to OSX. Can test OSX native build too.

  13. laanwj commented at 11:52 am on November 14, 2019: member
    Ah yes I’ve often noticed as well. It’s quite annoying that qt and boost have to have their own build system that of course has to do everything different for no good reason. Concept ACK
  14. practicalswift commented at 12:33 pm on November 14, 2019: contributor

    Concept ACK

    Thanks for all your great work on the build system @dongcarl

  15. DrahtBot commented at 6:19 am on November 15, 2019: member

    Gitian builds

    File commit cd6cb9745e13a62e130b11f78a13bcc1d424b05e(master) commit 41fc70b48460e1aaba2d642bd8e8b9b6f8614ea7(master and this pull)
    bitcoin-0.19.99-aarch64-linux-gnu-debug.tar.gz b25191cf773b0bf8... 1c84cf1696fef9b2...
    bitcoin-0.19.99-aarch64-linux-gnu.tar.gz 66cddf99c1e08dde... 802de7ba02b84034...
    bitcoin-0.19.99-arm-linux-gnueabihf-debug.tar.gz 301fa28e49a64bbb... e0717f8451fe9911...
    bitcoin-0.19.99-arm-linux-gnueabihf.tar.gz b52d82ea2fed7f13... 517b275f4201482f...
    bitcoin-0.19.99-i686-pc-linux-gnu-debug.tar.gz bd623b4dc3cf5a9a... a3743f45582449b0...
    bitcoin-0.19.99-i686-pc-linux-gnu.tar.gz 5de2375b033565f1... aa098c99aa114907...
    bitcoin-0.19.99-osx-unsigned.dmg 694ef5744d2f6904... c6a637e42ee7ec36...
    bitcoin-0.19.99-osx64.tar.gz 0114ae780385b137... f47cf40f1ead6fb9...
    bitcoin-0.19.99-riscv64-linux-gnu-debug.tar.gz 294011ae38c5d280... 9e3db256b062551f...
    bitcoin-0.19.99-riscv64-linux-gnu.tar.gz dbe88f197d552d41... 4d78ed041f10e00b...
    bitcoin-0.19.99-win64-debug.zip 936007bb2ebddd0d... 94050955d320f8f8...
    bitcoin-0.19.99-win64-setup-unsigned.exe b3c867b01b2d44ec... 1b0057d90bb10364...
    bitcoin-0.19.99-win64.zip 1b2d78df9702a910... 1d0f84cf1ff060ad...
    bitcoin-0.19.99-x86_64-linux-gnu-debug.tar.gz bfb1d4efbb97a704... 767675c63e76925e...
    bitcoin-0.19.99-x86_64-linux-gnu.tar.gz 3511c219e80118c4... fa19912da2d3bfda...
    bitcoin-0.19.99.tar.gz 65d3c95876c7164a... 0f894460983b2657...
    bitcoin-core-linux-0.20-res.yml 643bafb017a19819... 9049354734cc1862...
    bitcoin-core-osx-0.20-res.yml 3b0156f8bb686f5c... 35b75c1c988d0440...
    bitcoin-core-win-0.20-res.yml 0a1e31be7a54ff9b... c4c84e26ab66bf99...
    linux-build.log 8e7bb3e54025c401... e2beec7bf41bbb74...
    osx-build.log 5b343fc43338d92c... 8f940f59be2b0c2d...
    win-build.log 24b7cda24344151a... eac9dc3bc5922331...
    bitcoin-core-linux-0.20-res.yml.diff 619329a6764a467e...
    bitcoin-core-osx-0.20-res.yml.diff 735c4ada4d2ad648...
    bitcoin-core-win-0.20-res.yml.diff a9844ce5401c17b5...
    linux-build.log.diff c5987fb3392d93ee...
    osx-build.log.diff 0f1bc2c84c871b6f...
    win-build.log.diff c294ee3bcea65dc0...
  16. DrahtBot removed the label Needs gitian build on Nov 15, 2019
  17. in depends/packages/qt.mk:206 in bc728d12a9
    201@@ -202,6 +202,8 @@ define $(package)_preprocess_cmds
    202   sed -i.old "s|QMAKE_CFLAGS           += |!host_build: QMAKE_CFLAGS            = $($(package)_cflags) $($(package)_cppflags) |" qtbase/mkspecs/win32-g++/qmake.conf && \
    203   sed -i.old "s|QMAKE_CXXFLAGS         += |!host_build: QMAKE_CXXFLAGS            = $($(package)_cxxflags) $($(package)_cppflags) |" qtbase/mkspecs/win32-g++/qmake.conf && \
    204   sed -i.old "0,/^QMAKE_LFLAGS_/s|^QMAKE_LFLAGS_|!host_build: QMAKE_LFLAGS            = $($(package)_ldflags)\n&|" qtbase/mkspecs/win32-g++/qmake.conf && \
    205+  sed -i.old "s|QMAKE_CC                = clang|QMAKE_CC                = $($(package)_cc)|" qtbase/mkspecs/common/clang.conf && \
    206+  sed -i.old "s|QMAKE_CXX               = clang++|QMAKE_CXX               = $($(package)_cxx)|" qtbase/mkspecs/common/clang.conf && \
    


    laanwj commented at 11:25 am on November 15, 2019:
    BTW, not in this PR, but we really need something that detects when these sed’s fail to replace anything. This is very prone to breaking with very subtle effects when Qt is updated. (imagine they changed the number of spaces, for ex.)

    dongcarl commented at 4:28 pm on November 18, 2019:
  18. laanwj commented at 11:10 am on November 18, 2019: member
    ACK bc728d12a975934a1ef21e8d06612e157faaff6a
  19. laanwj referenced this in commit 1baf7d1819 on Nov 18, 2019
  20. laanwj merged this on Nov 18, 2019
  21. laanwj closed this on Nov 18, 2019

  22. sidhujag referenced this in commit 648723e98c on Nov 18, 2019
  23. MarkLTZ referenced this in commit 6a7086a3bb on Nov 29, 2019
  24. deadalnix referenced this in commit b86752d6fb on Apr 3, 2020
  25. sidhujag referenced this in commit 4c157a3b56 on Nov 10, 2020
  26. kittywhiskers referenced this in commit e81cd6093b on Nov 24, 2021
  27. PastaPastaPasta referenced this in commit 25a965d691 on Nov 30, 2021
  28. DrahtBot locked this on Dec 16, 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: 2024-11-17 18:12 UTC

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