Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11500 - Current KOffice ebuild does not build.
Summary: Current KOffice ebuild does not build.
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: 2002-12-02 16:14 UTC by Timothy Grant
Modified: 2003-02-04 19:42 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 Timothy Grant 2002-12-02 16:14:12 UTC
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.
Comment 1 Timothy Grant 2002-12-04 11:03:35 UTC
Just thought I'd add that I currently have. 

Latest version installed: 1.2

And I'm trying to go to 1.2-r2
Comment 2 Dan Armak (RETIRED) gentoo-dev 2002-12-04 11:31:48 UTC
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. 
Comment 3 Justin Patrin 2002-12-11 20:05:06 UTC
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
Comment 4 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-13 18:53:55 UTC
Timothy: koffice-1.2.1 is released, so this should be fixed. 
 
Justin: your compile error is more like bug #11904, isn't it? 
Comment 5 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-22 20:44:54 UTC
please commit any success/failure. 
Comment 6 Justin Patrin 2002-12-24 09:44:28 UTC
works for me now
Comment 7 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-03 05:52:03 UTC
bug is resolved in koffice-1.2.1