Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84279 - kde-base/kdelibs-3.3.2-r5 fails to compile
Summary: kde-base/kdelibs-3.3.2-r5 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-06 02:25 UTC by Marco Squarcina
Modified: 2006-03-20 01:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log for kdelibs-3.3.2-r5 (config.log,531.35 KB, text/plain)
2005-03-06 09:04 UTC, Marco Squarcina
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Squarcina 2005-03-06 02:25:31 UTC
This is what i get when i try to compile kdelibs-3.3.2-r5:

[CUT]
...
Making all in plugins
make[3]: Entering directory `/var/tmp/portage/kdelibs-3.3.2-r5/work/kdelibs-3.3.2/kspell2/plugins'
Making all in aspell
make[4]: Entering directory `/var/tmp/portage/kdelibs-3.3.2-r5/work/kdelibs-3.3.2/kspell2/plugins/aspell'
/usr/qt/3/bin/moc ./kspell_aspellclient.h -o kspell_aspellclient.moc
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kio/kssl  -I../../../kspell2 -I../../.. -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I. -I/usr/kde/3.3/include  -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 -march=athlon64 -O2 -fweb -frename-registers -ftracer -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 kspell_aspelldict.lo kspell_aspelldict.cpp
In file included from kspell_aspelldict.cpp:21:
kspell_aspelldict.h:26:20: aspell.h: No such file or directory
In file included from kspell_aspelldict.cpp:21:
kspell_aspelldict.h:46: error: ISO C++ forbids declaration of `AspellConfig' with no type
kspell_aspelldict.h:46: error: expected `;' before '*' token
kspell_aspelldict.h:47: error: ISO C++ forbids declaration of `AspellSpeller' with no type
kspell_aspelldict.h:47: error: expected `;' before '*' token
kspell_aspelldict.cpp: In constructor `ASpellDict::ASpellDict(const QString&)':
kspell_aspelldict.cpp:30: error: `m_config' undeclared (first use this function)
kspell_aspelldict.cpp:30: error: (Each undeclared identifier is reported only once for each function it appears in.)
kspell_aspelldict.cpp:30: error: `new_aspell_config' undeclared (first use this function)
kspell_aspelldict.cpp:31: error: `aspell_config_replace' undeclared (first use this function)
kspell_aspelldict.cpp:33: error: `AspellCanHaveError' undeclared (first use this function)
kspell_aspelldict.cpp:33: error: `possible_err' undeclared (first use this function)
kspell_aspelldict.cpp:33: error: `new_aspell_speller' undeclared (first use this function)
kspell_aspelldict.cpp:35: error: `aspell_error_number' undeclared (first use this function)
kspell_aspelldict.cpp:36: error: `aspell_error_message' undeclared (first use this function)
kspell_aspelldict.cpp:38: error: `m_speller' undeclared (first use this function)
kspell_aspelldict.cpp:38: error: `to_aspell_speller' undeclared (first use this function)
kspell_aspelldict.cpp: In destructor `virtual ASpellDict::~ASpellDict()':
kspell_aspelldict.cpp:44: error: `m_speller' undeclared (first use this function)
kspell_aspelldict.cpp:44: error: `delete_aspell_speller' undeclared (first use this function)
kspell_aspelldict.cpp:45: error: `m_config' undeclared (first use this function)
kspell_aspelldict.cpp:45: error: `delete_aspell_config' undeclared (first use this function)
kspell_aspelldict.cpp: In member function `virtual bool ASpellDict::check(const QString&)':
kspell_aspelldict.cpp:50: error: `m_speller' undeclared (first use this function)
kspell_aspelldict.cpp:50: error: `aspell_speller_check' undeclared (first use this function)
kspell_aspelldict.cpp: In member function `virtual QStringList ASpellDict::suggest(const QString&)':
kspell_aspelldict.cpp:56: error: expected primary-expression before "const"
kspell_aspelldict.cpp:56: error: expected `;' before "const"
kspell_aspelldict.cpp:60: error: `AspellStringEnumeration' undeclared (first use this function)
kspell_aspelldict.cpp:60: error: `elements' undeclared (first use this function)
kspell_aspelldict.cpp:60: error: `suggestions' undeclared (first use this function)
kspell_aspelldict.cpp:60: error: `aspell_word_list_elements' undeclared (first use this function)
kspell_aspelldict.cpp:65: error: `aspell_string_enumeration_next' undeclared (first use this function)
kspell_aspelldict.cpp:69: error: `delete_aspell_string_enumeration' undeclared (first use this function)
kspell_aspelldict.cpp: In member function `virtual bool ASpellDict::storeReplacement(const QString&, const QString&)':
kspell_aspelldict.cpp:85: error: `m_speller' undeclared (first use this function)
kspell_aspelldict.cpp:87: error: `aspell_speller_store_replacement' undeclared (first use this function)
kspell_aspelldict.cpp: In member function `virtual bool ASpellDict::addToPersonal(const QString&)':
kspell_aspelldict.cpp:92: error: `m_speller' undeclared (first use this function)
kspell_aspelldict.cpp:93: error: `aspell_speller_add_to_personal' undeclared (first use this function)
kspell_aspelldict.cpp: In member function `virtual bool ASpellDict::addToSession(const QString&)':
kspell_aspelldict.cpp:98: error: `m_speller' undeclared (first use this function)
kspell_aspelldict.cpp:99: error: `aspell_speller_add_to_session' undeclared (first use this function)
kspell_aspelldict.cpp: At global scope:
kspell_aspelldict.cpp:55: warning: unused parameter 'word'
make[4]: *** [kspell_aspelldict.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdelibs-3.3.2-r5/work/kdelibs-3.3.2/kspell2/plugins/aspell'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.3.2-r5/work/kdelibs-3.3.2/kspell2/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.3.2-r5/work/kdelibs-3.3.2/kspell2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.3.2-r5/work/kdelibs-3.3.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.3.2-r5 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.



#######################################

My emerge info:

Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 12:52:22)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/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/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa avi bash-completion bitmap-fonts cddb cdr chroot codecs crypt ctype curl dv dvd dvdr dvdread encode f77 fam flac font-server ftp gdbm gif glut gmail gpm gtk gtk2 imagemagick imlib ipv6 java jp2 jpeg lzw lzw-tiff mad mikmod mjpeg motif mozilla moznocompose moznoirc moznomail mp3 mpeg mpeg4 ncurses nls nowin nptl nptlonly ntlm nvidia oggvorbis opengl pam pdflib perl png python readline sdl slang sms ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml xml2 xpm xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL


Cheers
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-06 02:35:21 UTC
> ...
> kspell_aspelldict.h:26:20: aspell.h: No such file or directory
> ...

Do you have aspell installed? Is aspell.h somewhere on the system?
Comment 2 Marco Squarcina 2005-03-06 02:54:18 UTC
Ouch, I didn see it... btw:

RDEPEND="
    ...

    spell? ( || ( app-text/aspell
              app-text/ispell ) )

    ..."

So it`s included in the ebuild... but:

lavish@darkstar ~ $ emerge -vp kdelibs

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] kde-base/kdelibs-3.3.2-r5 [3.3.2-r4] +alsa -arts -cups -debug -doc +ipv6 -kdeenablefinal -kerberos -ldap -spell +ssl +tiff -xinerama 0 kB 

Total size of downloads: 0 kB

lavish@darkstar ~ $ emerge -vp ispell

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] app-text/ispell-3.2.06-r6  575 kB 

Total size of downloads: 575 kB
lavish@darkstar ~ $ emerge -vp aspell

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] app-text/aspell-0.60.2  -debug +gpm 0 kB 

Total size of downloads: 0 kB


Is it normal?

I'm going to emerge aspell and try again... it has to work now

Thanks

Comment 3 Simone Gotti (RETIRED) gentoo-dev 2005-03-06 03:12:21 UTC
Youo probably remoded manually aspell.

Whe you upgrade you have to use the -D (deep) option or the missing deps after the direct one won't be calculated. 
Comment 4 Marco Squarcina 2005-03-06 03:42:40 UTC
It was an example. I obviously use -D to upgrade (I was originally doing an emerge -uD world).Yes, I removed it 2 days ago trying a script. This is my fault.
In any case it seems wired that an emerge -uD world didn't emerge aspell again... 
Now, kdelibs compiles fine, shall I close the bug?
Comment 5 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-06 03:50:01 UTC
In theory, kdelibs compiles also without aspell installed. If aspell.h is missing, it should not compile the aspell plugin...
Comment 6 Simone Gotti (RETIRED) gentoo-dev 2005-03-06 08:35:53 UTC
Please remove aspell (and also ispell if installed) again and post the output of "emerge -Dupv kdelibs".
Comment 7 Marco Squarcina 2005-03-06 08:41:32 UTC
darkstar lavish # emerge -C aspell ispell

--- Couldn't find ispell to unmerge.

 app-text/aspell
    selected: 0.60.2
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1 
>>> Unmerging app-text/aspell-0.60.2...
No package files given... Grabbing a set.
[...]
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies ...                                                                               [ ok ]

 * Regenerating GNU info directory index...
 * Processed 154 info files.

darkstar lavish # emerge -Dupv kdelibs

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] x11-base/xorg-x11-6.8.2-r1 [6.8.2] (-3dfx) (-3dnow) +bitmap-fonts -cjk -debug -dlloader -dmx -doc +font-server -hardened -insecure-drivers +ipv6 -minimal (-mmx) +nls +opengl +pam -sdk (-sse) -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 45,105 kB 

Total size of downloads: 45,105 kB
darkstar lavish # 
Comment 8 Marco Squarcina 2005-03-06 08:44:00 UTC
It should be right because:

darkstar lavish # emerge -pv kdelibs

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] kde-base/kdelibs-3.3.2-r5  +alsa -arts -cups -debug -doc +ipv6 -kdeenablefinal -kerberos -ldap -spell +ssl +tiff -xinerama 0 kB 

I didn't select the USE flag "spell"...
Comment 9 Marco Squarcina 2005-03-06 09:04:13 UTC
Created attachment 52794 [details]
config.log for kdelibs-3.3.2-r5

This is my config.log for kdelibs-3.3.2-r5
Comment 10 Marco Squarcina 2005-03-06 10:06:26 UTC
yesterday I removed these packages:

=app-dicts/aspell-en-6.0.0
=app-text/aspell-0.60
=app-text/enchant-1.1.3
=app-text/gtkspell-2.0.4-r1

Now I dicovered that gtkspell was required by inkscape (emerge -uDpv world didn't say anything about it..) so I re-emerged it and its deps (but not aspell also if required) and kdelibds compile fine.

I'm going to close this bug as invalid. 

Sorry