Bug 134997

Summary: fails to build with gcc-3.4.2-4
Product: [Fedora] Fedora Reporter: Enrico Scholz <rh-bugzilla>
Component: qtAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-07 20:40:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Enrico Scholz 2004-10-07 20:32:33 UTC
Description of problem:

| $ rpmbuild --rebuild qt-3.3.3-6.src.rpm
| ...
| g++ -c -pipe -fno-exceptions -Wall -W -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_POCKETPC -I/usr/src/redhat/BUILD/qt-x11-free-3.3.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qimage.o kernel/qimage.cpp
| kernel/qfontdatabase.cpp: In static member function `static QFontEngine* QFontDatabase::findFont(QFont::Script, const QFontPrivate*, const QFontDef&, int)':
| kernel/qfontdatabase.cpp:938: error: call of overloaded `parseFontName(const QString&, QString&, QString&)' is ambiguous
| kernel/qfontdatabase.h:125: note: candidates are: static void QFontDatabase::parseFontName(const QString&, QString&, QString&)
| kernel/qfontdatabase_x11.cpp:1673: note:                 void parseFontName(const QString&, QString&, QString&)
| kernel/qfontdatabase.cpp: In member function `QStringList QFontDatabase::styles(const QString&) const':
| kernel/qfontdatabase.cpp:1515: error: call of overloaded `parseFontName(const QString&, QString&, QString&)' is ambiguous
| ...
| make[1]: *** [.obj/release-shared-mt/qfontdatabase.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory `/usr/src/redhat/BUILD/qt-x11-free-3.3.3/src'



Version-Release number of selected component (if applicable):

qt-3.3.3-6.
gcc-c++-3.4.2-4

Comment 1 Than Ngo 2004-10-07 20:40:40 UTC
it's a known bug in gcc-3.4.2-4 and is already fixed in gcc-3.4.2-5.
It will show up in rawhide soon. Thanks for your report.