compilation stops after about 1 hour. Reproducible: Always Steps to Reproduce: 1. emerge =kdepim-3.3.1 2. 3. Actual Results: /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -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 -O3 -pipe -fomit-frame-pointer -ffast-math -fmove-all-movables -funroll-loops -fprefetch-loop-arrays -fforce-addr -mmmx -msse -m3dnow -mfpmath=387 -frename-registers -maccumulate-outgoing-args -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 -o testcalendar -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/X11R6/lib testcalendar.o ../libkcal.la make[3]: `readandwrite' is up to date. make[3]: Leaving directory `/var/tmp/portage/kdepim-3.3.1/work/kdepim-3.3.1/libkcal/tests' rm -f FAILED; \ for i in test1.ics test2.ics test3.ics test4.ics test5.ics test_Mozilla.ics; do \ perl ./checkcalendar.pl ./data/$i; \ done; \ [ ! -e FAILED ] QPixmap: Cannot create a QPixmap when no GUI is being used QPixmap: Cannot create a QPixmap when no GUI is being used Link points to "/tmp/ksocket-root" /usr/X11R6/bin/iceauth: creating new authority file /var/tmp/portage/kdepim-3.3.1/temp/fakehome/.ICEauthority QPixmap: Cannot create a QPixmap when no GUI is being used QPixmap: Cannot create a QPixmap when no GUI is being used Link points to "/tmp/kde-root" Xlib: connection to ":0.0" refused by server Xlib: No protocol specified kded: cannot connect to X server :0.0 DCOP aborting call from 'anonymous-16148' to 'kded' kded: ERROR: Communication problem with kded, it probably crashed. Xlib: connection to ":0.0" refused by server Xlib: No protocol specified kdeinit: Can't connect to the X Server. kdeinit: Might not terminate at end of session. Checking 'test1.ics.out': OK QPixmap: Cannot create a QPixmap when no GUI is being used QPixmap: Cannot create a QPixmap when no GUI is being used Checking 'test2.ics.out': OK QPixmap: Cannot create a QPixmap when no GUI is being used QPixmap: Cannot create a QPixmap when no GUI is being used Checking 'test3.ics.out': OK QPixmap: Cannot create a QPixmap when no GUI is being used QPixmap: Cannot create a QPixmap when no GUI is being used QDate::setYMD: Invalid date 1601-01-01 QDate::setYMD: Invalid date 1601-01-01 QDate::setYMD: Invalid date 1601-01-01 QDate::setYMD: Invalid date 1601-01-01 Checking 'test4.ics.out': Line 17: Expected : CLASS:PUBLIC Line 17: Actual output : STATUS:TENTATIVE Line 18: Expected : PRIORITY:5 Line 18: Actual output : CLASS:PUBLIC Line 19: Expected : RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO Line 19: Actual output : PRIORITY:5 Line 20: Expected : DTSTART:20031110T180000Z Line 20: Actual output : RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO Line 21: Expected : DTEND:20031110T190000Z Line 21: Actual output : DTSTART:20031110T170000Z Line 22: Expected : TRANSP:OPAQUE Line 22: Actual output : DTEND:20031110T180000Z Line 23: Expected : END:VEVENT Line 23: Actual output : TRANSP:OPAQUE Line 24: Expected : Line 24: Actual output : END:VEVENT Line 25: Expected : END:VCALENDAR Line 25: Actual output : Line 26: Expected : Line 26: Actual output : END:VCALENDAR Line 27: Expected : Line 27: Actual output : UNEXPECTED FAIL: 11 errors found, 2 expected. QPixmap: Cannot create a QPixmap when no GUI is being used QPixmap: Cannot create a QPixmap when no GUI is being used QDate::setYMD: Invalid date 1601-01-01 QDate::setYMD: Invalid date 1601-01-01 QDate::setYMD: Invalid date 1601-01-01 QDate::setYMD: Invalid date 1601-01-01 Checking 'test5.ics.out': Line 17: Expected : CLASS:PUBLIC Line 17: Actual output : STATUS:TENTATIVE Line 18: Expected : PRIORITY:5 Line 18: Actual output : CLASS:PUBLIC Line 19: Expected : RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO Line 19: Actual output : PRIORITY:5 Line 20: Expected : DTSTART:20031110T180000Z Line 20: Actual output : RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO Line 21: Expected : DTEND:20031110T190000Z Line 21: Actual output : DTSTART:20031110T170000Z Line 22: Expected : TRANSP:OPAQUE Line 22: Actual output : DTEND:20031110T180000Z Line 23: Expected : END:VEVENT Line 23: Actual output : TRANSP:OPAQUE Line 24: Expected : Line 24: Actual output : END:VEVENT Line 25: Expected : END:VCALENDAR Line 25: Actual output : Line 26: Expected : Line 26: Actual output : END:VCALENDAR Line 27: Expected : Line 27: Actual output : FAILED: 11 errors found. --- ./data/test5.ics.ref 2004-05-22 22:58:35.000000000 +0200 +++ test5.ics.out 2004-11-10 09:07:51.616660152 +0100 @@ -2,7 +2,7 @@ PRODID:-//K Desktop Environment//NONSGML libkcal 3.2//EN VERSION:2.0 BEGIN:VEVENT -DTSTAMP:20040122T092708Z +DTSTAMP:20041110T090751Z ORGANIZER:MAILTO:srhaque at ncube.com X-MICROSOFT-CDO-ALLDAYEVENT:FALSE X-MICROSOFT-CDO-BUSYSTATUS:BUSY @@ -15,11 +15,12 @@ SEQUENCE:0 LAST-MODIFIED:20031111T180554Z SUMMARY:Bob Bond's staff +STATUS:TENTATIVE CLASS:PUBLIC PRIORITY:5 RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO -DTSTART:20031110T180000Z -DTEND:20031110T190000Z +DTSTART:20031110T170000Z +DTEND:20031110T180000Z TRANSP:OPAQUE END:VEVENT QPixmap: Cannot create a QPixmap when no GUI is being used QPixmap: Cannot create a QPixmap when no GUI is being used Checking 'test_Mozilla.ics.out': Line 6: Expected : CREATED:20040501T080000Z Line 6: Actual output : CREATED:20041110T090751Z Line 9: Expected : LAST-MODIFIED:20040518T105729Z Line 9: Actual output : LAST-MODIFIED:20041110T090751Z Line 11: Expected : CLASS:PRIVATE Line 11: Actual output : STATUS:NEEDS-ACTION Line 12: Expected : PRIORITY:3 Line 12: Actual output : CLASS:PRIVATE Line 13: Expected : DUE:20040505T111500Z Line 13: Actual output : PRIORITY:3 Line 14: Expected : DTSTART:20040505T101500Z Line 14: Actual output : DUE:20040505T111500Z Line 15: Expected : PERCENT-COMPLETE:0 Line 15: Actual output : DTSTART:20040505T101500Z Line 16: Expected : END:VTODO Line 16: Actual output : PERCENT-COMPLETE:0 Line 17: Expected : Line 17: Actual output : END:VTODO Line 18: Expected : BEGIN:VEVENT Line 18: Actual output : Line 19: Expected : DTSTAMP:20040518T105729Z Line 19: Actual output : BEGIN:VEVENT Line 20: Expected : ORGANIZER:MAILTO: Line 20: Actual output : DTSTAMP:20041110T090751Z Line 21: Expected : CREATED:20040518T105729Z Line 21: Actual output : ORGANIZER:MAILTO: Line 22: Expected : UID:9387e0e8-9ea1-11d8-86ed-b77ddbb7d081 Line 22: Actual output : CREATED:20041110T090751Z Line 23: Expected : SEQUENCE:0 Line 23: Actual output : UID:9387e0e8-9ea1-11d8-86ed-b77ddbb7d081 Line 24: Expected : LAST-MODIFIED:20040518T105729Z Line 24: Actual output : SEQUENCE:0 Line 25: Expected : SUMMARY:Yemassee Graduation Line 25: Actual output : LAST-MODIFIED:20041110T090751Z Line 26: Expected : CLASS:PRIVATE Line 26: Actual output : SUMMARY:Yemassee Graduation Line 27: Expected : PRIORITY:3 Line 27: Actual output : STATUS:CONFIRMED Line 28: Expected : DTSTART;VALUE=DATE:20040528 Line 28: Actual output : CLASS:PRIVATE Line 29: Expected : DTEND;VALUE=DATE:20040529 Line 29: Actual output : PRIORITY:3 Line 30: Expected : TRANSP:OPAQUE Line 30: Actual output : DTSTART;VALUE=DATE:20040528 Line 31: Expected : END:VEVENT Line 31: Actual output : DTEND;VALUE=DATE:20040529 Line 32: Expected : Line 32: Actual output : TRANSP:OPAQUE Line 33: Expected : BEGIN:VEVENT Line 33: Actual output : END:VEVENT Line 34: Expected : DTSTAMP:20040518T105729Z Line 34: Actual output : Line 35: Expected : ORGANIZER:MAILTO: Line 35: Actual output : BEGIN:VEVENT Line 36: Expected : X-MOZILLA-ALARM-DEFAULT-LENGTH:0 Line 36: Actual output : DTSTAMP:20041110T090751Z Line 37: Expected : CREATED:20040518T105729Z Line 37: Actual output : ORGANIZER:MAILTO: Line 38: Expected : UID:896c9eb4-1dd2-11b2-b487-b1bef43989c3 Line 38: Actual output : X-MOZILLA-ALARM-DEFAULT-LENGTH:0 Line 39: Expected : SEQUENCE:0 Line 39: Actual output : CREATED:20041110T090751Z Line 40: Expected : LAST-MODIFIED:20040518T105729Z Line 40: Actual output : UID:896c9eb4-1dd2-11b2-b487-b1bef43989c3 Line 41: Expected : DESCRIPTION:15-501 E Durham\, lt Easttowne Dr\, 3rd left Providence\, 3rd drive Line 41: Actual output : SEQUENCE:0 Line 42: Expected : rt\, up on ste 200 Line 42: Actual output : LAST-MODIFIED:20041110T090751Z Line 43: Expected : SUMMARY:Dental Exam Line 43: Actual output : DESCRIPTION:15-501 E Durham\, lt Easttowne Dr\, 3rd left Providence\, 3rd drive Line 44: Expected : CLASS:PRIVATE Line 44: Actual output : rt\, up on ste 200 Line 45: Expected : PRIORITY:3 Line 45: Actual output : SUMMARY:Dental Exam Line 46: Expected : DTSTART:20040510T090000Z Line 46: Actual output : STATUS:CONFIRMED Line 47: Expected : DTEND:20040510T110000Z Line 47: Actual output : CLASS:PRIVATE Line 48: Expected : TRANSP:OPAQUE Line 48: Actual output : PRIORITY:3 Line 49: Expected : END:VEVENT Line 49: Actual output : DTSTART:20040510T090000Z Line 50: Expected : Line 50: Actual output : DTEND:20040510T110000Z Line 51: Expected : BEGIN:VEVENT Line 51: Actual output : TRANSP:OPAQUE Line 52: Expected : DTSTAMP:20040518T105729Z Line 52: Actual output : END:VEVENT Line 53: Expected : ORGANIZER:MAILTO: Line 53: Actual output : Line 54: Expected : CREATED:20040518T105729Z Line 54: Actual output : BEGIN:VEVENT Line 55: Expected : UID:918141053 Line 55: Actual output : DTSTAMP:20041110T090751Z Line 56: Expected : SEQUENCE:0 Line 56: Actual output : ORGANIZER:MAILTO: Line 57: Expected : LAST-MODIFIED:20040503T202715Z Line 57: Actual output : CREATED:20041110T090751Z Line 58: Expected : SUMMARY:Performance with Anne Line 58: Actual output : UID:918141053 Line 59: Expected : LOCATION:Raleigh Line 59: Actual output : SEQUENCE:0 Line 60: Expected : CLASS:PRIVATE Line 60: Actual output : LAST-MODIFIED:20040503T202715Z Line 61: Expected : PRIORITY:3 Line 61: Actual output : SUMMARY:Performance with Anne Line 62: Expected : DTSTART:20040523T170000Z Line 62: Actual output : LOCATION:Raleigh Line 63: Expected : DTEND:20040523T200000Z Line 63: Actual output : STATUS:CONFIRMED Line 64: Expected : TRANSP:OPAQUE Line 64: Actual output : CLASS:PRIVATE Line 65: Expected : END:VEVENT Line 65: Actual output : PRIORITY:3 Line 66: Expected : Line 66: Actual output : DTSTART:20040523T170000Z Line 67: Expected : BEGIN:VEVENT Line 67: Actual output : DTEND:20040523T200000Z Line 68: Expected : DTSTAMP:20040518T105729Z Line 68: Actual output : TRANSP:OPAQUE Line 69: Expected : ORGANIZER:MAILTO: Line 69: Actual output : END:VEVENT Line 70: Expected : CREATED:20040518T105729Z Line 70: Actual output : Line 71: Expected : UID:06ef0474-1dd2-11b2-853d-cc63771f70dd Line 71: Actual output : BEGIN:VEVENT Line 72: Expected : SEQUENCE:0 Line 72: Actual output : DTSTAMP:20041110T090751Z Line 73: Expected : LAST-MODIFIED:20040504T211728Z Line 73: Actual output : ORGANIZER:MAILTO: Line 74: Expected : SUMMARY:Convivium at 2707 Anderson Dr\, Raleigh\, 27608 Line 74: Actual output : CREATED:20041110T090751Z Line 75: Expected : CLASS:PRIVATE Line 75: Actual output : UID:06ef0474-1dd2-11b2-853d-cc63771f70dd Line 76: Expected : PRIORITY:3 Line 76: Actual output : SEQUENCE:0 Line 77: Expected : DTSTART:20040516T200000Z Line 77: Actual output : LAST-MODIFIED:20040504T211728Z Line 78: Expected : DTEND:20040516T220000Z Line 78: Actual output : SUMMARY:Convivium at 2707 Anderson Dr\, Raleigh\, 27608 Line 79: Expected : TRANSP:OPAQUE Line 79: Actual output : STATUS:CONFIRMED Line 80: Expected : END:VEVENT Line 80: Actual output : CLASS:PRIVATE Line 81: Expected : Line 81: Actual output : PRIORITY:3 Line 82: Expected : END:VCALENDAR Line 82: Actual output : DTSTART:20040516T200000Z Line 83: Expected : Line 83: Actual output : DTEND:20040516T220000Z Line 84: Expected : Line 84: Actual output : TRANSP:OPAQUE Line 85: Expected : Line 85: Actual output : END:VEVENT Line 86: Expected : Line 86: Actual output : Line 87: Expected : Line 87: Actual output : END:VCALENDAR Line 88: Expected : Line 88: Actual output : UNEXPECTED FAIL: 80 errors found, test_Mozilla.ics expected. make[2]: *** [check] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdepim-3.3.1/work/kdepim-3.3.1/libkcal/tests' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdepim-3.3.1/work/kdepim-3.3.1/libkcal' 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. Expected Results: package should compile without errors. [ ~ ]:# emerge info Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 Mobile AMD Athl Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math -fmove-all-movables -funroll-loops -fprefetch-loop-arrays -fforce-addr -mmmx -msse -m3dnow -mfpmath=387 -frename-registers -maccumulate-outgoing-args" CHOST="i686-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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math -fmove-all-movables -funroll-loops -fprefetch-loop-arrays -fforce-addr -mmmx -msse -m3dnow -mfpmath=387 -frename-registers -maccumulate-outgoing-args" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg candy ccache distlocks maketest sandbox sfperms" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/etc/portage/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bonobo cdr crypt cups dedicated divx4linux dts dvd dvdr emacs emacs-w3 encode esd exif f77 fam fbcon flac flash foomaticdb fortran ftp gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib ipv6 java jpeg kde lcms libg++ libwww mad maildir matroska mikmod ming mmx motif mozilla mpeg msn mysql ncurses nls oggvorbis opengl openssl oss pam pdflib perl php png ppds python qt quicktime readline samba sasl scanner sdl slang spell sse ssl svga tcltk tcpd tiff truetype usb videos wxwindows x86 xml xml2 xmms xosd xv xvid zlib"
The solution is to don't use FEATURES=maketest. Some test will fail and this can be normal depending on the nature of the test. You can also report this problem upstream at http://bugs.kde.org and see what the author says.
ok, grazie :)
If it's really _supposed_ to abort, please add RESTRICT="maketest" to the ebuild. Globally deactivating a very useful feature like maketest is _not_ a solution.
Why? Then the tests will never get checked and we'll never know if they fail.
Reported as KDE bug #98066 (http://bugs.kde.org/show_bug.cgi?id=98066).