Bug 102707 - kioslaves "make test" fails
Summary: kioslaves "make test" fails
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: kioslave (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-29 03:57 UTC by Daniel
Modified: 2006-09-03 18:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2005-03-29 03:57:44 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Gentoo Packages
OS:                Linux

Should deliver enough information...reproduceable. the make test cycle, use through the QA feature of emerge, not a Gentoo bug. Happens with 3.4.0 beta versions also. IIRC happens with other 3.4.0 stuff also. Should be fixed or the make test stuff should be completely removed. Basically, the package compiled just fine - only the test thingy fails.


i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../.. -I./..  -I/usr/kde/3.4/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64  -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=athlon-xp -O2 -fomit-frame-pointer -fprefetch-loop-arrays -ftracer -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE  -c -o test_commands.o `test -f 'test_commands.cc' || echo './'`test_commands.cc
test_commands.cc:721:1: warning: "NDEBUG" redefined
<command line>:12:1: warning: this is the location of the previous definition
test_commands.cc: In function `int main(int, char**)':
test_commands.cc:240: error: no matching function for call to `
   KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, QStrIList&, const char[5],
   const char[5])'
command.h:176: error: candidates are: KioSMTP::AuthCommand::AuthCommand(const
   KioSMTP::AuthCommand&)
command.h:179: error:
   KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, const char*, const
   QString&, KIO::AuthInfo&)
test_commands.cc:266: error: no matching function for call to `
   KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, QStrIList&, const char[5],
   const char[5])'
command.h:176: error: candidates are: KioSMTP::AuthCommand::AuthCommand(const
   KioSMTP::AuthCommand&)
command.h:179: error:
   KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, const char*, const
   QString&, KIO::AuthInfo&)
test_commands.cc:283: error: no matching function for call to `
   KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, QStrIList&, const char[5],
   const char[5])'
command.h:176: error: candidates are: KioSMTP::AuthCommand::AuthCommand(const
   KioSMTP::AuthCommand&)
command.h:179: error:
   KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, const char*, const
   QString&, KIO::AuthInfo&)
In file included from test_commands.cc:723:
command.cc: In constructor `KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*,
   const char*, const QString&, KIO::AuthInfo&)':
command.cc:201: error: `conn' undeclared (first use this function)
command.cc:201: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
command.cc:202: error: `client_interact' undeclared (first use this function)
command.cc:207: error: `sasl_client_new' undeclared (first use this function)
command.cc:208: error: `SASL_OK' undeclared (first use this function)
command.cc:209: error: `sasl_errdetail' undeclared (first use this function)
command.cc:214: error: `sasl_client_start' undeclared (first use this function)
command.cc:216: error: `SASL_INTERACT' undeclared (first use this function)
command.cc:221: error: `SASL_CONTINUE' undeclared (first use this function)
command.cc: In destructor `virtual KioSMTP::AuthCommand::~AuthCommand()':
command.cc:238: error: `sasl_dispose' undeclared (first use this function)
command.cc: In member function `bool KioSMTP::AuthCommand::saslInteract(void*)
   ':
