Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42197 - kvirc doesnt compile
Summary: kvirc doesnt compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-19 16:13 UTC by Corvus
Modified: 2004-08-06 08:26 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 Corvus 2004-02-19 16:13:39 UTC
when emerging kvirc (even without kde support) it fails during build with

# emerge -pv kvirc

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

Calculating dependencies ...done!
[ebuild  N    ] net-irc/kvirc-3.0.0_beta2-r1  -debug -esd -ipv6 +kde +ssl  0 kB 


...
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src   -I/var/tmp/portage/kvirc-3.0.0_beta2-r1/work/kvirc-3.0.0-beta2/src/kvilib/include/ -I/var/tmp/portage/kvirc-3.0.0_beta2-r1/work/kvirc-3.0.0-beta2/src/kvirc/include/ -I/usr/qt/3/./include -I/usr/X11R6/include -I/usr/kde/3.2/./include -D_REENTRANT -DREENTRANT -DGLOBAL_KVIRC_DIR=\"/usr/share/kvirc/3.0.0-beta2\"   -c -o kvi_scripttoolbar_item.o `test -f '../uparser/scripttoolbar/kvi_scripttoolbar_item.cpp' || echo './'`../uparser/scripttoolbar/kvi_scripttoolbar_item.cpp
../uparser/scripttoolbar/kvi_scripttoolbar.cpp:34: error: invalid use of 
   undefined type `class KviScriptToolBar'
../uparser/scripttoolbar/kvi_scripttoolbar.h:34: error: forward declaration of 
   `class KviScriptToolBar'
../uparser/scripttoolbar/kvi_scripttoolbar.cpp: In constructor `
   KviScriptToolBar::KviScriptToolBar(KviFrame*, KviScriptToolBarDefinition*, 
   const char*)':
../uparser/scripttoolbar/kvi_scripttoolbar.cpp:34: error: class `
   KviScriptToolBar' does not have any field named `KviToolBar'
../uparser/scripttoolbar/kvi_scripttoolbar.cpp:36: error: `m_pDef' undeclared 
   (first use this function)
../uparser/scripttoolbar/kvi_scripttoolbar.cpp:36: error: (Each undeclared 
   identifier is reported only once for each function it appears in.)
../uparser/scripttoolbar/kvi_scripttoolbar.cpp: At global scope:
../uparser/scripttoolbar/kvi_scripttoolbar.cpp:41: error: invalid use of 
   undefined type `class KviScriptToolBar'
../uparser/scripttoolbar/kvi_scripttoolbar.h:34: error: forward declaration of 
   `class KviScriptToolBar'
make[4]: *** [kvi_scripttoolbar.o] Fehler 1
make[4]: *** Warte auf noch nicht beendete Prozesse...
make[4]: Leaving directory `/tmp/var-tmp/tmp/portage/kvirc-3.0.0_beta2-r1/work/kvirc-3.0.0-beta2/src/kvirc/build'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/tmp/var-tmp/tmp/portage/kvirc-3.0.0_beta2-r1/work/kvirc-3.0.0-beta2/src/kvirc'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/tmp/var-tmp/tmp/portage/kvirc-3.0.0_beta2-r1/work/kvirc-3.0.0-beta2/src'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/tmp/var-tmp/tmp/portage/kvirc-3.0.0_beta2-r1/work/kvirc-3.0.0-beta2/src'
make: *** [all-recursive] Fehler 1

!!! ERROR: net-irc/kvirc-3.0.0_beta2-r1 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make


Reproducible: Always
Steps to Reproduce:
1. emerge kvirc

Actual Results:  
compilation fails

Expected Results:  
compilation

# emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gentoo-r13)
=================================================================
System uname: 2.4.20-gentoo-r13 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib apm avi cdr crypt dga doc dvd encode evo flash foomaticdb gd gdbm
gif gpm gtk gtk2 gtkhtml guile imlib java jpeg kde libg++ libwww mad mikmod
motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png
python qt quicktime readline samba scanner sdl slang spell ssl svga tcltk tcpd
tetex truetype x86 xml xml2 xmms xv zlib"

# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs
Konfiguriert mit: /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,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.3.2/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls
--without-included-gettext --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --enable-interpreter --enable-java-awt=xlib
--with-x --disable-multilib
Thread model: posix
gcc-Version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)

