After trying to reemerging kaffeine (for unknown reasons, kaffeine was unable to find xine_part.desktop) kaffeine fails to compile Reproducible: Always Steps to Reproduce: 1. emerge kaffeine 2. 3. Actual Results: u-gcc -DHAVE_CONFIG_H -I. -I. -I../../../../../.. -I../../../../../../kaffeine/src/input/dvb/lib -DQT_THREAD_SUPPORT -D_REENTRANT -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=amdfam10 -O2 -pipe -Wformat-security -Wmissing-format-attribute -c -o dvbnet.lo dvbnet.c In file included from dvbnet.c:30: dvbnet.h:87:8: warning: extra tokens at end of #endif directive dvbnet.c: In function 'dvbnet_open': dvbnet.c:39: error: expected expression before '/' token make[7]: *** [dvbnet.lo] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from dvbdemux.c:31: dvbdemux.h:204:8: warning: extra tokens at end of #endif directive dvbdemux.c: In function 'dvbdemux_open_demux': dvbdemux.c:45: error: expected expression before '/' token dvbdemux.c: In function 'dvbdemux_open_dvr': dvbdemux.c:66: error: expected expression before '/' token make[7]: *** [dvbdemux.lo] Error 1 In file included from dvbfe.c:37: dvbfe.h:333:8: warning: extra tokens at end of #endif directive In file included from dvbfe.c:37: ../../../../../../kaffeine/src/input/dvb/lib/libdvbmisc/dvbmisc.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' ../../../../../../kaffeine/src/input/dvb/lib/libdvbmisc/dvbmisc.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' dvbfe.c: In function 'dvbfe_open': dvbfe.c:169: error: expected expression before '/' token dvbfe.c:172: error: 'flags' undeclared (first use in this function) dvbfe.c:172: error: (Each undeclared identifier is reported only once dvbfe.c:172: error: for each function it appears in.) dvbfe.c:175: error: expected expression before '/' token dvbfe.c:178: error: expected expression before '/' token dvbfe.c:185: error: expected expression before '/' token dvbfe.c:214: error: expected expression before '/' token dvbfe.c:162: warning: unused parameter 'adapter' dvbfe.c:162: warning: unused parameter 'frontend' dvbfe.c: In function 'dvbfe_get_info': dvbfe.c:347: error: expected expression before '/' token dvbfe.c: In function 'dvbfe_set': dvbfe.c:395: error: expected expression before '/' token dvbfe.c:400: error: expected expression before '/' token dvbfe.c:358: warning: unused variable 'status' dvbfe.c:357: warning: unused variable 'endtime' dvbfe.c:353: warning: unused parameter 'timeout' dvbfe.c: In function 'dvbfe_set_22k_tone': dvbfe.c:459: warning: implicit declaration of function 'vprint' make[7]: *** [dvbfe.lo] Error 1 In file included from dvbca.c:31: dvbca.h:135:8: warning: extra tokens at end of #endif directive In file included from dvbca.c:32: dvbca.h:107: error: expected identifier or '(' before '/' token dvbca.h:118: error: expected identifier or '(' before '/' token dvbca.c: In function 'dvbca_open': dvbca.c:41: error: expected expression before '/' token dvbca.c: At top level: dvbca.c:124: warning: no previous prototype for 'dvbca_hlci_write' dvbca.c:139: warning: no previous prototype for 'dvbca_hlci_read' make[7]: *** [dvbca.lo] Error 1 In file included from dvbaudio.c:30: dvbaudio.h:55:8: warning: extra tokens at end of #endif directive In file included from dvbaudio.c:31: dvbaudio.h:49: error: expected identifier or '(' before '/' token make[7]: *** [dvbaudio.lo] Error 1 make[7]: Leaving directory `/var/tmp/portage/media-video/kaffeine-0.8.7-r1/work/kaffeine-0.8.7/kaffeine/src/input/dvb/lib/libdvbapi' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/var/tmp/portage/media-video/kaffeine-0.8.7-r1/work/kaffeine-0.8.7/kaffeine/src/input/dvb/lib' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/var/tmp/portage/media-video/kaffeine-0.8.7-r1/work/kaffeine-0.8.7/kaffeine/src/input/dvb' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/media-video/kaffeine-0.8.7-r1/work/kaffeine-0.8.7/kaffeine/src/input' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-video/kaffeine-0.8.7-r1/work/kaffeine-0.8.7/kaffeine/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-video/kaffeine-0.8.7-r1/work/kaffeine-0.8.7/kaffeine' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/kaffeine-0.8.7-r1/work/kaffeine-0.8.7' make: *** [all] Error 2 $ emerge --info Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r3 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r3-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.0 Timestamp of tree: Wed, 13 May 2009 08:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p17-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.6.2 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.jamit.de/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ " LANG="de_DE.utf8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X a52 aac aalib acl acpi aim alsa amd64 apache2 audiofile bash-completion bcmath bluetooth branding bzip2 cairo calendar cddb cdparanoia cdr cli consolekit cracklib crypt cscope css ctype cups curl cxx dbus djvu dri dts dv dvb dvd dvdr dvdread encode enscript exif expat fam ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gd gdbm geoip gif gimp glib glut gmp gnuplot gnutls gpg gphoto2 gpm gps graphviz gsl gtk gzip hal hddtemp htmlhandbook iconv icq icu idn imagemagick imap imlib innodb isdnlog jabber java java6 javascript jbig jingle jpeg jpeg2k kde kontact kpathsea lame lash latex lcms ldap libcaca libnotify libsamplerate libwww lm_sensors lua lzo mad maildir mailwrapper matroska mhash midi mime mmap mmx mng modplug mp2 mp3 mp4 mpeg mpi mplayer msn mudflap multilib musepack musicbrainz mysql mysqli ncurses netcdf nls nntp nptl nptlonly nsplugin nvram offensive ofx ogg openal openexr opengl openmp oscar pam pcntl pcre pda pdf perl php plasma png posix postgres ppds pppd python qt3 qt4 quicktime raw rdesktop readline recode reflection rss samba sasl sdl session sharedext sharedmem shorten slang smp sndfile snmp soap sockets sox speex spell spl sse sse2 ssl startup-notification subversion suid svg sysfs syslog sysvipc szip taglib tcpd theora threads tidy tiff timidity tokenizer truetype unicode usb v4l2 vcd videos vim-syntax vnc vorbis wavpack webdav webkit wlm wmf x264 xattr xface xft xine xml xorg xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo yaz zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I have the same problem. I think it stopped working after updating to kde-base/kdelibs-3.5.10-r4.
Please attach the complete build.log.
Created attachment 191156 [details] Build log Build log
Signing on for this one. It is a problem for x86_64 as well as x86.
Retry with kdelibs-3.5.10-r5. kthx Reopen when tested.
(In reply to comment #5) > Retry with kdelibs-3.5.10-r5. kthx > Reopen when tested. > The problem remains for x86_64. Will now test x86.
(In reply to comment #6) > (In reply to comment #5) > > Retry with kdelibs-3.5.10-r5. kthx > > Reopen when tested. > > > > The problem remains for x86_64. Will now test x86. > I stand corrected. kaffeine will recompile, and does work after the fact. Actually, with the new kdelibs, kaffeine must be recompiled to work at all. That might be a good thing to let people know. Will try x86 next.
(In reply to comment #5) > Retry with kdelibs-3.5.10-r5. kthx > Reopen when tested. > It worked for me.. I had same problem with "wine.part - desktop .. sth" and compilation was failing somewhere near "paranoia..." using kaffeine-0.8.7-r1
(In reply to comment #8) > (In reply to comment #5) > > Retry with kdelibs-3.5.10-r5. kthx > > Reopen when tested. > > > > It worked for me.. I had same problem with "wine.part - desktop .. sth" and > compilation was failing somewhere near "paranoia..." > > using kaffeine-0.8.7-r1 > and x86
Verified for x86 as well. I think you might want to add emerge @preserved-rebuild to this ebuild since it breaks either libxinepart.so, libkaffeinepart.so, or both.
It worked for me, though I lost the file associations in kde.
(In reply to comment #11) > It worked for me, though I lost the file associations in kde. > It also disappeard from K-menu. (running kde 4.2.3)
(In reply to comment #12) > It also disappeard from K-menu. (running kde 4.2.3) Same here - furthermore, searching for kaffeine (using the kickoff) will show now results. Well, at least dvb works again :-/
(In reply to comment #13) > now results. err - no, not "now". Anyway, right now you have to start kaffeine from the console.