pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/43988: x11/qt4-libs compile fails on MacOS X 10.4.11



The following reply was made to PR pkg/43988; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/43988: x11/qt4-libs compile fails on MacOS X 10.4.11
Date: Sat, 23 Oct 2010 15:17:41 -0500 (CDT)

 Latest problem:
 
 [...]
 libtool --silent --mode=compile g++ -c -pipe -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2 -g -D_REENTRANT -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB 
-DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS 
-DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_NO_MAC_XARCH -DQT_NO_FREETYPE 
-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_CORE_LIB -D_LARGEFILE64_SOURCE 
-D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore 
-I../../include -I../../include/QtGui -I.rcc/debug-shared -I../3rdparty/xorg 
-I../3rdparty/harfbuzz/src -Idialogs -I.moc/debug-shared 
-I/Volumes/d0/nbsd/pkg/include -I.uic/debug-shared 
-I/Volumes/d0/nbsd/pkg/include -o .obj/debug-shared/qtextureglyphcache.lo 
painting/qtextureglyphcache.cpp
 painting/qtextureglyphcache.cpp: In member function 'QImage 
QTextureGlyphCache::textureMapForGlyph(glyph_t) const':
 painting/qtextureglyphcache.cpp:168: error: incomplete type 'QFontEngineFT' 
used in nested name specifier
 painting/qtextureglyphcache.cpp:168: error: expected `;' before 'format'
 painting/qtextureglyphcache.cpp:172: error: 'format' was not declared in this 
scope
 painting/qtextureglyphcache.cpp:172: error: incomplete type 'QFontEngineFT' 
used in nested name specifier
 painting/qtextureglyphcache.cpp:176: error: incomplete type 'QFontEngineFT' 
used in nested name specifier
 painting/qtextureglyphcache.cpp:180: error: incomplete type 'QFontEngineFT' 
used in nested name specifier
 painting/qtextureglyphcache.cpp:185: error: invalid static_cast from type 
'QFontEngine* const' to type 'QFontEngineFT*'
 painting/qtextureglyphcache.cpp:186: error: incomplete type 'QFontEngineFT' 
used in nested name specifier
 painting/qtextureglyphcache.cpp:186: error: 'gset' was not declared in this 
scope
 painting/qtextureglyphcache.cpp:186: error: invalid use of undefined type 
'struct QFontEngineFT'
 ../../include/QtGui/../../src/gui/painting/qpainter.h:510: error: forward 
declaration of 'struct QFontEngineFT'
 painting/qtextureglyphcache.cpp:188: error: invalid use of undefined type 
'struct QFontEngineFT'
 ../../include/QtGui/../../src/gui/painting/qpainter.h:510: error: forward 
declaration of 'struct QFontEngineFT'
 painting/qtextureglyphcache.cpp:188: error: 'format' was not declared in this 
scope
 painting/qtextureglyphcache.cpp:189: error: incomplete type 'QFontEngineFT' 
used in nested name specifier
 painting/qtextureglyphcache.cpp:189: error: 'glyph' was not declared in this 
scope
 painting/qtextureglyphcache.cpp:190: error: incomplete type 'QFontEngineFT' 
used in nested name specifier
 gmake[1]: *** [.obj/debug-shared/qtextureglyphcache.lo] Error 1
 gmake[1]: Leaving directory 
`/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/src/gui'
 gmake: *** [sub-gui-sub_src_target_ordered] Error 2
 *** Error code 2
 
 Stop.
 bmake: stopped in /usr/pkgsrc/x11/qt4-libs
 [...]
 
 The above seems to stem from more fallout of Q_OS_MAC removal.  The
 class mentioned above has variant definitions of GlyphFormat types which
 depend on several Q_WS_xxx definitions, which are in turn controlled by
 Q_OS_xxx definitions in "qglobal.h".
 
 Not sure how to proceed, but trying augmenting "defined(Q_OS_MAC)" with
 "|| defined(__APPLE__)" at the head of those definitions in "qglobal.h".
 
 That seems to have shut that error up, hunting for the next...
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index