GithubHelp home page GithubHelp logo

Comments (5)

tdsmith avatar tdsmith commented on September 22, 2024

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.

UniqMartin avatar UniqMartin commented on September 22, 2024

@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.

yurikoles avatar yurikoles commented on September 22, 2024

@UniqMartin but I see them

from homebrew-core.

UniqMartin avatar UniqMartin commented on September 22, 2024

@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 configurescript of Qt 5 trying to detect what is available on your system and what not.

from homebrew-core.

yurikoles avatar yurikoles commented on September 22, 2024

Thanks, seems like fixed.

from homebrew-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.