Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135408 - kdelibs-3.5.2-r6 fails tests
Summary: kdelibs-3.5.2-r6 fails tests
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-03 10:03 UTC by Nuno Lopes
Modified: 2007-04-04 15:52 UTC (History)
7 users (show)

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 Nuno Lopes 2006-06-03 10:03:55 UTC
kdelibs 3.5.5-r6 fails to emerge correctly. I doesn't compile but it fails the tests (I'm using the 'maketest' feature).

make  dcop_test driver
make[3]: Entering directory `/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/dcop/tests'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I../../kjs -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -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 -O2 -march=pentium-m -fomit-frame-pointer -mmmx -msse -msse2 -pipe -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  -c -o test.o test.cpp
test.cpp:1:18: test.h: No such file or directory
test.cpp:9: error: expected constructor, destructor, or type conversion before '::' token
test.cpp:13:33: definitions.generated: No such file or directory
test.cpp: In function `void batch()':
test.cpp:20: error: `Test' was not declared in this scope
test.cpp:20: error: `object' was not declared in this scope
test.cpp:20: error: `Test' is not a type
test.cpp:21:27: batch.generated: No such file or directory
test.cpp:20: warning: unused variable 'Test'
test.cpp:20: warning: unused variable 'object'
test.cpp: In function `int main(int, char**)':
test.cpp:34: warning: `init' is deprecated (declared at ../../kdecore/kcmdlineargs.h:260)
test.cpp:40: error: `Test' has not been declared
make[3]: *** [test.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/dcop/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/dcop/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/dcop'
make: *** [check-recursive] Error 1


emerge info:
Gentoo Base System version 1.6.14
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16.14 i686)
=================================================================
System uname: 2.6.16.14 i686 Intel(R) Pentium(R) M processor 2.00GHz
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -mmmx -msse -msse2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -mmmx -msse -msse2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks maketest sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://ftp.rnl.ist.utl.pt/pub/gentoo http://darkstar.ist.utl.pt/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://ftp.rnl.ist.utl.pt/gentoo-portage"
USE="x86 X alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cli crypt cups dri eds emboss encode esd ethereal exif expat fam foomaticdb gd gdbm gif glut gpm gstreamer gtk gtk2 hal idn imlib isdnlog java jpeg junit kde lcms libg++ libwww mad mikmod mmx mng motif mp3 mpeg ncurses nptl nptlonly nvidia ogg openal opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection samba sdl session spell spl sse sse2 ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xml xml2 xmms xorg xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 1 Nuno Lopes 2006-06-03 10:05:46 UTC
correction: it does compile, but fails the tests.
Comment 2 Matthias Langer 2006-06-03 23:38:27 UTC
exactly the same problem here:

Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sandbox sfperms strict test"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acpi alsa apm audiofile avi berkdb bitmap-fonts bonobo bzip2 cairo cdr cli crypt css cups curl dbus dri dts dvd dvdr dvdread eds emboss encode exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm gif ginac glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn imagemagick imlib ipv6 isdnlog java javascript jpeg jpeg2k junit lcms libg++ libwww mad matroska mikmod mime mmx mmxext mng motif mozsvg mp3 mpeg msn nautilus ncurses nls nptl nsplugin nvidia offensive ogg oggvorbis openal opengl pam pcre pdflib perl plotutils png posix pppd python quicktime readline real reflection ruby sdl session slang sockets speex spell spl sqlite sqlite3 sse ssl subtitles svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis win32codecs wma xine xml xml2 xmms xorg xv xvid zlib video_cards_nvidia linguas_en linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 3 Abraham Marin Perez 2006-06-11 03:52:10 UTC
Same here, emerge --info:

Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.14
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.5-r2, 2.4.2
dev-python/pycrypto: 2.0-r1
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
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/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp -fforce-addr -frerun-loop-opt -floop-optimize -frerun-cse-after-loop -falign-functions=4"CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/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/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=athlon-xp -fforce-addr -frerun-loop-opt -floop-optimize -frerun-cse-after-loop -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict test"
GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/ http://ftp.caliu.info/pub/gentoo/ http://mirror.ovh.net/gentoo-distfiles/"LANG="es_ES.UTF-8@euro"
LC_ALL="es_ES.UTF-8@euro"
LINGUAS="es en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 acpi alsa apache2 asf audiofile avi bash-completion bidi bitmap-fonts bzip2 bzlib canna cdr cjk cli crypt cups curl dga directfb divx4linux doc dri dvb dvd dvdr dvdread eds emboss encode esd ethereal evo exif expat fam fbcon ffmpeg fftw flac foomaticdb freewnn ftp gb gcj gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imlib iodbc isdnlog java jikes jpeg kde lcms libg++ libwww mad memlimit mikmod mime mmx mng motif mozilla mp3 mpeg msn nas nls nptl nsplugin nvidia odbc offensive ogg oggvorbis openal opengl pam pcre pdflib perl png pnp posix ppds pppd quicktime readline reflection samba sdl session sharedmem simplexml spell spl ssl svg svga sysvipc szip tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales videos vorbis win32codecs wmf x86 xine xml xmms xorg xv xvid zlib video_cards_nvidia linguas_es linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 4 Chris Landegent 2006-06-13 17:05:03 UTC
I receive the exact same error.

