Skip to content

Conversation

fanquake
Copy link
Member

@fanquake fanquake commented Jun 9, 2021

This includes one followup and one bug fix from #20422, as well as some simplifications to the macdeployqtplus code.

@hebasto
Copy link
Member

hebasto commented Jun 9, 2021

Concept ACK.

@DrahtBot
Copy link
Contributor

Guix builds

File commit ce8276b
(master)
commit 1a8f96d
(master and this pull)
SKIPATTEST.TAG e3b0c44298fc1c14... e3b0c44298fc1c14...
*-aarch64-linux-gnu-debug.tar.gz 295577ea444fa0e8... b40f96b1f7c428c8...
*-aarch64-linux-gnu.tar.gz ef0942c9efde8107... 6edb41bf5e25825d...
*-arm-linux-gnueabihf-debug.tar.gz 446385e417457f67... f640941d133b38c1...
*-arm-linux-gnueabihf.tar.gz 384195120d600fda... 5b2d24c6d00179bc...
*-osx-unsigned.dmg 965520aef2fa51f3... 5e3c0cd0c7dfaa82...
*-osx-unsigned.tar.gz 6effa5c021a38b4d... 9f807d2b45ce91b6...
*-osx64.tar.gz 9b58aa20fdcab92a... a5f4f7c639267819...
*-powerpc64-linux-gnu-debug.tar.gz f9461119da8305c0... 71d5cfb60eac6b8b...
*-powerpc64-linux-gnu.tar.gz 2142ebd962407568... 5ee8d2599e8cb643...
*-powerpc64le-linux-gnu-debug.tar.gz 32e4ec49a6c419eb... 02d4ba056efd5756...
*-powerpc64le-linux-gnu.tar.gz f31129b889cddcd7... 6ac332033a1b1309...
*-riscv64-linux-gnu-debug.tar.gz 257ca49f65ddf687... d5f0e57631ca95ec...
*-riscv64-linux-gnu.tar.gz f0725dde923d9db8... 3108f00f8162e9f6...
*-win-unsigned.tar.gz 10740ea92552d053... e3f1aa12a762a110...
*-win64-debug.zip 4899cbecbd52cde1... 463f67d27fdd6f71...
*-win64-setup-unsigned.exe 5d7554ff0b3ab60a... d5be417fc03bcc6b...
*-win64.zip abdb507cc96bc00b... 3060cee2541ba431...
*-x86_64-linux-gnu-debug.tar.gz f5ac8fd91fa762c2... 56d20699c44dab9f...
*-x86_64-linux-gnu.tar.gz c2712cfe95c78f91... 002ed923fccffc12...
*.tar.gz 43f8bfd446d6874d... 7535c2783dc0c626...
guix_build.log 1ecab33d3f6752f9... 149213c455c96b40...
inputs.SHA256SUMS de44d3687958fb1b... 0c2ffde36a3fccd7...
guix_build.log.diff b71adaf2ad04e722...

Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 0a5723b, tested on macOS Big Sur 11.4 (20F71, x86_64) + Homebrew's Qt 5.15.2.

The diff between make deploy logs:

--- master-log
+++ pr-log
@@ -39,39 +39,11 @@
 Processing QtCore.framework ...
 Processing QtGui.framework ...
 + Deploying plugins +
-Processing plugin renderers/libopenglrenderer.dylib ...
-Processing Qt3DRender.framework ...
-Linked: dist/Bitcoin-Qt.app/Contents/Frameworks/Qt3DRender.framework/Versions/Current -> 5
-Processing Qt3DCore.framework ...
-Linked: dist/Bitcoin-Qt.app/Contents/Frameworks/Qt3DCore.framework/Versions/Current -> 5
-Processing QtConcurrent.framework ...
-Linked: dist/Bitcoin-Qt.app/Contents/Frameworks/QtConcurrent.framework/Versions/Current -> 5
-Processing plugin platforms/libqwebgl.dylib ...
-Processing QtQuick.framework ...
-Linked: dist/Bitcoin-Qt.app/Contents/Frameworks/QtQuick.framework/Versions/Current -> 5
-Processing QtQmlModels.framework ...
-Linked: dist/Bitcoin-Qt.app/Contents/Frameworks/QtQmlModels.framework/Versions/Current -> 5
-Processing QtQml.framework ...
-Linked: dist/Bitcoin-Qt.app/Contents/Frameworks/QtQml.framework/Versions/Current -> 5
-Processing QtWebSockets.framework ...
-Linked: dist/Bitcoin-Qt.app/Contents/Frameworks/QtWebSockets.framework/Versions/Current -> 5
-Processing plugin platforms/libqoffscreen.dylib ...
 Processing plugin platforms/libqminimal.dylib ...
 Processing plugin platforms/libqcocoa.dylib ...
 Processing QtPrintSupport.framework ...
 Linked: dist/Bitcoin-Qt.app/Contents/Frameworks/QtPrintSupport.framework/Versions/Current -> 5
-Processing plugin platformthemes/libqxdgdesktopportal.dylib ...
-Processing plugin assetimporters/libuip.dylib ...
-Processing QtQuick3DAssetImport.framework ...
-Linked: dist/Bitcoin-Qt.app/Contents/Frameworks/QtQuick3DAssetImport.framework/Versions/Current -> 5
-Processing QtQuick3DRender.framework ...
-Linked: dist/Bitcoin-Qt.app/Contents/Frameworks/QtQuick3DRender.framework/Versions/Current -> 5
-Processing QtQuick3DUtils.framework ...
-Linked: dist/Bitcoin-Qt.app/Contents/Frameworks/QtQuick3DUtils.framework/Versions/Current -> 5
-Processing plugin assetimporters/libassimp.dylib ...
 Processing plugin styles/libqmacstyle.dylib ...
