Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113393 - emerge of mythtv on a fresh 2005.1 install fails
Summary: emerge of mythtv on a fresh 2005.1 install fails
Status: RESOLVED DUPLICATE of bug 113419
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-23 12:55 UTC by Brian O'Reilly
Modified: 2005-12-02 21:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian O'Reilly 2005-11-23 12:55:23 UTC
building mythtv on an amd64 box with a fresh 2005.1 install fails with a very  
long session of the compiler falling down the stairs:  
  
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include/g++-v3/ostream:451: note:                  
std::basic_ostream<_CharT, _Traits>&  
std::operator<<(std::basic_ostream<_CharT, _Traits>&, char) [with _CharT =  
char, _Traits = std::char_traits<char>]  
lcddevice.cpp:507: error: `socket' undeclared (first use this function)  
lcddevice.cpp: In member function `void LCD::scrollText()':  
lcddevice.cpp:527: warning: comparison between signed and unsigned integer  
expressions  
lcddevice.cpp: In member function `void LCD::startTime()':  
lcddevice.cpp:559: error: no matching function for call to `QTimer::start(int,  
bool)'  
/usr/include/qt4/QtCore/qtimer.h:58: note: candidates are: void  
QTimer::start(int)  
/usr/include/qt4/QtCore/qtimer.h:60: note:                 void  
QTimer::start()  
lcddevice.cpp: At global scope:  
lcddevice.cpp:564: error: variable or field `outputText' declared void  
lcddevice.cpp:564: error: `int LCD::outputText' is not a static member of  
`class LCD'  
lcddevice.cpp:564: error: `QPtrList' was not declared in this scope  
lcddevice.cpp:564: error: expected primary-expression before '>' token  
lcddevice.cpp:564: error: `textItems' was not declared in this scope  
lcddevice.cpp:565: error: expected `,' or `;' before '{' token  
lcddevice.cpp: In member function `void LCD::assignScrollingText(QString,  
QString, int)':  
lcddevice.cpp:676: warning: comparison between signed and unsigned integer  
expressions  
lcddevice.cpp:711: error: no matching function for call to `QTimer::start(int,  
bool)'  
/usr/include/qt4/QtCore/qtimer.h:58: note: candidates are: void  
QTimer::start(int)  
/usr/include/qt4/QtCore/qtimer.h:60: note:                 void  
QTimer::start()  
lcddevice.cpp: In member function `void LCD::startMusic(QString, QString)':  
lcddevice.cpp:720: error: no matching function for call to `QTimer::start(int,  
bool)'  
/usr/include/qt4/QtCore/qtimer.h:58: note: candidates are: void  
QTimer::start(int)  
/usr/include/qt4/QtCore/qtimer.h:60: note:                 void  
QTimer::start()  
lcddevice.cpp: In member function `void LCD::startChannel(QString, QString,  
QString)':  
lcddevice.cpp:747: error: no matching function for call to `QTimer::start(int,  
bool)'  
/usr/include/qt4/QtCore/qtimer.h:58: note: candidates are: void  
QTimer::start(int)  
/usr/include/qt4/QtCore/qtimer.h:60: note:                 void  
QTimer::start()  
lcddevice.cpp: At global scope:  
lcddevice.cpp:752: error: variable or field `startGeneric' declared void  
lcddevice.cpp:752: error: `int LCD::startGeneric' is not a static member of  
`class LCD'  
lcddevice.cpp:752: error: `QPtrList' was not declared in this scope  
lcddevice.cpp:752: error: expected primary-expression before '>' token  
lcddevice.cpp:752: error: `textItems' was not declared in this scope  
lcddevice.cpp:753: error: expected `,' or `;' before '{' token  
lcddevice.cpp:792: error: variable or field `startMenu' declared void  
lcddevice.cpp:792: error: `int LCD::startMenu' is not a static member of  
`class LCD'  
lcddevice.cpp:792: error: `QPtrList' was not declared in this scope  
lcddevice.cpp:792: error: expected primary-expression before '>' token  
lcddevice.cpp:792: error: `menuItems' was not declared in this scope  
lcddevice.cpp:792: error: expected primary-expression before "app_name"  
lcddevice.cpp:793: error: expected primary-expression before "bool"  
lcddevice.cpp:794: error: initializer expression list treated as compound  
expression  
lcddevice.cpp:794: error: expected `,' or `;' before '{' token  
lcddevice.cpp: In member function `void LCD::beginScrollingMenuText()':  
lcddevice.cpp:973: error: `lcdMenuItems' undeclared (first use this function)  
lcddevice.cpp:978: error: `QPtrListIterator' undeclared (first use this  
function)  
lcddevice.cpp:978: error: expected primary-expression before '>' token  
lcddevice.cpp:978: error: `it' undeclared (first use this function)  
lcddevice.cpp:989: warning: comparison between signed and unsigned integer  
expressions  
lcddevice.cpp:1003: error: no matching function for call to  
`QTimer::start(int, bool)'  
/usr/include/qt4/QtCore/qtimer.h:58: note: candidates are: void  
QTimer::start(int)  
/usr/include/qt4/QtCore/qtimer.h:60: note:                 void  
QTimer::start()  
lcddevice.cpp: In member function `void LCD::scrollMenuText()':  
lcddevice.cpp:1008: error: `lcdMenuItems' undeclared (first use this function)  
lcddevice.cpp:1012: error: `QPtrListIterator' undeclared (first use this  
function)  
lcddevice.cpp:1012: error: expected primary-expression before '>' token  
lcddevice.cpp:1012: error: `it' undeclared (first use this function)  
lcddevice.cpp:1047: warning: comparison between signed and unsigned integer  
expressions  
lcddevice.cpp:1051: error: no matching function for call to  
`QTimer::start(int, bool)'  
/usr/include/qt4/QtCore/qtimer.h:58: note: candidates are: void  
QTimer::start(int)  
/usr/include/qt4/QtCore/qtimer.h:60: note:                 void  
QTimer::start()  
lcddevice.cpp:1058: warning: comparison between signed and unsigned integer  
expressions  
lcddevice.cpp:1094: warning: comparison between signed and unsigned integer  
expressions  
lcddevice.cpp:1106: error: no matching function for call to  
`QTimer::start(int, bool)'  
/usr/include/qt4/QtCore/qtimer.h:58: note: candidates are: void  
QTimer::start(int)  
/usr/include/qt4/QtCore/qtimer.h:60: note:                 void  
QTimer::start()  
lcddevice.cpp: At global scope:  
lcddevice.cpp:1397: error: variable or field `switchToMenu' declared void  
lcddevice.cpp:1397: error: `int LCD::switchToMenu' is not a static member of  
`class LCD'  
lcddevice.cpp:1397: error: `QPtrList' was not declared in this scope  
lcddevice.cpp:1397: error: expected primary-expression before '>' token  
lcddevice.cpp:1397: error: `menuItems' was not declared in this scope  
lcddevice.cpp:1397: error: expected primary-expression before "app_name"  
lcddevice.cpp:1398: error: expected primary-expression before "bool"  
lcddevice.cpp:1399: error: initializer expression list treated as compound  
expression  
lcddevice.cpp:1399: error: expected `,' or `;' before '{' token  
lcddevice.cpp:1407: error: variable or field `switchToGeneric' declared void  
lcddevice.cpp:1407: error: `int LCD::switchToGeneric' is not a static member  
of `class LCD'  
lcddevice.cpp:1407: error: `QPtrList' was not declared in this scope  
lcddevice.cpp:1407: error: expected primary-expression before '>' token  
lcddevice.cpp:1407: error: `textItems' was not declared in this scope  
lcddevice.cpp:1408: error: expected `,' or `;' before '{' token  
lcddevice.cpp: In member function `void LCD::shutdown()':  
lcddevice.cpp:1473: error: `socket' undeclared (first use this function)  
lcddevice.cpp: In destructor `virtual LCD::~LCD()':  
lcddevice.cpp:1487: error: `socket' undeclared (first use this function)  
lcddevice.cpp:1492: error: `lcdMenuItems' undeclared (first use this function)  
make[2]: *** [lcddevice.o] Error 1  
make[2]: Leaving directory  
`/var/tmp/portage/mythtv-0.18.1-r2/work/mythtv-0.18.1/libs/libmyth'  
make[1]: *** [sub-libmyth-make_default-ordered] Error 2  
make[1]: Leaving directory  
`/var/tmp/portage/mythtv-0.18.1-r2/work/mythtv-0.18.1/libs'  
make: *** [sub-libs] Error 2  
  
 

Reproducible: Always
Steps to Reproduce:
1.emerge mythtv mythtv-themes 
2.compile fails 
3. 
 
Actual Results:  
compilation fails rather spectacularly. 

Expected Results:  
system should have built and been installed for use. 

artoo etc # emerge info 
Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 
2.6.14-gentoo-r2 x86_64) 
================================================================= 
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3700+ 
Gentoo Base System version 1.12.0_pre10 
dev-lang/python:     2.3.5, 2.4.2 
sys-apps/sandbox:    1.2.13 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20-r1 
virtual/os-headers:  2.6.11-r3 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=k8 -O2" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-march=k8 -O2" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 3dow X alsa arts audiofile avi berkdb bitmap-fonts bzip2 cdparanoia 
crypt cups curl dvd dvdread eds emboss encode exif expat fam flac foomaticdb 
fortran gdbm gif glut gnome gpg gpgme gpm gstreamer gtk gtk2 idn imlib ipv6 
irmc jabber jack jpeg kde lame lcms libwww lm_sensors lzw lzw-tiff mad mng 
mozilla mp3 mpeg musicbrainz mysql ncurses network nls nvidia objc ofx ogg 
opengl oss pam pcre pda pdflib perl pic png python qt quicktime quotes 
readline sdl slang spell ssl tcltk tcpd tetex theora tiff truetype 
truetype-fonts type1-fonts udev unicode usb userlocales vorbis xine xml2 xpm 
xv xvid zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2005-11-23 15:13:23 UTC
Which version of QT do you have?
Comment 2 Brian O'Reilly 2005-11-23 15:15:59 UTC
x11-libs/qt
latest version available: 4.0.1
latest version installed: 4.0.1
Comment 3 Ajay Sharma 2005-11-25 17:14:20 UTC
I don't have a fresh install, but I just upgraded qt and mysql and now mythtv
won't build:

# epm -q mysql
mysql-5.0.16-r2

# epm -q qt   
qt-3.3.4-r8
qt-4.0.1

# emerge -pv mythtv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-tv/mythtv-0.18.1-r2  +alsa (-altivec) -arts -debug -dvb
+frontendonly -ieee1394 -jack +joystick -lcd -lirc +mmx +nvidia +opengl +oss
-unichrome +vorbis 0 kB 

(yes, I did a revdep-rebuild before adding to this bug report)

here's end of the compile (I'm not sure if these two issues are related...):

...
/usr/include/qt4/QtGui/qpen.h:89: note:                 QDataStream&
operator<<(QDataStream&, const QPen&)
/usr/include/qt4/QtCore/qline.h:139: note:                 QDebug
operator<<(QDebug, const QLine&)
/usr/include/qt4/QtCore/qline.h:143: note:                 QDataStream&
operator<<(QDataStream&, const QLine&)
/usr/include/qt4/QtCore/qline.h:298: note:                 QDebug
operator<<(QDebug, const QLineF&)
/usr/include/qt4/QtCore/qline.h:302: note:                 QDataStream&
operator<<(QDataStream&, const QLineF&)
/usr/include/qt4/QtGui/qmatrix.h:131: note:                 QDataStream&
operator<<(QDataStream&, const QMatrix&)
/usr/include/qt4/QtGui/qmatrix.h:135: note:                 QDebug
operator<<(QDebug, const QMatrix&)
/usr/include/qt4/QtCore/qabstractitemmodel.h:69: note:                 QDebug
operator<<(QDebug, const QModelIndex&)
/usr/include/qt4/QtCore/qabstractitemmodel.h:106: note:                 QDebug
operator<<(QDebug, const QPersistentModelIndex&)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/ostream:506: note:         
       std::basic_ostream<char, _Traits>&
std::operator<<(std::basic_ostream<char, _Traits>&, const unsigned char*
) [with _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/ostream:501: note:         
       std::basic_ostream<char, _Traits>&
std::operator<<(std::basic_ostream<char, _Traits>&, const signed char*) 
[with _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/ostream.tcc:612: note:
                std::basic_ostream<char, _Traits>&
std::operator<<(std::basic_ostream<char, _Traits>&, const char*
) [with _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/ostream.tcc:567: note:
                std::basic_ostream<_CharT, _Traits>&
std::operator<<(std::basic_ostream<_CharT, _Traits>&, const c
har*) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/ostream:467: note:         
       std::basic_ostream<char, _Traits>&
std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char) [with
 _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/ostream:462: note:         
       std::basic_ostream<char, _Traits>&
std::operator<<(std::basic_ostream<char, _Traits>&, signed char) [with _
Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/ostream.tcc:505: note:
                std::basic_ostream<char, _Traits>&
std::operator<<(std::basic_ostream<char, _Traits>&, char) [with
 _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/ostream:451: note:         
       std::basic_ostream<_CharT, _Traits>&
std::operator<<(std::basic_ostream<_CharT, _Traits>&, char) [with _Cha
rT = char, _Traits = std::char_traits<char>]
lcddevice.cpp:507: error: `socket' undeclared (first use this function)
lcddevice.cpp: In member function `void LCD::scrollText()':
lcddevice.cpp:527: warning: comparison between signed and unsigned integer
expressions
lcddevice.cpp: In member function `void LCD::startTime()':
lcddevice.cpp:559: error: no matching function for call to `QTimer::start(int,
bool)'
/usr/include/qt4/QtCore/qtimer.h:58: note: candidates are: void QTimer::start(int)
/usr/include/qt4/QtCore/qtimer.h:60: note:                 void QTimer::start()
lcddevice.cpp: At global scope:
lcddevice.cpp:564: error: variable or field `outputText' declared void
lcddevice.cpp:564: error: `int LCD::outputText' is not a static member of `class
LCD'
lcddevice.cpp:564: error: `QPtrList' was not declared in this scope
lcddevice.cpp:564: error: expected primary-expression before '>' token
lcddevice.cpp:564: error: `textItems' was not declared in this scope
lcddevice.cpp:565: error: expected `,' or `;' before '{' token
lcddevice.cpp: In member function `void LCD::assignScrollingText(QString,
QString, int)':
lcddevice.cpp:676: warning: comparison between signed and unsigned integer
expressions
lcddevice.cpp:711: error: no matching function for call to `QTimer::start(int,
bool)'
/usr/include/qt4/QtCore/qtimer.h:58: note: candidates are: void QTimer::start(int)
/usr/include/qt4/QtCore/qtimer.h:60: note:                 void QTimer::start()
lcddevice.cpp: In member function `void LCD::startMusic(QString, QString)':
lcddevice.cpp:720: error: no matching function for call to `QTimer::start(int,
bool)'
/usr/include/qt4/QtCore/qtimer.h:58: note: candidates are: void QTimer::start(int)
/usr/include/qt4/QtCore/qtimer.h:60: note:                 void QTimer::start()
lcddevice.cpp: In member function `void LCD::startChannel(QString, QString,
QString)':
lcddevice.cpp:747: error: no matching function for call to `QTimer::start(int,
bool)'
/usr/include/qt4/QtCore/qtimer.h:58: note: candidates are: void QTimer::start(int)
/usr/include/qt4/QtCore/qtimer.h:60: note:                 void QTimer::start()
lcddevice.cpp: At global scope:
lcddevice.cpp:752: error: variable or field `startGeneric' declared void
lcddevice.cpp:752: error: `int LCD::startGeneric' is not a static member of
`class LCD'
lcddevice.cpp:752: error: `QPtrList' was not declared in this scope
lcddevice.cpp:752: error: expected primary-expression before '>' token
lcddevice.cpp:752: error: `textItems' was not declared in this scope
lcddevice.cpp:753: error: expected `,' or `;' before '{' token
lcddevice.cpp:792: error: variable or field `startMenu' declared void
lcddevice.cpp:792: error: `int LCD::startMenu' is not a static member of `class LCD'
lcddevice.cpp:792: error: `QPtrList' was not declared in this scope
lcddevice.cpp:792: error: expected primary-expression before '>' token
lcddevice.cpp:792: error: `menuItems' was not declared in this scope
lcddevice.cpp:792: error: expected primary-expression before "app_name"
lcddevice.cpp:793: error: expected primary-expression before "bool"
lcddevice.cpp:794: error: initializer expression list treated as compound expression
lcddevice.cpp:794: error: expected `,' or `;' before '{' token
lcddevice.cpp: In member function `void LCD::beginScrollingMenuText()':
lcddevice.cpp:973: error: `lcdMenuItems' undeclared (first use this function)
lcddevice.cpp:978: error: `QPtrListIterator' undeclared (first use this function)
lcddevice.cpp:978: error: expected primary-expression before '>' token
lcddevice.cpp:978: error: `it' undeclared (first use this function)
lcddevice.cpp:989: warning: comparison between signed and unsigned integer
expressions
lcddevice.cpp:1003: error: no matching function for call to `QTimer::start(int,
bool)'
/usr/include/qt4/QtCore/qtimer.h:58: note: candidates are: void QTimer::start(int)
/usr/include/qt4/QtCore/qtimer.h:60: note:                 void QTimer::start()
lcddevice.cpp: In member function `void LCD::scrollMenuText()':
lcddevice.cpp:1008: error: `lcdMenuItems' undeclared (first use this function)
lcddevice.cpp:1012: error: `QPtrListIterator' undeclared (first use this function)
lcddevice.cpp:1012: error: expected primary-expression before '>' token
lcddevice.cpp:1012: error: `it' undeclared (first use this function)
lcddevice.cpp:1047: warning: comparison between signed and unsigned integer
expressions
lcddevice.cpp:1051: error: no matching function for call to `QTimer::start(int,
bool)'
/usr/include/qt4/QtCore/qtimer.h:58: note: candidates are: void QTimer::start(int)
/usr/include/qt4/QtCore/qtimer.h:60: note:                 void QTimer::start()
lcddevice.cpp:1058: warning: comparison between signed and unsigned integer
expressions
lcddevice.cpp:1094: warning: comparison between signed and unsigned integer
expressions
lcddevice.cpp:1106: error: no matching function for call to `QTimer::start(int,
bool)'
/usr/include/qt4/QtCore/qtimer.h:58: note: candidates are: void QTimer::start(int)
/usr/include/qt4/QtCore/qtimer.h:60: note:                 void QTimer::start()
lcddevice.cpp: At global scope:
lcddevice.cpp:1397: error: variable or field `switchToMenu' declared void
lcddevice.cpp:1397: error: `int LCD::switchToMenu' is not a static member of
`class LCD'
lcddevice.cpp:1397: error: `QPtrList' was not declared in this scope
lcddevice.cpp:1397: error: expected primary-expression before '>' token
lcddevice.cpp:1397: error: `menuItems' was not declared in this scope
lcddevice.cpp:1397: error: expected primary-expression before "app_name"
lcddevice.cpp:1398: error: expected primary-expression before "bool"
lcddevice.cpp:1399: error: initializer expression list treated as compound
expression
lcddevice.cpp:1399: error: expected `,' or `;' before '{' token
lcddevice.cpp:1407: error: variable or field `switchToGeneric' declared void
lcddevice.cpp:1407: error: `int LCD::switchToGeneric' is not a static member of
`class LCD'
lcddevice.cpp:1407: error: `QPtrList' was not declared in this scope
lcddevice.cpp:1407: error: expected primary-expression before '>' token
lcddevice.cpp:1407: error: `textItems' was not declared in this scope
lcddevice.cpp:1408: error: expected `,' or `;' before '{' token
lcddevice.cpp: In member function `void LCD::shutdown()':
lcddevice.cpp:1473: error: `socket' undeclared (first use this function)
lcddevice.cpp: In destructor `virtual LCD::~LCD()':
lcddevice.cpp:1487: error: `socket' undeclared (first use this function)
lcddevice.cpp:1492: error: `lcdMenuItems' undeclared (first use this function)
make[2]: *** [lcddevice.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from dialogbox.h:6,
                 from dialogbox.cpp:11:
mythdialogs.h:7:18: qdom.h: No such file or directory
mythdialogs.h:8:22: qptrlist.h: No such file or directory
mythdialogs.h:12:26: qvaluevector.h: No such file or directory
mythdialogs.h:13:25: qscrollview.h: No such file or directory
In file included from uitypes.h:18,
                 from mythdialogs.h:18,
                 from dialogbox.h:6,
                 from dialogbox.cpp:11:
mythwidgets.h:4:21: qbutton.h: No such file or directory
mythwidgets.h:14:21: qheader.h: No such file or directory
mythwidgets.h:15:20: qtable.h: No such file or directory
mythwidgets.h:17:22: qlistbox.h: No such file or directory
In file included from uitypes.h:18,
                 from mythdialogs.h:18,
                 from dialogbox.h:6,
                 from dialogbox.cpp:11:
mythwidgets.h: In constructor `MythComboBox::MythComboBox(bool, QWidget*, const
char*)':
mythwidgets.h:39: error: no matching function for call to
`QComboBox::QComboBox(bool&, QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qcombobox.h:254: note: candidates are:
QComboBox::QComboBox(const QComboBox&)
/usr/include/qt4/QtGui/qcombobox.h:62: note:                
QComboBox::QComboBox(QWidget*)
mythwidgets.h: In member function `void MythComboBox::insertItem(const QString&)':
mythwidgets.h:52: error: no matching function for call to
`MythComboBox::insertItem(const QString&)'
/usr/include/qt4/QtGui/qcombobox.h:274: note: candidates are: void
QComboBox::insertItem(int, const QString&, const QVariant&)
/usr/include/qt4/QtGui/qcombobox.h:162: note:                 void
QComboBox::insertItem(int, const QIcon&, const QString&, const QVariant&)
mythwidgets.h: In constructor `MythSpinBox::MythSpinBox(QWidget*, const char*,
bool)':
mythwidgets.h:73: error: no matching function for call to
`QSpinBox::QSpinBox(QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qspinbox.h:98: note: candidates are:
QSpinBox::QSpinBox(const QSpinBox&)
/usr/include/qt4/QtGui/qspinbox.h:47: note:                
QSpinBox::QSpinBox(QWidget*)
mythwidgets.h:73: error: `setLineStep' undeclared (first use this function)
mythwidgets.h:73: error: (Each undeclared identifier is reported only once for
each function it appears in.)
mythwidgets.h: In constructor `MythSlider::MythSlider(QWidget*, const char*)':
mythwidgets.h:98: error: no matching function for call to
`QSlider::QSlider(QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qslider.h:99: note: candidates are:
QSlider::QSlider(const QSlider&)
/usr/include/qt4/QtGui/qslider.h:63: note:                
QSlider::QSlider(Qt::Orientation, QWidget*)
/usr/include/qt4/QtGui/qslider.h:62: note:                
QSlider::QSlider(QWidget*)
mythwidgets.h: In constructor `MythLineEdit::MythLineEdit(QWidget*, const char*)':
mythwidgets.h:120: error: no matching function for call to
`QLineEdit::QLineEdit(QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qlineedit.h:208: note: candidates are:
QLineEdit::QLineEdit(const QLineEdit&)
/usr/include/qt4/QtGui/qlineedit.h:63: note:                
QLineEdit::QLineEdit(const QString&, QWidget*)
/usr/include/qt4/QtGui/qlineedit.h:62: note:                
QLineEdit::QLineEdit(QWidget*)
mythwidgets.h: In constructor `MythLineEdit::MythLineEdit(const QString&,
QWidget*, const char*)':
mythwidgets.h:124: error: no matching function for call to
`QLineEdit::QLineEdit(const QString&, QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qlineedit.h:208: note: candidates are:
QLineEdit::QLineEdit(const QLineEdit&)
/usr/include/qt4/QtGui/qlineedit.h:63: note:                
QLineEdit::QLineEdit(const QString&, QWidget*)
/usr/include/qt4/QtGui/qlineedit.h:62: note:                
QLineEdit::QLineEdit(QWidget*)
mythwidgets.h: At global scope:
mythwidgets.h:220: error: expected class-name before '{' token
mythwidgets.h: In constructor `MythTable::MythTable(QWidget*)':
mythwidgets.h:222: error: class `MythTable' does not have any field named `QTable'
mythwidgets.h: In constructor `MythPushButton::MythPushButton(QWidget*, const
char*, bool)':
mythwidgets.h:241: error: no matching function for call to
`QPushButton::QPushButton(QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qpushbutton.h:86: note: candidates are:
QPushButton::QPushButton(const QPushButton&)
/usr/include/qt4/QtGui/qpushbutton.h:45: note:                
QPushButton::QPushButton(const QIcon&, const QString&, QWidget*)
/usr/include/qt4/QtGui/qpushbutton.h:44: note:                
QPushButton::QPushButton(const QString&, QWidget*)
/usr/include/qt4/QtGui/qpushbutton.h:43: note:                
QPushButton::QPushButton(QWidget*)
mythwidgets.h:241: error: `WindowOrigin' undeclared (first use this function)
mythwidgets.h:241: error: `setBackgroundOrigin' undeclared (first use this function)
mythwidgets.h: In constructor `MythPushButton::MythPushButton(const QString&,
QWidget*, bool)':
mythwidgets.h:245: error: `WindowOrigin' undeclared (first use this function)
mythwidgets.h:245: error: `setBackgroundOrigin' undeclared (first use this function)
mythwidgets.h: In constructor `MythCheckBox::MythCheckBox(QWidget*, const char*)':
mythwidgets.h:270: error: no matching function for call to
`QCheckBox::QCheckBox(QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qcheckbox.h:81: note: candidates are:
QCheckBox::QCheckBox(const QCheckBox&)
/usr/include/qt4/QtGui/qcheckbox.h:42: note:                
QCheckBox::QCheckBox(const QString&, QWidget*)
/usr/include/qt4/QtGui/qcheckbox.h:41: note:                
QCheckBox::QCheckBox(QWidget*)
mythwidgets.h: In constructor `MythRadioButton::MythRadioButton(QWidget*, const
char*)':
mythwidgets.h:290: error: no matching function for call to
`QRadioButton::QRadioButton(QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qradiobutton.h:53: note: candidates are:
QRadioButton::QRadioButton(const QRadioButton&)
/usr/include/qt4/QtGui/qradiobutton.h:38: note:                
QRadioButton::QRadioButton(const QString&, QWidget*)
/usr/include/qt4/QtGui/qradiobutton.h:37: note:                
QRadioButton::QRadioButton(QWidget*)
mythwidgets.h: At global scope:
mythwidgets.h:311: error: expected `,' or `...' before '*' token
mythwidgets.h:311: error: ISO C++ forbids declaration of `QListViewItem' with no
type
mythwidgets.h:318: error: expected class-name before '{' token
mythwidgets.h:318: warning: `class MythListBox' has virtual functions but
non-virtual destructor
mythwidgets.h: In member function `void MythListBox::setCurrentItem(int)':
mythwidgets.h:335: error: `QListBox' has not been declared
In file included from uitypes.h:19,
                 from mythdialogs.h:18,
                 from dialogbox.h:6,
                 from dialogbox.cpp:11:
util.h:4:21: qsocket.h: No such file or directory
In file included from uitypes.h:19,
                 from mythdialogs.h:18,
                 from dialogbox.h:6,
                 from dialogbox.cpp:11:
util.h: At global scope:
util.h:19: error: `QSocketDevice' was not declared in this scope
util.h:19: error: `socket' was not declared in this scope
util.h:19: error: expected primary-expression before "const"
util.h:19: error: expected primary-expression before "int"
util.h:19: error: initializer expression list treated as compound expression
util.h:21: error: `QSocketDevice' was not declared in this scope
util.h:21: error: `socket' was not declared in this scope
util.h:21: error: expected primary-expression before '&' token
util.h:21: error: missing template arguments before ')' token
util.h:21: error: initializer expression list treated as compound expression
util.h:22: error: `QSocketDevice' was not declared in this scope
util.h:22: error: `socket' was not declared in this scope
util.h:22: error: expected primary-expression before '&' token
util.h:22: error: missing template arguments before ',' token
util.h:23: error: expected primary-expression before "bool"
util.h:23: error: initializer expression list treated as compound expression
util.h:25: error: `QSocketDevice' was not declared in this scope
util.h:25: error: `socket' was not declared in this scope
util.h:25: error: expected primary-expression before "void"
util.h:25: error: expected primary-expression before "int"
util.h:25: error: initializer expression list treated as compound expression
util.h:28: error: redefinition of `bool WriteStringList'
util.h:21: error: `bool WriteStringList' previously defined here
util.h:28: error: `QSocket' was not declared in this scope
util.h:28: error: `socket' was not declared in this scope
util.h:28: error: expected primary-expression before '&' token
util.h:28: error: missing template arguments before ')' token
util.h:29: error: redefinition of `bool ReadStringList'
util.h:22: error: `bool ReadStringList' previously defined here
util.h:29: error: `QSocket' was not declared in this scope
util.h:29: error: `socket' was not declared in this scope
util.h:29: error: expected primary-expression before '&' token
util.h:29: error: missing template arguments before ')' token
util.h:31: error: redefinition of `bool WriteBlock'
util.h:25: error: `bool WriteBlock' previously defined here
util.h:31: error: `QSocket' was not declared in this scope
util.h:31: error: `socket' was not declared in this scope
util.h:31: error: expected primary-expression before "void"
util.h:31: error: expected primary-expression before "int"
util.h:32: error: `QSocket' was not declared in this scope
util.h:32: error: `socket' was not declared in this scope
util.h:32: error: expected primary-expression before "void"
util.h:32: error: expected primary-expression before "int"
util.h:32: error: initializer expression list treated as compound expression
In file included from uitypes.h:21,
                 from mythdialogs.h:18,
                 from dialogbox.h:6,
                 from dialogbox.cpp:11:
generictree.h:6:24: qvaluelist.h: No such file or directory
In file included from uitypes.h:21,
                 from mythdialogs.h:18,
                 from dialogbox.h:6,
                 from dialogbox.cpp:11:
generictree.h:15: error: ISO C++ forbids declaration of `QValueVector' with no type
generictree.h:15: error: expected `;' before '<' token
generictree.h:30: error: expected `;' before '(' token
generictree.h:31: error: expected `;' before '(' token
generictree.h:32: error: `QValueList' has not been declared
generictree.h:32: error: expected `,' or `...' before '<' token
generictree.h:32: error: ISO C++ forbids declaration of `parameter' with no type
generictree.h:37: error: ISO C++ forbids declaration of `QPtrListIterator' with
no type
generictree.h:37: error: expected `;' before '<' token
generictree.h:44: error: ISO C++ forbids declaration of `QPtrList' with no type
generictree.h:44: error: expected `;' before '<' token
generictree.h:69: error: ISO C++ forbids declaration of `IntVector' with no type
generictree.h:69: error: expected `;' before '*' token
generictree.h:71: error: expected `;' before "void"
generictree.h:79: error: `QPtrList' has not been declared
generictree.h:79: error: expected `,' or `...' before '<' token
generictree.h:79: error: ISO C++ forbids declaration of `parameter' with no type
generictree.h:104: error: ISO C++ forbids declaration of `IntVector' with no type
generictree.h:104: error: expected `;' before '*' token
In file included from mythdialogs.h:18,
                 from dialogbox.h:6,
                 from dialogbox.cpp:11:
uitypes.h: In member function `void UIBarType::ResetImage(int)':
uitypes.h:176: error: 'class QPixmap' has no member named 'resize'
uitypes.h: At global scope:
uitypes.h:219: error: ISO C++ forbids declaration of `QDict' with no type
uitypes.h:219: error: expected `;' before '<' token
uitypes.h:304: error: ISO C++ forbids declaration of `QPtrList' with no type
uitypes.h:304: error: expected `;' before '<' token
uitypes.h: In constructor `UIGuideType::UIGTCon::UIGTCon(const QRect&, const
QString&, const QString&, int, int, int)':
uitypes.h:272: error: 'const class QString' has no member named 'stripWhiteSpace'
uitypes.h: At global scope:
uitypes.h:764: error: ISO C++ forbids declaration of `QValueVector' with no type
uitypes.h:764: error: expected `;' before '<' token
uitypes.h:779: error: `QValueList' has not been declared
uitypes.h:779: error: expected `,' or `...' before '<' token
uitypes.h:779: error: ISO C++ forbids declaration of `parameter' with no type
uitypes.h:780: error: `QValueList' has not been declared
uitypes.h:780: error: expected `,' or `...' before '<' token
uitypes.h:780: error: ISO C++ forbids declaration of `parameter' with no type
uitypes.h:781: error: ISO C++ forbids declaration of `QValueList' with no type
uitypes.h:781: error: expected `;' before '<' token
uitypes.h:783: error: `QValueList' has not been declared
uitypes.h:783: error: expected `,' or `...' before '<' token
uitypes.h:783: error: ISO C++ forbids declaration of `parameter' with no type
uitypes.h:833: error: `IntVector' has not been declared
uitypes.h:833: error: ISO C++ forbids declaration of `parameter' with no type
uitypes.h:834: error: `IntVector' has not been declared
uitypes.h:834: error: ISO C++ forbids declaration of `parameter' with no type
uitypes.h:863: error: ISO C++ forbids declaration of `QPtrList' with no type
uitypes.h:863: error: expected `;' before '<' token
uitypes.h:865: error: ISO C++ forbids declaration of `QValueList' with no type
uitypes.h:865: error: expected `;' before '<' token
uitypes.h:1050: error: ISO C++ forbids declaration of `QPtrList' with no type
uitypes.h:1050: error: expected `;' before '<' token
uitypes.h: In member function `void UISelectorType::cleanOut()':
uitypes.h:1039: error: `my_data' undeclared (first use this function)
uitypes.h: At global scope:
uitypes.h:1128: error: ISO C++ forbids declaration of `QValueList' with no type
uitypes.h:1128: error: expected `;' before '<' token
uitypes.h:1132: error: `KeyList' does not name a type
In file included from dialogbox.h:6,
                 from dialogbox.cpp:11:
mythdialogs.h:44: error: expected class-name before '{' token
mythdialogs.h: In constructor `ExternalKeycodeEvent::ExternalKeycodeEvent(int)':
mythdialogs.h:47: error: class `ExternalKeycodeEvent' does not have any field
named `QCustomEvent'
mythdialogs.h: At global scope:
mythdialogs.h:56: error: expected class-name before '{' token
mythdialogs.h: In constructor `ExitToMainMenuEvent::ExitToMainMenuEvent()':
mythdialogs.h:58: error: class `ExitToMainMenuEvent' does not have any field
named `QCustomEvent'
mythdialogs.h: At global scope:
mythdialogs.h:74: error: `WFlags' has not been declared
mythdialogs.h:74: error: ISO C++ forbids declaration of `flags' with no type
mythdialogs.h:109: error: `QCustomEvent' has not been declared
mythdialogs.h:109: error: ISO C++ forbids declaration of `ce' with no type
mythdialogs.h:184: error: ISO C++ forbids declaration of `QButton' with no type
mythdialogs.h:184: error: expected `;' before '*' token
mythdialogs.h:237: error: ISO C++ forbids declaration of `QPtrList' with no type
mythdialogs.h:237: error: expected `;' before '<' token
mythdialogs.h:249: error: `QDomElement' has not been declared
mythdialogs.h:249: error: ISO C++ forbids declaration of `parameter' with no type
mythdialogs.h:250: error: `QDomElement' has not been declared
mythdialogs.h:250: error: ISO C++ forbids declaration of `parameter' with no type
mythdialogs.h:251: error: `QDomElement' has not been declared
mythdialogs.h:251: error: ISO C++ forbids declaration of `parameter' with no type
mythdialogs.h:252: error: `QDomElement' has not been declared
mythdialogs.h:252: error: ISO C++ forbids declaration of `parameter' with no type
mythdialogs.h:294: error: ISO C++ forbids declaration of `QDomElement' with no type
mythdialogs.h:294: error: expected `;' before '&' token
mythdialogs.h:296: error: expected `;' before "QPixmap"
mythdialogs.h:304: error: `QDomElement' does not name a type
mythdialogs.h:307: error: ISO C++ forbids declaration of `QPtrList' with no type
mythdialogs.h:307: error: expected `;' before '<' token
mythdialogs.h:308: error: ISO C++ forbids declaration of `QPtrList' with no type
mythdialogs.h:308: error: expected `;' before '<' token
mythdialogs.h:375: error: ISO C++ forbids declaration of `QButton' with no type
mythdialogs.h:375: error: expected `;' before '*' token
mythdialogs.h:376: error: ISO C++ forbids declaration of `QButton' with no type
mythdialogs.h:376: error: expected `;' before '*' token
mythdialogs.h:390: error: ISO C++ forbids declaration of `QValueVector' with no type
mythdialogs.h:390: error: expected `;' before '<' token
mythdialogs.h:403: error: `IntVector' has not been declared
mythdialogs.h:403: error: ISO C++ forbids declaration of `parameter' with no type
mythdialogs.h:404: error: `IntVector' has not been declared
mythdialogs.h:404: error: ISO C++ forbids declaration of `parameter' with no type
mythdialogs.h:427: error: expected class-name before '{' token
mythdialogs.h:427: warning: `class MythScrollDialog' has virtual functions but
non-virtual destructor
In file included from dialogbox.cpp:12:
mythcontext.h:12:27: qsocketdevice.h: No such file or directory
mythcontext.h:14:23: qnetwork.h: No such file or directory
In file included from dialogbox.cpp:12:
mythcontext.h:125: error: expected class-name before '{' token
mythcontext.h:127: error: `User' was not declared in this scope
mythcontext.h:127: error: enumerator value for `MythEventMessage' not integer
constant
mythcontext.h: In constructor `MythEvent::MythEvent(const QString&)':
mythcontext.h:129: error: class `MythEvent' does not have any field named
`QCustomEvent'
mythcontext.h:132: error: no match for 'operator=' in
'((MythEvent*)this)->MythEvent::extradata = "empty"'
/usr/include/qt4/QtCore/qstringlist.h:46: note: candidates are: QStringList&
QStringList::operator=(const QStringList&)
mythcontext.h: In constructor `MythEvent::MythEvent(const QString&, const
QStringList&)':
mythcontext.h:135: error: class `MythEvent' does not have any field named
`QCustomEvent'
mythcontext.h: At global scope:
mythcontext.h:303: error: `QSocketDevice' has not been declared
mythcontext.h:303: error: ISO C++ forbids declaration of `socket' with no type
dialogbox.cpp: In constructor `DialogBox::DialogBox(MythMainWindow*, const
QString&, const char*, const char*)':
dialogbox.cpp:21: error: 'class QLabel' has no member named 'setBackgroundOrigin'
dialogbox.cpp:21: error: `WindowOrigin' undeclared (first use this function)
dialogbox.cpp:22: error: `WordBreak' is not a member of `Qt'
dialogbox.cpp:24: error: no matching function for call to
`QVBoxLayout::QVBoxLayout(DialogBox* const, int, int)'
/usr/include/qt4/QtGui/qboxlayout.h:136: note: candidates are:
QVBoxLayout::QVBoxLayout(const QVBoxLayout&)
/usr/include/qt4/QtGui/qboxlayout.h:124: note:                
QVBoxLayout::QVBoxLayout(QWidget*)
/usr/include/qt4/QtGui/qboxlayout.h:123: note:                
QVBoxLayout::QVBoxLayout()
dialogbox.cpp:33: error: 'class QCheckBox' has no member named 'setBackgroundOrigin'
dialogbox.cpp:40: error: 'class QButtonGroup' has no member named 'insert'
dialogbox.cpp: In member function `void DialogBox::AddButton(const QString&)':
dialogbox.cpp:48: error: 'class QButtonGroup' has no member named 'count'
dialogbox.cpp:49: error: 'class QButtonGroup' has no member named 'count'
dialogbox.cpp:54: error: 'class QButtonGroup' has no member named 'insert'
dialogbox.cpp: In member function `void DialogBox::buttonPressed(int)':
dialogbox.cpp:61: error: 'class QButtonGroup' has no member named 'find'
make[2]: *** [dialogbox.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mythtv-0.18.1-r2/work/mythtv-0.18.1/libs/libmyth'
make[1]: *** [sub-libmyth-make_default-ordered] Error 2
make[1]: Leaving directory
`/var/tmp/portage/mythtv-0.18.1-r2/work/mythtv-0.18.1/libs'
make: *** [sub-libs] Error 2

!!! ERROR: media-tv/mythtv-0.18.1-r2 failed.
!!! Function src_compile, Line 162, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 4 Ajay Sharma 2005-11-27 21:23:57 UTC
sorry, ignore my comment.  mythfrontend now works after emerging the latest mysql.
Comment 5 Dan A. Dickey 2005-12-01 10:35:40 UTC
Brian, per comment #2 - you need qt3 to build mythtv. 
However, it has problems building when you have both qt3 and qt4 
installed.  See bug 114052. 
 
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2005-12-02 21:54:38 UTC

*** This bug has been marked as a duplicate of 113419 ***