Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83324 - media-gfx/inkscape-0.37: build fails in src_test
Summary: media-gfx/inkscape-0.37: build fails in src_test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-25 11:10 UTC by Sascha Silbe
Modified: 2005-09-16 19:34 UTC (History)
0 users

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 Sascha Silbe 2005-02-25 11:10:12 UTC
NR::scale in libnr fails the operator/(scale, scale) test.


Reproducible: Always
Steps to Reproduce:
1. emerge -v inkscape

Actual Results:  
[...]
make  check-TESTS
make[4]: Entering directory `/var/tmp/portage/portage/inkscape-0.37/work/inkscape-0.37/src/libnr'
Testing Basic NR::Point operations...
        X,Y values...OK
        x,y constructor and operator[] const...OK
        copy constructor...OK
        non-const operator[]...OK
        binary +, -...OK
        unary-...OK
        scale, divide...OK
        dot...OK
        L1, L2, LInfty norms...OK
        operator+=...OK
        operator/=...OK
        normalize...OK
Basic NR::Point operations: OK (all 12 passed)
PASS: nr-types-test
Testing NR::scale...
        x,y constructor and operator[] const...OK
        copy constructor, operator==, operator!=...OK
        operator=...OK
        point constructor...OK
        operator*(Point, scale)...OK
        operator*(scale, scale)...OK
        operator/(scale, scale)...Assertion `sa_b == NR::scale(-0.75, 2./3.)' failed
NR::scale: FAILED (6/7 tests passed)
Testing rotate...
        constructors, comparisons...OK
        operator=...OK
        inverse...OK
        operator*(Point, rotate)...OK
        operator*(rotate, rotate)...OK
        operator/(rotate, rotate)...OK
rotate: OK (all 6 passed)
Testing translate...
        constructors, operator[]...OK
        operator=...OK
        operator*(translate, translate)...OK
        operator*(Point, translate)...OK
        identity...OK
translate: OK (all 5 passed)
Testing Matrix...
        basic constructors, operator=...OK
        scale constructor...OK
        rotate constructor...OK
        translate constructor...OK
        test_identity...OK
        inverse...OK
Matrix: OK (all 6 passed)
FAIL: nr-matrix-test
===================
1 of 2 tests failed
===================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/var/tmp/portage/portage/inkscape-0.37/work/inkscape-0.37/src/libnr'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/portage/inkscape-0.37/work/inkscape-0.37/src/libnr'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/var/tmp/portage/portage/inkscape-0.37/work/inkscape-0.37/src/libnr'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/portage/inkscape-0.37/work/inkscape-0.37/src'
make: *** [check-recursive] Error 1

!!! ERROR: media-gfx/inkscape-0.37 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 run the test suite and install the package.


Gentoo Base System version 1.4.16
Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-infra-r2-cube-1 i686)
=================================================================
System uname: 2.6.10-infra-r2-cube-1 i686 AMD Athlon(tm) XP 1700+
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 02:37:46)]
distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.4_p6, 1.9.4, 1.6.3, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium -mcpu=athlon-tbird -O3 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/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/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/gconf /etc/make.globals /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium -mcpu=athlon-tbird -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks fixpackages sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
LANG="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-local--main--1.0"
SYNC="rsync://hybrid.sascha.silbe.org/gentoo-portage"
USE="x86 3dnow S3TC X acl afs alsa apm avi bash-completion berkdb bitmap-fonts blas bzlib cdr crypt curl doc dvd dvdr emboss encode f77 fam flac font-server foomaticdb fortran gdbm gif gimpprint gtk gtk2 gtkhtml guile hbci imagemagick imap imlib ipv6 j-noaim j-nomsn j-noyahoo jabber jpeg kerberos lapack lcms libg++ libwww lvm1 mad maildir makecheck mbox mikmod mmx monitor mozsvg mpeg mysql nas ncurses nls nodrm offensive oggvorbis opengl oss pam pdflib plotutils png postgres python qt qtmt quicktime readline samba scanner sdl serial skey spell sqlite sse ssl tetex tiff truetype truetype-fonts type1-fonts unicode xml xml2 xv xvid zlib linguas_en,de"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2005-09-16 19:34:38 UTC
There are newer versions of inkscape stable on every arch.  Please try one of
those and reopen with the new information if there is still a problem.