Page MenuHomePhabricator

[Chronik] Fix OSX build
DraftPublic

Authored by tobias_ruck on Sun, Nov 24, 22:57.
This is a draft revision that has not yet been submitted for review.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

TBD

Test Plan

@bot build-osx

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-fix-osx
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31304
Build 62106: Build Diff
Build 62105: arc lint + arc unit

Event Timeline

Tail of the build log:

[488/1035] Building C object src/secp256k1/CMakeFiles/secp256k1-exhaustive_tests.dir/src/tests_exhaustive.c.o
[489/1035] Building C object src/secp256k1/CMakeFiles/verify-bench.dir/src/bench_verify.c.o
[490/1035] Building C object src/secp256k1/CMakeFiles/sign-bench.dir/src/bench_sign.c.o
[491/1035] Building C object src/secp256k1/CMakeFiles/internal-bench.dir/src/bench_internal.c.o
[492/1035] Building CXX object src/CMakeFiles/bitcoinkernel.dir/policy/block/rtt.cpp.o
[493/1035] Building C object src/secp256k1/CMakeFiles/ecmult-bench.dir/src/bench_ecmult.c.o
[494/1035] Linking C static library src/secp256k1/libsecp256k1.a
[495/1035] Building CXX object src/CMakeFiles/bitcoinkernel.dir/avalanche/stakecontendercache.cpp.o
[496/1035] Building CXX object src/CMakeFiles/bitcoinkernel.dir/protocol.cpp.o
[497/1035] Linking CXX static library src/libbitcoinconsensus.a
[498/1035] Linking C executable src/secp256k1/recover-bench
[499/1035] Building CXX object src/CMakeFiles/bitcoinkernel.dir/util/error.cpp.o
[500/1035] Linking C executable src/secp256k1/secp256k1-tests
[501/1035] Building CXX object src/CMakeFiles/bitcoinkernel.dir/util/asmap.cpp.o
[502/1035] Building CXX object src/CMakeFiles/bitcoinkernel.dir/timedata.cpp.o
[503/1035] Linking C executable src/secp256k1/secp256k1-exhaustive_tests
[504/1035] Linking C executable src/secp256k1/verify-bench
[505/1035] Linking CXX static library src/libscript.a
[506/1035] Linking C executable src/secp256k1/sign-bench
[507/1035] Linking C executable src/secp256k1/internal-bench
[508/1035] Building CXX object src/CMakeFiles/bitcoinkernel.dir/util/sock.cpp.o
[509/1035] Linking C executable src/secp256k1/ecmult-bench
[510/1035] Installing component secp256k1-secp256k1-exhaustive_tests
-- Install configuration: "RelWithDebInfo"
-- Install component: "secp256k1-secp256k1-exhaustive_tests"
-- Installing: /results/artifacts/bin/secp256k1-exhaustive_tests
[511/1035] Installing component secp256k1
-- Install configuration: "RelWithDebInfo"
-- Install component: "secp256k1"
-- Installing: /results/artifacts/lib/libsecp256k1.a
-- Installing: /results/artifacts/include/secp256k1.h
-- Installing: /results/artifacts/include/secp256k1_preallocated.h
-- Installing: /results/artifacts/include/secp256k1_recovery.h
-- Installing: /results/artifacts/include/secp256k1_schnorr.h
[512/1035] Installing component secp256k1-secp256k1-tests
-- Install configuration: "RelWithDebInfo"
-- Install component: "secp256k1-secp256k1-tests"
-- Installing: /results/artifacts/bin/secp256k1-tests
[513/1035] Building CXX object src/iguana/CMakeFiles/iguana.dir/iguana_formatter.cpp.o
[514/1035] Building CXX object src/CMakeFiles/bitcoinkernel.dir/net.cpp.o
[515/1035] Building CXX object src/CMakeFiles/bitcoinkernel.dir/policy/block/minerfund.cpp.o
[516/1035] Linking CXX static library src/libcommon.a
[517/1035] Building CXX object src/iguana/CMakeFiles/iguana.dir/iguana_interpreter.cpp.o
[518/1035] Linking CXX shared library src/libbitcoinconsensus.0.30.5.dylib
[519/1035] Linking CXX executable src/bitcoin-cli
[520/1035] Creating library symlink src/libbitcoinconsensus.0.dylib src/libbitcoinconsensus.dylib
[521/1035] Linking CXX executable src/bitcoin-tx
[522/1035] Building CXX object src/iguana/CMakeFiles/iguana.dir/iguana.cpp.o
[523/1035] Building CXX object src/CMakeFiles/bitcoinkernel.dir/policy/block/preconsensus.cpp.o
[524/1035] Linking CXX executable src/iguana/iguana
[525/1035] Building CXX object src/CMakeFiles/bitcoinkernel.dir/policy/block/stakingrewards.cpp.o
[526/1035] Building CXX object src/CMakeFiles/bitcoin-chainstate.dir/bitcoin-chainstate.cpp.o
[527/1035] Linking CXX static library src/libbitcoinkernel.a
/work/depends/x86_64-apple-darwin/native/bin/x86_64-apple-darwin-ranlib: file: src/libbitcoinkernel.a(deploymentstatus.cpp.o) has no symbols
/work/depends/x86_64-apple-darwin/native/bin/x86_64-apple-darwin-ranlib: file: src/libbitcoinkernel.a(sync.cpp.o) has no symbols
/work/depends/x86_64-apple-darwin/native/bin/x86_64-apple-darwin-ranlib: file: src/libbitcoinkernel.a(deploymentstatus.cpp.o) has no symbols
/work/depends/x86_64-apple-darwin/native/bin/x86_64-apple-darwin-ranlib: file: src/libbitcoinkernel.a(sync.cpp.o) has no symbols
[528/1035] Linking CXX executable src/bitcoin-chainstate
ninja: build stopped: cannot make progress due to previous errors.
Build build-osx failed with exit code 1

