When I tried to update KDE to 3.5.0 today all was going fine until I hit kdenetwork. When it got to the kopete section of the compile it failed. See actual results for output... Reproducible: Always Steps to Reproduce: 1.emerge -Du world 2. 3. Actual Results: rm -f contactaddednotifywidget.cpp.temp ;\ if test "$ret" = 0; then echo '#include "contactaddednotifywidget.moc"' >> contactaddednotifywidget.cpp; else rm -f contactaddednotifywidget.cpp ; exit $ret ; fi /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KABC::LdapConfigWidget already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KActionSelector already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KActiveLabel already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KAnimWidget already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KArrowButton already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KCModule already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KCharSelect already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KColorButton already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KColorCombo already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KColorPatch already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KComboBox already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KDatePicker already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KDateTable already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KDateTimeWidget already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KDateWidget already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KDialog already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KDoubleNumInput already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KDoubleSpinBox already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KDualColorButton already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KEditListBox already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KFontChooser already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KFontCombo already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KFontRequester already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KGradientSelector already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KHSSelector already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KHistoryCombo already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KIconButton already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KIconView already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KImageFilePreview already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KIntNumInput already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KIntSpinBox already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KKeyButton already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KLanguageButton already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KLed already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KLineEdit already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KListBox already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KListView already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KListViewSearchLine already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KPaletteTable already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KPasswordEdit already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KProgress already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KPushButton already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KRestrictedLine already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KRootPermsIcon already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KRuler already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KSeparator already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KSqueezedTextLabel already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KTabWidget already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KTextBrowser already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KTextEdit already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KTimeWidget already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KURLComboRequester already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KURLLabel already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KURLRequester already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KValueSelector already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /usr/kde/3.4/lib/kde3/plugins/designer/kdewidgets.so: Feature KWritePermsIcon already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kdewidgets.so! /bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DKDE_NO_COMPAT -DQT_NO_COMPAT -DQT_NO_CAST_ASCII -DQT_NO_ASCII_CAST -I../../../kopete/libkopete -I../../../kopete/libkopete -I../../../kopete/libkopete/avdevice -I../../../kopete/libkopete/ui -I../../../kopete/libkopete/ui -I../../../kopete/libkopete/private -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o contactaddednotifywidget.lo contactaddednotifywidget.cpp metacontactselectorwidget_base.cpp:17:48: kopete/ui/kopetelistviewsearchline.h: No such file or directory metacontactselectorwidget_base.cpp:18:38: kopete/ui/kopetelistview.h: No such file or directory make[4]: *** [metacontactselectorwidget_base.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0/kopete/libkopete/ui' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0/kopete/libkopete' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0/kopete' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0' make: *** [all] Error 2 !!! ERROR: kde-base/kdenetwork-3.5.0 failed. !!! Function kde_src_compile, Line 173, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Expected Results: to compile correct? marge ~ # emerge info Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.15-rc1 i686) ================================================================= System uname: 2.6.15-rc1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.12.0_pre11 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.14 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="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS=" -O2 -march=pentium4" 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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS=" -O2 -march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac acl acpi afs aim alsa aotuv apache2 apm arts artswrappersuid audiofile avi bash-completion bdf berkdb bitmap-fonts bluetooth bootsplash bzip2 caps cdparanoia cdr cluster codecs crypt cscope css cups curl dbx dga dio directfb dpms dv dvb dvd dvdr dvdread eds encode esd ethereal exif expat fam fame fb fbcon fbdev ffmpeg flac flatfile foomaticdb fpx freetds ftp gd gdbm gif glut gmp gpg gpm gstreamer gtk gtk2 howl idn imagemagick imlib ipv6 java jpeg junit kde lcms ldap libg++ libwww mad mikmod mime mjpeg mmx mng monkey motif mp3 mpeg msn msql mysql ncurses nls odbc ogg oggvorbis opengl oss pam pcre pdflib perl png postgres python qt quicktime readline samba scanner sdl snmp spell sqlite sse sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xine xinerama xml2 xmms xv xvid yahoo zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I also verified that if I use the kde-meta approach to building my system, I get kopete to not compile. The errors are the exact same (which is expected).
Are you using qt-3.3.5?
I have Qt 3.3.5 and kopete built fine
I have QT 4.0.1 installed.
I have qt-3.3.3-r1 and get this, I will try with 3.3.5 and post back here /bin/sh ../../../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libkvideoio.la -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib -version-info 1:0:0 libkvideoio_la.all_cpp.lo -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lkdecore In file included from libkopete_videodevice_la.all_cpp.cpp:4: videodevicepool.cpp: In member function `int Kopete::AV::VideoDevicePool::getImage(QImage*)': videodevicepool.cpp:282: warning: enumeration value `PIXELFORMAT_YUYV' not handled in switch videodevicepool.cpp:282: warning: enumeration value `PIXELFORMAT_UYVY' not handled in switch videodevicepool.cpp:282: warning: enumeration value `PIXELFORMAT_YUV420P' not handled in switch videodevicepool.cpp:282: warning: enumeration value `PIXELFORMAT_YUV422P' not handled in switch make[4]: *** [libkopete_videodevice_la.all_cpp.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries make[4]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0/kopete/libkopete/avdevice' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0/kopete/libkopete' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0/kopete' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0' make: *** [all] Error 2
*** Bug 114293 has been marked as a duplicate of this bug. ***
Hello, I have the same error (the 2nd), but I have upgraded to qt version 4.0.1 For my "emerge info" please see bug https://bugs.gentoo.org/show_bug.cgi?id=114293
I've also an error compiling it with qt 4.0.1 /usr/kde/3.4/lib/kde3/plugins/designer/kpartsdesignerplugin.so: Feature KPartsGenericPart already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kpartsdesignerplugin.so! /bin/sh ../../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../kopete/libkopete -I../../../../kopete/libkopete -I../../../../kopete/libkopete/avdevice -I../../../../kopete/libkopete/ui -I../../../../kopete/libkopete/ui -I../../../../kopete/libkopete/avdevice -I../../../../kopete/libkopete/private -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -march=athlon-xp -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o avdeviceconfig_videoconfig.lo avdeviceconfig_videoconfig.cpp /bin/sh ../../../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -march=athlon-xp -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o kcm_kopete_avdeviceconfig.la -rpath /usr/kde/3.5/lib/kde3 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib avdeviceconfig.lo avdeviceconfig_videoconfig.lo avdeviceconfig.moc.lo ../../../libkopete/libkopete.la ../../../libkopete/avdevice/libkopete_videodevice.la -lkutils .libs/avdeviceconfig.o(.text+0x15e): In function `AVDeviceConfig::AVDeviceConfig[not-in-charge](QWidget*, char const*, QStringList const&)': : undefined reference to `QGLWidget::QGLWidget[in-charge](QWidget*, char const*, QGLWidget const*, unsigned)' .libs/avdeviceconfig.o(.text+0x5de): In function `AVDeviceConfig::AVDeviceConfig[in-charge](QWidget*, char const*, QStringList const&)': : undefined reference to `QGLWidget::QGLWidget[in-charge](QWidget*, char const*, QGLWidget const*, unsigned)' .libs/avdeviceconfig.o(.text+0x9eb): In function `AVDeviceConfig::~AVDeviceConfig [not-in-charge]()': : undefined reference to `QGLWidget::~QGLWidget [in-charge]()' .libs/avdeviceconfig.o(.text+0xa8b): In function `AVDeviceConfig::~AVDeviceConfig [in-charge]()': : undefined reference to `QGLWidget::~QGLWidget [in-charge]()' .libs/avdeviceconfig.o(.text+0xb2b): In function `AVDeviceConfig::~AVDeviceConfig [in-charge deleting]()': : undefined reference to `QGLWidget::~QGLWidget [in-charge]()' collect2: ld returned 1 exit status make[5]: *** [kcm_kopete_avdeviceconfig.la] Error 1 make[5]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0/kopete/kopete/config/avdevice' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0/kopete/kopete/config' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0/kopete/kopete' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0/kopete' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0' make: *** [all] Error 2 !!! ERROR: kde-base/kdenetwork-3.5.0 failed. !!! Function kde_src_compile, Line 173, Exitcode 2
I have the same compile error as in Comment #5, using QT 3.3.4-r3.
Also tried compiling with kdeenablefinal disabled, still the same compile error.
Here is what I found out....it is pretty bizarre and I can't explain it but it works. I noticed during the compilation of kopete (when I was compiling for 3.5.0) it was refering to files in /usr/kde/3.4! (I had kde installed in the "big" builds in previous versions!). What I did was change rc.conf to use kde 3.5 and log in to my 3.5 KDE. In side there I did the following: emerge unmerge kde emerge unmerge kdebase ... emerge unmerge kdemultimedia ... etc. until I got rid of all the old KDE 3.4.3. Funny thing happened when I ran did: emerge kopete again. It was still refering to the something in the 3.4 directory. So I did a rm -rf /usr/kde/3.4. After which I did an emerge kopete This time it worked!!!! There appears to be something in the config or the generated make files which reference the old version of the things and not the latest!!
Comment #8 is bug 79214. About the bug in comment #5, can you confirm it still happens without kdeenablefinal? (make sure to clean /var/tmp/portage before trying) What is the final output without kdeenablefinal?
In Comment 8 notice the problem... /usr/kde/3.4/lib/kde3/plugins/designer/kpartsdesignerplugin.so: Feature KPartsGenericPart already defined in /usr/kde/3.5/lib/kde3/plugins/designer/kpartsdesignerplugin.so! In every instance of this failing it is because of the problem I noticed. For some reason the build is very confused. Have you tried what I did in Comment #11? My installation is now working flawlessly! Kopete and all!
I just tried renaming /usr/kde/3.4 before compiling Kopete, to make sure that it can't mix up versions. Build still fails though: In file included from /usr/include/linux/fs.h:12, from videodevice.h:48, from videodevice.cpp:27, from libkopete_videodevice_la.all_cpp.cpp:2: /usr/include/linux/wait.h: In function `int waitqueue_active(wait_queue_head_t*)': /usr/include/linux/wait.h:79: error: `list_empty' undeclared (first use this function) /usr/include/linux/wait.h:79: error: (Each undeclared identifier is reported only once for each function it appears in.) libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries In file included from libkopete_videodevice_la.all_cpp.cpp:4: videodevicepool.cpp: In member function `int Kopete::AV::VideoDevicePool::getImage(QImage*)': videodevicepool.cpp:282: warning: enumeration value `PIXELFORMAT_YUYV' not handled in switch videodevicepool.cpp:282: warning: enumeration value `PIXELFORMAT_UYVY' not handled in switch videodevicepool.cpp:282: warning: enumeration value `PIXELFORMAT_YUV420P' not handled in switch videodevicepool.cpp:282: warning: enumeration value `PIXELFORMAT_YUV422P' not handled in switch distcc[3375] ERROR: compile libkopete_videodevice_la.all_cpp.cpp on localhost failed make[4]: *** [libkopete_videodevice_la.all_cpp.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/kopete-3.5.0/work/kopete-3.5.0/kopete/libkopete/avdevice'
I think the kopete ebuild must be totally confused and has at least 2 mistakes, if not more. Clearly there is one error - that related to the issues I have found. Your problem (#14) looks like another wart!
Ah, it seems that I am experiencing Bug 86968 in stead of this one.. Kopete 3.5 needs up-to-date kernel headers, so it seems. It failed in exactly the same spot.
Bug 114366 reports that Kopete needs up-to-date kernel headers.
I finally solved the problem following more or less comment #11. I have done: emerge --unmerge kdelibs-3.4.1 emerge kdelibs-3.5 emerge kdenetwork-3.5 And it works.
Hello, for your info: after updating linux-headers to latest stable version I could compile kdenetwork and kopete without any further problems...
Yeah, your 3.4 .la files were causing issues here. fix_libtool_files.sh should have caught it. did anyone run it?
well, I run the script fix_libtool_files.sh, and it didn't help. And, btw, I guess, as the installation of kde would be located at /usr/kde/<version> it must be possible to have a 3.4 side by side with a 3.5. so, I got /bin/sh ../../../../libtool --silent --tag=CXX --mode=link powerpc-unknown-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7400 -maltivec -mabi=altivec -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o kcm_kopete_avdeviceconfig.la -rpath /usr/kde/3.5/lib/kde3 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib avdeviceconfig.lo avdeviceconfig_videoconfig.lo avdeviceconfig.moc.lo ../../../libkopete/libkopete.la ../../../libkopete/avdevice/libkopete_videodevice.la -lkutils .libs/avdeviceconfig.o: In function `AVDeviceConfig::AVDeviceConfig(QWidget*, char const*, QStringList const&)': avdeviceconfig.cpp:(.text+0xbc): undefined reference to `QGLWidget::QGLWidget(QWidget*, char const*, QGLWidget const*, unsigned int)' .libs/avdeviceconfig.o: In function `AVDeviceConfig::AVDeviceConfig(QWidget*, char const*, QStringList const&)': avdeviceconfig.cpp:(.text+0x414): undefined reference to `QGLWidget::QGLWidget(QWidget*, char const*, QGLWidget const*, unsigned int)' .libs/avdeviceconfig.o: In function `AVDeviceConfig::~AVDeviceConfig()': avdeviceconfig.cpp:(.text+0x6f8): undefined reference to `QGLWidget::~QGLWidget()' .libs/avdeviceconfig.o: In function `AVDeviceConfig::~AVDeviceConfig()': avdeviceconfig.cpp:(.text+0x784): undefined reference to `QGLWidget::~QGLWidget()' .libs/avdeviceconfig.o: In function `AVDeviceConfig::~AVDeviceConfig()': avdeviceconfig.cpp:(.text+0x810): undefined reference to `QGLWidget::~QGLWidget()' collect2: ld returned 1 exit status make[5]: *** [kcm_kopete_avdeviceconfig.la] Error 1 make[5]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0/kopete/kopete/config/avdevice' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0/kopete/kopete/config' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0/kopete/kopete' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0/kopete' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.0/work/kdenetwork-3.5.0' make: *** [all] Error 2 uname -a Linux hal9001 2.6.13-gentoo-r4 #7 Mon Dec 12 22:21:37 CET 2005 ppc 7455, altivec supported PowerMac3,1 GNU/Linux emerge -s linux-headers Searching... e [ Results for search key : linux-headers ] [ Applications found : 1 ] * sys-kernel/linux-headers Latest version available: 2.6.11-r3 Latest version installed: 2.6.11-r3 Size of downloaded files: 36,238 kB Homepage: http://www.kernel.org/ http://www.gentoo.org/ Description: Linux system headers License: GPL-2 and QT x11-libs/qt Latest version available: 4.0.1 Latest version installed: 4.0.1 Size of downloaded files: 19,669 kB Homepage: http://www.trolltech.com/ Description: The Qt toolkit is a comprehensive C++ application development framework. License: || ( QPL-1.0 GPL-2 ) But, this is side by side with QT 3, so qtconfig within /usr/qt3/bin tolds : 3.3.4 and echo $QTDIR /usr/qt/3 emerge info Portage 2.0.53 (default-linux/ppc/2004.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.13-gentoo-r4 ppc) ================================================================= System uname: 2.6.13-gentoo-r4 ppc 7455, altivec supported Gentoo Base System version 1.12.0_pre11 ccache version 2.4 [disabled] dev-lang/python: 2.3.5, 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.20-r1 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/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/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.po.opole.pl http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.ynet.sk/pub http://gentoo.ngi.it http://ftp.romnet.org/gentoo/ http://gentoo.inf.elte.hu/" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X acl alsa apache2 arts audiofile berkdb bidi bitmap-fonts bonobo bzip2 cdr chipcard crypt cups curl dvd emboss encode esd exif expat faad fam ffmpeg flac font-server foomaticdb fortran gd gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile gvlc hbci idn imagemagick imlib ipv6 java jpeg kde kvlc lcms ldap libwww mad matroska mhash mng motif mozilla mp3 mpeg mysql nas ncurses nls nsplugin odbc ogg oggvorbis openal opengl oss pam pcre pdflib perl php php_mod png ppds python qt quotes readline ruby samba scanner sdl slang spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wxwindows xine xml xml2 xprint xv xvid zlib video_cards_ati128 linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY Well, I don't think it depends on the Kernelheaders, because I ve got them. Also, it not only on a PowerPc, its just the same behavior on a Sparc. Both have definitly differnt versions of the kernel-headers. I will try it with QT 3.3.5, and I guess, thats where the beef is ;-D Cheers , Frank
that's because you've got opengl in your use flags now but you didn't have them when you emerged Qt.
well, I don't know. I got the same error on a ultra5 , where I definitly don't have opengl in the use-flags. But I will try emerge qt without the opengl use flag on the mac/ppc, just a try. if that runs, it try it on the sun ultra 5, but, hm, will take a little bit... cheers, Frank
See this forum thread for a workaround for the problem in comment #11: http://forums.gentoo.org/viewtopic-p-2997479.html#2997479 The problem is QT4. I unmerged qt4, re-emerged qt3, re-emerged kdelibs and emerged kdenetwork and it completed successfully.
Seems fixed in 3.5.2