[depends] freetype 2.7.1 requires specific harfbuzz version #14367

issue real-or-random opened this issue on October 2, 2018
  1. real-or-random commented at 12:02 PM on October 2, 2018: contributor

    To reproduce:

    cd depends
    make
    cd ..
    ./configure --prefix=`pwd`/depends/x86_64-pc-linux-gnu
    

    Problem:

    checking for static Qt plugins: -lqminimal... no
    configure: WARNING: Could not resolve: -lqminimal; bitcoin-qt frontend will not be built
    checking for static Qt plugins: -lqxcb -lxcb-static... no
    checking whether to build Bitcoin Core GUI... no (Qt5)
    

    The actual problem is a linking issue when running the configuration check. From config.log:

    /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libharfbuzz.so: undefined reference to `FT_Done_MM_Var'
    

    (Full snippet of relevant section in config.log)

    I run Arch Linux, which currently uses harfbuzz 1.9.0. Downgrading harfbuzz to to 1.7.4 makes configure happy again (1.7.5 is the first version that fails) but that defeats the purpose of the depends build. Our depends system includes freetype 2.7.1 which however requires a specific version (range) of harfbuzz.

    It seems that one naive way to resolve that issue is to include harfbuzz in depends but actually I don't know about all the magic and trade-offs going on the build system.

    This may be related to #13001.

  2. fanquake added the label Build system on Oct 2, 2018
  3. bitcoin deleted a comment on Oct 3, 2018
  4. fanquake commented at 3:58 AM on October 3, 2018: member

    cc @theuni

  5. theuni cross-referenced this on Oct 3, 2018 from issue depends: qt: avoid system harfbuzz and bz2 by theuni
  6. MarcoFalke closed this on Oct 8, 2018

  7. MarcoFalke referenced this in commit 4de0b5f39c on Oct 8, 2018
  8. bitcoin locked this on Sep 8, 2021

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-05-20 06:54 UTC