Comments (5)
Why did you flag that error?
The more interesting error is:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -Xclang -include-pch -Xclang .pch/Qt5PlatformSupport/objective-c++.pch -pipe -stdlib=libc++ -O2 -fPIC -std=c++1z -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_CAST_FROM_ASCII -DQT_BUILD_PLATFORMSUPPORT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I/usr/local/opt/d-bus/lib/dbus-1.0/include -I/usr/local/opt/d-bus/include/dbus-1.0 -Icglconvenience -Iaccessibility -Idbusmenu -I../gui/kernel -Idbustray -I../gui/kernel -I../../include -I../../include/QtPlatformSupport -I../../include/QtPlatformSupport/5.6.0 -I../../include/QtPlatformSupport/5.6.0/QtPlatformSupport -I../../include/QtGui/5.6.0 -I../../include/QtGui/5.6.0/QtGui -I../../include/QtCore/5.6.0 -I../../include/QtCore/5.6.0/QtCore -I../../include/QtGui -I../../include/QtDBus -I../../include/QtCore -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I../../mkspecs/macx-clang -F/private/tmp/qt520160410-6603-ve4epi/qt-everywhere-opensource-src-5.6.0/qtbase/lib -o .obj/qcoretextfontdatabase.o fontdatabases/mac/qcoretextfontdatabase.mm
...
In file included from fontdatabases/mac/qcoretextfontdatabase.mm:50:
In file included from ../../include/QtGui/5.6.0/QtGui/private/qfontengine_ft_p.h:1:
../../include/QtGui/5.6.0/QtGui/private/../../../../../src/gui/text/qfontengine_ft_p.h:50:10: fatal error: 'ft2build.h' file not found
#include <ft2build.h>
^
1 error generated.
make[3]: *** [.obj/qcoretextfontdatabase.o] Error 1
make[3]: *** Waiting for unfinished jobs....
I see:
tim@rocketman:~$ mdfind -name ft2build.h
/opt/X11/include/freetype2/ft2build.h
/usr/local/Cellar/freetype/2.6.3/include/freetype2/ft2build.h
Why does it want Freetype?
from homebrew-core.
@yurikoles The errors you cited don't show up in the log files in your Gist. Where are they from?
Why does it want Freetype?
@tdsmith That's just a dependency of Qt 5, albeit one that is vendored by Qt, thus it should be using qtbase/src/3rdparty/freetype/include/ft2build.h
from the Qt 5.6.0 tarball. However, it seems to auto-detect a system FreeType (not sure which one this is supposed to be), as can be seen from the FreeType ............... yes (system library)
line in the 01.configure
log file.
from homebrew-core.
@UniqMartin but I see them
from homebrew-core.
@yurikoles I have made some changes to the qt5
formula that should fix your build failure. Can you please run brew update
, re-try brew install qt5 --with-d-bus
, and then report back? Thanks!
By the way, I have found the errors you quoted in your original comment in the 01.configure
log file. Those are not fatal and not the reason why your build fails. That's just the configure
script of Qt 5 trying to detect what is available on your system and what not.
from homebrew-core.
Thanks, seems like fixed.
from homebrew-core.
Related Issues (20)
- Upgrade issue with git HOT 1
- Settings schema 'io.github.lxi-tools.lxi-gui' is not installed HOT 9
- Keg-only PostgreSQL is incompatible with extensions like PostGIS HOT 6
- glibtoolize is broken after reinstalling libtool HOT 5
- Homebrew MySQL `brew upgrade` broke mysql - MacOS Sonoma 14.5 HOT 39
- Branches for autobump PR's should be deleted if the PR is closed HOT 1
- Golang 1.22.6 has been released, but I can only update to version 1.22.5 using brew HOT 1
- Formula for `bitwarden-cli` is not being updated via autobump bot. HOT 3
- `mysql-client` 9.0 does not include `mysql_native_password` plugin HOT 13
- easy-rsa does not show real version, date, and git commit hash HOT 1
- Docker-compose conflict with docker-buildx HOT 10
- Formula/s/sevenzip.rb can be simplified, not an issue, just a suggestion HOT 1
- Golang 1.23.0 has been released, but I can only update to version 1.22.6 using brew HOT 2
- Watchman socket path too long HOT 9
- Numpy should use Apple Accelerate instead of OpenBLAS on Apple Silicon HOT 3
- SHA256 mismatch when trying to install 'wireguard-go' HOT 2
- mysql broken after brew upgrade HOT 2
- sourceforge url audit failures HOT 4
- Unable to submit a version bump for mariadb HOT 7
- Bump postgresql@16 to 16.4 (was released 05-Aug-2024) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-core.