Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15198 - emerge for kde-base/kdebase fails at kpager.cpp
Summary: emerge for kde-base/kdebase fails at kpager.cpp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-06 04:13 UTC by Scott
Modified: 2003-02-11 16:04 UTC (History)
0 users

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 Scott 2003-02-06 04:13:55 UTC
before the compile stops, I see:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon -O2 -pipe -fno-exceptions
-fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST
-D_GNU_SOURCE  -c -o kpager.o `test -f 'kpager.cpp' || echo './'`kpager.cpp
kpager.cpp: In constructor `KPager::KPager(KPagerMainWindow*, const char*)':
kpager.cpp:193: `KPagerConfigDialog' undeclared (first use this function)
kpager.cpp:193: (Each undeclared identifier is reported only once for each 
   function it appears in.)
kpager.cpp:193: parse error before `::' token
kpager.cpp:206: parse error before `::' token
kpager.cpp: In member function `void KPager::configureDialog()':
kpager.cpp:352: `dialog' undeclared (first use this function)
kpager.cpp:352: parse error before `(' token
kpager.cpp:355: parse error before `::' token
kpager.cpp:364: parse error before `::' token
kpager.cpp:365: parse error before `::' token
kpager.cpp:366: parse error before `::' token
kpager.cpp:367: parse error before `::' token
kpager.cpp:368: parse error before `::' token
kpager.cpp:369: parse error before `::' token
kpager.cpp: In member function `void KPager::slotCurrentDesktopChanged(int)':
kpager.cpp:594: parse error before `::' token
make[2]: *** [kpager.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.1/work/kdebase-3.1/kpager'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.1/work/kdebase-3.1'
make: *** [all] Error 2


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




Was able to work around by changing 
   #ifdef HAVE_CONFIG_H
   #include <config.h>
   #endif
to
   #ifdef HAVE_CONFIG_H
   #include "config.h"
   #endif
in kpager.cpp

$ uname -a
Linux scotts 2.4.18-xfs-1.1 #1 Wed Nov 6 16:15:09 PST 2002 i686 AMD Athlon(tm)
Processor AuthenticAMD GNU/Linux

in /etc/make.conf
  CFLAGS="-mcpu=athlon -O2 -pipe"

I varied GENTOO_MIRRORS a few times while fetching sources, however shouldn't
matter becasue build requires md5sum match.

Apologies if this is a duplicate.  I just did an emerge rsync and found that
the package in question is being updated, so will retry the build.
Comment 1 Scott 2003-02-06 04:21:40 UTC
Also forgot to mention that I haven't as yet booted into the gentoo system
being built.  I've so far been doing the compiles in a chroot under 
Slackware 8.0 system. 

Also, from within the chroot:
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs
Configured with: /var/tmp/portage/gcc-3.2.1-r6/work/gcc-3.2.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext
Thread model: posix
gcc version 3.2.1 20021207 (Gentoo Linux 3.2.1-20021207)
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-06 06:34:28 UTC
is a bug in the tarball, is fixed in cvs of kdebase, will backport the patch and 
include it into kdebase ebuild. thanks. 
Comment 3 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-06 11:45:34 UTC
ok, added this fix to kdebase-3.1-r1. please test and report here if it works. 
Comment 4 Scott 2003-02-07 16:02:07 UTC
Emerge now completes with 3.1-r1!  I'm having other stability problems with my system, probably unrelated to this bug, so I suggest closing this one.
Comment 5 Dan Armak (RETIRED) gentoo-dev 2003-02-11 16:04:43 UTC
OK, great :-)