Bug 400 - qt4-tools-native compile failure
Summary: qt4-tools-native compile failure
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-10-06 07:12 UTC by Richard Purdie
Modified: 2010-12-21 06:07 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2010-10-06 07:12:39 UTC
| g++  -c -isystem/media/build1/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/include -O2 -I/media/build1/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/include -fno-exceptions -pthread -I/media/build1/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/include/glib-2.0 -I/media/build1/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/lib/glib-2.0/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_NO_IMAGEFORMAT_PNG -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-64 -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-static -I../3rdparty/xorg -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-static -I/usr/X11R6/include -I.uic/release-static -o .obj/release-static/qtextureglyphcache.o painting/qtextureglyphcache.cpp
| g++  -c -isystem/media/build1/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/include -O2 -I/media/build1/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/include -fno-exceptions -pthread -I/media/build1/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/include/glib-2.0 -I/media/build1/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/lib/glib-2.0/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_NO_IMAGEFORMAT_PNG -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-64 -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-static -I../3rdparty/xorg -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-static -I/usr/X11R6/include -I.uic/release-static -o .obj/release-static/qpaintengine_raster.o painting/qpaintengine_raster.cpp
| g++  -c -isystem/media/build1/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/include -O2 -I/media/build1/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/include -fno-exceptions -pthread -I/media/build1/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/include/glib-2.0 -I/media/build1/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/lib/glib-2.0/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_NO_IMAGEFORMAT_PNG -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-64 -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-static -I../3rdparty/xorg -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-static -I/usr/X11R6/include -I.uic/release-static -o .obj/release-static/qpaintengine_x11.o painting/qpaintengine_x11.cpp
| In file included from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:58,
|                  from ../../include/QtGui/private/qfontengine_ft_p.h:1,
|                  from painting/qtextureglyphcache.cpp:48:
| /media/build1/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/include/ft2build.h:56: fatal error: freetype/config/ftheader.h: No such file or directory
| compilation terminated.
| make: *** [.obj/release-static/qpaintengine_raster.o] Error 1
| make: *** Waiting for unfinished jobs....
| make: *** [.obj/release-static/qtextureglyphcache.o] Error 1
| In file included from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:58,
|                  from ../../include/QtGui/private/qfontengine_ft_p.h:1,
|                  from ../../include/QtGui/private/../../../src/gui/text/qfontengine_x11_p.h:57,
|                  from ../../include/QtGui/private/qfontengine_x11_p.h:1,
|                  from painting/qpaintengine_x11.cpp:63:
| /media/build1/poky-incremental/build/build/tmp/sysroots/x86_64-linux/usr/include/ft2build.h:56: fatal error: freetype/config/ftheader.h: No such file or directory
| compilation terminated.
| make: *** [.obj/release-static/qpaintengine_x11.o] Error 1
| FATAL: oe_runmake failed
NOTE: package qt4-tools-native-4.6.3-r0: task do_compile: Failed

fontconfig/freetype are not listed in the dependencies, neither are any of the X components. This appears to be building the whole UI framework, not just the tools.
Comment 1 Richard Purdie 2010-10-06 07:49:49 UTC
Fixed in 5eee854f53e2c1f05d390e96957c2df8e34dea89