Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176244 - sci-mathematics/octave-2.1.73-r2 fails tests
Summary: sci-mathematics/octave-2.1.73-r2 fails tests
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-27 13:47 UTC by Bo Ørsted Andresen (RETIRED)
Modified: 2010-06-24 17:27 UTC (History)
0 users

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


Attachments
/var/log/portage/sci-mathematics:octave-2.1.73-r2:20070427-120129.log (sci-mathematics:octave-2.1.73-r2:20070427-120129.log,297.26 KB, text/plain)
2007-04-27 13:48 UTC, Bo Ørsted Andresen (RETIRED)
Details
/var/tmp/portage/sci-mathematics/octave-2.1.73-r2/work/octave-2.1.73/test/octave.log (octave.log,397.19 KB, text/plain)
2007-05-14 22:11 UTC, Bo Ørsted Andresen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-04-27 13:47:16 UTC
# emerge -pv {blas,lapack-atlas} octave
[...]
[ebuild   R   ] sci-libs/blas-atlas-3.7.30  USE="-debug -doc" 0 kB
[ebuild   R   ] sci-libs/lapack-atlas-3.7.30  USE="-debug -doc" 0 kB
[ebuild  N    ] sci-mathematics/octave-2.1.73-r2  USE="readline zlib -debug -doc -emacs -hdf5 -mpi -static" 0 kB

                === octave Summary ===

# of expected passes            618
# of unexpected failures        582
../src/octave version 2.1.73 (i686-pc-linux-gnu).
Copyright (C) 2006 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE.

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

make[2]: *** [check] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-mathematics/octave-2.1.73-r2/work/octave-2.1.73/test'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/octave-2.1.73-r2/work/octave-2.1.73'
make: *** [check] Error 2

!!! ERROR: sci-mathematics/octave-2.1.73-r2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_test
  ebuild.sh, line 1026:   Called qa_call 'src_test'
  ebuild.sh, line 44:   Called src_test
  ebuild.sh, line 653:   Called die

!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/sci-mathematics:octave-2.1.73-r2:20070427-120129.log'.

Portage 2.1.2.4 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20-suspend2-r4 i686)
=================================================================
System uname: 2.6.20-suspend2-r4 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System release 1.12.10
Timestamp of tree: Thu, 26 Apr 2007 00:00:09 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r7
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -Os -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/modules /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/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -Os -pipe -ggdb"
DISTDIR="/opt/distfiles"
FEATURES="buildpkg ccache collision-protect distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict test userfetch userpriv"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo"
LANG="en_GB.utf8"
LINGUAS="da en en_GB"
MAKEOPTS="-j2"
PKGDIR="/opt/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=60"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/repositories/gentoo"
PORTDIR_OVERLAY="/var/repositories/portage /var/repositories/wgetpaste /var/repositories/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi aiglx alsa asf avahi bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cdr cli cracklib crypt css cups dri dvd dvdr emboss encode fam fat fbcon ffmpeg firefox flac fortran gdbm gif gnokii gphoto2 gpm hal i8x0 iconv ieee1394 imagemagick irda irmc isdnlog jfs jpeg kcal kde kdehiddenvisibility lcd libg++ lm_sensors logitech-mouse mad midi mikmod mmx mmxext mp3 mpeg mplayer msn musicbrainz ncurses network network-cron nls nptl nptlonly nsplugin ntfs ogg opengl paludis paludis_hooks_eselect pam pcre pdf perl png ppds pppd python qt3 quicktime rdesktop readline real reflection reiser4 reiserfs ruby scanner sdl session slp sms spell spl sse sse2 ssl subversion svg svga syslog tcpd test tetex tiff truetype truetype-fonts type1-fonts unicode usb vcd vim vim-syntax vorbis wifi win32codecs x86 xcomposite xfs xine xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="da en en_GB" USERLAND="GNU" VIDEO_CARDS="fbdev fglrx i810 radeon vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-04-27 13:48:11 UTC
Created attachment 117407 [details]
/var/log/portage/sci-mathematics:octave-2.1.73-r2:20070427-120129.log
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2007-05-12 16:33:52 UTC
Hi,

Thanks for your report. Could you please try and see if
replacing -Os with -O2 fixes this??

Thanks,
Markus
Comment 3 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-05-13 17:14:03 UTC
(In reply to comment #2)
> Thanks for your report. Could you please try and see if
> replacing -Os with -O2 fixes this??

Sure I can. :) Unfortunately it fails exactly the same both with -O2 and without -ggdb. :/
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2007-05-13 19:49:38 UTC
Thanks for testing! Could you please have a look at octave.log in
/var/tmp/portage/sci-mathematics/octave-2.1.73-r2/work/octave-2.1.73/test
and post some of the relevant errors/failures in an abbreviated file (the whole log
is probably too large to post in its full glory).

Thanks,
Markus
Comment 5 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-05-14 22:11:42 UTC
Created attachment 119277 [details]
/var/tmp/portage/sci-mathematics/octave-2.1.73-r2/work/octave-2.1.73/test/octave.log

Since it isn't really that big I'm attaching all of it. I hope that's ok.
Comment 6 Markus Dittrich (RETIRED) gentoo-dev 2007-05-16 14:17:22 UTC
There's a problem with the routine comparing
the octave output from the tests with the expected result
since the tests actually do pass. E.g. if you look at your ouput
you see that running octave.test/arith/beta-1.m yields ans = 1 
which is the correct result according to octave.test/arith/arith.exp.
I suspect that this is related to UTF8 since you have
LANG="en_GB.utf8". Any chance you could try compiling octave
after switching to plain en_GB/en_US?

cheers,
Markus
Comment 7 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-05-16 18:17:53 UTC
(In reply to comment #6)
> Any chance you could try compiling octave after switching to plain
> en_GB/en_US?

Unfortunately the result is exactly the same. Both with LANG=en_GB and with LANG=C. :/ I see a lot of 'child process exited abnormally' in that file. Not sure if that can be the cause.
Comment 8 Markus Dittrich (RETIRED) gentoo-dev 2007-05-17 11:48:50 UTC
(In reply to comment #7)
> I see a lot of 'child process exited abnormally' in that file. Not
> sure if that can be the cause.
> 

Those are fine since they are actually supposed to fail (note the PASS
after these types of tests). The problems are the ones with "ans=foo"
which the analysis scripts fails to detect as PASS.
I'll have a closer look at it.

Thanks,
Markus
Comment 9 Sébastien Fabbro (RETIRED) gentoo-dev 2010-06-24 17:27:01 UTC
This version is gone from the tree