Portage 2.0.44 (default-1.0, gcc-2.95.3, glibc-2.2.5-r4,2.2.5-r7) ================================================================= System uname: 2.4.19-r1 i686 GenuineIntel USE="x86 oss 3dnow apm avi crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses pdflib qtmt quicktime spell truetype xml2 xmms xv arts berkdb bonobo cdr esd gdbm gif gnome-libs gpm gtk gtkhtml guile imlib java kde libwww motif mozilla nls oggvorbis opengl pam perl png postgres python qt readline scanner sdl slang ssl svga tcpd tetex tiff X" ARCH="x86" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -pipe" CXXFLAGS="" ACCEPT_KEYWORDS="x86 ~x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="/opt/blackdown-jdk-1.3.1" JAVA_HOME="/opt/blackdown-jdk-1.3.1" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" Here is the error I receive... In file included from KDChartAxesPainter.cpp:32: KDDrawText.h:93: `INT_MAX' was not declared in this scope KDDrawText.h:93: confused by earlier errors, bailing out make[3]: *** [KDChartAxesPainter.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/koffice-1.2-r2/work/koffice-1.2/kchart/kdchart' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/koffice-1.2-r2/work/koffice-1.2/kchart' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/koffice-1.2-r2/work/koffice-1.2' make: *** [all] Error 2 !!! ERROR: app-office/koffice-1.2-r2 failed. !!! Function kde_src_compile, Line -7382, Exitcode 2 !!! died running emake, kde_src_compile:make KOffice has worked fine for me since at least v1.1 of the ebuild, and I believe I successfully built the 1.0 beta ebuilds as well.
Just thought I'd add that I currently have. Latest version installed: 1.2 And I'm trying to go to 1.2-r2
This is http://bugs.kde.org/show_bug.cgi?id=50789 . It says it's fixed in koffice cvs, and since the koffice 1.2.1 bugfix release will be released Monday, I don't want to add to start fixing this now. Sorry, am busy with kde 3.1 and all... If you want koffice before Monday :-), then, from kde bug #50789: ------- Additional Comment #1 From Nick T 2002-11-18 21:21 ------- I have also experienced (probably) the same issue and fixed it by adding #include <limits.h> as new line 34 in kchart/kdchart/KDDrawText.h INT_MAX is defined in limits.h, and was not getting included. There may be a more elegant way of fixing this! ----------- Edit the file in the koffice builddir, then run ebuild koffice-1.2-r2.ebuild compile install qmerge.
I also get a compile error, but in a different area. guidessetupdialogbase.cpp:64: no matching function for call to `QLabel:: setBuddy(KColorButton*&)' /usr/qt/3/include/qlabel.h:94: candidates are: virtual void QLabel::setBuddy(QWidget*) guidessetupdialogbase.cpp:65: no matching function for call to `QLabel:: setBuddy(KColorButton*&)' /usr/qt/3/include/qlabel.h:94: candidates are: virtual void QLabel::setBuddy(QWidget*) guidessetupdialogbase.cpp: In member function `virtual void GuidesSetupDialogBase::languageChange()': guidessetupdialogbase.cpp:83: invalid use of undefined type `struct KColorButton' guidessetupdialogbase.h:18: forward declaration of `struct KColorButton' guidessetupdialogbase.cpp:87: invalid use of undefined type `struct KColorButton' guidessetupdialogbase.h:18: forward declaration of `struct KColorButton' /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H - I. -I. -I../../.. -I../../../kivio/kiviopart - I../../../kivio/kiviopart/kiviosdk -I../../../kivio/kiviopart/tklib - I../../../lib/kofficeui -I../../../lib/kofficeui -I../../ ../lib/kofficecore -I../../../lib/kofficecore -I../../../lib/store - I../../../lib/store -I../../../lib/kwmf -I../../../lib/kwm f -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include - DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-l ong-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith - Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SO URCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 - march=pentium2 -mcpu=pentium2 -O3 -pipe -fno-excepti ons -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT - DKDE_NO_COMPAT -c -o guides1pagebase.lo `test -f g uides1pagebase.cpp || echo './'`guides1pagebase.cpp make[4]: *** [guidessetupdialogbase.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/koffice-1.2-r2/work/koffice- 1.2/kivio/kiviopart/ui' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/koffice-1.2-r2/work/koffice- 1.2/kivio/kiviopart' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/koffice-1.2-r2/work/koffice- 1.2/kivio' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/koffice-1.2-r2/work/koffice-1.2' make: *** [all] Error 2 !!! ERROR: app-office/koffice-1.2-r2 failed. !!! Function kde_src_compile, Line 88, Exitcode 2 !!! died running emake, kde_src_compile:make
Timothy: koffice-1.2.1 is released, so this should be fixed. Justin: your compile error is more like bug #11904, isn't it?
please commit any success/failure.
works for me now
bug is resolved in koffice-1.2.1