---
qt-3.3.0-r1
Comment 1 Dominik Stadler (RETIRED) gentoo-dev 2004-04-21 23:28:25 UTC
Can you try the new Version 3.0.0 that should be available now?
Comment 2 Robert Führicht 2004-04-24 15:27:05 UTC
in kvirc 3.0.0:

textencoding.cpp  -fPIC -DPIC -o .libs/kvi_textencoding.o
In file included from ../core/wstring/kvi_textencoding.cpp:29:
../core/wstring/kvi_textencoding.h:27:26: kvi_settings.h: No such file or directory
In file included from ../core/wstring/kvi_textencoding.cpp:29:
../core/wstring/kvi_textencoding.h:78: error: expected constructor, destructor, or type conversion before "unsigned"
../core/wstring/kvi_textencoding.h:78: error: expected `,' or `;' before "unsigned"
../core/wstring/kvi_textencoding.h:79: error: expected constructor, destructor, or type conversion before "const"
../core/wstring/kvi_textencoding.h:79: error: expected `,' or `;' before "const"
../core/wstring/kvi_textencoding.h:80: error: expected constructor, destructor, or type conversion before "const"
../core/wstring/kvi_textencoding.h:80: error: expected `,' or `;' before "const"
../core/wstring/kvi_textencoding.h:81: error: expected constructor, destructor, or type conversion before "unsigned"
../core/wstring/kvi_textencoding.h:81: error: expected `,' or `;' before "unsigned"
../core/wstring/kvi_textencoding.h:82: error: `KVILIB_API' does not name a type
../core/wstring/kvi_textencoding.cpp:30:24: kvi_string.h: No such file or directory
../core/wstring/kvi_textencoding.cpp:31:21: kvi_env.h: No such file or directory
../core/wstring/kvi_textencoding.cpp: In function `unsigned int internal_textEncodingFromName(const char*)':
../core/wstring/kvi_textencoding.cpp:85: error: `KviStr' undeclared (first use this function)
../core/wstring/kvi_textencoding.cpp:85: error: (Each undeclared identifier is reported only once for each function it appears in.)
../core/wstring/kvi_textencoding.cpp:85: error: expected `;' before "szEncName"
../core/wstring/kvi_textencoding.cpp:86: error: `szEncName' undeclared (first use this function)
../core/wstring/kvi_textencoding.cpp:91: error: `kvi_strEqualCS' undeclared (first use this function)
../core/wstring/kvi_textencoding.cpp: In function `const char* check_locale_list(const char**, const char*)':
../core/wstring/kvi_textencoding.cpp:269: error: `kvi_strEqualCI' undeclared (first use this function)
../core/wstring/kvi_textencoding.cpp: In function `unsigned int kvi_textEncodingForLocale()':
../core/wstring/kvi_textencoding.cpp:275: error: `KviStr' undeclared (first use this function)
../core/wstring/kvi_textencoding.cpp:275: error: expected `;' before "szLocale"
../core/wstring/kvi_textencoding.cpp:276: error: `szLocale' undeclared (first use this function)
../core/wstring/kvi_textencoding.cpp:276: error: `kvi_getenv' undeclared (first use this function)
../core/wstring/kvi_textencoding.cpp:291: error: expected `;' before "szEnc"
../core/wstring/kvi_textencoding.cpp:292: error: `szEnc' undeclared (first use this function)
make[4]: *** [kvi_textencoding.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
Created link to /var/tmp/portage/kvirc-3.0.0/work/kvirc-3.0.0/src/kvilib/config/kvi_confignames.h
Created link to /var/tmp/portage/kvirc-3.0.0/work/kvirc-3.0.0/src/kvilib/config/kvi_debug.h
Created link to /var/tmp/portage/kvirc-3.0.0/work/kvirc-3.0.0/src/kvilib/config/kvi_defaults.h

please replace emake || die with emake -j1 || die, this causes the problem.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-06-09 13:40:34 UTC
Robert: -j4 on a local machine? Just commited 3.0.1 and it compiled fine with -j2.
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2004-08-06 08:26:31 UTC
please try 3.0.1 and reopen if it still does not compile