Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79070 - kde-base/kdeaddons-3.3.2: build fails in src_test
Summary: kde-base/kdeaddons-3.3.2: build fails in src_test
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-22 04:19 UTC by Sascha Silbe
Modified: 2005-01-28 03:45 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 Sascha Silbe 2005-01-22 04:19:53 UTC
kde-base/kdeaddons-3.3.2 fails to build the konq-plugins/fsview tests.



Reproducible: Always
Steps to Reproduce:
1. emerge -v --nospinner --oneshot kdeaddons

Actual Results:  
[...]
Making check in fsview
make[2]: Entering directory `/var/tmp/portage/kdeaddons-3.3.2/work/kdeaddons-3.3.2/konq-plugins/fsview'
make  scantest
make[3]: Entering directory `/var/tmp/portage/kdeaddons-3.3.2/work/kdeaddons-3.3.2/konq-plugins/fsview'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/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 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -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 scantest.o scantest.cpp
In file included from scantest.cpp:24:
scan.h:29: error: syntax error before `;' token
In file included from scantest.cpp:24:
scan.h:138: error: type specifier omitted for parameter `FSViewSize'
scan.h:138: error: parse error before `)' token
scan.h:142: error: parse error before `)' token
scan.h:145: error: semicolon missing after declaration of `ScanFile'
scan.h: In member function `const QString& ScanFile::name()':
scan.h:141: error: `_name' undeclared (first use this function)
scan.h:141: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
scan.h: At global scope:
scan.h:145: error: ISO C++ forbids defining types within return type
scan.h:145: error: two or more data types in declaration of `setListener'
scan.h:145: error: semicolon missing after declaration of `class ScanFile'
scan.h: In function `int setListener(ScanListener*)':
scan.h:145: error: `_listener' undeclared (first use this function)
scan.h:145: warning: no return statement in function returning non-void
scan.h: At global scope:
scan.h:148: error: parse error before `private'
scan.h:150: error: 'FSViewSize' is used as a type, but is not defined as a 
   type.
scan.h:151: error: `ScanListener*_listener' used prior to declaration
scan.h:152: error: parse error before `}' token
scan.h:196: error: parse error before `)' token
scan.h:197: error: semicolon missing after declaration of `ScanDir'
scan.h: In member function `int ScanDir::data()':
scan.h:190: error: `_data' undeclared (first use this function)
scan.h: In member function `ScanFileVector& ScanDir::files()':
scan.h:193: error: `_files' undeclared (first use this function)
scan.h: In member function `ScanDirVector& ScanDir::dirs()':
scan.h:194: error: `_dirs' undeclared (first use this function)
scan.h: At global scope:
scan.h:197: error: ISO C++ forbids defining types within return type
scan.h:197: error: extraneous `int' ignored
scan.h:197: error: long, short, signed or unsigned invalid for `fileCount'
scan.h:197: error: semicolon missing after declaration of `class ScanDir'
scan.h: In function `int fileCount()':
scan.h:197: error: `update' undeclared (first use this function)
scan.h:197: error: `_fileCount' undeclared (first use this function)
scan.h: In function `unsigned int dirCount()':
scan.h:198: error: `_dirCount' undeclared (first use this function)
scan.h: In function `ScanDir* parent()':
scan.h:199: error: `_parent' undeclared (first use this function)
scan.h: In function `bool scanStarted()':
scan.h:200: error: `_dirsFinished' undeclared (first use this function)
scan.h: At global scope:
scan.h:205: error: new declaration `void setListener(ScanListener*)'
scan.h:145: error: ambiguates old declaration `int setListener(ScanListener*)'
scan.h: In function `ScanListener* listener()':
scan.h:206: error: redefinition of `ScanListener* listener()'
scan.h:146: error: `ScanListener* listener()' previously defined here
scan.h:206: error: redefinition of `ScanListener* listener()'
scan.h:146: error: `ScanListener* listener()' previously defined here
scan.h: In function `ScanManager* manager()':
scan.h:207: error: `_manager' undeclared (first use this function)
scan.h: At global scope:
scan.h:212: error: parse error before `private'
scan.h:221: error: `ScanFileVector _files' used prior to declaration
scan.h:222: error: `ScanDirVector _dirs' used prior to declaration
scan.h:224: error: `QString _name' used prior to declaration
scan.h:226: error: parse error before `,' token
scan.h:227: error: `unsigned int _fileCount' used prior to declaration
scan.h:227: error: `unsigned int _dirCount' used prior to declaration
scan.h:228: error: `int _dirsFinished' used prior to declaration
scan.h:228: error: `int _data' used prior to declaration
scan.h:229: error: `ScanDir*_parent' used prior to declaration
scan.h:230: error: redefinition of `ScanListener*_listener'
scan.h:151: error: `ScanListener*_listener' previously declared here
scan.h:231: error: `ScanManager*_manager' used prior to declaration
scan.h:232: error: parse error before `}' token
scantest.cpp: In member function `virtual void 
   MyListener::sizeChanged(ScanDir*)':
