Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120227 - net-misc/kiax-0.8.4 fails to compile with qt 4
Summary: net-misc/kiax-0.8.4 fails to compile with qt 4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-24 15:00 UTC by Reuben Martin
Modified: 2006-01-26 05:18 UTC (History)
0 users

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 Reuben Martin 2006-01-24 15:00:45 UTC
if a box is kept up to date then if probably has probably been update recently to qt 4.x. If this is the case, and the user tries to build kiax, then the build will fail because kiax tries to build using qt 4.x rather than qt 3.x

While this is being fixed, we might as well see if it we need to apply a patch for a memory leak: http://sourceforge.net/tracker/index.php?func=detail&aid=1215360&group_id=131960&atid=722797
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-24 15:09:48 UTC
Reopen with actual error messages and emerge --info, please... 
Comment 2 Reuben Martin 2006-01-24 16:00:54 UTC
See the forum thread for error messages: 

http://forums.gentoo.org/viewtopic-t-421277.html

I had the same problems. After uninstalling qt4 the ebuild built properly.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-24 16:04:09 UTC
(In reply to comment #2)
> See the forum thread for error messages: 

No. Seeing forums is useless when searching for duplicate bugs. Reopen with the requested information.
Comment 4 Reuben Martin 2006-01-24 17:31:13 UTC
cd src && /usr/bin/qmake src.pro -unix
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
cd src && make
make[1]: Entering directory `/var/tmp/portage/kiax-0.8.4/work/kiax-0.8.4/src'
g++ -c -pipe -O2 -march=athlon-xp -mtune=athlon-xp -fprefetch-loop-arrays -pipe -D_REENTRANT -Wall -W -DICONS_PATH=\"/usr/share/kiax/icons/\" -DI18N_DIRECTORY=\"/usr/share/kiax/i18n/\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/doc/qt-4.1.0-r2/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I../lib -I/usr/include -I. -I. -o main.o main.cpp
In file included from main.cpp:22:
kiaxmainwindow.h:28:19: qdict.h: No such file or directory
kiaxmainwindow.h:33:22: qlistbox.h: No such file or directory
kiaxmainwindow.h:37:24: qpopupmenu.h: No such file or directory
kiaxmainwindow.h:46:24: mainwindow.h: No such file or directory
In file included from iaxwrapper.h:34,
                 from kiaxmainwindow.h:47,
                 from main.cpp:22:
kiaxprefs.h:24:22: qptrlist.h: No such file or directory
In file included from kiaxprefs.h:31,
                 from iaxwrapper.h:34,
                 from kiaxmainwindow.h:47,
                 from main.cpp:22:
kiaxaccount.h:25:24: qptrvector.h: No such file or directory
In file included from iaxwrapper.h:34,
                 from kiaxmainwindow.h:47,
                 from main.cpp:22:
kiaxprefs.h:43: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:43: error: expected `;' before '<' token
kiaxprefs.h:58: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:58: error: expected `;' before '<' token
kiaxprefs.h:59: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:59: error: expected `;' before '<' token
kiaxprefs.h:60: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:60: error: expected `;' before '<' token
kiaxprefs.h:111: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:111: error: expected `;' before '<' token
kiaxprefs.h:112: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:112: error: expected `;' before '<' token
kiaxprefs.h:113: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:113: error: expected `;' before '<' token
kiaxprefs.h:114: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:114: error: expected `;' before '<' token
In file included from kiaxmainwindow.h:47,
                 from main.cpp:22:
iaxwrapper.h:83: error: `QCustomEvent' has not been declared
iaxwrapper.h:83: error: ISO C++ forbids declaration of `event' with no type
In file included from kiaxmainwindow.h:48,
                 from main.cpp:22:
kiaxcalltab.h:28:21: calltab.h: No such file or directory
In file included from kiaxmainwindow.h:48,
                 from main.cpp:22:
kiaxcalltab.h:31: error: expected class-name before '{' token
kiaxcalltab.h:35: error: `WFlags' has not been declared
kiaxcalltab.h:35: error: ISO C++ forbids declaration of `fl' with no type
kiaxcalltab.h:31: warning: `class KiaxCallTab' has virtual functions but non-virtual destructor
In file included from kiaxmainwindow.h:50,
                 from main.cpp:22:
kiaxprefswindow.h:31:25: prefswindow.h: No such file or directory
In file included from kiaxmainwindow.h:50,
                 from main.cpp:22:
kiaxprefswindow.h:36: error: expected class-name before '{' token
kiaxprefswindow.h:40: error: `WFlags' has not been declared
kiaxprefswindow.h:40: error: ISO C++ forbids declaration of `fl' with no type
kiaxprefswindow.h:36: warning: `class KiaxPrefsWindow' has virtual functions but non-virtual destructor
In file included from kiaxmainwindow.h:51,
                 from main.cpp:22:
kiaxaboutbox.h:25:22: aboutbox.h: No such file or directory
In file included from kiaxmainwindow.h:51,
                 from main.cpp:22:
kiaxaboutbox.h:28: error: expected class-name before '{' token
kiaxaboutbox.h:32: error: `WFlags' has not been declared
kiaxaboutbox.h:32: error: ISO C++ forbids declaration of `fl' with no type
kiaxaboutbox.h:28: warning: `class KiaxAboutBox' has virtual functions but non-virtual destructor
In file included from kiaxmainwindow.h:52,
                 from main.cpp:22:
kiaxcontactwindow.h:24:27: adduserdialog.h: No such file or directory
In file included from kiaxmainwindow.h:52,
                 from main.cpp:22:
kiaxcontactwindow.h:27: error: expected class-name before '{' token
kiaxcontactwindow.h:31: error: `WFlags' has not been declared
kiaxcontactwindow.h:31: error: ISO C++ forbids declaration of `fl' with no type
kiaxcontactwindow.h:27: warning: `class KiaxContactWindow' has virtual functions but non-virtual destructor
In file included from kiaxmainwindow.h:53,
                 from main.cpp:22:
kiaxaddressbook.h:26: error: expected template-name before '<' token
kiaxaddressbook.h:26: error: expected `{' before '<' token
kiaxaddressbook.h:26: error: expected unqualified-id before '<' token
kiaxaddressbook.h:26: error: expected `,' or `;' before '<' token
In file included from kiaxmainwindow.h:55,
                 from main.cpp:22:
kiaxsystemtray.h:76: error: ISO C++ forbids declaration of `QPopupMenu' with no type
kiaxsystemtray.h:76: error: expected `;' before '*' token
In file included from kiaxmainwindow.h:56,
                 from main.cpp:22:
kiaxcallregister.h:26: error: expected template-name before '<' token
kiaxcallregister.h:26: error: expected `{' before '<' token
kiaxcallregister.h:26: error: expected unqualified-id before '<' token
kiaxcallregister.h:26: error: expected `,' or `;' before '<' token
In file included from kiaxmainwindow.h:57,
                 from main.cpp:22:
kiaxlogwindow.h:24:23: logwindow.h: No such file or directory
In file included from kiaxmainwindow.h:57,
                 from main.cpp:22:
kiaxlogwindow.h:27: error: expected class-name before '{' token
kiaxlogwindow.h:31: error: `WFlags' has not been declared
kiaxlogwindow.h:31: error: ISO C++ forbids declaration of `fl' with no type
kiaxlogwindow.h:27: warning: `class KiaxLogWindow' has virtual functions but non-virtual destructor
In file included from main.cpp:22:
kiaxmainwindow.h:68: error: expected class-name before '{' token
kiaxmainwindow.h:72: error: `WFlags' has not been declared
kiaxmainwindow.h:72: error: ISO C++ forbids declaration of `fl' with no type
kiaxmainwindow.h:140: error: `QListBoxItem' has not been declared
kiaxmainwindow.h:140: error: ISO C++ forbids declaration of `itm' with no type
kiaxmainwindow.h:150: error: `QListBoxItem' has not been declared
kiaxmainwindow.h:150: error: ISO C++ forbids declaration of `item' with no type
kiaxmainwindow.h:205: error: ISO C++ forbids declaration of `QPopupMenu' with no type
kiaxmainwindow.h:205: error: expected `;' before '*' token
kiaxmainwindow.h:206: error: ISO C++ forbids declaration of `QPopupMenu' with no type
kiaxmainwindow.h:206: error: expected `;' before '*' token
kiaxmainwindow.h:68: warning: `class KiaxMainWindow' has virtual functions but non-virtual destructor
main.cpp: In function `int main(int, char**)':
main.cpp:29: error: no matching function for call to `QApplication::connect(QApplication*, const char[20], KiaxMainWindow*&, const char[28])'
/usr/include/qt4/QtCore/qobject.h:174: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/qt4/QtCore/qobject.h:275: note:                 bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/kiax-0.8.4/work/kiax-0.8.4/src'
make: *** [sub-src-make_default] Error 2

!!! ERROR: net-misc/kiax-0.8.4 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.



======================================

emerge --info

Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.0_pre14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -ffast-math -mfpmath=sse -fprefetch-loop-arrays -pipe"
CHOST="i686-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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -ffast-math -mfpmath=sse -fprefetch-loop-arrays -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/dev-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acl acpi alsa ansi apache2 apm audiofile avi berkdb bitmap-fonts blender-game bmp bonobo bootsplash bzip2 bzlib c++ cairo calendar canvas cap caps cdparanoia cdr cdrom codecs crypt css cups curl daap db2 dba dbase dbm dbus dbx dga dio directfb dv dvd dvdr dvdread emboss encode exif expat ext-png ext-zlib fam fb fbcon ffmpeg fftw flac fluidsynth fmod font-server foomaticdb fortran freetype ftp fuse gd gdbm gif gimp gimpprint gkrellm glut gnome gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml guile hal howl idn ieee1394 imagemagick imap imlib ipod ipv6 jabber jack jack-tmpfs java jpeg junit kde kdeenablefinal kerberos krb4 ladspa latex lcms ldap libg++ libwww lzo lzw mad matroska mcal mhash mime mimencode mjpeg mmap mmx mmxext mng motif mozcalendar mozilla mozsvg mp3 mpeg mpeg4 mpi mplayer musepack mysql nas ncurses network nls no_wxgtk1 nptl nptlonly nsplugin nvidia ogg oggvorbis openal openexr opengl openntpd openssh osc pam pcre pda pdf pdflib perl php plotutils plugin png posix postgres povray ppds print python qt quicktime readline real recode reiserfs rtc sasl scanner sdl server shared sharedmem simplexml slang slp smime sndfile snmp sockets socks5 speex spell sse ssl svg svga sysfs szip tcltk tcpd tcpmd5 tetex tga theora thesaurus threads tiff timidity tokenizer transcode truetype truetype-fonts type1 type1-fonts udev usb vcd vcdimager vorbis win32codecs wmf wxwindows xanim xfs xine xinerama xml xml2 xpm xscreensaver xv xvid xvmc yv12 zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2006-01-26 05:18:27 UTC
Ebuild has been patched.