Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33014 - kmplayer-0.8b doesn't compile with kde-3.2.0_beta1 installed
Summary: kmplayer-0.8b doesn't compile with kde-3.2.0_beta1 installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-08 09:45 UTC by Dennis Nienhüser (RETIRED)
Modified: 2003-11-12 09:27 UTC (History)
1 user (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 Dennis Nienhüser (RETIRED) gentoo-dev 2003-11-08 09:45:55 UTC
last lines of output are

/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I.
-I.. -I/usr/kde/3.2/include/kio -I/usr/kde/3.2/include -I/usr/qt/3/include
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts
-DNDEBUG -DNO_DEBUG -O2 -march=athlon -O3 -pipe -fomit-frame-pointer -ffast-math
-funroll-loops -fforce-addr -falign-functions=4 -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o
kmplayerview.lo `test -f 'kmplayerview.cpp' || echo './'`kmplayerview.cpp
/usr/kde/3.2/include/kstdaction.h: In member function `void
   KMPlayerApp::initActions()':
/usr/kde/3.2/include/kstdaction.h:515: error: too few arguments to function `
   KToggleAction* KStdAction::fullScreen(const QObject*, const char*,
   KActionCollection*, QWidget*, const char*)'
kmplayerapp.cpp:147: error: at this point in file
kmplayerapp.cpp: In member function `void KMPlayerApp::openPipe()':
kmplayerapp.cpp:245: warning: `getText' is deprecated (declared at
   /usr/kde/3.2/include/klineeditdlg.h:98)
kmplayerapp.cpp: In member function `void KMPlayerApp::resizePlayer(int)':
kmplayerapp.cpp:290: warning: `sizeForCentralWidgetSize' is deprecated
   (declared at /usr/kde/3.2/include/kmainwindow.h:548)
rm: cannot remove `': Invalid argument
make[2]: *** [kmplayerapp.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
kmplayerview.cpp: In constructor `KMPlayerView::KMPlayerView(QWidget*, const
   char*)':
kmplayerview.cpp:389: warning: `setObject' is deprecated (declared at
   /usr/kde/3.2/include/kstaticdeleter.h:77)
make[2]: Leaving directory `/var/tmp/portage/kmplayer-0.8b/work/kmplayer/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kmplayer-0.8b/work/kmplayer'
make: *** [all] Error 2

!!! ERROR: media-video/kmplayer-0.8b failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make

seems to be caused by a typo in kmplayerapp.cpp, line 147:
#if KDE_IS_VERSION(3,1,90)
    /*KAction *fullscreenact =*/ KStdAction::fullScreen( this, SLOT(fullScreen
()), actionCollection () );


Reproducible: Didn't try
Steps to Reproduce:





Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -ffast-math  -funroll-loops
-fforce-addr -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /usr/kde/3.1/share/config
/usr/kde/3/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -ffast-math 
-funroll-loops -fforce-addr -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/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 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb
alsa gdbm berkdb slang readline arts tetex aalib bonobo svga tcltk java guile
ruby X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt
kde motif opengl mozilla snmp cdr"
Comment 1 James Gater 2003-11-09 17:56:23 UTC
Version bumping the ebuild to the latest kmplayer-0.8.1.ebuild in portdir-overlay,
then force emerging it did the trick for me with kde 3.2b1.

I'll leave it up to someone else to figure out the best way to stop kmplayer-0.8b
being ranked above kmplayer-0.8.1 when it comes to emerge -u...
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-11-12 09:27:52 UTC
Now in portage.  Thanks.