emerge --info
Portage 2.1 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r2 i686)
=================================================================
System uname: 2.6.16-gentoo-r2 i686 Genuine Intel(R) CPU           T2400  @ 1.83GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /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/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aim alsa apache2 apm audiofile avi berkdb bitmap-fonts bluetooth browserplugin cdr cli cpdflib crypt cups curl curlwrappers dbm directfb divx4linux doc dri dv dvb dvd dvdr dvdread eds emboss encode ethereal fbcon fbdev ffmpeg firefox flac flash foomaticdb fortran freetype ftp gd gdbm gecko ggi gif gpm gstreamer gtk2 icq imap imlib ipv6 isdnlog joystick jpeg kde libg++ libwww live mad maildir mhash mikmod mime mmx mng motif mp3 mpeg mpm-prefork mysql mysqli nas ncurses network nls nsplugin nvidia ogg opengl oss pam pcmcia pcre pdflib perl php png ppds pppd pthreads python qt quicktime readline reflection rtc samba sdl session slp smartcard snmp sockets spell spl sse ssl symlink tcltk tcpd threads tidy tiff truetype truetype-fonts type1-fonts unicode usb vhosts vorbis wddx wifi win32codecs wmf x86 xine xinerama xml xmms xorg xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Sascha Silbe 2006-06-23 10:33:35 UTC
Same error here, actual output only insignificantly differing due to older gcc.

Portage 2.1 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r4, 2.6.16.14-infra-cube-1 i686)
=================================================================
System uname: 2.6.16.14-infra-cube-1 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.14
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/env.d /etc/gconf /etc/make.globals /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US"
LC_ALL=""
LINGUAS="en,de"
MAKEOPTS="-j10 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-local--main--1.0"
SYNC="rsync://copper.sascha.silbe.org/gentoo-portage"
USE="x86 3dnow 3dnowext S3TC X a52 aac accessibility acl afs alsa apm asf audiofile avi bash-completion berkdb bitmap-fonts blas bzip2 bzlib cairo cddb cdparanoia cdr chipcard cjk cli crypt css curl doc dri dts dv dvd dvdr dvdread ecc emboss encode examples fame ffmpeg fits flac foomaticdb fortran gd gdbm geldkarte geos gif gimp gimpprint glut gmp gs gstreamer gtk gtk2 gtkhtml guile hardened hbci hdf idn imagemagick imap imlib ipv6 isdnlog jabber jpeg jpeg2k lapack lcms libg++ libwww lm_sensors lvm1 lzo mad maildir mailwrapper makecheck mbox mikmod mjpeg mmx mmxext monitor mozsvg mp3 mpeg mplayer musepack music mysql nas ncurses netcdf nls nodrm nptl offensive ogdi ogg oggvorbis openal opengl oss pam pcre pda pdf pdflib plotutils png postgres pppd python qt qtmt quicktime rar readline reflection samba scanner sdl serial session skey smartcard speex spell spl sqlite sse ssl subtitles svg sysfs test tetex theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vorbis win32codecs wmf xml xml2 xorg xv xvid yv12 zlib elibc_glibc kernel_linux linguas_en,de userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 6 Ravi Pinjala 2006-09-17 15:21:26 UTC
Still fails here, with kdelibs-3.5.4-r1. 

