<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>85138</bug_id>
          
          <creation_ts>2005-03-13 14:46 0000</creation_ts>
          <short_desc>Incorrect dependencies for kspread?</short_desc>
          <delta_ts>2005-03-20 09:48:56 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>wilson.william@gmail.com</reporter>
          <assigned_to>kde@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>wilson.william@gmail.com</who>
            <bug_when>2005-03-13 14:46:14 0000</bug_when>
            <thetext>Emerge kspread used to die every time I tried it. Then, after emerging kchart, which was not listed as one of its dependencies, the emerge succeeded. Is this a problem with the ebuild? 

Reproducible: Always
Steps to Reproduce:
1.Emerge kspread
2.
3.

Actual Results:  
The emerge failed

Expected Results:  
Emerge not fail

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r2 i686)
=================================================================
System uname: 2.6.11-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 28 2005, 20:05:56)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.7.9-r1, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox sfperms&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X alsa apache2 apm arts avi bitmap-fonts cdr crypt cups curl dvd emboss
encode esd fam font-server foomaticdb fortran gd gd-external gif gpm gtk gtk2
imagemagick imlib immqt-bc ipv6 java jpeg junit kde libg++ libwww mad mikmod mmx
motif mozilla mp3 mpeg mysql nas ncurses nls nocd nptl offensive oggvorbis
opengl openssl oss pam pcmcia pdflib perl png pnp python qt quicktime readline
sdl session slang spell ssl svga tcltk tcpd tiff truetype truetype-fonts
type1-fonts vhosts xml xml2 xmms xscreensaver xv zlib&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>danarmak@gentoo.org</who>
            <bug_when>2005-03-14 12:26:49 0000</bug_when>
            <thetext>The kspread Makefile.am does have INCLUDES=-I$(top_srcdir)/kchart/kdchart,
but I can&apos;t find any files under kspread/ that actually use any kchart
includefiles. Could you post the error you get when kchart isn&apos;t installed?
Disclaimer: I haven&apos;t tried actually emerging kspread without having kchart,
need to do this...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>motaboy@gentoo.org</who>
            <bug_when>2005-03-14 13:21:31 0000</bug_when>
            <thetext>Dan: I found time to try it, if you are interested this is the error:

/bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/kofficeui -I../lib/kofficeui -I../lib/kofficecore -I../lib/kofficecore -I../lib/store -I../lib/store -I../lib/kwmf -I../lib/kwmf -I../lib/kotext -I../lib/kotext -I../lib/interfaces -I../lib/koscript -I../lib/koscript -I../interfaces -I../kchart/kdchart -I/usr/kde/3.4/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -mtune=i686 -O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o kspread_sheet.lo `test -f &apos;kspread_sheet.cc&apos; || echo &apos;./&apos;`kspread_sheet.cc
In file included from kspread_sheet.cc:66:
../interfaces/koChart.h:23:26: KDChartTable.h: No such file or directory
../interfaces/koChart.h:24:25: KDChartData.h: No such file or directory


I&apos;m not sure it will be better to just KMEXTRACTONLY these file in the kspread ebuild or add a dep on kchart.

I&apos;ll prefer to add a dep on kchart or users will complain that kspread cannot create charts.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wilson.william@gmail.com</who>
            <bug_when>2005-03-14 13:45:54 0000</bug_when>
            <thetext>Yep, that&apos;s the same error I got.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kostja@siefen.de</who>
            <bug_when>2005-03-20 09:19:15 0000</bug_when>
            <thetext>I&apos;m having the same problem here with the same configuration (kchart not emerged):

In file included from kspread_sheet.cc:66:
../interfaces/koChart.h:23:26: KDChartTable.h: No such file or directory
../interfaces/koChart.h:24:25: KDChartData.h: No such file or directory
In file included from kspread_sheet.cc:66:
../interfaces/koChart.h:33: error: `KDChartData&apos; does not name a type
../interfaces/koChart.h:34: error: `KDChartTableData&apos; does not name a type
../interfaces/koChart.h:64: error: expected `,&apos; or `...&apos; before &apos;&amp;&apos; token
../interfaces/koChart.h:64: error: ISO C++ forbids declaration of `Data&apos; with no type
kspread_sheet.cc: In member function `virtual void ChartBinding::cellChanged(KSpreadCell*)&apos;:
kspread_sheet.cc:133: error: `Data&apos; is not a member of `KoChart&apos;
kspread_sheet.cc:133: error: expected `;&apos; before &quot;matrix&quot;
kspread_sheet.cc:141: error: `matrix&apos; undeclared (first use this function)
kspread_sheet.cc:141: error: (Each undeclared identifier is reported only once for each function it appears in.)
kspread_sheet.cc:141: error: `Value&apos; is not a member of `KoChart&apos;
kspread_sheet.cc:143: error: `Value&apos; is not a member of `KoChart&apos;
kspread_sheet.cc:145: error: `Value&apos; is not a member of `KoChart&apos;
kspread_sheet.cc: In member function `QString KSpreadSheet::copyAsText(KSpreadSelection*)&apos;:
kspread_sheet.cc:5341: warning: comparison between signed and unsigned integer expressions
kspread_sheet.cc:5342: warning: comparison between signed and unsigned integer expressions
kspread_sheet.cc:5343: warning: comparison between signed and unsigned integer expressions
kspread_sheet.cc:5344: warning: comparison between signed and unsigned integer expressions
kspread_sheet.cc:5355: warning: comparison between signed and unsigned integer expressions
kspread_sheet.cc:5357: warning: comparison between signed and unsigned integer expressions
make[3]: *** [kspread_sheet.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kspread-1.3.5/work/kspread-1.3.5/kspread&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kspread-1.3.5/work/kspread-1.3.5/kspread&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kspread-1.3.5/work/kspread-1.3.5&apos;
make: *** [all] Error 2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>motaboy@gentoo.org</who>
            <bug_when>2005-03-20 09:48:56 0000</bug_when>
            <thetext>I decided to add a fixed dep on kchart to avoid any problem related to missing chart features. Fixed in CVS.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>