[depends] qt: “Project ERROR: failed to parse default search paths from compiler output” on macOS 14.0 #28541

issue maaku openend this issue on September 26, 2023
  1. maaku commented at 11:34 pm on September 26, 2023: contributor

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    Running make -C depends qt on macOS 14.0 Sonoma produces the following error:

     0Extracting qt...
     1/Users/.../bitcoin/depends/sources/qtbase-everywhere-opensource-src-5.15.5.tar.xz: OK
     2/Users/.../bitcoin/depends/sources/qttranslations-everywhere-opensource-src-5.15.5.tar.xz: OK
     3/Users/.../bitcoin/depends/sources/qttools-everywhere-opensource-src-5.15.5.tar.xz: OK
     4Preprocessing qt...
     5patching file 'qtbase/configure'
     6patching file 'qtbase/mkspecs/features/qt_module.prf'
     7patching file 'qtbase/src/plugins/platforms/android/androidjnimain.cpp'
     8patching file 'qtbase/src/plugins/platforms/xcb/qxcbcursor.cpp'
     9patching file 'qtbase/configure.json'
    10patching file 'qtbase/configure.pri'
    11patching file 'qtbase/mkspecs/common/macx.conf'
    12patching file 'qtbase/mkspecs/features/mac/default_post.prf'
    13patching file 'qtbase/mkspecs/features/toolchain.prf'
    14patching file 'qtbase/src/tools/moc/main.cpp'
    15patching file 'qtbase/src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.h'
    16patching file 'qtbase/mkspecs/features/android/default_pre.prf'
    17patching file 'qtbase/src/tools/rcc/rcc.cpp'
    18patching file 'qtbase/src/gui/text/qplatformfontdatabase.cpp'
    19patching file 'qtbase/src/gui/text/qplatformfontdatabase.h'
    20patching file 'qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm'
    21patching file 'qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext_p.h'
    22patching file 'qtbase/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase.cpp'
    23patching file 'qtbase/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase_p.h'
    24patching file 'qtbase/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp'
    25patching file 'qtbase/src/3rdparty/double-conversion/fixed-dtoa.h'
    26patching file 'qtbase/mkspecs/features/toolchain.prf'
    27Configuring qt...
    28Creating qmake...
    29Info: creating super cache file /Users/.../bitcoin/depends/work/build/x86_64-apple-darwin23.0.0/qt/5.15.5-723c1c55951/.qmake.super
    30Info: creating cache file /Users/.../bitcoin/depends/work/build/x86_64-apple-darwin23.0.0/qt/5.15.5-723c1c55951/.qmake.cache
    31Info: creating stash file /Users/.../bitcoin/depends/work/build/x86_64-apple-darwin23.0.0/qt/5.15.5-723c1c55951/.qmake.stash
    32Command line: -bindir /Users/.../bitcoin/depends/x86_64-apple-darwin23.0.0/native/bin -c++std c++17 -confirm-license -hostprefix /Users/.../bitcoin/depends/x86_64-apple-darwin23.0.0/native -no-compile-examples -no-cups -no-egl -no-eglfs -no-evdev -no-gif -no-glib -no-icu -no-ico -no-iconv -no-kms -no-linuxfb -no-libjpeg -no-libproxy -no-libudev -no-mimetype-database -no-mtdev -no-openssl -no-openvg -no-reduce-relocations -no-schannel -no-sctp -no-securetransport -no-sql-db2 -no-sql-ibase -no-sql-oci -no-sql-tds -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-system-proxies -no-use-gold-linker -no-zstd -nomake examples -nomake tests -nomake tools -opensource -pkg-config -prefix /Users/.../bitcoin/depends/x86_64-apple-darwin23.0.0 -qt-libpng -qt-pcre -qt-harfbuzz -qt-zlib -static -v -no-feature-bearermanagement -no-feature-colordialog -no-feature-commandlineparser -no-feature-concurrent -no-feature-dial -no-feature-fontcombobox -no-feature-ftp -no-feature-http -no-feature-image_heuristic_mask -no-feature-keysequenceedit -no-feature-lcdnumber -no-feature-networkdiskcache -no-feature-networkproxy -no-feature-pdf -no-feature-printdialog -no-feature-printer -no-feature-printpreviewdialog -no-feature-printpreviewwidget -no-feature-sessionmanager -no-feature-socks5 -no-feature-sql -no-feature-sqlmodel -no-feature-statemachine -no-feature-syntaxhighlighter -no-feature-textbrowser -no-feature-textmarkdownwriter -no-feature-textodfwriter -no-feature-topleveldomain -no-feature-udpsocket -no-feature-undocommand -no-feature-undogroup -no-feature-undostack -no-feature-undoview -no-feature-vnc -no-feature-wizard -no-feature-xml -release -silent -no-dbus -no-opengl -pch -no-feature-corewlan -no-freetype QMAKE_MACOSX_DEPLOYMENT_TARGET=11.0
    33Project ERROR: failed to parse default search paths from compiler output
    34make: *** [/Users/.../bitcoin/depends/x86_64-apple-darwin23.0.0/.qt_stamp_configured] Error 3
    

    Expected behaviour

    Dependency compilation should work out of the box.

    Steps to reproduce

    Check out a fresh repo on a macOS 14.0 system and run make -C depends qt

    Relevant log output

    No response

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    git latest

    Operating system and version

    macOS 14.0 Sonoma

    Machine specifications

    Both arm64 and x86_64 macs affected.

  2. maflcko added the label macOS on Sep 27, 2023
  3. maflcko added the label Build system on Sep 27, 2023
  4. hebasto commented at 8:08 am on September 27, 2023: member
    What are tools (Xcode / clang / ld) versions?
  5. fanquake commented at 8:11 am on September 27, 2023: member
    1. We’ll probably have to backport something from Qts 6.x branch.
  6. hebasto commented at 10:05 am on September 27, 2023: member
    Confirming the same error on macOS Ventura 13.6 with Xcode 15.0.
  7. hebasto commented at 10:23 am on September 27, 2023: member

    The upstream bug report: https://bugreports.qt.io/browse/QTBUG-117225.

    We’ll probably have to backport something from Qts 6.x branch.

    Going to backport a patch.

  8. hebasto commented at 11:52 am on September 27, 2023: member
    @maaku Want to test #28543?
  9. fanquake closed this on Oct 3, 2023

  10. PastaPastaPasta referenced this in commit d5e0f4cffb on Oct 6, 2023
  11. UdjinM6 referenced this in commit c956c5ed8d on Oct 12, 2023
  12. Frank-GER referenced this in commit c14b223de3 on Oct 13, 2023
  13. gades referenced this in commit aea2dbd055 on Dec 2, 2023
  14. gades referenced this in commit 867543ba15 on Dec 9, 2023
  15. timemarkovqtum referenced this in commit 8113ac0ab4 on Jan 30, 2024
  16. bitcoin locked this on Oct 2, 2024

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: 2024-11-21 09:12 UTC

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