Bug 134997 - fails to build with gcc-3.4.2-4
fails to build with gcc-3.4.2-4
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: qt (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-10-07 16:32 EDT by Enrico Scholz
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-10-07 16:40:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2004-10-07 16:32:33 EDT
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 Ngo Than 2004-10-07 16:40:40 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.