emerge kaffeine >>> md5 files ;-) kaffeine-0.7.ebuild >>> md5 files ;-) kaffeine-0.6-r1.ebuild >>> md5 files ;-) files/digest-kaffeine-0.7 >>> md5 files ;-) files/digest-kaffeine-0.6-r1 >>> md5 files ;-) files/kaffeine-0.6-formats.patch >>> md5 src_uri ;-) kaffeine-0.7.tar.bz2 >>> Unpacking source... >>> Unpacking kaffeine-0.7.tar.bz2 to /usr/var/tmp/portage/kaffeine-0.7/work >>> Source unpacked. This Makefile is only for the CVS repository This will be deleted before making the distribution *** Creating acinclude.m4 *** Creating list of subdirectories *** Creating configure.files *** Creating configure.in *** Creating aclocal.m4 [...] fast creating kaffeine/dvbclient/Makefile fast creating kaffeine/player-parts/Makefile fast creating kaffeine/player-parts/gstreamer-part/Makefile fast creating kaffeine/player-parts/kaffeine-part/Makefile fast creating mimetypes/Makefile fast creating mimetypes/application/Makefile fast creating misc/Makefile fast creating po/Makefile fast creating protocols/Makefile fast creating servicemenus/Makefile config.pl: fast created 19 file(s). config.status: creating config.h config.status: executing default-1 commands Good - your configure finished. Start make now make all-recursive make[1]: Entering directory `/usr/var/tmp/portage/kaffeine-0.7/work/kaffeine-0.7' Making all in kaffeine make[2]: Entering directory `/usr/var/tmp/portage/kaffeine-0.7/work/kaffeine-0.7/kaffeine' Makefile:431: *** missing separator. Stop. make[2]: Leaving directory `/usr/var/tmp/portage/kaffeine-0.7/work/kaffeine-0.7/kaffeine' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/var/tmp/portage/kaffeine-0.7/work/kaffeine-0.7' make: *** [all] Error 2 !!! ERROR: media-video/kaffeine-0.7 failed. !!! Function kde_src_compile, Line 169, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1.emerge kaffeine 2. 3. Actual Results: it fails to compile : `/usr/var/tmp/portage/kaffeine-0.7/work/kaffeine-0.7/kaffeine' Makefile:431: *** missing separator. Stop. Expected Results: compile successfully [root@gui - 11:55:46 - ~] # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(TM) MP 2400+ Gentoo Base System version 1.6.13 dev-lang/python: 2.2.3-r5, 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-mp -O2 -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/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-mp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.mirror.sdv.fr" LINGUAS="fr" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex 3dnowext X aac aalib acpi alsa apm arts artswrappersuid avi bash-completion berkdb bigger-fonts bindist bitmap-fonts bonobo bootsplash browserplugin cdparanoia cdr chroot crypt cscope cups curl dga directfb divx4linux dv dvb dvd dvdr dvdread eds emboss encode esd evo fam fbcon ffmpeg flac foomaticdb fortran gd gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick imap imlib ipv6 jack java jikes jpeg junit kde kdeenablefinal kdexdeltas kipi libg++ libwww lirc lm_sensors mad mikmod mmx mmxext motif mozilla mp3 mpeg nas ncurses nls nptl nvidia ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real ruby samba scanner sdl slang slp speex spell sse ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x86 xine xml xml2 xmms xosd xv xvid zlib linguas_fr userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Can you attach /usr/var/tmp/portage/kaffeine-0.7/work/kaffeine-0.7/kaffeine/Makefile ?
Created attachment 65413 [details] the Makefile created during the emerge config phase may be in MSDOS format
*** Bug 101984 has been marked as a duplicate of this bug. ***
Same problem there ... Seems that in the final Makefile are some directives like @am__fastdepCXX_TRUE@ which shouldn't be there as they are not legal in a Makefile, but should have been processed by autoconf/automake before ...
Ok, this compilation problem is solved for me by upgrading automake-1.7 (which is slotted) to the last =automake-1.7.9-r1 ... The Makefile generated is now correct and kaffeine compiles just fine. Strange, because all the other KDE apps (and KDE itself) compiled fine before ...
I've got automake-1.7.9-r1 installed as well (~x86) but I see in the output: /usr/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL /usr/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL /usr/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL /usr/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL /usr/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL /usr/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL The error is the same as for the creator of the bug.
Another thing that could make a difference : I only have automake 1.9 and automake 1.7 installed ... * sys-devel/automake Available versions: 1.4_p6 1.5 1.6.3 1.7.9-r1 1.8.5-r3 1.9.5 ~1.9.6 Installed: 1.7.9-r1 1.9.6 Homepage: http://sources.redhat.com/automake/ Description: Used to generate Makefile.in from Makefile.am Anyway the problem comes from the autoreconf gentoo ebuilds do for KDE packages ... If you use the configure and Makefile.in provided in the original Kaffeine package, everything works perfectly. So I guess these files are rebuild with a wrong version of automake ... tinkering with automake versions solved the problem for me.
Re Comment #7: can you elaborate on what you tinkered? Did you just uninstall all versions beside 1.7.9-r1 and 1.9.6? And if so: wouldn't one be able to fix this with setting an appropriate WANT_AUTOMAKE?
Yes, that's exactly what I did ! WANT_AUTOMAKE equals to 1.7 if I correctly remember ... but if automake 1.8 is installed, it seems that it will be used instead of automake 1.7, that's strange.
I can confirm #9: WANT_AUTOMAKE="1.7" just after the DEPEND line makes kaffeine compile here. Maybe the ebuild should be updated accordingly; although it might be a kde-eclass issue that should be looked into.
With the WANT_AUTOMAKE="1.7" I'm getting into the compile part and then: /bin/sh ../../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -fomit-frame-pointer -fvisibility-inlines-hidden -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -L/usr/lib -o libkaffeinepart.la -rpath /usr/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.4/lib -R /usr/qt/3/lib -R /usr/lib -L/usr/lib -L/usr/qt/3/lib -L/usr/kde/3.4/lib -lXtst -L/usr/lib -lxine -lz -lnsl -lpthread -lrt -avoid-version -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined kaffeine_part.lo kxinewidget.lo postfilter.lo deinterlacequality.lo videosettings.lo filterdialog.lo screenshotpreview.lo xineconfig.lo positionslider.lo equalizer.lo kaffeine_part_iface_skel.lo -lkparts -lkio -lXinerama ../libkmediapart.la .libs/kaffeine_part.o: In function `KaffeinePart::slotNewLength()': kaffeine_part.cpp:(.text+0x1bf9): undefined reference to `KMediaPart::signalNewMeta()' .libs/kaffeine_part.o: In function `KaffeinePart::slotNewTitle()': kaffeine_part.cpp:(.text+0x1c4f): undefined reference to `KMediaPart::signalNewMeta()' .libs/kaffeine_part.o: In function `KaffeinePart::slotNewFrameSize()': kaffeine_part.cpp:(.text+0x1cb9): undefined reference to `KMediaPart::signalNewFrameSize(QSize const&)' .libs/kaffeine_part.o: In function `KaffeinePart::staticMetaObject()': kaffeine_part.cpp:(.text+0x66f1): undefined reference to `KMediaPart::staticMetaObject()' .libs/kaffeine_part.o: In function `KaffeinePart::qt_cast(char const*)': kaffeine_part.cpp:(.text+0x67da): undefined reference to `KMediaPart::qt_cast(char const*)' .libs/kaffeine_part.o: In function `KaffeinePart::qt_emit(int, QUObject*)': kaffeine_part.cpp:(.text+0x6b63): undefined reference to `KMediaPart::qt_emit(int, QUObject*)' .libs/kaffeine_part.o: In function `KaffeinePart::qt_property(int, int, QVariant*)': kaffeine_part.cpp:(.text+0x6bdf): undefined reference to `KMediaPart::qt_property(int, int, QVariant*)' .libs/kaffeine_part.o: In function `KaffeinePart::slotBroadcastReceive()': kaffeine_part.cpp:(.text+0x73b8): undefined reference to `MRL::MRL(QString const&, QString const&, QTime const&, QString const&, QString const&, QString const&, QString const&, QString const&, QString const&, QString const&, QStringList const&, int)' kaffeine_part.cpp:(.text+0x73d3): undefined reference to `MRL::~MRL()' There are much more undefined references, but mostly to the same symbols just from different places.
Do you have -fvisiblity=hidden in cflags?
No, only -fvsibility-inlines=hidden and I tried it without that one. This wouldn't help of course if it's missing parts from another lib but some of the missing methods look a bit too complex to be inline. There's a reference to a constructor with 12 arguments missing - that one is very unlikely to be inline.
(In reply to comment #11) ... > QStringList const&, int)' > kaffeine_part.cpp:(.text+0x73d3): undefined reference to `MRL::~MRL()' > > There are much more undefined references, but mostly to the same symbols just > from different places. Exactly the same problem with me, I have emerge kaffeine-0.7 succesfull before, here's my emerge info: Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r9 i686) ================================================================= System uname: 2.6.12-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System version 1.12.0_pre6 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -mfpmath=sse" 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/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -pipe -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LINGUAS="nl" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi bash-completion berkdb bitmap-fonts cdr crypt cups curl dbus dvd eds emboss encode esd fam foomaticdb fortran gdbm gif gphoto2 gpm gstreamer hal imagemagick imlib ipv6 irmc java jpeg kde ldap libg++ libwww lm_sensors mad mikmod mmx motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime readline ruby scanner sdl spell sse ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb vorbis wifi xine xml2 xv zeroconf zlib linguas_nl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
the problem in question seems to be gone with the newer version 0.7.1 - already in portage...
0.7.1 is now x86 stable
...