Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232104 - app-office/kspread-1.6.2 - ../../../../lib/kross/api/proxy.h:287: error: too few arguments to function
Summary: app-office/kspread-1.6.2 - ../../../../lib/kross/api/proxy.h:287: error: too ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-17 20:14 UTC by Peter Berger
Modified: 2009-02-09 01:05 UTC (History)
3 users (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 Peter Berger 2008-07-17 20:14:15 UTC
Compiling kspread gives the following error (gcc-4.3.1-r1)

/usr/qt/3/include/qimage.h:58: warning: suggest parentheses around && within ||
../../../../lib/kross/api/proxy.h: In static member function 'static KSharedPtr<Kross::Api::Object> Kross::Api::ProxyFunction<INSTANCE, METHOD, RETURNOBJ, ARG1OBJ, Kross::Api::Object, Kross::Api::Object, Kross::Api::Object>::ProxyFunctionCaller<PROXYFUNC, void>::exec(PROXYFUNC*, Kross::Api::Object*) [with PROXYFUNC = Kross::Api::ProxyFunction<Kross::KSpreadCore::Cell, bool (Kross::KSpreadCore::Cell::*)(const QString&, bool), void, Kross::Api::Variant, Kross::Api::Object, Kross::Api::Object, Kross::Api::Object>, INSTANCE = Kross::KSpreadCore::Cell, METHOD = bool (Kross::KSpreadCore::Cell::*)(const QString&, bool), RETURNOBJ = void, ARG1OBJ = Kross::Api::Variant]':
../../../../lib/kross/api/proxy.h:298:   instantiated from 'KSharedPtr<Kross::Api::Object> Kross::Api::ProxyFunction<INSTANCE, METHOD, RETURNOBJ, ARG1OBJ, Kross::Api::Object, Kross::Api::Object, Kross::Api::Object>::call(KSharedPtr<Kross::Api::List>) [with INSTANCE = Kross::KSpreadCore::Cell, METHOD = bool (Kross::KSpreadCore::Cell::*)(const QString&, bool), RETURNOBJ = void, ARG1OBJ = Kross::Api::Variant]'
krs_cell.cpp:216:   instantiated from here
../../../../lib/kross/api/proxy.h:287: error: too few arguments to function
make[6]: *** [krs_cell.lo] Fehler 1
make[6]: Leaving directory `/var/tmp/portage/app-office/kspread-1.6.2/work/kspread-1.6.2/kspread/plugins/scripting/kspreadcore'
make[5]: *** [all-recursive] Fehler 1
make[5]: Leaving directory `/var/tmp/portage/app-office/kspread-1.6.2/work/kspread-1.6.2/kspread/plugins/scripting/kspreadcore'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/app-office/kspread-1.6.2/work/kspread-1.6.2/kspread/plugins/scripting'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/app-office/kspread-1.6.2/work/kspread-1.6.2/kspread/plugins'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/app-office/kspread-1.6.2/work/kspread-1.6.2/kspread'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/app-office/kspread-1.6.2/work/kspread-1.6.2'
make: *** [all] Fehler 2
 *
 * ERROR: app-office/kspread-1.6.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4267:  Called kde-meta_src_compile
 *             environment, line 2929:  Called kde_src_compile
 *             environment, line 3094:  Called kde_src_compile 'src_compile'
 *             environment, line 3214:  Called kde_src_compile 'src_compile' 'all' 'myconf'
 *             environment, line 3210:  Called die
 * The specific snippet of code:
 *                   emake || die "died running emake, $FUNCNAME:make"
 *  The die message:
 *   died running emake, kde_src_compile:make
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-office/kspread-1.6.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/kspread-1.6.2/temp/environment'.
 *



Reproducible: Always

Steps to Reproduce:
1. emerge kspread





Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.6.1-r0, 2.6.25-gentoo-r5 i686)
=================================================================
                        System Settings
=================================================================
System uname: 2.6.25-gentoo-r5 i686 Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz
Timestamp of tree: Thu, 17 Jul 2008 17:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -msse3 -pipe -fomit-frame-pointer"
CHOST="i686-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -msse3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://de-mirror.org/distro/gentoo/"
LANG="de_DE"
LC_ALL="de_DE"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/local/layman /usr/local/layman/desktop-effects /usr/local/layman/sunrise"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apm avi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt css cups dbus de_tvtoday divx4linux dts dvb dvd dvdnav dvdr dvdread eds emboss encode esd evo exif fam fat fbsplash ffmpeg firefox flac fortran gdbm gif gimp gnome gpm gstreamer gtk hal hdri iconv ipv6 isdnlog java jpeg jpeg2k kde kdexdeltas kerberos lame ldap libnotify lirc live logitech-mouse mad matroska midi mikmod mmx mmxext mp3 mp4 mpeg mplayer mudflap musicbrainz ncurses nls nptl nptlonly nsplugin ntfs nvidia offensive office ogg oggvorbis openbabel opendoc opengl openmp openvpn pam pcre pdf perl php png ppds pppd pymol python qt3 qt3support qt4 quicktime raw readline real realmedia reflection reiserfs rt61pci samba sdl session slp spell spl sse sse2 ssl ssse3 startup-notification subtitles svg tcl tcpd theora thunderbird tiff tk transcode truetype twolame unicode upnp usb v4l2 vdr vidix visualization vorbis wavpack wifi win32codecs wma wmf wmp x86 xanim xcb xcomposite xhtml xine xml xorg xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="pinsys" USERLAND="GNU" VIDEO_CARDS="nv nvidia vga vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================
app-office/kspread-1.6.2 was built with the following:
CFLAGS="-O2 -fomit-frame-pointer -march=prescott -msse3 -pipe"
CXXFLAGS="-O2 -fomit-frame-pointer -march=prescott -msse3 -pipe"
USE="arts"

>>> Attempting to run pkg_info() for 'app-office/kspread-1.6.2'
 * pkg_info() is not defined: 'kspread-1.6.2.ebuild'
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-17 21:03:23 UTC
Looks like a gcc 4.3 strictness problem.
Comment 2 wayne 2008-09-26 01:45:31 UTC
(In reply to comment #1)
> Looks like a gcc 4.3 strictness problem.
>

No point trying to fix kspread-1.6.2. Kspread-1.6.3 will build just fine, with gcc 4.3.1
Comment 3 Nick 2008-11-16 12:19:40 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Looks like a gcc 4.3 strictness problem.
> >
> 
> No point trying to fix kspread-1.6.2. Kspread-1.6.3 will build just fine, with
> gcc 4.3.1
> 

Except it's not building fine with gcc 4.3.2 over here. Exact same problem with koffice 1.6.3-r2.
Comment 4 Nick 2008-11-16 12:24:28 UTC
http://bugs.kde.org/show_bug.cgi?id=149906 fixes here. Maybe someone should do another revision, including the patch for krita also.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2009-02-09 01:05:51 UTC
1.6.3_p20090204 ebuild hopefully fix that.If you still have problems, reopen, please.