-Processing plugin bearer/libqgenericbearer.dylib ...
-Processing plugin generic/libqtuiotouchplugin.dylib ...
 + Adding Qt translations +
 + Installing qt.conf +
 + Generating .DS_Store +
@@ -83,31 +55,31 @@
 "disk2" ejected.
 Preparing imaging engine…
 Reading Protective Master Boot Record (MBR : 0)…
-   (CRC32 $24F8F919: Protective Master Boot Record (MBR : 0))
+   (CRC32 $174DFE17: Protective Master Boot Record (MBR : 0))
 Reading GPT Header (Primary GPT Header : 1)…
-   (CRC32 $A05083DF: GPT Header (Primary GPT Header : 1))
+   (CRC32 $92149F78: GPT Header (Primary GPT Header : 1))
 Reading GPT Partition Data (Primary GPT Table : 2)…
-   (CRC32 $5B43EDCF: GPT Partition Data (Primary GPT Table : 2))
+   (CRC32 $E9842FAF: GPT Partition Data (Primary GPT Table : 2))
 Reading  (Apple_Free : 3)…
    (CRC32 $00000000:  (Apple_Free : 3))
 Reading disk image (Apple_APFS : 4)…
 .............................................................................................................................................................................................................................................................................
-   (CRC32 $43E35E8F: disk image (Apple_APFS : 4))
+   (CRC32 $CCC1B6B8: disk image (Apple_APFS : 4))
 Reading  (Apple_Free : 5)…
 .............................................................................................................................................................................................................................................................................
-   (CRC32 $00000000:  (Apple_Free : 5))
+   (CRC32 $00000000:  (Apple_Free : 5))
 Reading GPT Partition Data (Backup GPT Table : 6)…
 .............................................................................................................................................................................................................................................................................
-   (CRC32 $5B43EDCF: GPT Partition Data (Backup GPT Table : 6))
+   (CRC32 $E9842FAF: GPT Partition Data (Backup GPT Table : 6))
 Reading GPT Header (Backup GPT Header : 7)…
 .............................................................................................................................................................................................................................................................................
-   (CRC32 $8895B480: GPT Header (Backup GPT Header : 7))
+   (CRC32 $B2B82186: GPT Header (Backup GPT Header : 7))
 Adding resources…
 .............................................................................................................................................................................................................................................................................
-Elapsed Time:  4.535s
-File size: 26312236 bytes, Checksum: CRC32 $903D921A
-Sectors processed: 139064, 123411 compressed
-Speed: 13.3Mbytes/sec
-Savings: 63.0%
+Elapsed Time:  4.536s
+File size: 19252747 bytes, Checksum: CRC32 $DEB8E33D
+Sectors processed: 95062, 84635 compressed
+Speed: 9.1Mbytes/sec
+Savings: 60.4%
 created: /Users/hebasto/bitcoin/Bitcoin-Core.dmg
 + Done +

Also tested the resulted Bitcoin-Core.dmg file.

@fanquake
Copy link
Member Author

macOS Guix builds:

e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  guix-build-0a5723beea9c/output/dist-archive/SKIPATTEST.TAG
c8ab07737ad98496906851a4ea683f813b20df66bf92dca6a41791d449da4d8e  guix-build-0a5723beea9c/output/dist-archive/bitcoin-0a5723beea9c.tar.gz
9bf6a465d6c2295ce39f800ca5ccf301cf6f3260f5f88fbf92aa02c63f88193e  guix-build-0a5723beea9c/output/x86_64-apple-darwin18/bitcoin-0a5723beea9c-osx-unsigned.dmg
122f81a2ba034c9a54076aa12a846d8df62ba4636156cceb215c2e039e36b291  guix-build-0a5723beea9c/output/x86_64-apple-darwin18/bitcoin-0a5723beea9c-osx-unsigned.tar.gz
51a814464f987ba89f621109928193bc3ec8b573d05803476fd4b97ff96ef55d  guix-build-0a5723beea9c/output/x86_64-apple-darwin18/bitcoin-0a5723beea9c-osx64.tar.gz
791f26d87c0527899c7d6ddfd5feb5ceb67268b36e34efa4664df556c00fe306  guix-build-0a5723beea9c/output/x86_64-apple-darwin18/inputs.SHA256SUMS

@fanquake fanquake merged commit 4fdd0ff into bitcoin:master Jul 20, 2021
@fanquake fanquake deleted the macdeploy_further_simplify branch July 20, 2021 03:40
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jul 23, 2021
0a5723b macdeploy: cleanup .temp.dmg if present (fanquake)
ecffe86 macdeploy: remove qt4 related code (fanquake)
639f064 macdeploy: select the plugins we need, rather than excluding those we don't (fanquake)
3d26b6b macdeploy: fix framework printing when passing -verbose (fanquake)
dca6c90 macdeploy: remove unused plistlib import (fanquake)

Pull request description:

  This includes [one followup](bitcoin#20422 (comment)) and [one bug fix](bitcoin@3d26b6b) from bitcoin#20422, as well as some simplifications to the `macdeployqtplus` code.

ACKs for top commit:
  hebasto:
    ACK 0a5723b, tested on macOS Big Sur 11.4 (20F71, x86_64) + Homebrew's Qt 5.15.2.

Tree-SHA512: cfad9505eacd32fe3a9d06eb13b2de0b6d2cad7b17778e90b503501cbf922e53d4e7f7f74952d1aed58410bdae9b0bb3248098583ef5b85689cb27d4dc06c029
gwillen pushed a commit to ElementsProject/elements that referenced this pull request Jun 1, 2022
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants