Skip to content

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

@maaku

Description

@maaku

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:

Extracting qt...
/Users/.../bitcoin/depends/sources/qtbase-everywhere-opensource-src-5.15.5.tar.xz: OK
/Users/.../bitcoin/depends/sources/qttranslations-everywhere-opensource-src-5.15.5.tar.xz: OK
/Users/.../bitcoin/depends/sources/qttools-everywhere-opensource-src-5.15.5.tar.xz: OK
Preprocessing qt...
patching file 'qtbase/configure'
patching file 'qtbase/mkspecs/features/qt_module.prf'
patching file 'qtbase/src/plugins/platforms/android/androidjnimain.cpp'
patching file 'qtbase/src/plugins/platforms/xcb/qxcbcursor.cpp'
patching file 'qtbase/configure.json'
patching file 'qtbase/configure.pri'
patching file 'qtbase/mkspecs/common/macx.conf'
patching file 'qtbase/mkspecs/features/mac/default_post.prf'
patching file 'qtbase/mkspecs/features/toolchain.prf'
patching file 'qtbase/src/tools/moc/main.cpp'
patching file 'qtbase/src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.h'
patching file 'qtbase/mkspecs/features/android/default_pre.prf'
patching file 'qtbase/src/tools/rcc/rcc.cpp'
patching file 'qtbase/src/gui/text/qplatformfontdatabase.cpp'
patching file 'qtbase/src/gui/text/qplatformfontdatabase.h'
patching file 'qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm'
patching file 'qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext_p.h'
patching file 'qtbase/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase.cpp'
patching file 'qtbase/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase_p.h'
patching file 'qtbase/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp'
patching file 'qtbase/src/3rdparty/double-conversion/fixed-dtoa.h'
patching file 'qtbase/mkspecs/features/toolchain.prf'
Configuring qt...
Creating qmake...
Info: creating super cache file /Users/.../bitcoin/depends/work/build/x86_64-apple-darwin23.0.0/qt/5.15.5-723c1c55951/.qmake.super
Info: creating cache file /Users/.../bitcoin/depends/work/build/x86_64-apple-darwin23.0.0/qt/5.15.5-723c1c55951/.qmake.cache
Info: creating stash file /Users/.../bitcoin/depends/work/build/x86_64-apple-darwin23.0.0/qt/5.15.5-723c1c55951/.qmake.stash
Command 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
Project ERROR: failed to parse default search paths from compiler output
make: *** [/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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions