After building depends and compiling core inside a Fedora 29 Docker container:
0docker run -it --name fedora-depends --workdir /bitcoin fedora-depends
1
2pushd depends
3make -j6 RAPIDCHECK=1
4copying packages: native_protobuf boost openssl libevent zeromq qrencode protobuf zlib qt expat dbus libxcb xcb_proto libXau xproto freetype fontconfig libX11 xextproto libXext xtrans bdb miniupnpc rapidcheck
5to: /bitcoin/depends/x86_64-pc-linux-gnu
6popd
7
8./autogen.sh && ./configure --prefix=/bitcoin/depends/x86_64-pc-linux-gnu
9Options used to compile and link:
10 with wallet = yes
11 with gui / qt = yes
12 with bip70 = yes
13 with qr = yes
14 with zmq = yes
15 with test = yes
16 with fuzz = no
17 with bench = yes
18 with upnp = yes
19 use asm = yes
20 sanitizers =
21 debug enabled = no
22 gprof enabled = no
23 werror = no
24
25 target os = linux
26 build os =
27
28 CC = gcc -m64
29 CFLAGS = -pipe -O2
30 CPPFLAGS = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I/bitcoin/depends/x86_64-pc-linux-gnu/share/../include/ -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS
31 CXX = g++ -m64 -std=c++11
32 CXXFLAGS = -Wstack-protector -fstack-protector-all -pipe -O2
33 LDFLAGS = -pthread -Wl,-z,relro -Wl,-z,now -pie -L/bitcoin/depends/x86_64-pc-linux-gnu/share/../lib
34 ARFLAGS = cr
35
36make check -j6
37
38tail src/test-suite.log
39# ERROR: 0
40
41.. contents:: :depth: 2
42
43FAIL: qt/test/test_bitcoin-qt
44=============================
45
46./qt/test/test_bitcoin-qt: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
47FAIL qt/test/test_bitcoin-qt (exit status: 127)
0ldd src/bitcoind
1 linux-vdso.so.1 (0x00007ffdbeccf000)
2 libdl.so.2 => /lib64/libdl.so.2 (0x00007f1fe8396000)
3 libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f1fe8374000)
4 librt.so.1 => /lib64/librt.so.1 (0x00007f1fe836a000)
5 libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f1fe81d2000)
6 libm.so.6 => /lib64/libm.so.6 (0x00007f1fe804e000)
7 libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f1fe8033000)
8 libc.so.6 => /lib64/libc.so.6 (0x00007f1fe7e6b000)
9 /lib64/ld-linux-x86-64.so.2 (0x00007f1fe8d69000)
10ldd src/qt/bitcoin-qt
11 linux-vdso.so.1 (0x00007ffe9c18a000)
12 libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9537894000)
13 librt.so.1 => /lib64/librt.so.1 (0x00007f953788a000)
14 libdl.so.2 => /lib64/libdl.so.2 (0x00007f9537884000)
15 libm.so.6 => /lib64/libm.so.6 (0x00007f9537700000)
16 libfontconfig.so.1 => not found
17 libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f95376c3000)
18 libfreetype.so.6 => not found
19 libX11-xcb.so.1 => not found
20 libX11.so.6 => not found
21 libxcb.so.1 => not found
22 libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f9537529000)
23 libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f953750e000)
24 libc.so.6 => /lib64/libc.so.6 (0x00007f9537346000)
25 /lib64/ld-linux-x86-64.so.2 (0x00007f95399c8000)