Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138568 - media-gfx/inkscape-0.44 fails in src_test
Summary: media-gfx/inkscape-0.44 fails in src_test
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-30 03:42 UTC by Jonathan Coome (RETIRED)
Modified: 2007-12-28 22:33 UTC (History)
3 users (show)

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


Attachments
Complete test output (inkscape_src_test_failure,8.81 KB, text/plain)
2006-06-30 03:46 UTC, Jonathan Coome (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Coome (RETIRED) gentoo-dev 2006-06-30 03:42:20 UTC
It's fairly stupid test failure, but it still causes the build to fail. The essence of the failures is:

./svg/stringstream-test.h:10: Error: Expected (s.str() == exp_str), found ("3000000000" != "3e+09")


jc@Asterix ~ $ emerge --info
Portage 2.1.1_pre1-r5 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo x86_64)
=================================================================
System uname: 2.6.17-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.1
dev-lang/python:     2.3.5-r2, 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.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-r2
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="-march=athlon64 -O2 -pipe -fno-ident"
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/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms splitdebug strict test userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk     http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/     http://ftp.heanet.ie/pub/gentoo/     http://pandemonium.tiscali.de/pub/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB"
MAKEOPTS="-j2"
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 /usr/portage/local/layman/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa audiofile berkdb bitmap-fonts bzip2 cairo cdparanoia cdr chroot crypt ctype curl dri dvd dvdr dvdread emul-linux-x86 encode exif expat fam ffmpeg firefox flac ftp gd gdbm gif glut gpm gtk gtk2 iconv imlib jpeg jpeg2k kdeenablefinal kdehiddenvisibility kqemu lesstif libwww mad maildir mbox mng mono mp3 mpeg msn musepack ncurses nls nptl offensive ogg oggvorbis opengl pam pam_chroot pcre pdflib php png python readline sdl spell ssl svg tcpd tetex threads truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis xml2 xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB userland_GNU video_cards_radeon video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jonathan Coome (RETIRED) gentoo-dev 2006-06-30 03:46:17 UTC
Created attachment 90518 [details]
Complete test output
Comment 2 R Stephan 2006-06-30 08:24:24 UTC
interestingly, make check fails in different two parts on my machine. I have just reported this upstream which would be a better strategy for you, too. however, inkscape works regardless. if you want to use it, just remove "test" from your FEATURES.
Comment 3 Matthias Langer 2006-09-22 17:20:07 UTC
i'm also getting test failures:

[...]
Testing bezier-utils.cpp...
        copy_without_nans_or_adjacent_duplicates...OK
        bezier_pt(1)...Assertion `bezier_pt(1, a, ti) == si * a[0] + ti * a[1]' failed
        bezier_pt(2)...OK
        bezier_pt(3)...OK
        compute_max_error_ratio...OK
        chord_length_parameterize...OK
        generate_bezier...OK
        sp_bezier_fit_cubic_full...OK
        sp_bezier_fit_cubic...Warning: got different control points from previously-coded (diffs=0x3c).
 Previous: (5, -3) (7.57134, -0.423509) (4.77929, 1.22426) (3, 3)
 Found:    (5, -3) (7.32396, -0.46791) (5.06163, 1.32841) (3, 3)
TODO: Update this test case for revised right_tangent implementation.
OK
bezier-utils.cpp: FAILED (8/9 tests passed)
FAIL: display/bezier-utils-test
[....]
Testing rotate...
        constructors, comparisons...OK
        operator=...OK
        inverse...Assertion `rot234.inverse() == NR::rotate(-.234)' failed
        operator*(Point, rotate)...OK
        operator*(rotate, rotate)...OK
        operator/(rotate, rotate)...OK
rotate: FAILED (5/6 tests passed)
FAIL: libnr/nr-rotate-test
[...]
====================
2 of 25 tests failed
====================

Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r13 i686)
=================================================================
System uname: 2.6.16-gentoo-r13 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.5
Last Sync: Thu, 21 Sep 2006 09:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.29
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/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/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer 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_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://192.168.0.1/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi alsa audiofile beagle berkdb bitmap-fonts bzip2 cairo cdr cli crypt css cups dbus dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode evo exif fam fbcon ffmpeg firefox flac fortran gdbm gif ginac gmp gnome gphoto2 gpm gstreamer gtk gtk2 hal howl icq input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jpeg jpeg2k kernel_linux lcms ldap libg++ linguas_de linguas_en mad mikmod mime mmx mmxext mozsvg mp3 mpeg msn nautilus ncurses nfs nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pam pcre perl plotutils png posix ppds pppd python qt3 qt4 quicktime readline real reflection ruby sdl session sockets spell spl sqlite3 sse ssl subtitles svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_nvidia vorbis win32codecs wma xine xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Hanno Böck gentoo-dev 2006-10-11 13:23:19 UTC
I've disabled src_test in 0.44.1, obviously this is no fix but just a workaround.