Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108405 - sci-electronics/ng-spice-rework-17: build fails in src_test
Summary: sci-electronics/ng-spice-rework-17: build fails in src_test
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
Whiteboard: Upstream
: 111690 (view as bug list)
Depends on:
Reported: 2005-10-07 09:36 UTC by Sascha Silbe
Modified: 2005-11-14 10:26 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Silbe 2005-10-07 09:36:49 UTC
sci-electronics/ng-spice-rework-17 fails one of the tests because of minor arithmetic differences.
Maybe the reference values just need to be adjusted, but you should double check that with the author.

Reproducible: Always
Steps to Reproduce:
1. emerge -uv --oneshot ng-spice-rework

Actual Results:  
All 14 tests passed
make[6]: Leaving directory `/var/tmp/portage/portage/ng-spice-rework-17/work/ng-spice-rework-17/tests/bsim3/Berk
make[5]: Leaving directory `/var/tmp/portage/portage/ng-spice-rework-17/work/ng-spice-rework-17/tests/bsim3/Berk
Making check in tran_sim
make[5]: Entering directory `/var/tmp/portage/portage/ng-spice-rework-17/work/ng-spice-rework-17/tests/bsim3/Ber
make  check-TESTS
make[6]: Entering directory `/var/tmp/portage/portage/ng-spice-rework-17/work/ng-spice-rework-17/tests/bsim3/Ber
Warning: va: no DC value, transient time 0 value used

No. of Data Rows : 281
--- comparator.out_tmp  2005-10-07 16:56:05.000000000 +0200
+++ comparator.test_tmp 2005-10-07 16:56:05.000000000 +0200
@@ -140,7 +140,7 @@
 114    2.517125e-08    1.437500e+00    0.000000e+00    4.960383e+00
 115    2.517375e-08    1.312500e+00    0.000000e+00    4.960181e+00
 116    2.517875e-08    1.062500e+00    0.000000e+00    4.962232e+00
-117    2.518000e-08    1.000000e+00    0.000000e+00    4.963405e+00
+117    2.518000e-08    1.000000e-00    0.000000e+00    4.963405e+00
 118    2.518250e-08    8.750000e-01    0.000000e+00    4.965961e+00
 119    2.518750e-08    6.250000e-01    0.000000e+00    4.972295e+00
 120    2.518875e-08    5.625000e-01    0.000000e+00    4.974041e+00
@@ -278,7 +278,7 @@
 250    5.517125e-08    1.437500e+00    0.000000e+00    4.960381e+00
 251    5.517375e-08    1.312500e+00    0.000000e+00    4.960179e+00
 252    5.517875e-08    1.062500e+00    0.000000e+00    4.962230e+00
-253    5.518000e-08    1.000000e+00    0.000000e+00    4.963403e+00
+253    5.518000e-08    1.000000e-00    0.000000e+00    4.963403e+00
 254    5.518250e-08    8.750000e-01    0.000000e+00    4.965960e+00
 255    5.518750e-08    6.250000e-01    0.000000e+00    4.972293e+00
 256    5.518875e-08    5.625000e-01    0.000000e+00    4.974039e+00
@@ -577,7 +577,7 @@
 262    5.520700e-08    -9.549288e-07
 263    5.521500e-08    -2.716951e-06
 264    5.522862e-08    -2.420963e-06
-265    5.525202e-08    -3.260433e-09
+265    5.525202e-08    -3.260430e-09
 266    5.528154e-08    1.811732e-06
 267    5.531889e-08    2.757915e-06
 268    5.536123e-08    2.851663e-06
FAIL: comparator.cir
1 of 1 tests failed
Please report to
make[6]: *** [check-TESTS] Error 1
make[6]: Leaving directory `/var/tmp/portage/portage/ng-spice-rework-17/work/ng-spice-rework-17/tests/bsim3/Berk
make[5]: *** [check-am] Error 2
make[5]: Leaving directory `/var/tmp/portage/portage/ng-spice-rework-17/work/ng-spice-rework-17/tests/bsim3/Berk
make[4]: *** [check-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/portage/ng-spice-rework-17/work/ng-spice-rework-17/tests/bsim3/Berk
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/portage/ng-spice-rework-17/work/ng-spice-rework-17/tests/bsim3/Berk
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/portage/ng-spice-rework-17/work/ng-spice-rework-17/tests/bsim3'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/portage/ng-spice-rework-17/work/ng-spice-rework-17/tests'
make: *** [check-recursive] Error 1

!!! ERROR: sci-electronics/ng-spice-rework-17 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 tests and install the package.

Gentoo Base System version 1.6.13
Portage (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, i686)
System uname: i686 AMD Athlon(tm) XP 1700+
distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
CFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/env.d"
CXXFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe"
FEATURES="autoconfig collision-protect distcc distlocks fixpackages sandbox sfperms strict test userpriv usersandbox"
USE="x86 3dnow 3dnowext S3TC X a52 aac accessibility acl afs alsa apm avi bash-completion berkdb bitmap-fonts blas bzip2 bzlib cdparanoia cdr chipcard cjk crypt curl doc dts dv dvd dvdr dvdread ecc eds emboss encode examples fam fame ffmpeg flac foomaticdb fortran gd gdbm geldkarte gif gimpprint gstreamer gtk gtk2 gtkhtml guile hbci imagemagick imap imlib ipv6 j-noaim j-nomsn j-noyahoo jabber jpeg jpeg2k lapack lcms libg++ libwww lm_sensors lvm1 lzo mad maildir makecheck mbox mikmod mjpeg mmx mmxext monitor mozsvg mp3 mpeg mysql nas ncurses nls nodrm offensive ogg oggvorbis openal opengl oss pam pda pdflib plotutils png postgres python qt qtmt quicktime readline samba scanner sdl serial skey smartcard speex spell sqlite sse ssl svg sysfs test tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis win32codecs xine xml xml2 xv xvid yv12 zlib linguas_en,de userland_GNU kernel_linux elibc_glibc"
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-11-04 14:19:26 UTC
Seems like quite a few of the tests are broken - if I fix this one then it fails
further ahead. Can you first check the ebuild works fine for you if you add
RESTRICT="test" to it and then we probably need to let upstream know the test
suite isn't functional.

Comment 2 Tim Yamin (RETIRED) gentoo-dev 2005-11-06 08:04:53 UTC
*** Bug 111690 has been marked as a duplicate of this bug. ***
Comment 3 Sascha Silbe 2005-11-06 10:44:14 UTC
The ebuild works fine if I add the following to the ebuild (RESTRICT is not intended for deactivating features, I've been told):

src_test() {

I cannot test if the installed package works, though, since I have absolutely no experience with spice so far.

Comment 4 Tim Yamin (RETIRED) gentoo-dev 2005-11-06 13:55:15 UTC
InCVS. Will close once I've prodded upstream about this.
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2005-11-14 10:26:22 UTC
Upstream informed.