[mythtv-commits] Ticket #8572: trunk and 0.23-fixes build failure in upnpcmgr with Qt 4.7.0-beta1

MythTV mythtv at cvs.mythtv.org
Mon Jun 21 02:39:47 UTC 2010


#8572: trunk and 0.23-fixes build failure in upnpcmgr with Qt 4.7.0-beta1
---------------------------+------------------------------------------------
 Reporter:  databubble     |       Owner:  dblain    
     Type:  defect         |      Status:  new       
 Priority:  major          |   Milestone:  unknown   
Component:  MythTV - UPnP  |     Version:  Trunk Head
 Severity:  medium         |     Mlocked:  0         
---------------------------+------------------------------------------------
Description changed by mdean:

Old description:

> I've been building 0.23-fixes and trunk fine on ubuntu 10.4, however, I
> recently enabled the kubuntu beta ppc (ppa:kubuntu-ppa/beta) to test KDE
> Software Compilation 4.5 Beta 2.
>
> Since then, both trunk (25125) and 0.23-fixes are failing to build, as
> follows:
>
> make[2]: Entering directory
> `/home/local/src/mythtv/trunk/mythtv/libs/libmythupnp'
> ccache g++ -c -pipe -fomit-frame-pointer -O3 -g -Wall -Wno-switch
> -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time
> -D__STDC_CONSTANT_MACROS -D_REENTRANT -DPIC -fPIC -DMMX -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB
> -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
> -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui
> -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4
> -I/usr/include -I/usr -I../libmythdb -I.. -I. -o upnpcmgr.o upnpcmgr.cpp
> In file included from upnpcmgr.h:29,
>                  from upnpcmgr.cpp:26:
> eventing.h: In member function ‘T StateVariables::GetValue(const
> QString&) [with T = QString]’:
> upnpcmgr.cpp:69:   instantiated from here
> eventing.h:236: error: call of overloaded ‘QString(int)’ is ambiguous
> /usr/include/qt4/QtCore/qstring.h:428: note: candidates are:
> QString::QString(const QByteArray&)
> /usr/include/qt4/QtCore/qstring.h:426: note:
> QString::QString(const char*)
> /usr/include/qt4/QtCore/qstring.h:727: note:
> QString::QString(const QString&)
> /usr/include/qt4/QtCore/qstring.h:106: note:
> QString::QString(QChar)
> /usr/include/qt4/QtCore/qstring.h:105: note:
> QString::QString(const QChar*)
> eventing.h:244: error: call of overloaded ‘QString(int)’ is ambiguous
> /usr/include/qt4/QtCore/qstring.h:428: note: candidates are:
> QString::QString(const QByteArray&)
> /usr/include/qt4/QtCore/qstring.h:426: note:
> QString::QString(const char*)
> /usr/include/qt4/QtCore/qstring.h:727: note:
> QString::QString(const QString&)
> /usr/include/qt4/QtCore/qstring.h:106: note:
> QString::QString(QChar)
> /usr/include/qt4/QtCore/qstring.h:105: note:
> QString::QString(const QChar*)
> make[2]: *** [upnpcmgr.o] Error 1
> make[2]: Leaving directory
> `/home/local/src/mythtv/trunk/mythtv/libs/libmythupnp'
> make[1]: *** [sub-libmythupnp-make_default] Error 2
> make[1]: Leaving directory `/home/local/src/mythtv/trunk/mythtv/libs'
> make: *** [sub-libs-make_default-ordered] Error 2
>

> I'm guessing the failure is related to the use of Qt 4.7.0 beta
> (4:4.7.0~beta1+git20100522-0ubuntu1~lucid1~ppa1).

New description:

 I've been building 0.23-fixes and trunk fine on ubuntu 10.4, however, I
 recently enabled the kubuntu beta ppc (ppa:kubuntu-ppa/beta) to test KDE
 Software Compilation 4.5 Beta 2.

 Since then, both trunk (25125) and 0.23-fixes are failing to build, as
 follows:
 {{{
 make[2]: Entering directory
 `/home/local/src/mythtv/trunk/mythtv/libs/libmythupnp'
 ccache g++ -c -pipe -fomit-frame-pointer -O3 -g -Wall -Wno-switch
 -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time
 -D__STDC_CONSTANT_MACROS -D_REENTRANT -DPIC -fPIC -DMMX -D_GNU_SOURCE
 -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB
 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
 -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
 -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui
 -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4
 -I/usr/include -I/usr -I../libmythdb -I.. -I. -o upnpcmgr.o upnpcmgr.cpp
 In file included from upnpcmgr.h:29,
                  from upnpcmgr.cpp:26:
 eventing.h: In member function ‘T StateVariables::GetValue(const QString&)
 [with T = QString]’:
 upnpcmgr.cpp:69:   instantiated from here
 eventing.h:236: error: call of overloaded ‘QString(int)’ is ambiguous
 /usr/include/qt4/QtCore/qstring.h:428: note: candidates are:
 QString::QString(const QByteArray&)
 /usr/include/qt4/QtCore/qstring.h:426: note:
 QString::QString(const char*)
 /usr/include/qt4/QtCore/qstring.h:727: note:
 QString::QString(const QString&)
 /usr/include/qt4/QtCore/qstring.h:106: note:
 QString::QString(QChar)
 /usr/include/qt4/QtCore/qstring.h:105: note:
 QString::QString(const QChar*)
 eventing.h:244: error: call of overloaded ‘QString(int)’ is ambiguous
 /usr/include/qt4/QtCore/qstring.h:428: note: candidates are:
 QString::QString(const QByteArray&)
 /usr/include/qt4/QtCore/qstring.h:426: note:
 QString::QString(const char*)
 /usr/include/qt4/QtCore/qstring.h:727: note:
 QString::QString(const QString&)
 /usr/include/qt4/QtCore/qstring.h:106: note:
 QString::QString(QChar)
 /usr/include/qt4/QtCore/qstring.h:105: note:
 QString::QString(const QChar*)
 make[2]: *** [upnpcmgr.o] Error 1
 make[2]: Leaving directory
 `/home/local/src/mythtv/trunk/mythtv/libs/libmythupnp'
 make[1]: *** [sub-libmythupnp-make_default] Error 2
 make[1]: Leaving directory `/home/local/src/mythtv/trunk/mythtv/libs'
 make: *** [sub-libs-make_default-ordered] Error 2
 }}}
 I'm guessing the failure is related to the use of Qt 4.7.0 beta
 (4:4.7.0~beta1+git20100522-0ubuntu1~lucid1~ppa1).

--

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8572#comment:3>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list