depends: Build `qt` package for FreeBSD hosts #32731

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:250611-freebsd-qt changing 5 files +10 −3
  1. hebasto commented at 9:43 PM on June 11, 2025: member

    This PR continues the work started in #23948.

    Here is an excerpt from the log:

    $ ./build/bin/bitcoin-qt -printtoconsole
    2025-06-12T01:06:56Z Bitcoin Core version v29.99.0-15de25ba2a28 (release build)
    2025-06-12T01:06:56Z Qt 6.7.3 (static), plugin=xcb
    2025-06-12T01:06:56Z Static plugins:
    2025-06-12T01:06:56Z  QMinimalIntegrationPlugin, version 395008
    2025-06-12T01:06:56Z  QXcbIntegrationPlugin, version 395008
    2025-06-12T01:06:56Z Style: fusion / QFusionStyle
    2025-06-12T01:06:56Z System: FreeBSD 14.3-RELEASE, x86_64-little_endian-lp64
    

    And here are the screenshots:

    image

    image

  2. hebasto added the label Build system on Jun 11, 2025
  3. DrahtBot commented at 9:43 PM on June 11, 2025: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/32731.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK vasild

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #32262 (build: Restore cross-compilation for Android by hebasto)

    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.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  4. hebasto force-pushed on Jun 11, 2025
  5. hebasto marked this as a draft on Jun 11, 2025
  6. hebasto force-pushed on Jun 11, 2025
  7. hebasto marked this as ready for review on Jun 12, 2025
  8. in depends/README.md:38 in 15de25ba2a outdated
      32 | @@ -33,6 +33,10 @@ To build dependencies for the current arch+OS:
      33 |  
      34 |      pkg install bash cmake curl gmake
      35 |  
      36 | +Skip the following packages if you don't intend to use the GUI and will build with [`NO_QT=1`](#dependency-options):
      37 | +
      38 | +    pkg install bison ninja pkgconf python3
    


    Sjors commented at 7:32 AM on June 12, 2025:

    If you also want to add OpenBSD, pkg_add python3 won't work and instead you have to do python and manually select 3 (though I'm sure there's an easier way).

  9. hebasto commented at 11:13 AM on June 16, 2025: member

    Friendly ping @vasild :)

  10. in depends/README.md:36 in 15de25ba2a outdated
      32 | @@ -33,6 +33,10 @@ To build dependencies for the current arch+OS:
      33 |  
      34 |      pkg install bash cmake curl gmake
      35 |  
      36 | +Skip the following packages if you don't intend to use the GUI and will build with [`NO_QT=1`](#dependency-options):
    


    vasild commented at 1:28 PM on June 19, 2025:

    On a pristine FreeBSD environment plus the following packages installed:

    bash-5.2.37
    bison-3.8.2_2,1
    brotli-1.1.0,1
    cmake-3.31.7
    cmake-core-3.31.7
    cmake-doc-3.31.7
    cmake-man-3.31.7
    curl-8.14.1
    expat-2.7.1
    gettext-runtime-0.23.1
    gmake-4.4.1
    indexinfo-0.3.1_1
    jsoncpp-1.9.6_1
    libffi-3.5.1
    libidn2-2.3.8
    liblz4-1.10.0,1
    libnghttp2-1.65.0
    libpsl-0.21.5_2
    libssh2-1.11.1,3
    libtextstyle-0.23.1
    libunistring-1.3
    libuv-1.51.0
    m4-1.4.19_1,1
    mpdecimal-4.0.1
    ninja-1.11.1,4
    pkg-2.2.0
    pkgconf-2.4.3,1
    python3-3_4
    python311-3.11.13
    readline-8.2.13_2
    rhash-1.4.4_1
    zstd-1.5.7
    

    I get this error:

    bitcoin/depends$ gmake # ok
    
    bitcoin$ cmake -B build --toolchain depends/x86_64-unknown-freebsd14.2/toolchain.cmake 
    -- The CXX compiler identification is Clang 19.1.7
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/clang++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Setting build type to "RelWithDebInfo" as none was specified
    -- Performing Test CXX_SUPPORTS__WERROR
    -- Performing Test CXX_SUPPORTS__WERROR - Success
    -- Performing Test CXX_SUPPORTS__G3
    -- Performing Test CXX_SUPPORTS__G3 - Success
    -- Performing Test LINKER_SUPPORTS__G3
    -- Performing Test LINKER_SUPPORTS__G3 - Success
    -- Performing Test CXX_SUPPORTS__FTRAPV
    -- Performing Test CXX_SUPPORTS__FTRAPV - Success
    -- Performing Test LINKER_SUPPORTS__FTRAPV
    -- Performing Test LINKER_SUPPORTS__FTRAPV - Success
    -- Found SQLite3: /tmp/bitcoin/depends/x86_64-unknown-freebsd14.2/include (found suitable version "3.46.1", minimum required is "3.7.17")
    -- Found ZeroMQ: /tmp/bitcoin/depends/x86_64-unknown-freebsd14.2/lib/cmake/ZeroMQ (found suitable version "4.3.5", minimum required is "4.0.0")
    -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
    -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
    -- Check if compiler accepts -pthread
    -- Check if compiler accepts -pthread - yes
    -- Found Threads: TRUE
    -- Using Qt bundled ZLIB.
    -- Found WrapZLIB: TRUE
    -- Performing Test HAVE_STDATOMIC
    -- Performing Test HAVE_STDATOMIC - Success
    -- Found WrapAtomic: TRUE
    -- Using Qt bundled PCRE2.
    -- Found WrapPCRE2: TRUE
    -- Performing Test HAVE_GETTIME
    -- Performing Test HAVE_GETTIME - Success
    -- Performing Test HAVE_SHM_OPEN_SHM_UNLINK
    -- Performing Test HAVE_SHM_OPEN_SHM_UNLINK - Success
    -- Found WrapRt: TRUE
    -- Using Qt bundled PNG.
    -- Found WrapPNG: TRUE
    -- Using Qt bundled Harfbuzz.
    -- Found WrapHarfbuzz: TRUE
    -- Found WrapSystemFreetype: TRUE (found version "2.11.0")
    -- Using system Freetype.
    -- Found WrapFreetype: TRUE
    -- Found Fontconfig: /tmp/bitcoin/depends/x86_64-unknown-freebsd14.2/lib/libfontconfig.so (found version "2.12.6")
    -- Found XKB: /tmp/bitcoin/depends/x86_64-unknown-freebsd14.2/lib/libxkbcommon.so (Required is at least version "0.5.0")
    -- Checking for module 'xkbcommon-x11>=0.4.1'
    --   Package 'xkbcommon-x11' not found
    CMake Warning at /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
      Found package configuration file:
    
        /tmp/bitcoin/depends/x86_64-unknown-freebsd14.2/lib/cmake/Qt6XcbQpaPrivate/Qt6XcbQpaPrivateConfig.cmake
    
      but it set Qt6XcbQpaPrivate_FOUND to FALSE so package "Qt6XcbQpaPrivate" is
      considered to be NOT FOUND.  Reason given by package:
    
      Qt6XcbQpaPrivate could not be found because dependency XKB_COMMON_X11 could
      not be found.
    
      Configuring with --debug-find-pkg=XKB_COMMON_X11 might reveal details why
      the package was not found.
    
      Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
      of the path variables that find_package uses to try and find the package.
    
    Call Stack (most recent call first):
      depends/x86_64-unknown-freebsd14.2/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
      depends/x86_64-unknown-freebsd14.2/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginDependencies.cmake:18 (_qt_internal_find_qt_dependencies)
      depends/x86_64-unknown-freebsd14.2/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginConfig.cmake:51 (include)
      depends/x86_64-unknown-freebsd14.2/lib/cmake/Qt6/QtPublicPluginHelpers.cmake:518 (include)
      depends/x86_64-unknown-freebsd14.2/lib/cmake/Qt6Gui/Qt6GuiPlugins.cmake:13 (__qt_internal_include_plugin_packages)
      depends/x86_64-unknown-freebsd14.2/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake:147 (include)
      depends/x86_64-unknown-freebsd14.2/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
      cmake/module/FindQt.cmake:30 (find_package)
      CMakeLists.txt:166 (find_package)
    
    
    -- Found Qt: /tmp/bitcoin/depends/x86_64-unknown-freebsd14.2/lib/cmake/Qt6 (found suitable version "6.7.3", minimum required is "6.2")
    -- Performing Test LINKER_SUPPORTS__WL___FATAL_WARNINGS
    -- Performing Test LINKER_SUPPORTS__WL___FATAL_WARNINGS - Success
    -- Found Boost: /tmp/bitcoin/depends/x86_64-unknown-freebsd14.2/include (found suitable version "1.81.0", minimum required is "1.73.0")
    -- Performing Test NO_DIAGNOSTICS_BOOST_NO_CXX98_FUNCTION_BASE
    -- Performing Test NO_DIAGNOSTICS_BOOST_NO_CXX98_FUNCTION_BASE - Failed
    -- Found Libevent: /tmp/bitcoin/depends/x86_64-unknown-freebsd14.2/lib/cmake/libevent (found suitable version "2.1.12", minimum required is "2.1.8")
    -- Performing Test HAVE_EVHTTP_CONNECTION_GET_PEER_CONST_CHAR
    -- Performing Test HAVE_EVHTTP_CONNECTION_GET_PEER_CONST_CHAR - Failed
    -- Looking for O_CLOEXEC
    -- Looking for O_CLOEXEC - found
    -- Looking for fdatasync
    -- Looking for fdatasync - found
    -- Looking for fork
    -- Looking for fork - found
    -- Looking for pipe2
    -- Looking for pipe2 - found
    -- Looking for setsid
    -- Looking for setsid - found
    -- Performing Test IFADDR_LINKS_WITHOUT_LIBSOCKET
    -- Performing Test IFADDR_LINKS_WITHOUT_LIBSOCKET - Success
    -- Performing Test STD_ATOMIC_LINKS_WITHOUT_LIBATOMIC
    -- Performing Test STD_ATOMIC_LINKS_WITHOUT_LIBATOMIC - Success
    -- Looking for std::system
    -- Looking for std::system - found
    -- Looking for ::_wsystem
    -- Looking for ::_wsystem - not found
    -- Performing Test STRERROR_R_CHAR_P
    -- Performing Test STRERROR_R_CHAR_P - Failed
    -- Looking for malloc_info
    -- Looking for malloc_info - not found
    -- Performing Test HAVE_MALLOPT_ARENA_MAX
    -- Performing Test HAVE_MALLOPT_ARENA_MAX - Failed
    -- Performing Test HAVE_POSIX_FALLOCATE
    -- Performing Test HAVE_POSIX_FALLOCATE - Success
    -- Performing Test HAVE_STRONG_GETAUXVAL
    -- Performing Test HAVE_STRONG_GETAUXVAL - Failed
    -- Performing Test HAVE_SOCKADDR_UN
    -- Performing Test HAVE_SOCKADDR_UN - Success
    -- Performing Test HAVE_GETRANDOM
    -- Performing Test HAVE_GETRANDOM - Success
    -- Performing Test HAVE_GETENTROPY_RAND
    -- Performing Test HAVE_GETENTROPY_RAND - Failed
    -- Performing Test HAVE_SYSCTL
    -- Performing Test HAVE_SYSCTL - Success
    -- Performing Test HAVE_SYSCTL_ARND
    -- Performing Test HAVE_SYSCTL_ARND - Success
    -- Performing Test HAVE_SSE41
    -- Performing Test HAVE_SSE41 - Success
    -- Performing Test HAVE_AVX2
    -- Performing Test HAVE_AVX2 - Success
    -- Performing Test HAVE_X86_SHANI
    -- Performing Test HAVE_X86_SHANI - Success
    -- Performing Test HAVE_ARM_SHANI
    -- Performing Test HAVE_ARM_SHANI - Failed
    -- Performing Test CXX_SUPPORTS__WALL
    -- Performing Test CXX_SUPPORTS__WALL - Success
    -- Performing Test CXX_SUPPORTS__WEXTRA
    -- Performing Test CXX_SUPPORTS__WEXTRA - Success
    -- Performing Test CXX_SUPPORTS__WGNU
    -- Performing Test CXX_SUPPORTS__WGNU - Success
    -- Performing Test CXX_SUPPORTS__WFORMAT__WFORMAT_SECURITY
    -- Performing Test CXX_SUPPORTS__WFORMAT__WFORMAT_SECURITY - Success
    -- Performing Test CXX_SUPPORTS__WVLA
    -- Performing Test CXX_SUPPORTS__WVLA - Success
    -- Performing Test CXX_SUPPORTS__WSHADOW_FIELD
    -- Performing Test CXX_SUPPORTS__WSHADOW_FIELD - Success
    -- Performing Test CXX_SUPPORTS__WTHREAD_SAFETY
    -- Performing Test CXX_SUPPORTS__WTHREAD_SAFETY - Success
    -- Performing Test CXX_SUPPORTS__WTHREAD_SAFETY_POINTER
    -- Performing Test CXX_SUPPORTS__WTHREAD_SAFETY_POINTER - Failed
    -- Performing Test CXX_SUPPORTS__WLOOP_ANALYSIS
    -- Performing Test CXX_SUPPORTS__WLOOP_ANALYSIS - Success
    -- Performing Test CXX_SUPPORTS__WREDUNDANT_DECLS
    -- Performing Test CXX_SUPPORTS__WREDUNDANT_DECLS - Success
    -- Performing Test CXX_SUPPORTS__WUNUSED_MEMBER_FUNCTION
    -- Performing Test CXX_SUPPORTS__WUNUSED_MEMBER_FUNCTION - Success
    -- Performing Test CXX_SUPPORTS__WDATE_TIME
    -- Performing Test CXX_SUPPORTS__WDATE_TIME - Success
    -- Performing Test CXX_SUPPORTS__WCONDITIONAL_UNINITIALIZED
    -- Performing Test CXX_SUPPORTS__WCONDITIONAL_UNINITIALIZED - Success
    -- Performing Test CXX_SUPPORTS__WDUPLICATED_BRANCHES
    -- Performing Test CXX_SUPPORTS__WDUPLICATED_BRANCHES - Failed
    -- Performing Test CXX_SUPPORTS__WDUPLICATED_COND
    -- Performing Test CXX_SUPPORTS__WDUPLICATED_COND - Failed
    -- Performing Test CXX_SUPPORTS__WLOGICAL_OP
    -- Performing Test CXX_SUPPORTS__WLOGICAL_OP - Failed
    -- Performing Test CXX_SUPPORTS__WOVERLOADED_VIRTUAL
    -- Performing Test CXX_SUPPORTS__WOVERLOADED_VIRTUAL - Success
    -- Performing Test CXX_SUPPORTS__WSUGGEST_OVERRIDE
    -- Performing Test CXX_SUPPORTS__WSUGGEST_OVERRIDE - Success
    -- Performing Test CXX_SUPPORTS__WIMPLICIT_FALLTHROUGH
    -- Performing Test CXX_SUPPORTS__WIMPLICIT_FALLTHROUGH - Success
    -- Performing Test CXX_SUPPORTS__WUNREACHABLE_CODE
    -- Performing Test CXX_SUPPORTS__WUNREACHABLE_CODE - Success
    -- Performing Test CXX_SUPPORTS__WDOCUMENTATION
    -- Performing Test CXX_SUPPORTS__WDOCUMENTATION - Success
    -- Performing Test CXX_SUPPORTS__WSELF_ASSIGN
    -- Performing Test CXX_SUPPORTS__WSELF_ASSIGN - Success
    -- Performing Test CXX_SUPPORTS__WBIDI_CHARS_ANY
    -- Performing Test CXX_SUPPORTS__WBIDI_CHARS_ANY - Failed
    -- Performing Test CXX_SUPPORTS__WUNDEF
    -- Performing Test CXX_SUPPORTS__WUNDEF - Success
    -- Performing Test CXX_SUPPORTS__WUNUSED_PARAMETER
    -- Performing Test CXX_SUPPORTS__WUNUSED_PARAMETER - Success
    -- Performing Test CXX_SUPPORTS__FNO_EXTENDED_IDENTIFIERS
    -- Performing Test CXX_SUPPORTS__FNO_EXTENDED_IDENTIFIERS - Failed
    -- Performing Test CXX_SUPPORTS__FDEBUG_PREFIX_MAP_A_B
    -- Performing Test CXX_SUPPORTS__FDEBUG_PREFIX_MAP_A_B - Success
    -- Performing Test CXX_SUPPORTS__FMACRO_PREFIX_MAP_A_B
    -- Performing Test CXX_SUPPORTS__FMACRO_PREFIX_MAP_A_B - Success
    -- Performing Test CXX_SUPPORTS__FSTACK_REUSE_NONE
    -- Performing Test CXX_SUPPORTS__FSTACK_REUSE_NONE - Failed
    -- Performing Test CXX_SUPPORTS__U_FORTIFY_SOURCE__D_FORTIFY_SOURCE_3_2d08
    -- Performing Test CXX_SUPPORTS__U_FORTIFY_SOURCE__D_FORTIFY_SOURCE_3_2d08 - Success
    -- Performing Test LINKER_SUPPORTS__U_FORTIFY_SOURCE__D_FORTIFY_SOURCE_3_2d08
    -- Performing Test LINKER_SUPPORTS__U_FORTIFY_SOURCE__D_FORTIFY_SOURCE_3_2d08 - Success
    -- Performing Test CXX_SUPPORTS__WSTACK_PROTECTOR
    -- Performing Test CXX_SUPPORTS__WSTACK_PROTECTOR - Success
    -- Performing Test CXX_SUPPORTS__FSTACK_PROTECTOR_ALL
    -- Performing Test CXX_SUPPORTS__FSTACK_PROTECTOR_ALL - Success
    -- Performing Test LINKER_SUPPORTS__FSTACK_PROTECTOR_ALL
    -- Performing Test LINKER_SUPPORTS__FSTACK_PROTECTOR_ALL - Success
    -- Performing Test CXX_SUPPORTS__FCF_PROTECTION_FULL
    -- Performing Test CXX_SUPPORTS__FCF_PROTECTION_FULL - Success
    -- Performing Test LINKER_SUPPORTS__FCF_PROTECTION_FULL
    -- Performing Test LINKER_SUPPORTS__FCF_PROTECTION_FULL - Success
    -- Performing Test CXX_SUPPORTS__FSTACK_CLASH_PROTECTION
    -- Performing Test CXX_SUPPORTS__FSTACK_CLASH_PROTECTION - Success
    -- Performing Test LINKER_SUPPORTS__FSTACK_CLASH_PROTECTION
    -- Performing Test LINKER_SUPPORTS__FSTACK_CLASH_PROTECTION - Success
    -- Performing Test LINKER_SUPPORTS__WL___ENABLE_RELOC_SECTION
    -- Performing Test LINKER_SUPPORTS__WL___ENABLE_RELOC_SECTION - Failed
    -- Performing Test LINKER_SUPPORTS__WL___DYNAMICBASE
    -- Performing Test LINKER_SUPPORTS__WL___DYNAMICBASE - Failed
    -- Performing Test LINKER_SUPPORTS__WL___NXCOMPAT
    -- Performing Test LINKER_SUPPORTS__WL___NXCOMPAT - Failed
    -- Performing Test LINKER_SUPPORTS__WL___HIGH_ENTROPY_VA
    -- Performing Test LINKER_SUPPORTS__WL___HIGH_ENTROPY_VA - Failed
    -- Performing Test LINKER_SUPPORTS__WL__Z_RELRO
    -- Performing Test LINKER_SUPPORTS__WL__Z_RELRO - Success
    -- Performing Test LINKER_SUPPORTS__WL__Z_NOW
    -- Performing Test LINKER_SUPPORTS__WL__Z_NOW - Success
    -- Performing Test LINKER_SUPPORTS__WL__Z_SEPARATE_CODE
    -- Performing Test LINKER_SUPPORTS__WL__Z_SEPARATE_CODE - Success
    -- Found Python3: /usr/local/bin/python3 (found suitable version "3.11.13", minimum required is "3.10") found components: Interpreter
    -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE dot) 
    -- Performing Test HAVE_BUILTIN_PREFETCH
    -- Performing Test HAVE_BUILTIN_PREFETCH - Success
    -- Performing Test HAVE_MM_PREFETCH
    -- Performing Test HAVE_MM_PREFETCH - Success
    -- Performing Test HAVE_SSE42
    -- Performing Test HAVE_SSE42 - Success
    -- Performing Test HAVE_ARM64_CRC32C
    -- Performing Test HAVE_ARM64_CRC32C - Failed
    -- Looking for F_FULLFSYNC
    -- Looking for F_FULLFSYNC - not found
    -- Performing Test HAVE_CLMUL
    -- Performing Test HAVE_CLMUL - Success
    
    Configuring secp256k1 subtree...
    -- The C compiler identification is Clang 19.1.7
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/bin/clang - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Performing Test HAVE_X86_64_ASM
    -- Performing Test HAVE_X86_64_ASM - Success
    -- Could NOT find Valgrind (missing: Valgrind_INCLUDE_DIR Valgrind_WORKS) 
    -- Performing Test C_SUPPORTS__WALL
    -- Performing Test C_SUPPORTS__WALL - Success
    -- Performing Test C_SUPPORTS__PEDANTIC
    -- Performing Test C_SUPPORTS__PEDANTIC - Success
    -- Performing Test C_SUPPORTS__WCAST_ALIGN
    -- Performing Test C_SUPPORTS__WCAST_ALIGN - Success
    -- Performing Test C_SUPPORTS__WCAST_ALIGN_STRICT
    -- Performing Test C_SUPPORTS__WCAST_ALIGN_STRICT - Failed
    -- Performing Test C_SUPPORTS__WCONDITIONAL_UNINITIALIZED
    -- Performing Test C_SUPPORTS__WCONDITIONAL_UNINITIALIZED - Success
    -- Performing Test C_SUPPORTS__WEXTRA
    -- Performing Test C_SUPPORTS__WEXTRA - Success
    -- Performing Test C_SUPPORTS__WNESTED_EXTERNS
    -- Performing Test C_SUPPORTS__WNESTED_EXTERNS - Success
    -- Performing Test C_SUPPORTS__WNO_LONG_LONG
    -- Performing Test C_SUPPORTS__WNO_LONG_LONG - Success
    -- Performing Test C_SUPPORTS__WNO_OVERLENGTH_STRINGS
    -- Performing Test C_SUPPORTS__WNO_OVERLENGTH_STRINGS - Success
    -- Performing Test C_SUPPORTS__WNO_UNUSED_FUNCTION
    -- Performing Test C_SUPPORTS__WNO_UNUSED_FUNCTION - Success
    -- Performing Test C_SUPPORTS__WRESERVED_IDENTIFIER
    -- Performing Test C_SUPPORTS__WRESERVED_IDENTIFIER - Success
    -- Performing Test C_SUPPORTS__WSHADOW
    -- Performing Test C_SUPPORTS__WSHADOW - Success
    -- Performing Test C_SUPPORTS__WSTRICT_PROTOTYPES
    -- Performing Test C_SUPPORTS__WSTRICT_PROTOTYPES - Success
    -- Performing Test C_SUPPORTS__WUNDEF
    -- Performing Test C_SUPPORTS__WUNDEF - Success
    
    
    secp256k1 configure summary
    ===========================
    Build artifacts:
      library type ........................ Static
    Optional modules:
      ECDH ................................ OFF
      ECDSA pubkey recovery ............... ON
      extrakeys ........................... ON
      schnorrsig .......................... ON
      musig ............................... OFF
      ElligatorSwift ...................... ON
    Parameters:
      ecmult window size .................. 15
      ecmult gen table size ............... 86 KiB
    Optional features:
      assembly ............................ x86_64
      external callbacks .................. OFF
    Optional binaries:
      benchmark ........................... OFF
      noverify_tests ...................... ON
      tests ............................... ON
      exhaustive tests .................... ON
      ctime_tests ......................... OFF
      examples ............................ OFF
    
    Cross compiling ....................... FALSE
    Valgrind .............................. OFF
    Preprocessor defined macros ........... ENABLE_MODULE_ELLSWIFT=1 ENABLE_MODULE_SCHNORRSIG=1 ENABLE_MODULE_EXTRAKEYS=1 ENABLE_MODULE_RECOVERY=1 ECMULT_WINDOW_SIZE=15 COMB_BLOCKS=43 COMB_TEETH=6 USE_ASM_X86_64=1
    C compiler ............................ Clang 19.1.7, /usr/bin/clang
    CFLAGS ................................ -pipe -std=c11
    Compile options ....................... -Wall -pedantic -Wcast-align -Wconditional-uninitialized -Wextra -Wnested-externs -Wno-long-long -Wno-overlength-strings -Wno-unused-function -Wreserved-identifier -Wshadow -Wstrict-prototypes -Wundef
    Build type:
     - CMAKE_BUILD_TYPE ................... RelWithDebInfo
     - CFLAGS ............................. -O2 -O2 -g 
     - LDFLAGS for executables ............ 
     - LDFLAGS for shared libraries ....... 
    
    
    
    Configure summary
    =================
    Executables:
      bitcoin ............................. ON
      bitcoind ............................ ON
      bitcoin-node (multiprocess) ......... OFF
      bitcoin-qt (GUI) .................... ON
      bitcoin-gui (GUI, multiprocess) ..... OFF
      bitcoin-cli ......................... ON
      bitcoin-tx .......................... ON
      bitcoin-util ........................ ON
      bitcoin-wallet ...................... ON
      bitcoin-chainstate (experimental) ... OFF
      libbitcoinkernel (experimental) ..... OFF
    Optional features:
      wallet support ...................... ON
      external signer ..................... ON
      ZeroMQ .............................. ON
      IPC ................................. OFF
      USDT tracing ........................ OFF
      QR code (GUI) ....................... OFF
      DBus (GUI) .......................... ON
    Tests:
      test_bitcoin ........................ ON
      test_bitcoin-qt ..................... ON
      bench_bitcoin ....................... OFF
      fuzz binary ......................... OFF
    
    Cross compiling ....................... FALSE
    C++ compiler .......................... Clang 19.1.7, /usr/bin/clang++
    CMAKE_BUILD_TYPE ...................... RelWithDebInfo
    Preprocessor defined macros ........... 
    C++ compiler flags .................... -m64 -pipe -std=c++20 -O2 -O2 -g -std=c++20 -fPIC -fdebug-prefix-map=/tmp/bitcoin/src=. -fmacro-prefix-map=/tmp/bitcoin/src=. -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection $<$<COMPILE_LANG_AND_ID:CUDA,NVIDIA>:SHELL:-Xcompiler -pthread> $<$<AND:$<NOT:$<COMPILE_LANG_AND_ID:CUDA,NVIDIA>>,$<NOT:$<COMPILE_LANGUAGE:Swift>>>:-pthread> -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wloop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wdocumentation -Wself-assign -Wundef -Wno-unused-parameter
    Linker flags .......................... -pipe -std=c++20 -O2 -O2 -g -fstack-protector-all -fcf-protection=full -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -Wl,-z,separate-code -fPIE -pie
    
    NOTE: The summary above may not exactly match the final applied build flags
          if any additional CMAKE_* or environment variables have been modified.
          To see the exact flags applied, build with the --verbose option.
    
    Treat compiler warnings as errors ..... OFF
    Use ccache for compiling .............. OFF
    
    
    -- Configuring done (4.8s)
    CMake Error at depends/x86_64-unknown-freebsd14.2/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginTargets.cmake:61 (set_target_properties):
      The link interface of target "Qt6::QXcbIntegrationPlugin" contains:
    
        Qt6::XcbQpaPrivate
    
      but the target was not found.  Possible reasons include:
    
        * There is a typo in the target name.
        * A find_package call is missing for an IMPORTED target.
        * An ALIAS target is missing.
    
    Call Stack (most recent call first):
      depends/x86_64-unknown-freebsd14.2/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginConfig.cmake:54 (include)
      depends/x86_64-unknown-freebsd14.2/lib/cmake/Qt6/QtPublicPluginHelpers.cmake:518 (include)
      depends/x86_64-unknown-freebsd14.2/lib/cmake/Qt6Gui/Qt6GuiPlugins.cmake:13 (__qt_internal_include_plugin_packages)
      depends/x86_64-unknown-freebsd14.2/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake:147 (include)
      depends/x86_64-unknown-freebsd14.2/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
      cmake/module/FindQt.cmake:30 (find_package)
      CMakeLists.txt:166 (find_package)
    
    
    -- Generating done (0.1s)
    CMake Generate step failed.  Build files cannot be regenerated correctly.
    

    vasild commented at 5:01 AM on June 20, 2025:

    This fixes it:

    diff --git i/depends/toolchain.cmake.in w/depends/toolchain.cmake.in
    index a38cb6135b..6dbb13dd69 100644
    --- i/depends/toolchain.cmake.in
    +++ w/depends/toolchain.cmake.in
    @@ -98,13 +98,13 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND NOT CMAKE_HOST_APPLE)
       # In turn, the find_library() inspects the well-known locations
       # on the file system; therefore, a hint is required.
       set(CMAKE_FRAMEWORK_PATH "@OSX_SDK@/System/Library/Frameworks")
     endif()
     
     
    -if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
    +if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|FreeBSD)$")
       # Customize pkg-config behavior for finding dependencies
       # of the xcb QPA platform plugin:
       # 1. Restrict search paths to the depends.
       # 2. Make output suitable for static linking.
       cmake_path(APPEND CMAKE_CURRENT_LIST_DIR "lib" "pkgconfig" OUTPUT_VARIABLE pkg_config_path)
       set(ENV{PKG_CONFIG_PATH} ${pkg_config_path})
    

    Result:

    $ LD_LIBRARY_PATH=depends/x86_64-unknown-freebsd14.2/lib ldd ./build/bin/bitcoin-qt
    ./build/bin/bitcoin-qt:
    	libfontconfig.so.1 => depends/x86_64-unknown-freebsd14.2/lib/libfontconfig.so.1 (0x2c3cbfac6000)
    	libfreetype.so.6 => depends/x86_64-unknown-freebsd14.2/lib/libfreetype.so.6 (0x2c3cc00a8000)
    	libxkbcommon.so.0 => depends/x86_64-unknown-freebsd14.2/lib/libxkbcommon.so.0 (0x2c3cc3426000)
    	libxkbcommon-x11.so.0 => depends/x86_64-unknown-freebsd14.2/lib/libxkbcommon-x11.so.0 (0x2c3cc3997000)
    	libxcb-xkb.so.1 => depends/x86_64-unknown-freebsd14.2/lib/libxcb-xkb.so.1 (0x2c3cc534f000)
    	libxcb.so.1 => depends/x86_64-unknown-freebsd14.2/lib/libxcb.so.1 (0x2c3cc4733000)
    	libxcb-cursor.so.0 => depends/x86_64-unknown-freebsd14.2/lib/libxcb-cursor.so.0 (0x2c3cc6d96000)
    	libxcb-icccm.so.4 => depends/x86_64-unknown-freebsd14.2/lib/libxcb-icccm.so.4 (0x2c3cc5e98000)
    	libxcb-image.so.0 => depends/x86_64-unknown-freebsd14.2/lib/libxcb-image.so.0 (0x2c3cc8485000)
    	libxcb-keysyms.so.1 => depends/x86_64-unknown-freebsd14.2/lib/libxcb-keysyms.so.1 (0x2c3cc7c0f000)
    	libxcb-randr.so.0 => depends/x86_64-unknown-freebsd14.2/lib/libxcb-randr.so.0 (0x2c3cc854e000)
    	libxcb-render-util.so.0 => depends/x86_64-unknown-freebsd14.2/lib/libxcb-render-util.so.0 (0x2c3cc8d88000)
    	libxcb-shm.so.0 => depends/x86_64-unknown-freebsd14.2/lib/libxcb-shm.so.0 (0x2c3cc9f9a000)
    	libxcb-sync.so.1 => depends/x86_64-unknown-freebsd14.2/lib/libxcb-sync.so.1 (0x2c3cc948c000)
    	libxcb-xfixes.so.0 => depends/x86_64-unknown-freebsd14.2/lib/libxcb-xfixes.so.0 (0x2c3ccaf00000)
    	libxcb-render.so.0 => depends/x86_64-unknown-freebsd14.2/lib/libxcb-render.so.0 (0x2c3ccb8f9000)
    	libxcb-shape.so.0 => depends/x86_64-unknown-freebsd14.2/lib/libxcb-shape.so.0 (0x2c3ccb97e000)
    	libm.so.5 => /lib/libm.so.5 (0x2c3ccc98d000)
    	libthr.so.3 => /lib/libthr.so.3 (0x2c3ccd3a8000)
    	libc++.so.1 => /lib/libc++.so.1 (0x2c3ccf2f9000)
    	libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x2c3ccd7ac000)
    	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2c3ccd916000)
    	libc.so.7 => /lib/libc.so.7 (0x2c3cce6a0000)
    	[vdso] (0x2c3cbf491000)
    

    Note that bitcoin-qt is linked against some dynamic libraries inside depends/ so it will not work if moved to another machine without those libraries. Is this expected?

    Here is a diff between a normally built bitcoin-qt from my dev environment without depends VS the depends one from the "pristine" environment:

    --- /tmp/dev_env_nodepends	2025-06-20 06:47:55.626924000 +0200
    +++ /tmp/depends	2025-06-20 06:48:09.626851000 +0200
    @@ -1,59 +1,23 @@
    -libb2.so.1
    -libbrotlicommon.so.1
    -libbrotlidec.so.1
    -libbz2.so.4
    -libc.so.7
     libc++.so.1
    -libcrypto.so.30
    +libc.so.7
     libcxxrt.so.1
    -libdbus-1.so.3
    -libdl.so.1
    -libdouble-conversion.so.3
    -libEGL.so.1
    -libelf.so.2
    -libevent_core-2.1.so.7
    -libevent_extra-2.1.so.7
    -libevent_pthreads-2.1.so.7
    -libevent-2.1.so.7
    -libexecinfo.so.1
    -libexpat.so.1
     libfontconfig.so.1
     libfreetype.so.6
     libgcc_s.so.1
    -libGLdispatch.so.0
    -libglib-2.0.so.0
    -libGLX.so.0
    -libgraphite2.so.3
    -libgthread-2.0.so.0
    -libharfbuzz.so.0
    -libiconv.so.2
    -libicudata.so.76
    -libicui18n.so.76
    -libicuuc.so.76
    -libintl.so.8
    -libkvm.so.7
     libm.so.5
    -libomp.so
    -libOpenGL.so.0
    -libpcre2-16.so.0
    -libpcre2-8.so.0
    -libpng16.so.16
    -libprocstat.so.1
    -libqrencode.so.4
    -libQt6Core.so.6
    -libQt6DBus.so.6
    -libQt6Gui.so.6
    -libQt6Network.so.6
    -libQt6Widgets.so.6
    -librt.so.1
    -libsqlite3.so.0
    -libssl.so.30
     libthr.so.3
    -libutil.so.9
    -libX11.so.6
    -libXau.so.6
    +libxcb-cursor.so.0
    +libxcb-icccm.so.4
    +libxcb-image.so.0
    +libxcb-keysyms.so.1
    +libxcb-randr.so.0
    +libxcb-render-util.so.0
    +libxcb-render.so.0
    +libxcb-shape.so.0
    +libxcb-shm.so.0
    +libxcb-sync.so.1
    +libxcb-xfixes.so.0
    +libxcb-xkb.so.1
     libxcb.so.1
    -libXdmcp.so.6
    +libxkbcommon-x11.so.0
     libxkbcommon.so.0
    -libz.so.6
    -libzstd.so.1
    

    Then I can start bitcoin-qt like LD_LIBRARY_PATH=depends... bitcoin-qt and it lists Qt 6.7.3 in "Help > About Qt". It works. I can also start bitcoin-qt without LD_LIBRARY_PATH in the dev environment where those libraries are installed system wide.


    hebasto commented at 8:32 AM on June 20, 2025:

    As on Linux, the bitcoin-qt static build includes a statically linked QPA plugin for integration with X11.

    This plugin expects certain dependencies, which are reflected in our contrib/guix/symbol-check.py. On FreeBSD 14.3, these dependencies are:

    $ ldd build/bin/bitcoin-qt
    build/bin/bitcoin-qt:
    	libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0x1511cc83a000)
    	libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x1511cd77a000)
    	libxkbcommon.so.0 => /usr/local/lib/libxkbcommon.so.0 (0x1511ce23b000)
    	libxkbcommon-x11.so.0 => /usr/local/lib/libxkbcommon-x11.so.0 (0x1511ce8cd000)
    	libxcb-cursor.so.0 => /usr/local/lib/libxcb-cursor.so.0 (0x1511d2cc8000)
    	libxcb-icccm.so.4 => /usr/local/lib/libxcb-icccm.so.4 (0x1511d256d000)
    	libxcb-image.so.0 => /usr/local/lib/libxcb-image.so.0 (0x1511d3c52000)
    	libxcb-keysyms.so.1 => /usr/local/lib/libxcb-keysyms.so.1 (0x1511d49ca000)
    	libxcb-randr.so.0 => /usr/local/lib/libxcb-randr.so.0 (0x1511d4ff9000)
    	libxcb-render-util.so.0 => /usr/local/lib/libxcb-render-util.so.0 (0x1511d5a4c000)
    	libxcb-shm.so.0 => /usr/local/lib/libxcb-shm.so.0 (0x1511d7314000)
    	libxcb-sync.so.1 => /usr/local/lib/libxcb-sync.so.1 (0x1511d6122000)
    	libxcb-xfixes.so.0 => /usr/local/lib/libxcb-xfixes.so.0 (0x1511d6de2000)
    	libxcb-render.so.0 => /usr/local/lib/libxcb-render.so.0 (0x1511d7ebe000)
    	libxcb-shape.so.0 => /usr/local/lib/libxcb-shape.so.0 (0x1511d82b1000)
    	libxcb-xkb.so.1 => /usr/local/lib/libxcb-xkb.so.1 (0x1511d85b5000)
    	libxcb.so.1 => /usr/local/lib/libxcb.so.1 (0x1511d97ae000)
    	libm.so.5 => /lib/libm.so.5 (0x1511d8f4e000)
    	libthr.so.3 => /lib/libthr.so.3 (0x1511dac7e000)
    	libc++.so.1 => /lib/libc++.so.1 (0x1511da5b4000)
    	libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x1511dae0a000)
    	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x1511dbb3a000)
    	libc.so.7 => /lib/libc.so.7 (0x1511dc474000)
    	libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0x1511de104000)
    	libz.so.6 => /lib/libz.so.6 (0x1511dcab3000)
    	libbz2.so.4 => /usr/lib/libbz2.so.4 (0x1511dcb90000)
    	libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0x1511dcbc1000)
    	libbrotlidec.so.1 => /usr/local/lib/libbrotlidec.so.1 (0x1511dcfd4000)
    	libxcb-util.so.1 => /usr/local/lib/libxcb-util.so.1 (0x1511dd51d000)
    	libXau.so.6 => /usr/local/lib/libXau.so.6 (0x1511dfa06000)
    	libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x1511ded99000)
    	libbrotlicommon.so.1 => /usr/local/lib/libbrotlicommon.so.1 (0x1511e14ee000)
    	[vdso] (0x1511cc497000)
    

    Usually, the libraries are installed as dependencies of a desktop environment.

    Note that bitcoin-qt is linked against some dynamic libraries inside depends/ so it will not work if moved to another machine without those libraries. Is this expected?

    This is not correct. Instead of patching depends/toolchain.cmake.in, you should install X11.


    vasild commented at 8:50 AM on June 20, 2025:

    Instead of patching depends/toolchain.cmake.in, you should install X11.

    Hmm, then this new addition "pkg install bison ninja pkgconf python3" is incomplete.


    vasild commented at 12:29 PM on June 23, 2025:

    By "incomplete" I mean this:

    1. install fresh FreeBSD
    2. do the pkg install commands as suggested in depends/README.md
    3. gmake
    4. cmake --toolchain ... -> results in the error about Qt6::XcbQpaPrivate mentioned above

    If "X11" should be installed, then that should be mentioned with the exact names of the packages in the pkg install command, right? Here is a list of those packages that provide the libraries I mentioned above:

    $ for f in libfontconfig.so.1 libfreetype.so.6 libxkbcommon.so.0 libxkbcommon-x11.so.0 libxcb-xkb.so.1 libxcb.so.1 libxcb-cursor.so.0 libxcb-icccm.so.4 libxcb-image.so.0 libxcb-keysyms.so.1 libxcb-randr.so.0 libxcb-render-util.so.0 libxcb-shm.so.0 libxcb-sync.so.1 libxcb-xfixes.so.0 libxcb-render.so.0 libxcb-shape.so.0 ; do pkg which -q /usr/local/lib/$f ; done |sort -u
    fontconfig-2.15.0_3,1
    freetype2-2.13.3
    libxcb-1.17.0
    libxkbcommon-1.8.1_2
    xcb-util-cursor-0.1.3
    xcb-util-image-0.4.1
    xcb-util-keysyms-0.4.1
    xcb-util-renderutil-0.3.10
    xcb-util-wm-0.4.2
    

    hebasto commented at 1:13 PM on June 23, 2025:

    I understand. I hesitate to proceed with addressing your comment, as neither X11 nor the listed libraries are supposed to be build dependencies.

    On the other hand, FreeBSD isn’t even officially supported by Qt. Would it be acceptable to proceed with this workaround?

    cc @fanquake


    fanquake commented at 10:48 AM on June 24, 2025:

    This is not correct. Instead of patching depends/toolchain.cmake.in, you should install X11.

    Not sure I understand your suggestion, or why applying the patch above is not the correct thing to do? When configuring, using the toolchain from depends, we should be using dependencies from depends, not looking for system libraries?


    hebasto commented at 11:25 AM on June 24, 2025:

    Accepted @vasild's patch.

    Note that bitcoin-qt is linked against some dynamic libraries inside depends/ so it will not work if moved to another machine without those libraries. Is this expected?

    No, it is not. This should be fixed in a follow up.


    vasild commented at 1:34 PM on June 25, 2025:

    I tested the latest version of this PR (173394d951). It compiles successfully with gmake and cmake --toolchain. And this is the result:

    $ ldd ./build/bin/bitcoin-qt
    ./build/bin/bitcoin-qt:
    	libfontconfig.so.1 => not found (0)
    	libfreetype.so.6 => not found (0)
    	libxkbcommon.so.0 => not found (0)
    	libxkbcommon-x11.so.0 => not found (0)
    	libxcb-xkb.so.1 => not found (0)
    	libxcb.so.1 => not found (0)
    	libxcb-cursor.so.0 => not found (0)
    	libxcb-icccm.so.4 => not found (0)
    	libxcb-image.so.0 => not found (0)
    	libxcb-keysyms.so.1 => not found (0)
    	libxcb-randr.so.0 => not found (0)
    	libxcb-render-util.so.0 => not found (0)
    	libxcb-shm.so.0 => not found (0)
    	libxcb-sync.so.1 => not found (0)
    	libxcb-xfixes.so.0 => not found (0)
    	libxcb-render.so.0 => not found (0)
    	libxcb-shape.so.0 => not found (0)
    	libm.so.5 => /lib/libm.so.5 (0x531bb95b000)
    	libthr.so.3 => /lib/libthr.so.3 (0x531bc2e6000)
    	libc++.so.1 => /lib/libc++.so.1 (0x531bd020000)
    	libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x531c0a20000)
    	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x531c1574000)
    	libc.so.7 => /lib/libc.so.7 (0x531c21ac000)
    	[vdso] (0x531bb88d000)
    

    Those "not found" libraries are in ./depends/x86_64-unknown-freebsd14.2/lib/ which, of course, is not the dynamic linker's search path. So I guess from here there would be a few options:

    1. Set LD_LIBRARY_PATH to ./depends/x86_64-unknown-freebsd14.2/lib/. Can't really ask users to do that.
    2. Install the packages that provide those libraries system wide. Can ask the users to do that - we already asked them to install 8 other packages. That would be pkg install fontconfig freetype2 libxcb libxkbcommon xcb-util-cursor xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm. However maybe that is odd as @fanquake mentioned above: "we should be using dependencies from depends, not looking for system libraries"
    3. Link those libraries statically into bitcoin-qt

    How does this work on Linux? What's the ldd ./build/bin/bitcoin-qt output? Edit: here it is on my Linux VM:

    $ ldd ./build/bin/bitcoin-qt 
    	linux-vdso.so.1 (0x00007ffe96732000)
    	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007db14b641000)
    	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007db148f32000)
    	libxkbcommon.so.0 => not found
    	libxkbcommon-x11.so.0 => not found
    	libxcb-xkb.so.1 => /usr/lib/libxcb-xkb.so.1 (0x00007db14b622000)
    	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007db14b5f5000)
    	libxcb-cursor.so.0 => not found
    	libxcb-icccm.so.4 => not found
    	libxcb-image.so.0 => not found
    	libxcb-keysyms.so.1 => not found
    	libxcb-randr.so.0 => /usr/lib/libxcb-randr.so.0 (0x00007db14b5e1000)
    	libxcb-render-util.so.0 => not found
    	libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007db14b5dc000)
    	libxcb-sync.so.1 => /usr/lib/libxcb-sync.so.1 (0x00007db14b5d3000)
    	libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0x00007db14b5ca000)
    	libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007db14b5bb000)
    	libxcb-shape.so.0 => /usr/lib/libxcb-shape.so.0 (0x00007db14b5b3000)
    	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007db148c00000)
    	libm.so.6 => /usr/lib/libm.so.6 (0x00007db148b14000)
    	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007db148f0d000)
    	libc.so.6 => /usr/lib/libc.so.6 (0x00007db148932000)
    	/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007db14b6a0000)
    	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007db148ee4000)
    	libz.so.1 => /usr/lib/libz.so.1 (0x00007db148eca000)
    	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007db148eb7000)
    	libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007db148e7d000)
    	libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007db148823000)
    	libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007db148814000)
    	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007db14b5ac000)
    	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007db14880c000)
    	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007db1486bf000)
    	libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007db14869c000)
    	libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007db148679000)
    	libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007db1485db000)
    
  11. depends: Build `qt` package for FreeBSD hosts 173394d951
  12. in depends/packages/qt.mk:150 in 15de25ba2a outdated
     146 | @@ -146,6 +147,7 @@ $(package)_config_opts_linux += -xcb
     147 |  ifneq ($(LTO),)
     148 |  $(package)_config_opts_linux += -ltcg
     149 |  endif
     150 | +$(package)_config_opts_freebsd := $$($(package)_config_opts_linux)
    


    vasild commented at 5:04 AM on June 20, 2025:

    (comment in random place in the diff, not to clutter the PR main thread and to make it easier to follow replies and to hide it when resolved)

    Would be good to have CI build this to make sure it does not rot.


    hebasto commented at 8:33 AM on June 20, 2025:

    vasild commented at 9:01 AM on June 20, 2025:

    Nice, I didn't know about hebasto/bitcoin-core-nightly. Can it be integrated into bitcoin/bitcoin?


    hebasto commented at 9:19 AM on June 20, 2025:

    Nice, I didn't know about hebasto/bitcoin-core-nightly. Can it be integrated into bitcoin/bitcoin?

    There are some concerns about GHA resources available in this repo.


    maflcko commented at 9:31 AM on June 20, 2025:

    Nice, I didn't know about hebasto/bitcoin-core-nightly. Can it be integrated into bitcoin/bitcoin?

    nightly ci, which is expected to break over night (e.g. when a compiler is updated over night with new warnings/errors) shouldn't be part of the main CI loop. There are already plenty of intermittent issues that are waiting to be fixed in the main CI loop and piling even more unrelated failures onto pull requests doesn't seem useful.

    (Even if the nightly CI was perfectly stable, I don't think it is a good use of review resources to go through the main repo, which also has to deal with backport branches... Finally, it requires to enable third party GHA actions and will eat CI resources from pull requests, as mentioned above)

    So I think a separate repo (there is actually more than one, if you follow the readme https://github.com/hebasto/bitcoin-core-nightly?tab=readme-ov-file#nightly-bitcoin-core-tests) is desirable and correct here.

  13. hebasto force-pushed on Jun 24, 2025
  14. vasild approved
  15. vasild commented at 2:06 PM on June 25, 2025: contributor

    ACK 173394d9511ed091e73eb12cb28f819026c09576

    Links against some dynamic libraries from ./depends/, but that is also on Linux: #32731 (review)

  16. fanquake merged this on Jun 26, 2025
  17. fanquake closed this on Jun 26, 2025


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: 2026-04-24 21:12 UTC

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