Since it looks like this is an upstream issue and we're nog going to fix it, any chance of getting RESTRICT="test" into the ebuild? 

Portage 2.1.2_pre1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-rc4 x86_64)
=================================================================
System uname: 2.6.18-rc4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Sun, 17 Sep 2006 02:00:07 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -funit-at-a-time"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon64 -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer nostrip parallel-fetch sandbox sfperms strict test userfetch userpriv"
GENTOO_MIRRORS="ftp://ftp.utexas.edu/pub/mirror/gentoo/ http://mirror.datapipe.net/gentoo/ http://gentoo.mirrors.pair.com/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/xgl-coffee /usr/local/overlays/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib acpi alsa arts avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cjk cli crypt cups dbus dlloader dri dv dvd dvdr dvdread eds elibc_glibc emboss emul-linux-x86 encode esd fam ffmpeg firefox flac fortran ftp gcj gdbm gecko-sdk gif glitz glut gpm gtk gtk2 hal input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg jpeg2k kde kdehiddenvisibility kernel_linux ldap libcaca libg++ linguas_en mad matroska mikmod mono mozsvg mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl oss pam pcre pdf pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl svg tcpd test truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales video_cards_nv video_cards_nvidia video_cards_vesa vorbis x264 xinerama xml xml2 xorg xrandr xscreensaver xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-17 18:49:04 UTC
will be fixed in 3.5.4-r2
Comment 8 Abraham Marin Perez 2006-09-18 04:29:02 UTC
(In reply to comment #6)
> Still fails here, with kdelibs-3.5.4-r1. 
> 
> Since it looks like this is an upstream issue and we're nog going to fix it,
> any chance of getting RESTRICT="test" into the ebuild? 

Please, don't do that. If you don't want tests to be run for one particular package then create your own ebuild in your portage overlay and add that clause, but don't remove tests in general since some people prefer to not install a package rather than installing it without a "test-compliance" assurance.
Comment 9 Ravi Pinjala 2006-09-18 07:24:03 UTC
Yes, and some of us prefer to have merges finish without having to alter ebuilds in the middle of it. I don't think that's too much to ask. :/

It seems like it would make sense here to add FEATURES="test-strict", or something along those lines, which would run all tests regardless of package restrictions. There ought to be some division between "wanting to test ALL packages" and "wanting to test all packages where the tests are expected to pass". This seems like it would be easy enough to implement.
Comment 10 Abraham Marin Perez 2006-09-20 04:32:00 UTC
(In reply to comment #9)
> Yes, and some of us prefer to have merges finish without having to alter
> ebuilds in the middle of it. I don't think that's too much to ask. :/

You don't think so? Well, let's talk about it: your option implies changing the main ebuild globally and for everyone and then changing it again locally for those who don't want tests to be by-passed; my option implies modifying the ebuild only locally for those who don't want *that particular package's test* to be run (if someone's messing around this with problem it's because they enabled "test" in FEATURES). That is, your option implies two modifications and mine only one... I don't know whether you are asking too much or aren't, but mathemathically you're asking more than me.

What's more, your arguing came since you don't want to modify ebuilds in the middle of an installation, but if you add the RESTRICT clause and I've instructed portage to stop when that happens, it'll be me who'll have to do it... Transfering the problem from ones to others isn't a solution.
Comment 11 Ravi Pinjala 2006-09-21 13:59:10 UTC
Carsten: Still fails for me with kdelibs-3.5.4-r2.

Abraham: While that's true, I still think it'd be a good thing for portage to distinguish somehow between packages that fail tests when they're expected to pass (indicates a bad build), and packages that aren't expected to pass. 

/bin/sh ../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++  -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 -O2 -pipe -march=athlon64 -funit-at-a-time -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 -Wl,-O1 -o kacltest  kacltest.o ../../kio/libkio.la
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r2/work/kdelibs-3.5.4/kio/tests' 
make  check-TESTS check-local
make[3]: Entering directory `/var/tmp/portage/kdelibs-3.5.4-r2/work/kdelibs-3.5.4/kio/tests'
icon for file:///tmp/ is folder, OK
icon for file:///root/ is folder_locked, OK
ERROR: icon for trash:/ is (null), expected trashcan_full!
FAIL: kmimetypetest
===================
1 of 1 tests failed
===================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r2/work/kdelibs-3.5.4/kio/tests' 
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r2/work/kdelibs-3.5.4/kio/tests' 
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r2/work/kdelibs-3.5.4/kio'       
make: *** [check-recursive] Error 1
            
!!! ERROR: kde-base/kdelibs-3.5.4-r2 failed.
Call stack: 
  ebuild.sh, line 1546:   Called dyn_test
  ebuild.sh, line 986:   Called src_test
  ebuild.sh, line 616:   Called die
            
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 12 Abraham Marin Perez 2006-09-22 03:59:59 UTC
(In reply to comment #11)
> Abraham: While that's true, I still think it'd be a good thing for portage to
> distinguish somehow between packages that fail tests when they're expected to
> pass (indicates a bad build), and packages that aren't expected to pass. 

What you say is reasonable and I would agree if some constraints were met; if we can distinguish between tests that are expected or unexpected to pass, that means we know the reason by which the test is failing. If a test isn't expected to pass because it has a *known* bug, why not fixing it instead of removing the test at all? I know that depends on upstream most of the times and the original test cannot be changed so easily (or we have to wait till the fix is released), but still it can be patched.

So, if some test fails, it should be found out whether its failure is expected or unexpected. If the former, we know the bug, so it should be fixed. If not possible, then it should be patched. And if some test fails, the reason is known and neither the fix nor the patch are possible, then (and only then) restrict the test.

At least that's my opinion.

BTW, I also tried with 3.5.4-r2 and tests didn't work either, although the error seems to be different

/bin/sh ../../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++  -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 -O2 -pipe -march=athlon-xp -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    -o kunittest_kconfigcompiler_test.la  -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib  -rpath /usr/kde/3.5/lib -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    kconfigcompiler_test.lo -lkunittest 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lkunittest
collect2: ld returned 1 exit status
make[4]: *** [kunittest_kconfigcompiler_test.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r2/work/kdelibs-3.5.4/kdecore/kconfig_compiler/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r2/work/kdelibs-3.5.4/kdecore/kconfig_compiler/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r2/work/kdelibs-3.5.4/kdecore/kconfig_compiler'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r2/work/kdelibs-3.5.4/kdecore'
make: *** [check-recursive] Error 1

!!! ERROR: kde-base/kdelibs-3.5.4-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_test
  ebuild.sh, line 986:   Called src_test
  ebuild.sh, line 616:   Called die


Maybe a problem with libraries? I'll try revdep-rebuild and tell.
Comment 13 Charlie Shepherd (RETIRED) gentoo-dev 2007-02-01 13:27:45 UTC
Is this still a problem with kdelib-3.5.6? Have you submitted it upstream?
Comment 14 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-04 15:52:23 UTC
kdelibs tests are disabled since a while now. If you're keen on having them run, comment out RESTRICT="test" in the ebuild and file a bug upstream.