Tail of the build log:

include/jemalloc/internal/tsd_generic.h:91:24: warning: suggest braces around initialization of subobject [-Wmissing-braces]
                        tsd_t initializer = TSD_INITIALIZER;
                                            ^~~~~~~~~~~~~~~
include/jemalloc/internal/tsd.h:150:9: note: expanded from macro 'TSD_INITIALIZER'
                                TSD_DATA_SLOW_INITIALIZER               \
                                ^~~~~~~~~~~~~~~~~~~~~~~~~
include/jemalloc/internal/tsd.h:121:24: note: expanded from macro 'TSD_DATA_SLOW_INITIALIZER'
    /* tcache_slow */           TCACHE_SLOW_ZERO_INITIALIZER,           \
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/jemalloc/internal/tcache_types.h:22:39: note: expanded from macro 'TCACHE_SLOW_ZERO_INITIALIZER'
#define TCACHE_SLOW_ZERO_INITIALIZER {0}
                                      ^
In file included from src/jemalloc_cpp.cpp:10:
In file included from include/jemalloc/internal/jemalloc_internal_includes.h:51:
In file included from include/jemalloc/internal/prof_structs.h:4:
In file included from include/jemalloc/internal/ckh.h:4:
In file included from include/jemalloc/internal/tsd.h:310:
include/jemalloc/internal/tsd_generic.h:134:22: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        tsd_t initializer = TSD_INITIALIZER;
                            ^~~~~~~~~~~~~~~
include/jemalloc/internal/tsd.h:150:9: note: expanded from macro 'TSD_INITIALIZER'
                                TSD_DATA_SLOW_INITIALIZER               \
                                ^~~~~~~~~~~~~~~~~~~~~~~~~
include/jemalloc/internal/tsd.h:121:24: note: expanded from macro 'TSD_DATA_SLOW_INITIALIZER'
    /* tcache_slow */           TCACHE_SLOW_ZERO_INITIALIZER,           \
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/jemalloc/internal/tcache_types.h:22:39: note: expanded from macro 'TCACHE_SLOW_ZERO_INITIALIZER'
#define TCACHE_SLOW_ZERO_INITIALIZER {0}
                                      ^
