Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69544 - emerge kde-base/kdepim-3.3.1 fails make check on amd64, fix included
Summary: emerge kde-base/kdepim-3.3.1 fails make check on amd64, fix included
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-30 13:57 UTC by Darren West
Modified: 2005-07-14 09:52 UTC (History)
1 user (show)

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


Attachments
Emerge log showing test failures (2511-kdepim-3.3.1.log,1.23 MB, text/plain)
2004-12-05 13:49 UTC, Kevin F. Quinn (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darren West 2004-10-30 13:57:49 UTC
This is actually more of a porting issue.
This affects amd64 users using FEATURES='maketest'

Here is a patch that fixed it for me with information taken out of limits.h:
/var/tmp/portage/kdepim-3.3.1/work/kdepim-3.3.1/libksieve/tests/parsertest.cpp
--- parsertest.cpp.orig 2004-10-30 15:26:40.615265344 -0500
+++ parsertest.cpp      2004-10-30 15:50:42.770922256 -0500
@@ -206,7 +206,10 @@
       { Finished, 0, false } }
   },

-#if SIZEOF_UNSIGNED_LONG == 8
+#if SIZEOF_UNSIGNED_LONG == 8 && __WORDSIZE == 64
+#  define ULONG_MAX_STRING "18446744073709551615"
+#  define ULONG_MAXP1_STRING "18446744073709551616"
+#elif SIZEOF_UNSIGNED_LONG == 8
 #  define ULONG_MAX_STRING "9223372036854775807"
 #  define ULONG_MAXP1_STRING "9223372036854775808"
 #elif SIZEOF_UNSIGNED_LONG == 4



Reproducible: Always
Steps to Reproduce:
1.FEATURES=maketest
2.ACCEPT_KEYWORDS=~amd64
3.emerge kde-base/kdepim

Actual Results:  
single number argument - 2G: ok
single number argument - ULONG_MAX + 1: expected method 16, got 2 expected
string arg "NumberOutOfRange", got "92233720368
54775808 " expected method 0, got 4 expected method 0, got 17
single number argument - ULONG_MAX: ok
single one-element string list argument - quoted string: ok
single one-element string list argument - multi-line string: ok
single two-element string list argument - quoted strings: ok
single two-element string list argument - multi-line strings: ok
single two-element string list argument - quoted + multi-line strings: ok
single two-element string list argument - multi-line + quoted strings: ok
single bare test argument: ok
one-element test list argument: ok
two-element test list argument: ok
zero-element block: ok
one-element block: ok
two-element block: ok
command with a test with a test with a test: ok
FAIL: parsertest
===================
1 of 2 tests failed
===================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdepim-3.3.1/work/kdepim-3.3.1/libksieve/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory
`/var/tmp/portage/kdepim-3.3.1/work/kdepim-3.3.1/libksieve/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdepim-3.3.1/work/kdepim-3.3.1/libksieve'
make: *** [check-recursive] Error 1

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



Gentoo Base System version 1.5.3
Portage 2.0.51-r2 (default-amd64-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.26
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect distlocks gpg maketest sandbox"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo
http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apm arts avi berkdb bitmap-fonts cdparanoia cdr crypt doc
encode esd f77 faac faad flac foomaticdb gdbm gif gpm gtk gtk2 imagemagick imlib
jpeg kde libg++ libwww mbox mikmod motif mozilla mpeg multilib mysql ncurses nls
nogcj oggvorbis opengl oss pam pdflib perl png python quicktime readline samba
sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-12-02 04:11:49 UTC
can you file this at bugs.kde.org as well?
Comment 2 Kevin F. Quinn (RETIRED) gentoo-dev 2004-12-05 13:49:00 UTC
Created attachment 45340 [details]
Emerge log showing test failures

I get a plethora of test failures on x86 - figured it's useful to collect them
here rather than raise another bug.  I don't have a fix, although I suspect
that the test requires KDE be running as root.	I think the first indication of
the faulty behaviour is line 5964:

QPixmap: Cannot create a QPixmap when no GUI is being used

which is followed by stuff about /tmp/ksocket-root and
/var/tmp/portage/kdepim-3.3.1/temp/fakehome/.ICEauthority

emerge info:
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4,
glibc-2.3.4.20040808-r1, 2.6.7-hardened-r15 i686)
=================================================================
System uname: 2.6.7-hardened-r15 i686 Mobile Intel(R) Pentium(R) III CPU - M 
1200MHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks maketest sandbox sfperms
strict userpriv"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp.easynet.nl/mirror/gentoo/
http://ftp.heanet.ie/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/portage"
SYNC="rsync://192.168.31.11/gentoo-portage"
USE="X acl acpi alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dlloader
dvd dvdr encode esd f77 faad fam flac foomaticdb fortran gcj gdbm gif gpm gtk
gtk2 hardened imagemagick imlib java jikes jpeg junit kde kerberos libg++
libwww mad makecheck mikmod mmx motif mozilla mpeg ncurses nls odbc oggvorbis
opengl oss pam pcmcia pdflib perl pic pie png pnp postgres python qt quicktime
readline samba slang spell sse ssl svga tcltk tcpd tiff truetype trusted
unicode usb x86 xinerama xml2 xmms xprint xv zlib video_cards_ati linguas_en_GB
linguas_it linguas_de linguas_es linguas_fr"
Comment 3 Kevin F. Quinn (RETIRED) gentoo-dev 2004-12-05 23:28:57 UTC
re comment #2 - I tried running KDE as root (i.e. logging in as root) but it made no difference; same errors.
Comment 4 Kevin F. Quinn (RETIRED) gentoo-dev 2004-12-05 23:33:49 UTC
I'll also add that kdenetwork fails to build its checks (let alone run them) on my system (x86, not amd64).  Here's the tail of the emerge (I can attach the emerge log if requested).

------------------------------------------------------------------------
kopete -I../../../kopete/libkopete/ui -I../../../kopete/libkopete/ui -I../../../kopete/libkopete/private -I../../../kopete/libkopete/ui -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include  -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 -O2 -march=pentium3 -fomit-frame-pointer -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 kopetewallettest.o kopetewallettest.cpp
kopetewallettest.cpp: In function `void openWallet()':
kopetewallettest.cpp:36: error: `KopeteWalletManager' undeclared (first use
   this function)
kopetewallettest.cpp:36: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
kopetewallettest.cpp:36: error: parse error before `::' token
kopetewallettest.cpp: In function `void closeWallet()':
kopetewallettest.cpp:42: error: parse error before `::' token
kopetewallettest.cpp: In function `void openWalletAsync()':
kopetewallettest.cpp:55: error: parse error before `::' token
make[4]: *** [kopetewallettest.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdenetwork-3.3.1-r1/work/kdenetwork-3.3.1/kopete/libkopete/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.3.1-r1/work/kdenetwork-3.3.1/kopete/libkopete/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdenetwork-3.3.1-r1/work/kdenetwork-3.3.1/kopete/libkopete'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.3.1-r1/work/kdenetwork-3.3.1/kopete'
make: *** [check-recursive] Error 1

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

Comment 5 Kevin F. Quinn (RETIRED) gentoo-dev 2004-12-06 10:21:26 UTC
Update - seems probably all of 3.3.1 will fail.  Every package I've built so far has (up to kdemultimedia) - I'll build the rest of kde with the tests switched off and come back to it later.
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2005-07-14 09:52:30 UTC
Please report upstream if still a problem.