Switch to Qt 5.12.10 in depends. Based on #21363. This is a much smaller changeset, and should be easier to review than #19716. Also postpones needing to bring a bunch of new libs into depends.
Big thanks to Hebasto that has been helping with this.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
10@@ -11,6 +11,7 @@ packages:
11 - "autoconf"
12 - "automake"
13 - "binutils"
14+- "bison"
25+define $(package)_stage_cmds
26+ $(MAKE) DESTDIR=$($(package)_staging_dir) install
27+endef
28+
29+define $(package)_postprocess_cmds
30+ rm -rf share/man share/doc lib/*.la
6a70950799e54ce5b85f7d58aca6d19adae961c8
Could be simplified:
0 rm -f lib/*.la
The build fail on CentOS
0/tmp/cirrus-ci-build/depends/i686-pc-linux-gnu/lib/libQt5XcbQpa.a(qxcbbackingstore.o): In function `QXcbBackingStoreImage::createShmSegment(unsigned int)':
1qxcbbackingstore.cpp:(.text._ZN21QXcbBackingStoreImage16createShmSegmentEj+0x4e): undefined reference to `xcb_shm_create_segment'
2qxcbbackingstore.cpp:(.text._ZN21QXcbBackingStoreImage16createShmSegmentEj+0x60): undefined reference to `xcb_shm_create_segment_reply'
3qxcbbackingstore.cpp:(.text._ZN21QXcbBackingStoreImage16createShmSegmentEj+0x7b): undefined reference to `xcb_shm_create_segment_reply_fds'
4collect2: error: ld returned 1 exit status
5make[2]: *** [Makefile:5668: qt/bitcoin-qt] Error 1
could be solved with the following patch:
0--- a/build-aux/m4/bitcoin_qt.m4
1+++ b/build-aux/m4/bitcoin_qt.m4
2@@ -336,6 +336,7 @@ AC_DEFUN([_BITCOIN_QT_CHECK_STATIC_LIBS], [
3 PKG_CHECK_MODULES([QTFB], [Qt5FbSupport${qt_lib_suffix}], [QT_LIBS="-lQt5FbSupport${qt_lib_suffix} $QT_LIBS"])
4 if test "x$TARGET_OS" = xlinux; then
5 PKG_CHECK_MODULES([QTXCBQPA], [Qt5XcbQpa], [QT_LIBS="$QTXCBQPA_LIBS $QT_LIBS"])
6+ QT_LIBS="-lxcb-shm $QT_LIBS"
7 elif test "x$TARGET_OS" = xdarwin; then
8 PKG_CHECK_MODULES([QTCLIPBOARD], [Qt5ClipboardSupport${qt_lib_suffix}], [QT_LIBS="-lQt5ClipboardSupport${qt_lib_suffix} $QT_LIBS"])
9 PKG_CHECK_MODULES([QTGRAPHICS], [Qt5GraphicsSupport${qt_lib_suffix}], [QT_LIBS="-lQt5GraphicsSupport${qt_lib_suffix} $QT_LIBS"])
10
11--- a/depends/packages/libxcb.mk
12+++ b/depends/packages/libxcb.mk
13@@ -15,7 +15,7 @@ $(package)_config_opts += --disable-composite --disable-damage --disable-dpms
14 $(package)_config_opts += --disable-dri2 --disable-dri3 --disable-glx
15 $(package)_config_opts += --disable-present --disable-randr --disable-record
16 $(package)_config_opts += --disable-render --disable-resource --disable-screensaver
17-$(package)_config_opts += --disable-shape --disable-shm --disable-sync
18+$(package)_config_opts += --disable-shape --disable-sync
19 $(package)_config_opts += --disable-xevie --disable-xfixes --disable-xfree86-dri
20 $(package)_config_opts += --disable-xinerama --disable-xinput
21 $(package)_config_opts += --disable-xprint --disable-selinux --disable-xtest
See QTBUG-74874.
UPDATE: https://cirrus-ci.com/build/5056331922014208 is green now :tiger2:
99@@ -98,10 +100,15 @@
100 'CoreGraphics', # 2D rendering
101 'CoreServices', # operating system services
102 'CoreText', # interface for laying out text and handling fonts.
103+'CoreVideo', # digitial video processing
typo:
0'CoreVideo', # digital video processing
File | commit 48725e64fbfb85200dd2226386fbf1cfc8fe6c1f(master) | commit 3be11666df002c4a3c01f6506bcbf0bec00b1092(master and this pull) |
---|---|---|
*-aarch64-linux-gnu-debug.tar.gz | c0874d1b330fbefe... |
|
*-aarch64-linux-gnu.tar.gz | aa5812a46cdb9b17... |
|
*-arm-linux-gnueabihf-debug.tar.gz | 829d64e019d44cdb... |
|
*-arm-linux-gnueabihf.tar.gz | bfe6daf32d21c1ba... |
|
*-osx-unsigned.dmg | 994a38a15423c943... |
|
*-osx-unsigned.tar.gz | b8ba9767e95854c3... |
|
*-osx64.tar.gz | e40a6c3d367faac0... |
|
*-powerpc64-linux-gnu-debug.tar.gz | e578666d86258fba... |
|
*-powerpc64-linux-gnu.tar.gz | 25cf822c602f666c... |
|
*-powerpc64le-linux-gnu-debug.tar.gz | ecc42f86e8f789f1... |
|
*-powerpc64le-linux-gnu.tar.gz | 54550694128472dc... |
|
*-riscv64-linux-gnu-debug.tar.gz | a47b303965bb52bf... |
|
*-riscv64-linux-gnu.tar.gz | fa622fe7877da0bf... |
|
*-win-unsigned.tar.gz | 2c86f79a791858e3... |
|
*-win64-debug.zip | 49435c78f11fb3c8... |
|
*-win64-setup-unsigned.exe | 0e76b2d89273a43e... |
|
*-win64.zip | d5c10f3570fa1003... |
|
*-x86_64-linux-gnu-debug.tar.gz | fc1699b9ca5f0d2c... |
|
*-x86_64-linux-gnu.tar.gz | 92f5688dc334ea8e... |
|
*.tar.gz | ff440483a5453fd3... |
|
guix_build.log | 2070abe8ac15129b... |
c46a8ed521c7894b... |
guix_build.log.diff | bc1aa3ff77a72217... |
Copied excerpt from the guix build log:
0touch /bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07/./.stamp_configured
1echo Building libxkbcommon...
2Building libxkbcommon...
3mkdir -p /bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07/.
4cd /bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07/.; PATH=/bitcoin/depends/x86_64-linux-gnu/native/bin:/gnu/store/pqnpqpvidr9sziccd7dp9fr7ckk1f998-profile/bin:/gnu/store/pqnpqpvidr9sziccd7dp9fr7ckk1f998-profile/sbin make
5make[1]: Entering directory '/bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07'
6/bin/sh ./build-aux/ylwrap src/xkbcomp/parser.y y.tab.c src/xkbcomp/parser.c y.tab.h `echo src/xkbcomp/parser.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output src/xkbcomp/parser.output -- yacc -d -p _xkbcommon_
7./build-aux/ylwrap: line 176: yacc: command not found
8make[1]: *** [Makefile:1705: src/xkbcomp/parser.c] Error 127
9make[1]: Leaving directory '/bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07'
10make: *** [funcs.mk:275: /bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07/./.stamp_built] Error 2
11make: Leaving directory '/bitcoin/depends'
0touch /bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07/./.stamp_configured 1echo Building libxkbcommon... 2Building libxkbcommon... 3mkdir -p /bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07/. 4cd /bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07/.; PATH=/bitcoin/depends/x86_64-linux-gnu/native/bin:/gnu/store/pqnpqpvidr9sziccd7dp9fr7ckk1f998-profile/bin:/gnu/store/pqnpqpvidr9sziccd7dp9fr7ckk1f998-profile/sbin make 5make[1]: Entering directory '/bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07' 6/bin/sh ./build-aux/ylwrap src/xkbcomp/parser.y y.tab.c src/xkbcomp/parser.c y.tab.h `echo src/xkbcomp/parser.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output src/xkbcomp/parser.output -- yacc -d -p _xkbcommon_ 7./build-aux/ylwrap: line 176: yacc: command not found 8make[1]: *** [Makefile:1705: src/xkbcomp/parser.c] Error 127 9make[1]: Leaving directory '/bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07' 10make: *** [funcs.mk:275: /bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07/./.stamp_built] Error 2 11make: Leaving directory '/bitcoin/depends'
With installed bison
package?
Copied excerpt from the guix build log:
0touch /bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07/./.stamp_configured 1echo Building libxkbcommon... 2Building libxkbcommon... 3mkdir -p /bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07/. 4cd /bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07/.; PATH=/bitcoin/depends/x86_64-linux-gnu/native/bin:/gnu/store/pqnpqpvidr9sziccd7dp9fr7ckk1f998-profile/bin:/gnu/store/pqnpqpvidr9sziccd7dp9fr7ckk1f998-profile/sbin make 5make[1]: Entering directory '/bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07' 6/bin/sh ./build-aux/ylwrap src/xkbcomp/parser.y y.tab.c src/xkbcomp/parser.c y.tab.h `echo src/xkbcomp/parser.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output src/xkbcomp/parser.output -- yacc -d -p _xkbcommon_ 7./build-aux/ylwrap: line 176: yacc: command not found 8make[1]: *** [Makefile:1705: src/xkbcomp/parser.c] Error 127 9make[1]: Leaving directory '/bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07' 10make: *** [funcs.mk:275: /bitcoin/depends/work/build/x86_64-linux-gnu/libxkbcommon/0.8.4-b8529cd0f07/./.stamp_built] Error 2 11make: Leaving directory '/bitcoin/depends'
Adding bison
package:
0--- a/contrib/guix/manifest.scm
1+++ b/contrib/guix/manifest.scm
2@@ -3,6 +3,7 @@
3 (gnu packages autotools)
4 (gnu packages base)
5 (gnu packages bash)
6+ (gnu packages bison)
7 (gnu packages cdrom)
8 (gnu packages check)
9 (gnu packages cmake)
10@@ -214,6 +215,7 @@ chain for " target " development."))
11 xz
12 zlib
13 ;; Build tools
14+ bison
15 gnu-make
16 libtool
17 autoconf
could help.
Copied excerpt from the guix build log: Adding bison package:
That isn’t enough to fix the Guix failure. I said the package needed adding in the op, where I mentioned this failure still needed fixing
Linux Guix build needs bison and fixing up this failure:
That isn’t enough to fix the Guix failure. I said the package needed adding in the op, where I mentioned this failure still needed fixing
Why? Guix build works for me :)
FWIW, I’ve got successful guix builds for a branch with applied suggestions:
0$ find output -type f -name *$(git rev-parse --short HEAD)*.* -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
1be0a3034a4fb50875d8fd15b37f2bf60d862fd3dc5e90e3d1be09546718084ed output/bitcoin-603dbff13496-aarch64-linux-gnu-debug.tar.gz
27f69079103b01809c7662a3bc489176aab7fb0859aa1119cb2c62083769ff637 output/bitcoin-603dbff13496-aarch64-linux-gnu.tar.gz
36668a96bb7e575723af6938206895c0da2d5fa3e9067c61552c35f7ff86add23 output/bitcoin-603dbff13496-arm-linux-gnueabihf-debug.tar.gz
450b17e55bf243da9d438579e32b8c9fe7091ffd624867f29a853ed2e9cc118b5 output/bitcoin-603dbff13496-arm-linux-gnueabihf.tar.gz
50afa08dc12e20ec11afbb8c74a49510f9eb691b48e1734f606f5cc0a0beb131f output/bitcoin-603dbff13496-osx-unsigned.dmg
603294dc786a86a3850404b333cdc353fe806ca46ee80b933014a0510b264fe75 output/bitcoin-603dbff13496-osx-unsigned.tar.gz
738443badd4421f826001b1253c99c611863954ec60e39d6f74a08774e236ccfd output/bitcoin-603dbff13496-osx64.tar.gz
89961a4c14699081c187d0a849a9624754451e7123271772f659f6689bfaaf375 output/bitcoin-603dbff13496-powerpc64-linux-gnu-debug.tar.gz
9e6d672570321dfda1548b294b3f2a65c56622ad111a5ab20316229e5c3f47bd7 output/bitcoin-603dbff13496-powerpc64-linux-gnu.tar.gz
10a9191c47ebe6a0c9760bc523886c11d583d6d97250e91207b0829aa408165bbe output/bitcoin-603dbff13496-powerpc64le-linux-gnu-debug.tar.gz
11aa8966386569e4f0d9f8f96f2acbd369def83c9219dfca56e0abab1049b0e507 output/bitcoin-603dbff13496-powerpc64le-linux-gnu.tar.gz
120920d67970657a0934ef8c358e55a8365bb1d59bbe7b1b454c4181fd041a7c02 output/bitcoin-603dbff13496-riscv64-linux-gnu-debug.tar.gz
131394b47a416eaa2c5c5afabc37ff967878f2ab8bcb276d7a04e41b07c255238f output/bitcoin-603dbff13496-riscv64-linux-gnu.tar.gz
148094f77b1a310e37c5fbc231c832ba183de91ae36047bc4defe036417ce8e20f output/bitcoin-603dbff13496-win-unsigned.tar.gz
15f3ea2c7e6399b753fda806cd69001927fe88d7632d86325d3a169521cca51121 output/bitcoin-603dbff13496-win64-debug.zip
162d8f75e46090984e9155144ac1be7be3a075ce6b2a5a216b90b99c3c4f77961e output/bitcoin-603dbff13496-win64-setup-unsigned.exe
17600d1bd697ef5dfabe7013440018053c47cb047734e726feca42f92e751fb220 output/bitcoin-603dbff13496-win64.zip
18a957606119fb89f5f088a5ae7264adea0b43a03e5607ac32cd6628a9518a080d output/bitcoin-603dbff13496-x86_64-linux-gnu-debug.tar.gz
19b0b21604aec17a96eca76fc9bffc50fcd56418d869780a18b67d18522c4fd189 output/bitcoin-603dbff13496-x86_64-linux-gnu.tar.gz
2009dd2789871533ab1a90de3eafb38af877e7532a851053c879f3b2349feb9e2e output/src/bitcoin-603dbff13496.tar.gz
FWIW, I’ve got successful guix builds for a branch with applied suggestions:
I’m still seeing the same failure I was seeing before opening this PR, with the guix bison changes applied:
0Building libxkbcommon...
1make[1]: Entering directory '/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-47d086c3594'
2 YACC src/xkbcomp/parser.c
3/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-47d086c3594/src/xkbcomp/parser.y:85.1-12: warning: POSIX Yacc does not support %pure-parser [-Wyacc]
4 85 | %pure-parser
5 | ^~~~~~~~~~~~
6/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-47d086c3594/src/xkbcomp/parser.y:85.1-12: warning: deprecated directive: '%pure-parser', use '%define api.pure' [-Wdeprecated]
7 85 | %pure-parser
8 | ^~~~~~~~~~~~
9 | %define api.pure
10/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-47d086c3594/src/xkbcomp/parser.y:188.17-23: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
11 188 | %type <num> INTEGER FLOAT
12 | ^~~~~~~
13/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-47d086c3594/src/xkbcomp/parser.y:188.25-29: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
14 188 | %type <num> INTEGER FLOAT
15 | ^~~~~
16/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-47d086c3594/src/xkbcomp/parser.y:189.17-21: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
17 189 | %type <str> IDENT STRING
18 | ^~~~~
19/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-47d086c3594/src/xkbcomp/parser.y:189.23-28: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
20 189 | %type <str> IDENT STRING
21 | ^~~~~~
22/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-47d086c3594/src/xkbcomp/parser.y:190.17-23: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
23 190 | %type <atom> KEYNAME
24 | ^~~~~~~
25/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-47d086c3594/src/xkbcomp/parser.y:219.1-11: warning: POSIX Yacc does not support %destructor [-Wyacc]
26 219 | %destructor { FreeStmt((ParseCommon *) $$); }
27 | ^~~~~~~~~~~
28/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-47d086c3594/src/xkbcomp/parser.y:224.1-11: warning: POSIX Yacc does not support %destructor [-Wyacc]
29 224 | %destructor { if (!param->rtrn) FreeXkbFile($$); } <file>
30 | ^~~~~~~~~~~
31/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-47d086c3594/src/xkbcomp/parser.y:225.1-11: warning: POSIX Yacc does not support %destructor [-Wyacc]
32 225 | %destructor { free($$); } <str>
33 | ^~~~~~~~~~~
34/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-47d086c3594/src/xkbcomp/parser.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
35updating src/xkbcomp/parser.h
36make all-am
37make[2]: Entering directory '/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-47d086c3594'
38/bin/sh: /gnu/store/axjyxggd6wnixpy6wjlcim8vggn6lapq-profile/bin/mkdir: No such file or directory
39/bin/sh: /gnu/store/axjyxggd6wnixpy6wjlcim8vggn6lapq-profile/bin/mkdir: No such file or directory
40/bin/sh: /gnu/store/axjyxggd6wnixpy6wjlcim8vggn6lapq-profile/bin/mkdir: No such file or directory
41make[2]: *** [Makefile:1204: src/compose/.dirstamp] Error 127
I’m still seeing the same failure I was seeing before opening this PR, with the guix bison changes applied:
Made guix build again (for the same branch):
0Building libxkbcommon...
1make[1]: Entering directory '/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27'
2 YACC src/xkbcomp/parser.c
3/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/src/xkbcomp/parser.y:85.1-12: warning: POSIX Yacc does not support %pure-parser [-Wyacc]
4 85 | %pure-parser
5 | ^~~~~~~~~~~~
6/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/src/xkbcomp/parser.y:85.1-12: warning: deprecated directive: '%pure-parser', use '%define api.pure' [-Wdeprecated]
7 85 | %pure-parser
8 | ^~~~~~~~~~~~
9 | %define api.pure
10/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/src/xkbcomp/parser.y:188.17-23: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
11 188 | %type <num> INTEGER FLOAT
12 | ^~~~~~~
13/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/src/xkbcomp/parser.y:188.25-29: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
14 188 | %type <num> INTEGER FLOAT
15 | ^~~~~
16/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/src/xkbcomp/parser.y:189.17-21: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
17 189 | %type <str> IDENT STRING
18 | ^~~~~
19/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/src/xkbcomp/parser.y:189.23-28: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
20 189 | %type <str> IDENT STRING
21 | ^~~~~~
22/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/src/xkbcomp/parser.y:190.17-23: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
23 190 | %type <atom> KEYNAME
24 | ^~~~~~~
25/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/src/xkbcomp/parser.y:219.1-11: warning: POSIX Yacc does not support %destructor [-Wyacc]
26 219 | %destructor { FreeStmt((ParseCommon *) $$); }
27 | ^~~~~~~~~~~
28/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/src/xkbcomp/parser.y:224.1-11: warning: POSIX Yacc does not support %destructor [-Wyacc]
29 224 | %destructor { if (!param->rtrn) FreeXkbFile($$); } <file>
30 | ^~~~~~~~~~~
31/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/src/xkbcomp/parser.y:225.1-11: warning: POSIX Yacc does not support %destructor [-Wyacc]
32 225 | %destructor { free($$); } <str>
33 | ^~~~~~~~~~~
34/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/src/xkbcomp/parser.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
35updating src/xkbcomp/parser.h
36make all-am
37make[2]: Entering directory '/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27'
38 CC src/compose/paths.lo
39 CC src/compose/parser.lo
40 CC src/compose/state.lo
41 CC src/compose/table.lo
42 CC src/xkbcomp/action.lo
43 CC src/xkbcomp/ast-build.lo
44 CC src/xkbcomp/compat.lo
45 CC src/xkbcomp/expr.lo
46 CC src/xkbcomp/include.lo
47 CC src/xkbcomp/keycodes.lo
48 CC src/xkbcomp/keymap.lo
49 CC src/xkbcomp/keymap-dump.lo
50 CC src/xkbcomp/keywords.lo
51 CC src/xkbcomp/parser.lo
52 CC src/xkbcomp/rules.lo
53 CC src/xkbcomp/scanner.lo
54 CC src/xkbcomp/symbols.lo
55 CC src/xkbcomp/types.lo
56 CC src/xkbcomp/vmod.lo
57 CC src/xkbcomp/xkbcomp.lo
58 CC src/atom.lo
59 CC src/context.lo
60 CC src/context-priv.lo
61 CC src/keysym.lo
62 CC src/keysym-utf.lo
63 CC src/keymap.lo
64 CC src/keymap-priv.lo
65 CC src/state.lo
66 CC src/text.lo
67 CC src/utf8.lo
68 CC src/utils.lo
69 CC src/x11/libxkbcommon_x11_la-keymap.lo
70 CC src/x11/libxkbcommon_x11_la-state.lo
71 CC src/x11/libxkbcommon_x11_la-util.lo
72 CC src/libxkbcommon_x11_la-context-priv.lo
73 CC src/libxkbcommon_x11_la-keymap-priv.lo
74 CC src/libxkbcommon_x11_la-atom.lo
75 CCLD libxkbcommon.la
76 CCLD libxkbcommon-x11.la
77make[2]: Leaving directory '/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27'
78make[1]: Leaving directory '/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27'
79Staging libxkbcommon...
80make[1]: Entering directory '/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27'
81make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
82make install-am
83make[2]: Entering directory '/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27'
84make[3]: Entering directory '/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27'
85 /gnu/store/12p53bj5lr2jhqsfj0b3vijx6yd5f43p-profile/bin/mkdir -p '/bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/lib'
86 /bin/sh ./libtool --mode=install /gnu/store/12p53bj5lr2jhqsfj0b3vijx6yd5f43p-profile/bin/install -c libxkbcommon.la libxkbcommon-x11.la '/bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/lib'
87libtool: install: /gnu/store/12p53bj5lr2jhqsfj0b3vijx6yd5f43p-profile/bin/install -c .libs/libxkbcommon.so.0.0.0 /bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/lib/libxkbcommon.so.0.0.0
88libtool: install: (cd /bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/lib && { ln -s -f libxkbcommon.so.0.0.0 libxkbcommon.so.0 || { rm -f libxkbcommon.so.0 && ln -s libxkbcommon.so.0.0.0 libxkbcommon.so.0; }; })
89libtool: install: (cd /bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/lib && { ln -s -f libxkbcommon.so.0.0.0 libxkbcommon.so || { rm -f libxkbcommon.so && ln -s libxkbcommon.so.0.0.0 libxkbcommon.so; }; })
90libtool: install: /gnu/store/12p53bj5lr2jhqsfj0b3vijx6yd5f43p-profile/bin/install -c .libs/libxkbcommon.lai /bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/lib/libxkbcommon.la
91libtool: warning: relinking 'libxkbcommon-x11.la'
92libtool: install: (cd /bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27; /bin/sh "/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/libtool" --silent --tag CC --mode=relink arm-linux-gnueabihf-gcc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fvisibility=hidden -fno-strict-aliasing -fsanitize-undefined-trap-on-error -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I/bitcoin/depends/arm-linux-gnueabihf/include -pipe -O2 -Wl,--version-script=./xkbcommon-x11.map -L/bitcoin/depends/arm-linux-gnueabihf/lib -o libxkbcommon-x11.la -rpath /bitcoin/depends/arm-linux-gnueabihf/lib src/x11/libxkbcommon_x11_la-keymap.lo src/x11/libxkbcommon_x11_la-state.lo src/x11/libxkbcommon_x11_la-util.lo src/libxkbcommon_x11_la-context-priv.lo src/libxkbcommon_x11_la-keymap-priv.lo src/libxkbcommon_x11_la-atom.lo libxkbcommon.la -L/bitcoin/depends/arm-linux-gnueabihf/lib -lxcb-xkb -lxcb -inst-prefix-dir /bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27)
93libtool: install: /gnu/store/12p53bj5lr2jhqsfj0b3vijx6yd5f43p-profile/bin/install -c .libs/libxkbcommon-x11.so.0.0.0T /bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/lib/libxkbcommon-x11.so.0.0.0
94libtool: install: (cd /bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/lib && { ln -s -f libxkbcommon-x11.so.0.0.0 libxkbcommon-x11.so.0 || { rm -f libxkbcommon-x11.so.0 && ln -s libxkbcommon-x11.so.0.0.0 libxkbcommon-x11.so.0; }; })
95libtool: install: (cd /bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/lib && { ln -s -f libxkbcommon-x11.so.0.0.0 libxkbcommon-x11.so || { rm -f libxkbcommon-x11.so && ln -s libxkbcommon-x11.so.0.0.0 libxkbcommon-x11.so; }; })
96libtool: install: /gnu/store/12p53bj5lr2jhqsfj0b3vijx6yd5f43p-profile/bin/install -c .libs/libxkbcommon-x11.lai /bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/lib/libxkbcommon-x11.la
97libtool: warning: remember to run 'libtool --finish /bitcoin/depends/arm-linux-gnueabihf/lib'
98 /gnu/store/12p53bj5lr2jhqsfj0b3vijx6yd5f43p-profile/bin/mkdir -p '/bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/lib/pkgconfig'
99 /gnu/store/12p53bj5lr2jhqsfj0b3vijx6yd5f43p-profile/bin/install -c -m 644 xkbcommon.pc xkbcommon-x11.pc '/bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/lib/pkgconfig'
100 /gnu/store/12p53bj5lr2jhqsfj0b3vijx6yd5f43p-profile/bin/mkdir -p '/bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/include/xkbcommon'
101 /gnu/store/12p53bj5lr2jhqsfj0b3vijx6yd5f43p-profile/bin/install -c -m 644 xkbcommon/xkbcommon-x11.h '/bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/include/xkbcommon'
102 /gnu/store/12p53bj5lr2jhqsfj0b3vijx6yd5f43p-profile/bin/mkdir -p '/bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/include/xkbcommon'
103 /gnu/store/12p53bj5lr2jhqsfj0b3vijx6yd5f43p-profile/bin/install -c -m 644 xkbcommon/xkbcommon.h xkbcommon/xkbcommon-compat.h xkbcommon/xkbcommon-compose.h xkbcommon/xkbcommon-keysyms.h xkbcommon/xkbcommon-names.h '/bitcoin/depends/work/staging/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27/bitcoin/depends/arm-linux-gnueabihf/include/xkbcommon'
104make[3]: Leaving directory '/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27'
105make[2]: Leaving directory '/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27'
106make[1]: Leaving directory '/bitcoin/depends/work/build/arm-linux-gnueabihf/libxkbcommon/0.8.4-967647c9b27'
107Postprocessing libxkbcommon...
108Caching libxkbcommon...
109@@ -115,6 +110,7 @@ $(package)_config_opts += -no-feature-xml
110 $(package)_config_opts_darwin = -no-dbus
111 $(package)_config_opts_darwin += -no-opengl
112 $(package)_config_opts_darwin += -pch
113+$(package)_config_opts_darwin += -device-option QMAKE_MACOSX_DEPLOYMENT_TARGET=$(OSX_MIN_VERSION)
I’m ok with this line as it is.
As Qt 5.12 supports macOS target platforms 10.12, 10.13 and 10.14, and our minimum support macOS is 10.14, it seems reasonable to set QMAKE_MACOSX_DEPLOYMENT_TARGET
10.14 rather 10.12.
On macOS Sierra 10.12.6 (16G2136) I got nice warnings:
152+ AX_CHECK_LINK_FLAG([[-framework Carbon]],[QT_LIBS="$QT_LIBS -framework Carbon"],[AC_MSG_ERROR(could not link against Carbon framework)])
153+ AX_CHECK_LINK_FLAG([[-framework IOSurface]],[QT_LIBS="$QT_LIBS -framework IOSurface"],[AC_MSG_ERROR(could not link against IOSurface framework)])
154+ AX_CHECK_LINK_FLAG([[-framework Metal]],[QT_LIBS="$QT_LIBS -framework Metal"],[AC_MSG_ERROR(could not link against Metal framework)])
155+ AX_CHECK_LINK_FLAG([[-framework QuartzCore]],[QT_LIBS="$QT_LIBS -framework QuartzCore"],[AC_MSG_ERROR(could not link against QuartzCore framework)])
156 _BITCOIN_QT_CHECK_STATIC_PLUGIN([QCocoaIntegrationPlugin], [-lqcocoa])
157+ _BITCOIN_QT_CHECK_STATIC_PLUGIN([Q_IMPORT_PLUGIN(QMacStylePlugin)], [-lqmacstyle])
dedc7021d487e4b991ac851a9d7c5985b8ab9963
0 _BITCOIN_QT_CHECK_STATIC_PLUGIN([QMacStylePlugin], [-lqmacstyle])
@fanquake wrt #21376 (review) (marked as resolved):
0$ make -j 9 -C depends libxkbcommon_staged
1$ cd $PATH_TO_STAGED_DIR
2$ find .
3.
4./include
5./include/xkbcommon
6./include/xkbcommon/xkbcommon-compose.h
7./include/xkbcommon/xkbcommon-compat.h
8./include/xkbcommon/xkbcommon-keysyms.h
9./include/xkbcommon/xkbcommon-names.h
10./include/xkbcommon/xkbcommon-x11.h
11./include/xkbcommon/xkbcommon.h
12./lib
13./lib/libxkbcommon.so.0.0.0
14./lib/libxkbcommon-x11.so.0
15./lib/libxkbcommon-x11.so.0.0.0
16./lib/libxkbcommon.so
17./lib/libxkbcommon.la
18./lib/libxkbcommon-x11.so
19./lib/libxkbcommon.so.0
20./lib/libxkbcommon-x11.la
21./lib/pkgconfig
22./lib/pkgconfig/xkbcommon.pc
23./lib/pkgconfig/xkbcommon-x11.pc
There are no share
, share/man
, share/doc
directories at all. rm lib/*.la
will work.
72@@ -73,6 +73,8 @@
73 'ld-linux-riscv64-lp64d.so.1', # 64-bit RISC-V dynamic linker
74 # bitcoin-qt only
75 'libxcb.so.1', # part of X11
76+'libxkbcommon.so.0', # keyboard keymapping
77+'libxkbcommon-x11.so.0', # keyboard keymapping
137@@ -138,13 +138,23 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
138 AC_DEFINE(QT_QPA_PLATFORM_MINIMAL, 1, [Define this symbol if the minimal qt platform exists])
139 fi
140 if test "x$TARGET_OS" = xwindows; then
141+ dnl Linking against wtsapi32 is required. See #17749 and
142+ dnl https://bugreports.qt.io/browse/QTBUG-27097.
143+ AX_CHECK_LINK_FLAG([[-lwtsapi32]],[QT_LIBS="$QT_LIBS -lwtsapi32"],[AC_MSG_ERROR(could not link against -lwtsapi32)])
style nit:
0 AX_CHECK_LINK_FLAG([-lwtsapi32], [QT_LIBS="$QT_LIBS -lwtsapi32"], [AC_MSG_ERROR([could not link against -lwtsapi32])])
145 AC_DEFINE(QT_QPA_PLATFORM_WINDOWS, 1, [Define this symbol if the qt platform is windows])
146 elif test "x$TARGET_OS" = xlinux; then
147 _BITCOIN_QT_CHECK_STATIC_PLUGIN([QXcbIntegrationPlugin], [-lqxcb -lxcb-static])
148 AC_DEFINE(QT_QPA_PLATFORM_XCB, 1, [Define this symbol if the qt platform is xcb])
149+ dnl workaround for https://bugreports.qt.io/browse/QTBUG-74874
150+ QT_LIBS="-lxcb-shm $QT_LIBS"
Could it be safer and more robust:
0 AX_CHECK_LINK_FLAG([-lxcb-shm], [QT_LIBS="-lxcb-shm $QT_LIBS"], [AC_MSG_ERROR([could not link against -lxcb-shm])])
?
Gitian buids:
0Generating report
122ff2f7f61a83d66fcf5e9d908985ed0f393f42dd2270dfb95c9772778e20a91 bitcoin-54f231284515-aarch64-linux-gnu-debug.tar.gz
29e100810f323d88a69622d0925922d608b08ca6789f4527adb4ce8c5c465b0cd bitcoin-54f231284515-aarch64-linux-gnu.tar.gz
3eaeb80e76b2fcab3095fe19e1be8e84e6aa7c8d9cf0efed44f40c20e6e37cc4f bitcoin-54f231284515-arm-linux-gnueabihf-debug.tar.gz
4c2e9ed5de50dd946d76250f55b8cc6dab46e673b6a4a2f37757623291f84a798 bitcoin-54f231284515-arm-linux-gnueabihf.tar.gz
5d44648a879161336265b471fe2312abfd41a4ec942215be7758830c2fd1ed76d bitcoin-54f231284515-powerpc64-linux-gnu-debug.tar.gz
68ae449e77daa07f2394abdd71112ff5e41601ac13006de8bd3e7941781260dd7 bitcoin-54f231284515-powerpc64-linux-gnu.tar.gz
7f5d9e80c8a7cb983855f34647fcf2f79acc148ba808dd8794e2996dca4ab22c7 bitcoin-54f231284515-powerpc64le-linux-gnu-debug.tar.gz
889da46957f31b4ffb468ef451ca102362fe8990851184292fdc7c0b253b67563 bitcoin-54f231284515-powerpc64le-linux-gnu.tar.gz
9e23112b22029e36a1e623de8d41c91f5bb887dfb6354627f4858f7abf0d3b184 bitcoin-54f231284515-riscv64-linux-gnu-debug.tar.gz
10629115080ebb29bb86dda3c5aba76958456a061e5ab4257e20b9d06ef9dbea32 bitcoin-54f231284515-riscv64-linux-gnu.tar.gz
11d14101b05fb1efdf597b22baa13041fa569f3ae9c00187e57549500892735366 bitcoin-54f231284515-x86_64-linux-gnu-debug.tar.gz
127770ffba7f18c21c8a0edb3a62937078c0d84faac2f9d8bfa96832fb361ecdf7 bitcoin-54f231284515-x86_64-linux-gnu.tar.gz
133b93bfad00dc33bf6e3613b62cadaaae124054a8c4b652c9490770afce57fd6d src/bitcoin-54f231284515.tar.gz
148f3834b00248bccee054e394db79cc90cee77064089dd70a00725da658da713d bitcoin-core-linux-22-res.yml
15Done.
0Generating report
19c2660054af072b0f67285472420a7609942c2bfb3fbdb1f0e9b64efc969edd9 bitcoin-54f231284515-win-unsigned.tar.gz
2bd6668abda6f6e2a5f600b4baff789dd32832682decd01fc6d9bf6779458d329 bitcoin-54f231284515-win64-debug.zip
3f888b3ae98c140efde8c58cc3b4be868db419f10456a43bdd3fcac32ae4031ca bitcoin-54f231284515-win64-setup-unsigned.exe
43156eaf12691f1ba59732e70ce4ef9af54e101fced930c79bae26c6c17fe7797 bitcoin-54f231284515-win64.zip
53b93bfad00dc33bf6e3613b62cadaaae124054a8c4b652c9490770afce57fd6d src/bitcoin-54f231284515.tar.gz
63b5f3086b620636b7f6b89e2b1a542143079d2d0440397e741035ee8342c11f9 bitcoin-core-win-22-res.yml
7Done.
0Generating report
10b671e05fc249be09b6729e1d73354834c07ad6baf4be0bed6335a3e6b51d76f bitcoin-54f231284515-osx-unsigned.dmg
2d25d8fec0cecc2685eec2b30355bf1fff1c128091b709a6e75dbc912ba5c1b8c bitcoin-54f231284515-osx-unsigned.tar.gz
3ec002d7a81f7429cf927af141e2757a042eab7bc762331f5082806c6ba01604a bitcoin-54f231284515-osx64.tar.gz
43b93bfad00dc33bf6e3613b62cadaaae124054a8c4b652c9490770afce57fd6d src/bitcoin-54f231284515.tar.gz
558ba9051a9cf02a3b19f3e96cda7fed4a0612de8c0d317c813130edb57fbe026 bitcoin-core-osx-22-res.yml
6Done.
Guix builds:
0$ find output -type f -name *$(git rev-parse --short HEAD)*.* -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
16238f12a7d6b87edebc1bfecfec71864dc3e25f3e59043a3a769bb11f58718be output/bitcoin-54f231284515-aarch64-linux-gnu-debug.tar.gz
27d9534f10e80c6fa4f36119832d3add06e9cd8435975908f042be3ed59a87946 output/bitcoin-54f231284515-aarch64-linux-gnu.tar.gz
3c6f4025e1d11ddabd204dbc97f192bc7e3a673d36bb24435730b96ec5a2b36cc output/bitcoin-54f231284515-arm-linux-gnueabihf-debug.tar.gz
4f941073bb5927c90f47888064af298733664d98da9d1e223e53fb20e9b91e4bc output/bitcoin-54f231284515-arm-linux-gnueabihf.tar.gz
5d8acdab9cfa338d4528580d5807793ea87db5aac9894eebb3070082debf1291f output/bitcoin-54f231284515-osx-unsigned.dmg
6c599d26d5c106b75db04d922199cfd5d4a95875da7e68bfaae98be3f066c1c96 output/bitcoin-54f231284515-osx-unsigned.tar.gz
727397e32d23b8558a89617f0ecaf28a17dbda8330d146856574bf6322d5491ef output/bitcoin-54f231284515-osx64.tar.gz
8e1483073d19617994e868bdd23e50eb8f8b087ceb6bba239790c2b697df809ab output/bitcoin-54f231284515-powerpc64-linux-gnu-debug.tar.gz
91fdedf62e0135e352035e5489adef3350d5bd79817a19d3ea30dbd7a21a1f82d output/bitcoin-54f231284515-powerpc64-linux-gnu.tar.gz
10cf2970e36a260e7cfc2e6b5f5e1e9c2067237ffb7f5451e14d7fd7ef94004b6f output/bitcoin-54f231284515-powerpc64le-linux-gnu-debug.tar.gz
1120cbd83e62c7e9cb17df9e31ab7c1ba27d6d37a4d5fe19dcad688153d943e939 output/bitcoin-54f231284515-powerpc64le-linux-gnu.tar.gz
12898a762973277af662ab9edba1e8bd4b558b67152d3e1a825145652c15661cab output/bitcoin-54f231284515-riscv64-linux-gnu-debug.tar.gz
1310f5d6c617b0118a7e54ec466938409a47da8487aef70ed899da4c9a512e2159 output/bitcoin-54f231284515-riscv64-linux-gnu.tar.gz
14dde91f853323fb0fecdd895b4dc5ce8034baf0c363f686be2a9dc8dee92942ab output/bitcoin-54f231284515-win-unsigned.tar.gz
15775f08d98e60fc499ff22e52b509c8809c5c70b816d7338a107daa83a0e3c512 output/bitcoin-54f231284515-win64-debug.zip
164f28afc269166426bd66e46278a3fa0173e9aa5b4dd1b0d5ac412edb7604e246 output/bitcoin-54f231284515-win64-setup-unsigned.exe
1730d92cdac8392aeb70e6bd8dcdf646f35c1caed70d07ffa7d3c9bcdc68f958ac output/bitcoin-54f231284515-win64.zip
18cdda6eead933ec20f9ba526a3f4ea5c9ecd239b9cab4d70451f0d1ed38ed7725 output/bitcoin-54f231284515-x86_64-linux-gnu-debug.tar.gz
191276fd4160a35b8f4266b7252c234c998142e5d620c546bd895694eefdbec712 output/bitcoin-54f231284515-x86_64-linux-gnu.tar.gz
203b93bfad00dc33bf6e3613b62cadaaae124054a8c4b652c9490770afce57fd6d output/src/bitcoin-54f231284515.tar.gz
The Qt configure summary diff (master vs 54f23128451525bbd704d669ac6d6473bf7dceb3) for HOST=x86_64-pc-linux-gnu
:
0@@ -2,11 +2,13 @@
1
2 Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
3 Building for: linux-g++-64 (x86_64, CPU features: mmx sse sse2)
4-Configuration: cross_compile sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl enable_new_dtags f16c largefile precompile_header silent release c++11 c++14 c++1z dbus no-qml-debug reduce_exports release_tools static stl
5+Target compiler: gcc 9.3.0
6+Configuration: cross_compile sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl enable_new_dtags f16c largefile precompile_header rdrnd shani silent x86SimdAlways release c++11 c++14 c++1z dbus reduce_exports static stl
7 Build options:
8- Mode ................................... release; optimized tools
9+ Mode ................................... release
10 Optimize release build for size ........ no
11 Building shared libraries .............. no
12+ Using C standard ....................... C11
13 Using C++ standard ..................... C++1z
14 Using ccache ........................... no
15 Using gold linker ...................... no
16@@ -15,8 +17,10 @@
17 Using LTCG ............................. no
18 Target compiler supports:
19 SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
20- AVX .................................. AVX AVX2 F16C
21+ AVX .................................. AVX AVX2
22 AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI
23+ Other x86 ............................ AES F16C RDRAND SHA
24+ Intrinsics without -mXXX option ...... yes
25 Build parts ............................ libs
26 Qt modules and options:
27 Qt Concurrent .......................... no
28@@ -30,27 +34,29 @@
29 Qt Xml ................................. no
30 Support enabled for:
31 Using pkg-config ....................... yes
32- QML debugging .......................... no
33 udev ................................... no
34- Using system zlib ...................... yes
35+ Using system zlib ...................... no
36 Qt Core:
37 DoubleConversion ....................... yes
38 Using system DoubleConversion ........ no
39 GLib ................................... no
40 iconv .................................. no
41 ICU .................................... no
42+ Tracing backend ........................ <none>
43 Logging backends:
44 journald ............................. no
45 syslog ............................... no
46 slog2 ................................ no
47 Using system PCRE2 ..................... no
48 Qt Network:
49- getaddrinfo() .......................... yes
50 getifaddrs() ........................... yes
51 IPv6 ifname ............................ yes
52 libproxy ............................... no
53+ Linux AF_NETLINK ....................... yes
54 OpenSSL ................................ no
55 Qt directly linked to OpenSSL ........ no
56+ OpenSSL 1.1 ............................ no
57+ DTLS ................................... no
58 SCTP ................................... no
59 Use system proxies ..................... no
60 Qt Gui:
61@@ -74,6 +80,8 @@
62 OpenGL ES 2.0 ........................ no
63 OpenGL ES 3.0 ........................ no
64 OpenGL ES 3.1 ........................ no
65+ OpenGL ES 3.2 ........................ no
66+ Vulkan ................................. no
67 Session Management ..................... no
68 Features used by QPA backends:
69 evdev .................................. yes
70@@ -81,29 +89,33 @@
71 INTEGRITY HID .......................... no
72 mtdev .................................. no
73 tslib .................................. no
74- xkbcommon-evdev ........................ no
75+ xkbcommon .............................. yes
76+ X11 specific:
77+ XLib ................................. no
78+ XCB Xlib ............................. no
79+ EGL on X11 ........................... no
80 QPA backends:
81 DirectFB ............................... no
82 EGLFS .................................. no
83 LinuxFB ................................ no
84 VNC .................................... no
85 Mir client ............................. no
86- X11:
87+ XCB:
88 Using system-provided XCB libraries .. no
89- EGL on X11 ........................... no
90- Xinput2 .............................. no
91 XCB XKB .............................. yes
92- XLib ................................. no
93- XCB render ........................... yes
94- XCB GLX .............................. no
95- XCB Xlib ............................. no
96- Using system-provided xkbcommon ...... no
97+ XCB XInput ........................... yes
98+ Native painting (experimental) ....... no
99+ GL integrations:
100+ GLX Plugin ......................... no
101+ EGL-X11 Plugin ..................... no
102+Qt Sql:
103+ SQL item models ........................ yes
104 Qt Widgets:
105 GTK+ ................................... no
106 Styles ................................. Fusion Windows
107 Qt PrintSupport:
108 CUPS ................................... no
109-Qt Sql:
110+Qt Sql Drivers:
111 DB2 (IBM) .............................. no
112 InterBase .............................. no
113 MySql .................................. no
114@@ -114,6 +126,8 @@
115 SQLite ................................. no
116 Using system provided SQLite ......... no
117 TDS (Sybase) ........................... no
118+Qt Testlib:
119+ Tester for item models ................. yes
120
121 Note: Also available for Linux: linux-clang linux-icc
122
123@@ -121,8 +135,6 @@
124 loaded plugins. Make sure to import all needed static plugins,
125 or compile needed modules into the library.
126
127-Note: -optimized-tools is not useful in -release mode.
128-
129 Note: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing.
130
131 Qt is now configured for building. Just run 'make'.
340@@ -331,7 +341,8 @@ AC_DEFUN([_BITCOIN_QT_CHECK_STATIC_LIBS], [
341 elif test "x$TARGET_OS" = xdarwin; then
342 PKG_CHECK_MODULES([QTCLIPBOARD], [Qt5ClipboardSupport${qt_lib_suffix}], [QT_LIBS="-lQt5ClipboardSupport${qt_lib_suffix} $QT_LIBS"])
343 PKG_CHECK_MODULES([QTGRAPHICS], [Qt5GraphicsSupport${qt_lib_suffix}], [QT_LIBS="-lQt5GraphicsSupport${qt_lib_suffix} $QT_LIBS"])
344- PKG_CHECK_MODULES([QTCGL], [Qt5CglSupport${qt_lib_suffix}], [QT_LIBS="-lQt5CglSupport${qt_lib_suffix} $QT_LIBS"])
345+ elif test "x$TARGET_OS" = xwindows; then
346+ PKG_CHECK_MODULES([QTWINDOWSUIAUTOMATION], [Qt5WindowsUIAutomationSupport], [QT_LIBS="-lQt5WindowsUIAutomationSupport $QT_LIBS"])
To handle DEBUG=1
this line should be:
0 PKG_CHECK_MODULES([QT_WINDOWSUIAUTOMATION], [Qt5WindowsUIAutomationSupport${qt_lib_suffix}], [QT_LIBS="$QT_WINDOWSUIAUTOMATION_LIBS $QT_LIBS"])
Instead of $QT_WINDOWSUIAUTOMATION_LIBS
could be just -lQt5WindowsUIAutomationSupport${qt_lib_suffix}
, but I prefer the former variant as I think it is more robust and maintainable.
150+ QT_LIBS="-lxcb-shm $QT_LIBS"
151 elif test "x$TARGET_OS" = xdarwin; then
152+ AX_CHECK_LINK_FLAG([[-framework Carbon]],[QT_LIBS="$QT_LIBS -framework Carbon"],[AC_MSG_ERROR(could not link against Carbon framework)])
153+ AX_CHECK_LINK_FLAG([[-framework IOSurface]],[QT_LIBS="$QT_LIBS -framework IOSurface"],[AC_MSG_ERROR(could not link against IOSurface framework)])
154+ AX_CHECK_LINK_FLAG([[-framework Metal]],[QT_LIBS="$QT_LIBS -framework Metal"],[AC_MSG_ERROR(could not link against Metal framework)])
155+ AX_CHECK_LINK_FLAG([[-framework QuartzCore]],[QT_LIBS="$QT_LIBS -framework QuartzCore"],[AC_MSG_ERROR(could not link against QuartzCore framework)])
Could macOS framework checks be placed in one place?
Other place is https://github.com/bitcoin/bitcoin/blob/ee0dc02c6f93de2a366bbff490eb4d37bca6a24f/build-aux/m4/bitcoin_qt.m4#L220-L221
Qt's configure tells us that "-optimized-tools is not useful in -release
mode.", so don't use it there.
Co-authored-by: fanquake <fanquake@gmail.com>
remove fix_configure_mac.patch
Fixed upstream: https://bugreports.qt.io/browse/QTBUG-67286
remove fix_riscv64_arch.patch
Was fixed upstream in 6a39e49a6cdeb28a04a3657bb6a22f848d5dfa9d
remove fix_rcc_determinism.patch
Fixed upstream in https://bugreports.qt.io/browse/QTBUG-62511
remove freetype_back_compat.patch
By the time we ship a release with Qt 5.12, we'll certainly no-longer be
supporting Ubuntu 14.04 and Ubuntu 16.04 ships with FreeType 2.6.1,
which is new enough that using the symbol is no-longer an issue.
The renaming of FT_Get_X11_Font_Format() happened in FreeType 2.6
remove xkb-default.patch
This was removed upstream in d5abf545971da717014d316127045fc19edbcd65
Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
This tries to invoke xcrun, which is not available when cross-compiling.
Given we are in control of the SDK versions being used, removing this
check has minimal-no effect.
See:
- QTBUG-72903, commit 9864d2c6f3b628ca9f07a56b197e77bd43931cca
- QTBUG-78873, commit e55a61a77f0c87c05661a0335dfdb12673c6a27f
Could be dropped for Qt 5.14+.
Approach ACK 550ed1bed2e8091616a2d64254efdd217d94e808, only suggested changes and added -no-feature-sqlmodel
since my recent review, verified with
0$ git range-diff master 54f23128451525bbd704d669ac6d6473bf7dceb3 550ed1bed2e8091616a2d64254efdd217d94e808
Going to make some builds and test them.
Gitian builds:
0Generating report
1978601b2c0bd9f1dce40ec3a6de72f5e029aa0f8fbf2b28793e585d72345a123 bitcoin-550ed1bed2e8-aarch64-linux-gnu-debug.tar.gz
2ad2732abe02eb89e64612ac47ff29e8c1fca23b36a09c9623695728c589d9f44 bitcoin-550ed1bed2e8-aarch64-linux-gnu.tar.gz
3d229b072f2249f2b1ac024406c605d70ddd61fc4726a791d65cda236f55f855c bitcoin-550ed1bed2e8-arm-linux-gnueabihf-debug.tar.gz
4a0069f9d577100a19bd8c02d052ff73daa648b374dfef9c44a6eb3224d0d96e1 bitcoin-550ed1bed2e8-arm-linux-gnueabihf.tar.gz
5978cb7e39142c8bb8a689cad35df68cf7b53c154d88c95cd0881fa0ac7800608 bitcoin-550ed1bed2e8-powerpc64-linux-gnu-debug.tar.gz
67c2567b62173fb0dc9940356d35db2263e5a0a0a4803c96146a4a583980edd0c bitcoin-550ed1bed2e8-powerpc64-linux-gnu.tar.gz
7fba402a49c4b4623ad6c45d31ae4b092c9ad6e305f5aa243a8f8ad71492d3509 bitcoin-550ed1bed2e8-powerpc64le-linux-gnu-debug.tar.gz
8fe57f81c9ca65b8a5cc05b7c7fe4e89c224d7ddd21f0f00cf94515c071f55419 bitcoin-550ed1bed2e8-powerpc64le-linux-gnu.tar.gz
90718c2c892f90953f4649f461dc41a5731b393c096f6675af48d9301199b623e bitcoin-550ed1bed2e8-riscv64-linux-gnu-debug.tar.gz
104a1323d91cbfae01dd65ca7cd4a957d8c22ebf4bb2a24852fd63122724f27c0d bitcoin-550ed1bed2e8-riscv64-linux-gnu.tar.gz
117b71bbbbb0deece039976ee1e78fd70a4305aa3aa689419d0c1d7c9ee2e71293 bitcoin-550ed1bed2e8-x86_64-linux-gnu-debug.tar.gz
129dd50b754ff6a5d6a472672be0f499727c36d056529a83fa0874260a75d04ea9 bitcoin-550ed1bed2e8-x86_64-linux-gnu.tar.gz
1339d60da84bc4c135a76f06caa038f864addf7ccc0d103b6d066784972c55bcda src/bitcoin-550ed1bed2e8.tar.gz
14ee745b2a8139ac78fd7a9705d9696fde48f6e0fbebd6e71926b392f57a44de47 bitcoin-core-linux-22-res.yml
15Done.
0Generating report
156ade2757d57e6a67ab4adbfd648eccc2f0cde4e3d1dd5ed91a08c24a6384dd6 bitcoin-550ed1bed2e8-win-unsigned.tar.gz
2936ad84d582496c7b9183d42fac81ef1f05e23408a481549aafa5372f091ff01 bitcoin-550ed1bed2e8-win64-debug.zip
379c7d9730b8beb0d31f2382f1ed45860b35dd74762a91af50d4117cd0d1f2274 bitcoin-550ed1bed2e8-win64-setup-unsigned.exe
4664ec882f477b1f4d15acb4fb0fa93356c302c40df355ecf6897279a78435577 bitcoin-550ed1bed2e8-win64.zip
539d60da84bc4c135a76f06caa038f864addf7ccc0d103b6d066784972c55bcda src/bitcoin-550ed1bed2e8.tar.gz
60958863215948e3960b19845930fb1f6b8861cb85563a25135f38d2f393019db bitcoin-core-win-22-res.yml
7Done.
0Generating report
1246250fe1e3b465c9d371f48053d4f3325d74e2876036fba159b3e7d978c28b4 bitcoin-550ed1bed2e8-osx-unsigned.dmg
20605848ba1627579b77667b72f6d260025caaac13251a0c060aa353f8b765e5b bitcoin-550ed1bed2e8-osx-unsigned.tar.gz
345231f118cb58a42c3742e813889fb2c6fb84695a817b9eb4ca08e2c0c83cd83 bitcoin-550ed1bed2e8-osx64.tar.gz
439d60da84bc4c135a76f06caa038f864addf7ccc0d103b6d066784972c55bcda src/bitcoin-550ed1bed2e8.tar.gz
53b8241484283646a4b2bdf1a4a183114f01bf54d84946adaa22ab44cd4eca063 bitcoin-core-osx-22-res.yml
6Done.
macOS tests (550ed1bed2e8091616a2d64254efdd217d94e808):
Linux tests (550ed1bed2e8091616a2d64254efdd217d94e808) on Linux Mint 20.1 (x86_64):
0$ make -C depends
1$ ./autogen.sh
2$ CONFIG_SITE=$PWD/depends/x86_64-pc-linux-gnu/share/config.site ./configure --disable-fuzz-binary
3$ make clean > /dev/null
4$ make
To build without --disable-fuzz-binary
the fix is required (#21349)
0$ bin/bitcoin-qt -printtoconsole
12021-03-10T12:37:22Z Bitcoin Core version v21.99.0-550ed1bed2e8 (release build)
22021-03-10T12:37:22Z Qt 5.12.10 (static), plugin=xcb (static)
32021-03-10T12:37:22Z Static plugins:
42021-03-10T12:37:22Z QXcbIntegrationPlugin, version 330752
52021-03-10T12:37:22Z Style: fusion / QFusionStyle
62021-03-10T12:37:22Z System: Linux Mint 20.1, x86_64-little_endian-lp64
72021-03-10T12:37:22Z Screen: HDMI-1 2560x1440, pixel ratio=1.0
82021-03-10T12:37:22Z Screen: DP-1 1920x1080, pixel ratio=1.0
9...
In both cases the https://github.com/bitcoin-core/gui/issues/33 is still an issue.
Tested compiling with depends on macOS Big Sur 11.2.2 (20D80):
0% make -j 9 -C depends
1% ./autogen.sh
2% CONFIG_SITE=$PWD/depends/x86_64-apple-darwin20.3.0/share/config.site ./configure
3% make clean > /dev/null
4% make
5% src/qt/bitcoin-qt -printtoconsole
62021-03-10T12:58:28Z Bitcoin Core version v21.99.0-550ed1bed2e8 (release build)
72021-03-10T12:58:28Z Qt 5.12.10 (static), plugin=cocoa (static)
82021-03-10T12:58:28Z Static plugins:
92021-03-10T12:58:28Z QCocoaIntegrationPlugin, version 330752
102021-03-10T12:58:28Z QMacStylePlugin, version 330752
112021-03-10T12:58:28Z Style: macintosh / QMacStyle
122021-03-10T12:58:28Z System: macOS 10.16, x86_64-little_endian-lp64
132021-03-10T12:58:28Z Screen: Display 1920x1080, pixel ratio=1.0
14...
… but no window is created.
UPDATE: Compiling with depends on macOS Mojave 10.14.6 (18G8022) works flawlessly.
Guix builds:
0$ find output -type f -name *$(git rev-parse --short HEAD)*.* -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
1d48123ece74a551b02b5b3ca21b1d33995c2dd284e38e268c573398c1c73dad9 output/bitcoin-550ed1bed2e8-aarch64-linux-gnu-debug.tar.gz
2ae628864d7d6a0ff954c1e9ad4362d0df382711befdca521c912d6ebf6fc143b output/bitcoin-550ed1bed2e8-aarch64-linux-gnu.tar.gz
35d7c1e55fedc767653ad11e1728a058698d19f4703bf4db49d6da1453d117ad8 output/bitcoin-550ed1bed2e8-arm-linux-gnueabihf-debug.tar.gz
4a72b5189910e1c66af13535233a4be29732e5caa18ce306f3bb3417e1638a0be output/bitcoin-550ed1bed2e8-arm-linux-gnueabihf.tar.gz
57d3480ed6caf9e409d30076a33150deb2d4a119111f2b0cc9c7c5f6c46a11b89 output/bitcoin-550ed1bed2e8-osx-unsigned.dmg
649fd3b6b71869193e3aecf1f0f15af027c6860be94b125383d637e89215be0eb output/bitcoin-550ed1bed2e8-osx-unsigned.tar.gz
779c739ba0cda87867606d68f039edfad96d45f2ebfda2b836e7ff1fba4a316ba output/bitcoin-550ed1bed2e8-osx64.tar.gz
879c090bb05164584245255644f46dbd4dbf03d57c04fce561cea89a4fc7a08cb output/bitcoin-550ed1bed2e8-powerpc64-linux-gnu-debug.tar.gz
9b316598ba2ee1528e4f169adf810a374eb7b284ee574a26d310126e4663acf6d output/bitcoin-550ed1bed2e8-powerpc64-linux-gnu.tar.gz
10eac26fe378fcd4a47525eb7651158081b3a999470b998277d6ccb7e314d29f3b output/bitcoin-550ed1bed2e8-powerpc64le-linux-gnu-debug.tar.gz
11334a159353b1e5c921452a9f50726ede706f58879ec7ab1a16193c8b6d2dd9c4 output/bitcoin-550ed1bed2e8-powerpc64le-linux-gnu.tar.gz
122c94f097788a3927246fdb5e69327c4882747b1b0bb447a41509568528464e0e output/bitcoin-550ed1bed2e8-riscv64-linux-gnu-debug.tar.gz
134aef5af03c50223bf389cb631441f44dc8ad0926ef356d0e5cba0916588ac9b7 output/bitcoin-550ed1bed2e8-riscv64-linux-gnu.tar.gz
147d8f533216e6c09301568b2e451ff18b90eca5e6c4c872c9cee5fd04660a8758 output/bitcoin-550ed1bed2e8-win-unsigned.tar.gz
15c61c805dc35b94d9cf08827f3e3adfb220bc4c966cafedb294b4d6ccf0c34a98 output/bitcoin-550ed1bed2e8-win64-debug.zip
1661075c95b4c7c79da3a5ce6d420e0e272436e12c1851d5ce569525d36e0a5a5c output/bitcoin-550ed1bed2e8-win64-setup-unsigned.exe
17c213d9b4f2d003d0384b5c03bb28ebf2232f38b7a0dfa342d196622f6f13e01d output/bitcoin-550ed1bed2e8-win64.zip
189c6d3d77e2019a92f5d00ff6346caa563a1bc020bd0e0b3b18fce96d2c73e9ea output/bitcoin-550ed1bed2e8-x86_64-linux-gnu-debug.tar.gz
196b86fa1fff57e056f5327028f69415fa3ec59526d9d31fb31d9198624112d3c2 output/bitcoin-550ed1bed2e8-x86_64-linux-gnu.tar.gz
2039d60da84bc4c135a76f06caa038f864addf7ccc0d103b6d066784972c55bcda output/src/bitcoin-550ed1bed2e8.tar.gz
Builds @ 550ed1bed2e8091616a2d64254efdd217d94e808 Linux:
0978601b2c0bd9f1dce40ec3a6de72f5e029aa0f8fbf2b28793e585d72345a123 bitcoin-550ed1bed2e8-aarch64-linux-gnu-debug.tar.gz
1ad2732abe02eb89e64612ac47ff29e8c1fca23b36a09c9623695728c589d9f44 bitcoin-550ed1bed2e8-aarch64-linux-gnu.tar.gz
2d229b072f2249f2b1ac024406c605d70ddd61fc4726a791d65cda236f55f855c bitcoin-550ed1bed2e8-arm-linux-gnueabihf-debug.tar.gz
3a0069f9d577100a19bd8c02d052ff73daa648b374dfef9c44a6eb3224d0d96e1 bitcoin-550ed1bed2e8-arm-linux-gnueabihf.tar.gz
4978cb7e39142c8bb8a689cad35df68cf7b53c154d88c95cd0881fa0ac7800608 bitcoin-550ed1bed2e8-powerpc64-linux-gnu-debug.tar.gz
57c2567b62173fb0dc9940356d35db2263e5a0a0a4803c96146a4a583980edd0c bitcoin-550ed1bed2e8-powerpc64-linux-gnu.tar.gz
6fba402a49c4b4623ad6c45d31ae4b092c9ad6e305f5aa243a8f8ad71492d3509 bitcoin-550ed1bed2e8-powerpc64le-linux-gnu-debug.tar.gz
7fe57f81c9ca65b8a5cc05b7c7fe4e89c224d7ddd21f0f00cf94515c071f55419 bitcoin-550ed1bed2e8-powerpc64le-linux-gnu.tar.gz
80718c2c892f90953f4649f461dc41a5731b393c096f6675af48d9301199b623e bitcoin-550ed1bed2e8-riscv64-linux-gnu-debug.tar.gz
94a1323d91cbfae01dd65ca7cd4a957d8c22ebf4bb2a24852fd63122724f27c0d bitcoin-550ed1bed2e8-riscv64-linux-gnu.tar.gz
107b71bbbbb0deece039976ee1e78fd70a4305aa3aa689419d0c1d7c9ee2e71293 bitcoin-550ed1bed2e8-x86_64-linux-gnu-debug.tar.gz
119dd50b754ff6a5d6a472672be0f499727c36d056529a83fa0874260a75d04ea9 bitcoin-550ed1bed2e8-x86_64-linux-gnu.tar.gz
1239d60da84bc4c135a76f06caa038f864addf7ccc0d103b6d066784972c55bcda src/bitcoin-550ed1bed2e8.tar.gz
139da4241918a63428e610a59d4b2e1ab3e3440525c6f870dc8b7fb8becc712d93 bitcoin-core-linux-22-res.yml
Windows:
056ade2757d57e6a67ab4adbfd648eccc2f0cde4e3d1dd5ed91a08c24a6384dd6 bitcoin-550ed1bed2e8-win-unsigned.tar.gz
1936ad84d582496c7b9183d42fac81ef1f05e23408a481549aafa5372f091ff01 bitcoin-550ed1bed2e8-win64-debug.zip
279c7d9730b8beb0d31f2382f1ed45860b35dd74762a91af50d4117cd0d1f2274 bitcoin-550ed1bed2e8-win64-setup-unsigned.exe
3664ec882f477b1f4d15acb4fb0fa93356c302c40df355ecf6897279a78435577 bitcoin-550ed1bed2e8-win64.zip
439d60da84bc4c135a76f06caa038f864addf7ccc0d103b6d066784972c55bcda src/bitcoin-550ed1bed2e8.tar.gz
5f9713f7195e90bec57f2cfd1d5f4de9b47d563588a1fd260ca6144ad023df0b9 bitcoin-core-win-22-res.yml
macOS:
0d18cd928283438e176148bb592884c6350c55507d5fccf77f412fdec23e5c874 bitcoin-550ed1bed2e8-osx-unsigned.dmg
1fa1390515cd66299f6c53d697783837df062c5f36a7c4dc2a40b05268c98b409 bitcoin-550ed1bed2e8-osx-unsigned.tar.gz
23846f7b25a4ede093abf7f9bc4224ba65d43e50ae55026cb168db7c481f82ab4 bitcoin-550ed1bed2e8-osx64.tar.gz
339d60da84bc4c135a76f06caa038f864addf7ccc0d103b6d066784972c55bcda src/bitcoin-550ed1bed2e8.tar.gz
4924f011c3cd72e207aa1034f2795e00d04bf4ad7024ba075e258ef5de98315b3 bitcoin-core-osx-22-res.yml
Guix:
0d48123ece74a551b02b5b3ca21b1d33995c2dd284e38e268c573398c1c73dad9 output/bitcoin-550ed1bed2e8-aarch64-linux-gnu-debug.tar.gz
1ae628864d7d6a0ff954c1e9ad4362d0df382711befdca521c912d6ebf6fc143b output/bitcoin-550ed1bed2e8-aarch64-linux-gnu.tar.gz
25d7c1e55fedc767653ad11e1728a058698d19f4703bf4db49d6da1453d117ad8 output/bitcoin-550ed1bed2e8-arm-linux-gnueabihf-debug.tar.gz
3a72b5189910e1c66af13535233a4be29732e5caa18ce306f3bb3417e1638a0be output/bitcoin-550ed1bed2e8-arm-linux-gnueabihf.tar.gz
47d3480ed6caf9e409d30076a33150deb2d4a119111f2b0cc9c7c5f6c46a11b89 output/bitcoin-550ed1bed2e8-osx-unsigned.dmg
549fd3b6b71869193e3aecf1f0f15af027c6860be94b125383d637e89215be0eb output/bitcoin-550ed1bed2e8-osx-unsigned.tar.gz
679c739ba0cda87867606d68f039edfad96d45f2ebfda2b836e7ff1fba4a316ba output/bitcoin-550ed1bed2e8-osx64.tar.gz
779c090bb05164584245255644f46dbd4dbf03d57c04fce561cea89a4fc7a08cb output/bitcoin-550ed1bed2e8-powerpc64-linux-gnu-debug.tar.gz
8b316598ba2ee1528e4f169adf810a374eb7b284ee574a26d310126e4663acf6d output/bitcoin-550ed1bed2e8-powerpc64-linux-gnu.tar.gz
9eac26fe378fcd4a47525eb7651158081b3a999470b998277d6ccb7e314d29f3b output/bitcoin-550ed1bed2e8-powerpc64le-linux-gnu-debug.tar.gz
10334a159353b1e5c921452a9f50726ede706f58879ec7ab1a16193c8b6d2dd9c4 output/bitcoin-550ed1bed2e8-powerpc64le-linux-gnu.tar.gz
112c94f097788a3927246fdb5e69327c4882747b1b0bb447a41509568528464e0e output/bitcoin-550ed1bed2e8-riscv64-linux-gnu-debug.tar.gz
124aef5af03c50223bf389cb631441f44dc8ad0926ef356d0e5cba0916588ac9b7 output/bitcoin-550ed1bed2e8-riscv64-linux-gnu.tar.gz
137d8f533216e6c09301568b2e451ff18b90eca5e6c4c872c9cee5fd04660a8758 output/bitcoin-550ed1bed2e8-win-unsigned.tar.gz
14c61c805dc35b94d9cf08827f3e3adfb220bc4c966cafedb294b4d6ccf0c34a98 output/bitcoin-550ed1bed2e8-win64-debug.zip
1561075c95b4c7c79da3a5ce6d420e0e272436e12c1851d5ce569525d36e0a5a5c output/bitcoin-550ed1bed2e8-win64-setup-unsigned.exe
16c213d9b4f2d003d0384b5c03bb28ebf2232f38b7a0dfa342d196622f6f13e01d output/bitcoin-550ed1bed2e8-win64.zip
179c6d3d77e2019a92f5d00ff6346caa563a1bc020bd0e0b3b18fce96d2c73e9ea output/bitcoin-550ed1bed2e8-x86_64-linux-gnu-debug.tar.gz
186b86fa1fff57e056f5327028f69415fa3ec59526d9d31fb31d9198624112d3c2 output/bitcoin-550ed1bed2e8-x86_64-linux-gnu.tar.gz
1939d60da84bc4c135a76f06caa038f864addf7ccc0d103b6d066784972c55bcda output/src/bitcoin-550ed1bed2e8.tar.gz
Windows tests (550ed1bed2e8091616a2d64254efdd217d94e808):
0$ make -C depends HOST=x86_64-w64-mingw32 DEBUG=1
1$ ./autogen.sh
2$ CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --without-libs --disable-fuzz-binary
3$ make clean > /dev/null
4$ make
To build without --without-libs
the fix is required (#21344)
To build without --disable-fuzz-binary
the fix is required (#21349)
02021-03-10T14:53:36Z Bitcoin Core version v21.99.0-550ed1bed2e8 (release build)
12021-03-10T14:53:36Z Qt 5.12.10 (static), plugin=windows (static)
22021-03-10T14:53:36Z Static plugins:
32021-03-10T14:53:36Z QWindowsIntegrationPlugin, version 330752
42021-03-10T14:53:36Z Style: windows / QWindowsStyle
52021-03-10T14:53:36Z System: Windows 10 (10.0), x86_64-little_endian-llp64
62021-03-10T14:53:36Z Screen: \\.\DISPLAY1 2560x1440, pixel ratio=1.0
7...
122@@ -123,7 +123,7 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
123 _BITCOIN_QT_CHECK_STATIC_LIBS
124
125 if test "x$qt_plugin_path" != x; then
126- QT_LIBS="$QT_LIBS -L$qt_plugin_path/platforms"
127+ QT_LIBS="$QT_LIBS -L$qt_plugin_path/platforms -L$qt_plugin_path/styles"
nit (leave for a follow up): “style” directory is not present on all platforms
0 QT_LIBS="$QT_LIBS -L$qt_plugin_path/platforms"
1 if test -d "$qt_plugin_path/styles"; then
2 QT_LIBS="$QT_LIBS -L$qt_plugin_path/styles"
3 fi
ACK 550ed1bed2e8091616a2d64254efdd217d94e808 , tested on macOS 11.2 built from depends
(first) Guix Builds:
0find output -type f -name *$(git rev-parse --short HEAD)*.* -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
1
2d48123ece74a551b02b5b3ca21b1d33995c2dd284e38e268c573398c1c73dad9 output/bitcoin-550ed1bed2e8-aarch64-linux-gnu-debug.tar.gz
3ae628864d7d6a0ff954c1e9ad4362d0df382711befdca521c912d6ebf6fc143b output/bitcoin-550ed1bed2e8-aarch64-linux-gnu.tar.gz
45d7c1e55fedc767653ad11e1728a058698d19f4703bf4db49d6da1453d117ad8 output/bitcoin-550ed1bed2e8-arm-linux-gnueabihf-debug.tar.gz
5a72b5189910e1c66af13535233a4be29732e5caa18ce306f3bb3417e1638a0be output/bitcoin-550ed1bed2e8-arm-linux-gnueabihf.tar.gz
67d3480ed6caf9e409d30076a33150deb2d4a119111f2b0cc9c7c5f6c46a11b89 output/bitcoin-550ed1bed2e8-osx-unsigned.dmg
749fd3b6b71869193e3aecf1f0f15af027c6860be94b125383d637e89215be0eb output/bitcoin-550ed1bed2e8-osx-unsigned.tar.gz
879c739ba0cda87867606d68f039edfad96d45f2ebfda2b836e7ff1fba4a316ba output/bitcoin-550ed1bed2e8-osx64.tar.gz
979c090bb05164584245255644f46dbd4dbf03d57c04fce561cea89a4fc7a08cb output/bitcoin-550ed1bed2e8-powerpc64-linux-gnu-debug.tar.gz
10b316598ba2ee1528e4f169adf810a374eb7b284ee574a26d310126e4663acf6d output/bitcoin-550ed1bed2e8-powerpc64-linux-gnu.tar.gz
11eac26fe378fcd4a47525eb7651158081b3a999470b998277d6ccb7e314d29f3b output/bitcoin-550ed1bed2e8-powerpc64le-linux-gnu-debug.tar.gz
12334a159353b1e5c921452a9f50726ede706f58879ec7ab1a16193c8b6d2dd9c4 output/bitcoin-550ed1bed2e8-powerpc64le-linux-gnu.tar.gz
132c94f097788a3927246fdb5e69327c4882747b1b0bb447a41509568528464e0e output/bitcoin-550ed1bed2e8-riscv64-linux-gnu-debug.tar.gz
144aef5af03c50223bf389cb631441f44dc8ad0926ef356d0e5cba0916588ac9b7 output/bitcoin-550ed1bed2e8-riscv64-linux-gnu.tar.gz
157d8f533216e6c09301568b2e451ff18b90eca5e6c4c872c9cee5fd04660a8758 output/bitcoin-550ed1bed2e8-win-unsigned.tar.gz
16c61c805dc35b94d9cf08827f3e3adfb220bc4c966cafedb294b4d6ccf0c34a98 output/bitcoin-550ed1bed2e8-win64-debug.zip
1761075c95b4c7c79da3a5ce6d420e0e272436e12c1851d5ce569525d36e0a5a5c output/bitcoin-550ed1bed2e8-win64-setup-unsigned.exe
18c213d9b4f2d003d0384b5c03bb28ebf2232f38b7a0dfa342d196622f6f13e01d output/bitcoin-550ed1bed2e8-win64.zip
199c6d3d77e2019a92f5d00ff6346caa563a1bc020bd0e0b3b18fce96d2c73e9ea output/bitcoin-550ed1bed2e8-x86_64-linux-gnu-debug.tar.gz
206b86fa1fff57e056f5327028f69415fa3ec59526d9d31fb31d9198624112d3c2 output/bitcoin-550ed1bed2e8-x86_64-linux-gnu.tar.gz
2139d60da84bc4c135a76f06caa038f864addf7ccc0d103b6d066784972c55bcda output/src/bitcoin-550ed1bed2e8.tar.gz
151 elif test "x$TARGET_OS" = xdarwin; then
152+ AX_CHECK_LINK_FLAG([[-framework Carbon]],[QT_LIBS="$QT_LIBS -framework Carbon"],[AC_MSG_ERROR(could not link against Carbon framework)])
153+ AX_CHECK_LINK_FLAG([[-framework IOSurface]],[QT_LIBS="$QT_LIBS -framework IOSurface"],[AC_MSG_ERROR(could not link against IOSurface framework)])
154+ AX_CHECK_LINK_FLAG([[-framework Metal]],[QT_LIBS="$QT_LIBS -framework Metal"],[AC_MSG_ERROR(could not link against Metal framework)])
155+ AX_CHECK_LINK_FLAG([[-framework QuartzCore]],[QT_LIBS="$QT_LIBS -framework QuartzCore"],[AC_MSG_ERROR(could not link against QuartzCore framework)])
156 _BITCOIN_QT_CHECK_STATIC_PLUGIN([QCocoaIntegrationPlugin], [-lqcocoa])
A note to myself.
plugins/platforms/cocoa/cocoa.pro#n92
:
0LIBS += -framework AppKit -framework CoreServices -framework Carbon -framework IOKit -framework QuartzCore -framework CoreVideo -framework Metal -framework IOSurface -lcups
89@@ -94,10 +90,10 @@ $(package)_config_opts += -no-feature-printdialog
90 $(package)_config_opts += -no-feature-printer
91 $(package)_config_opts += -no-feature-printpreviewdialog
92 $(package)_config_opts += -no-feature-printpreviewwidget
93-$(package)_config_opts += -no-feature-regularexpression
@fanquake Was it done intentionally? If so, what reasons for?
Asking in regards to https://github.com/bitcoin-core/gui/pull/337/files#r636353521.