2 warnings generated.
/bitcoin/depends/x86_64-apple-darwin/native/bin/x86_64-apple-darwin-ar crus lib/libjemalloc_pic.a src/jemalloc.pic.o src/arena.pic.o src/background_thread.pic.o src/base.pic.o src/bin.pic.o src/bin_info.pic.o src/bitmap.pic.o src/buf_writer.pic.o src/cache_bin.pic.o src/ckh.pic.o src/counter.pic.o src/ctl.pic.o src/decay.pic.o src/div.pic.o src/ecache.pic.o src/edata.pic.o src/edata_cache.pic.o src/ehooks.pic.o src/emap.pic.o src/eset.pic.o src/exp_grow.pic.o src/extent.pic.o src/extent_dss.pic.o src/extent_mmap.pic.o src/fxp.pic.o src/san.pic.o src/san_bump.pic.o src/hook.pic.o src/hpa.pic.o src/hpa_hooks.pic.o src/hpdata.pic.o src/inspect.pic.o src/large.pic.o src/log.pic.o src/malloc_io.pic.o src/mutex.pic.o src/nstime.pic.o src/pa.pic.o src/pa_extra.pic.o src/pai.pic.o src/pac.pic.o src/pages.pic.o src/peak_event.pic.o src/prof.pic.o src/prof_data.pic.o src/prof_log.pic.o src/prof_recent.pic.o src/prof_stats.pic.o src/prof_sys.pic.o src/psset.pic.o src/rtree.pic.o src/safety_check.pic.o src/sc.pic.o src/sec.pic.o src/stats.pic.o src/sz.pic.o src/tcache.pic.o src/test_hooks.pic.o src/thread_event.pic.o src/ticker.pic.o src/tsd.pic.o src/witness.pic.o src/zone.pic.o src/jemalloc_cpp.pic.o
make[1]: Leaving directory '/bitcoin/depends/work/build/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22'
Staging jemalloc...
make[1]: Entering directory '/bitcoin/depends/work/build/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22'
/home/bitcoinabc/.guix-profile/bin/install -c -d /bitcoin/depends/work/staging/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22/bitcoin/depends/x86_64-apple-darwin/bin
/home/bitcoinabc/.guix-profile/bin/install -c -d /bitcoin/depends/work/staging/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22/bitcoin/depends/x86_64-apple-darwin/include/jemalloc
/home/bitcoinabc/.guix-profile/bin/install -c -d /bitcoin/depends/work/staging/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22/bitcoin/depends/x86_64-apple-darwin/lib
/home/bitcoinabc/.guix-profile/bin/install -c -d /bitcoin/depends/work/staging/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22/bitcoin/depends/x86_64-apple-darwin/lib/pkgconfig
'bin/jemalloc-config' -> '/bitcoin/depends/work/staging/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22/bitcoin/depends/x86_64-apple-darwin/bin/jemalloc-config'
'include/jemalloc/jemalloc.h' -> '/bitcoin/depends/work/staging/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22/bitcoin/depends/x86_64-apple-darwin/include/jemalloc/jemalloc.h'
Missing xsltproc.  doc/jemalloc.html not (re)built.
/home/bitcoinabc/.guix-profile/bin/install -c -d /bitcoin/depends/work/staging/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22/bitcoin/depends/x86_64-apple-darwin/share/doc/jemalloc
'bin/jemalloc.sh' -> '/bitcoin/depends/work/staging/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22/bitcoin/depends/x86_64-apple-darwin/bin/jemalloc.sh'
Missing xsltproc.  doc/jemalloc.3 not (re)built.
/home/bitcoinabc/.guix-profile/bin/install -c -d /bitcoin/depends/work/staging/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22/bitcoin/depends/x86_64-apple-darwin/share/man/man3
'bin/jeprof' -> '/bitcoin/depends/work/staging/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22/bitcoin/depends/x86_64-apple-darwin/bin/jeprof'
'jemalloc.pc' -> '/bitcoin/depends/work/staging/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22/bitcoin/depends/x86_64-apple-darwin/lib/pkgconfig/jemalloc.pc'
'doc/jemalloc.html' -> '/bitcoin/depends/work/staging/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22/bitcoin/depends/x86_64-apple-darwin/share/doc/jemalloc/jemalloc.html'
'doc/jemalloc.3' -> '/bitcoin/depends/work/staging/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22/bitcoin/depends/x86_64-apple-darwin/share/man/man3/jemalloc.3'
'lib/libjemalloc.a' -> '/bitcoin/depends/work/staging/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22/bitcoin/depends/x86_64-apple-darwin/lib/libjemalloc.a'
'lib/libjemalloc_pic.a' -> '/bitcoin/depends/work/staging/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22/bitcoin/depends/x86_64-apple-darwin/lib/libjemalloc_pic.a'
make[1]: Leaving directory '/bitcoin/depends/work/build/x86_64-apple-darwin/jemalloc/5.3.0-f75de484e22'
Postprocessing jemalloc...
Caching jemalloc...
copying packages: native_ds_store native_mac_alias native_cctools native_libtapi native_protobuf boost libevent qt qrencode bdb sqlite miniupnpc libnatpmp protobuf openssl zeromq jemalloc
to: /bitcoin/depends/x86_64-apple-darwin
make: Leaving directory '/bitcoin/depends'
rustup-init: OK
contrib/guix/libexec/build.sh: line 235: ./rustup-init: No such file or directory
Build guix-osx failed with exit code 127