command.cc:248: error: `sasl_interact_t' undeclared (first use this function)
command.cc:248: error: `interact' undeclared (first use this function)
command.cc:248: error: parse error before `)' token
command.cc:252: error: `SASL_CB_LIST_END' undeclared (first use this function)
command.cc:253: error: `SASL_CB_AUTHNAME' undeclared (first use this function)
command.cc:254: error: `SASL_CB_PASS' undeclared (first use this function)
command.cc:257: error: `openPassDlg' undeclared (first use this function)
command.cc:266: error: parse error before `)' token
command.cc:269: error: `SASL_CB_USER' undeclared (first use this function)
command.cc:245: warning: unused parameter `void*in'
command.cc: In member function `virtual QCString
   KioSMTP::AuthCommand::nextCommandLine(KioSMTP::TransactionState*)':
command.cc:333: error: `sasl_client_step' undeclared (first use this function)
command.cc:341: error: `sasl_errdetail' undeclared (first use this function)
make[3]: *** [test_commands.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdebase-kioslaves-3.4.0/work/kdebase-kioslaves-3.4.0/kioslave/smtp'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/kdebase-kioslaves-3.4.0/work/kdebase-kioslaves-3.4.0/kioslave/smtp'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-kioslaves-3.4.0/work/kdebase-kioslaves-3.4.0/kioslave'
make: *** [check-recursive] Error 1

!!! ERROR: kde-base/kdebase-kioslaves-3.4.0 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.

hoshino expose # emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  6 2005, 20:34:24)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
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.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -fprefetch-loop-arrays -ftracer -pipe"
CHOST="i686-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.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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -fprefetch-loop-arrays -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms test"
GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo           ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo          ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/              ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/gentoo-de"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X acpi alsa apache2 arts artworkextra audiofile avi bash-completion bitmap-fonts blas bzip2 bzlib cairo calendar cdda cddb cdinstall cdparanoia cdr codecs commercial cracklib crypt cups dedicated dga dict divx4linux djbfft dv encode exif fastcgi flac flood font-server foomaticdb fortran ftp gd ggi gif gimp gimpprint ginac glitz glut gnutls gphoto2 gstreamer gtk gtk2 hal imagemagick imlib imlib2 jabber jikes joystick jpeg jpeg2k kde kdeenablefinal lcd lesstif live lm_sensors logitech-mouse lzo mad md5sum memlimit mime mmx mng mozilla mozsvg mp3 mpeg mplayer native ncurses network nls no-old-linux nocd nodrm noplugin nosendmail nptl nptlonly ntlm nvidia offensive ogg oggvorbis openal opengl pam pcre perl playlist plotutils png posix ppds print pthreads python qemu-fast qhull qt quicktime readline real recode rtc scanner sdl silc simplexml slang smime sndfile softmmu speex spell sse ssl svg symlink threads tidy tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb userlocales utf8 v4l v4l2 vcd vcdimager vidix vorbis wxwindows xanim xface xine xml xml-rpc xml2 xmms xpm xprint xv xvid xvmc zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Benno Schulenberg 2005-10-11 22:45:16 UTC
Still failing in 3.4.2 with the same error.
Comment 2 Sandro Bonazzola 2005-11-11 11:09:24 UTC
I confirm this bug on my pentium3 with kde 3.4.3.

the package fails test at the following point:

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../.. -I./.. 
-I/usr/kde/3.4/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT 
-D_REENTRANT -D_FILE_OFFSET_BITS=64  -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -O2
-fforce-addr -fomit-frame-pointer -ffast-math -ftracer -fprefetch-loop-arrays
-mfpmath=sse -O2 -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -D_GNU_SOURCE  -c -o test_commands.o `test -f
'test_commands.cc' || echo './'`test_commands.cc
test_commands.cc: In function `int main(int, char**)':
test_commands.cc:240: error: no matching function for call to
`KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, QStrIList&, const char[5],
const char[5])'
command.h:176: note: candidates are: KioSMTP::AuthCommand::AuthCommand(const
KioSMTP::AuthCommand&)
command.h:179: note:                
KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, const char*, const QString&,
KIO::AuthInfo&)
test_commands.cc:266: error: no matching function for call to
`KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, QStrIList&, const char[5],
const char[5])'
command.h:176: note: candidates are: KioSMTP::AuthCommand::AuthCommand(const
KioSMTP::AuthCommand&)
command.h:179: note:                
KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, const char*, const QString&,
KIO::AuthInfo&)
test_commands.cc:283: error: no matching function for call to
`KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, QStrIList&, const char[5],
const char[5])'
command.h:176: note: candidates are: KioSMTP::AuthCommand::AuthCommand(const
KioSMTP::AuthCommand&)
command.h:179: note:                
KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, const char*, const QString&,
KIO::AuthInfo&)
test_commands.cc:721:1: warning: "NDEBUG" redefined
<command line>:8:1: warning: this is the location of the previous definition
In file included from test_commands.cc:723:
command.cc: In constructor `KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*,
const char*, const QString&, KIO::AuthInfo&)':
command.cc:201: error: `conn' undeclared (first use this function)
command.cc:201: error: (Each undeclared identifier is reported only once for
each function it appears in.)
command.cc:202: error: `client_interact' undeclared (first use this function)
command.cc:207: error: `sasl_client_new' undeclared (first use this function)
command.cc:208: error: `SASL_OK' undeclared (first use this function)
command.cc:209: error: `sasl_errdetail' undeclared (first use this function)
command.cc:214: error: `sasl_client_start' undeclared (first use this function)
command.cc:216: error: `SASL_INTERACT' undeclared (first use this function)
command.cc:221: error: `SASL_CONTINUE' undeclared (first use this function)
command.cc: In destructor `virtual KioSMTP::AuthCommand::~AuthCommand()':
command.cc:236: error: `conn' undeclared (first use this function)
command.cc:238: error: `sasl_dispose' undeclared (first use this function)
command.cc: In member function `bool KioSMTP::AuthCommand::saslInteract(void*)':
command.cc:248: error: `sasl_interact_t' undeclared (first use this function)
command.cc:248: error: `interact' undeclared (first use this function)
command.cc:248: error: expected primary-expression before ')' token
command.cc:248: error: expected `;' before "in"
command.cc:252: error: `SASL_CB_LIST_END' undeclared (first use this function)
command.cc:253: error: `SASL_CB_AUTHNAME' undeclared (first use this function)
command.cc:254: error: `SASL_CB_PASS' undeclared (first use this function)
command.cc:257: error: 'class SMTPProtocol' has no member named 'openPassDlg'
command.cc:266: error: expected primary-expression before ')' token
command.cc:266: error: expected `;' before "in"
command.cc:269: error: `SASL_CB_USER' undeclared (first use this function)
command.cc: In member function `virtual QCString
KioSMTP::AuthCommand::nextCommandLine(KioSMTP::TransactionState*)':
command.cc:330: error: `conn' undeclared (first use this function)
command.cc:332: error: `client_interact' undeclared (first use this function)
command.cc:333: error: `sasl_client_step' undeclared (first use this function)
command.cc:334: error: `SASL_INTERACT' undeclared (first use this function)
command.cc:339: error: `SASL_CONTINUE' undeclared (first use this function)
command.cc:339: error: `SASL_OK' undeclared (first use this function)
command.cc:341: error: `sasl_errdetail' undeclared (first use this function)
command.cc: At global scope:
command.cc:245: warning: unused parameter 'in'
make[3]: *** [test_commands.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdebase-kioslaves-3.4.3/work/kdebase-kioslaves-3.4.3/kioslave/smtp'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory
`/var/tmp/portage/kdebase-kioslaves-3.4.3/work/kdebase-kioslaves-3.4.3/kioslave/smtp'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdebase-kioslaves-3.4.3/work/kdebase-kioslaves-3.4.3/kioslave'
make: *** [check-recursive] Error 1




I've checked my system with revdep-rebuild and there are no broken deps. I think
there's something wrong with the header files related to sasl provided by kdelib.

Reproducible: Always
Steps to Reproduce:
1. enable testing in make.conf
2. emerge -u kde-base/kdebase-kioslaves
3.

Actual Results:  
kdebase-kioslaves fails test.

Expected Results:  
kdebase-kioslaves pass test.

Gentoo Base System version 1.12.0_pre10
Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 Celeron (Coppermine)
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -march=pentium3 -O2 -fforce-addr -fomit-frame-pointer -ffast-math
-ftracer -fprefetch-loop-arrays -mfpmath=sse "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/jetty/etc /usr/kde/2/share/config /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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="  -march=pentium3 -O2 -fforce-addr -fomit-frame-pointer -ffast-math
-ftracer -fprefetch-loop-arrays -mfpmath=sse  -O2 -fvisibility-inlines-hidden "
DISTDIR="/home/ftp/distfiles"
FEATURES="autoconfig buildsyspkg collision-protect confcache cvs distlocks elog
maketest parallel-fetching sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://gentoo.osuosl.org/ ftp://ftp.solnet.ch/mirror/Gentoo"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS=" -Wl,-O3 "
LINGUAS="it"
MAKEOPTS="-j1"
PKGDIR="/home/ftp/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acl acpi acpi4linux alsa apache2 arts audiofile avi berkdb
bitmap-fonts bzip2 bzlib caps cdb cdparanoia chroot clamav crypt cups curl dba
dio directfb divx4linux emboss encode erandom esd exif expat faac faad fam fbcon
ffmpeg firefox flac foomaticdb gcc-libffi gd gdbm ggi gif gimpprint glibc-omitfp
glut gmp gnokii gnome gnomedb gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2
guile iconv idn imagemagick imlib imlib2 innodb ipv6 irda ithreads java javacomm
javascript jbig jikes jpeg jpeg2k junit justify jython kde kdeenablefinal lcms
libcaca libclamav libg++ libwww linuxthreads-tls lzo mad mailwrapper mbox md5sum
mdb mhash mikmod mime mjpeg mmap mmx mmx2 mmxext mng motif mozcalendar
mozdevelop moznoirc mozsvg mp3 mpeg mpi mpm-worker mysql ncurses nls
no-old-linux no-suexec no_wxgtk1 noantlr nobcel nobeanutils nobsf nobsh
nocommonslogging nocommonsnet nojdepend nojsch nomac norhino noxalan noxerces
nptl nptlonly oav objc odbc offensive ofx ogg oggvorbis opengl pam pcmcia pcre
pcsc-lite pdflib perl php plotutils png pnp posix ppds pwdb python qt quicktime
readline recode rtc samba scanner sdl shared sharedmem slang smartcard sms snmp
softquota speex spell spl sse ssl svg svga tcltk tcpd test tetex theora threads
tidy tiff timidity truetype truetype-fonts trusted type1-fonts udev unicode usb
userlocales utf8 vcd vda vorbis win32codecs wmf wsconvert xine xinerama xml xml2
xmms xpm xsl xv xvid yahoo zlib linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET
Comment 3 Sven Teresniak 2006-01-09 18:36:25 UTC
*** This bug has been confirmed by popular vote. ***
Comment 4 Sven Teresniak 2006-01-09 18:39:40 UTC
the same problem here.

this bug is present in the huge monolithic kdebase gentoo package and the tiny modular kdebase-kioslave package.

the problem occurs on two of my machines.
Comment 5 Andreas Kling 2006-09-03 18:34:15 UTC
SVN commit 580478 by kling:

Disable a part of the SMTP kioslave check that doesn't even build.

BUG: 102707


 M  +3 -0      test_commands.cc  


--- branches/KDE/3.5/kdebase/kioslave/smtp/test_commands.cc #580477:580478
@@ -97,6 +97,8 @@
 
 int main( int, char** ) {
 
+  // FIXME: Port this to new API.
+#if 0
   SMTPProtocol smtp;
   Response r;
   TransactionState ts, ts2;
@@ -631,6 +633,7 @@
   assert( !quit2.needsResponse() );
   assert( smtp.lastErrorCode == 0 ); // an QUIT failure isn't worth it, is it?
   assert( smtp.lastErrorMessage.isNull() );
+#endif
 
   return 0;
 }