scantest.cpp:38: error: `dirCount' undeclared (first use this function)
scantest.cpp:38: error: `fileCount' undeclared (first use this function)
scantest.cpp:38: error: `size' undeclared (first use this function)
{standard input}: Assembler messages:
{standard input}:66: Error: symbol `_listener' is already defined
make[3]: *** [scantest.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdeaddons-3.3.2/work/kdeaddons-3.3.2/konq-plugins/fsview'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/kdeaddons-3.3.2/work/kdeaddons-3.3.2/konq-plugins/fsview'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdeaddons-3.3.2/work/kdeaddons-3.3.2/konq-plugins'
make: *** [check-recursive] Error 1

!!! ERROR: kde-base/kdeaddons-3.3.2 failed.
!!! Function src_test, Line 566, Exitcode 0
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message.




Expected Results:  
Successfully complete the test suite and install the package.



Gentoo Base System version 1.4.16
Portage 2.0.51-r14 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-infra-skas3-v7-cube-1 i686)
=================================================================
System uname: 2.6.10-infra-skas3-v7-cube-1 i686 AMD Athlon(tm) XP 1700+
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  3 2004, 16:59:56)]
distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium -mcpu=athlon-tbird -O3 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /usr/vice/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium -mcpu=athlon-tbird -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks maketest sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-local--main--1.0"
SYNC="rsync://hybrid.sascha.silbe.org/gentoo-portage"
USE="x86 3dnow S3TC X acl afs alsa apm avi berkdb bitmap-fonts blas bzlib cdr crypt doc dvd dvdr encode f77 fam flac font-server foomaticdb fortran gdbm gif gimpprint gtk gtk2 gtkhtml guile hbci imagemagick imap imlib ipv6 j-noaim j-nomsn j-noyahoo jabber jpeg kerberos lapack lcms libg++ libwww lvm1 mad maildir makecheck mbox mikmod mmx monitor mozsvg mpeg mysql nas ncurses nls nodrm oggvorbis opengl oss pam pdflib plotutils png postgres python qt qtmt quicktime readline samba scanner sdl serial skey spell sqlite sse ssl tetex tiff truetype truetype-fonts type1-fonts unicode xml xml2 xv xvid zlib linguas_en,de"
Unset:  LDFLAGS
Comment 1 Simone Gotti (RETIRED) gentoo-dev 2005-01-22 06:44:19 UTC
As often happens the checks are not used by many people so sometimes they won't compile.

We cannot do much more about this bug. please report it upstream and for now don't use the "maketest" feature. Thanks.
Comment 2 Sascha Silbe 2005-01-22 16:57:45 UTC
Please add RESTRICT=maketest to the ebuild in that case so I can continue to use this feature for other ebuilds.

Comment 3 Sascha Silbe 2005-01-22 17:14:06 UTC
Filed as KDE Bug #97693 (http://bugs.kde.org/show_bug.cgi?id=97693).

Comment 4 Sascha Silbe 2005-01-28 03:45:51 UTC
Upstream has provided a patch, please see http://bugs.kde.org/show_bug.cgi?id=97693