Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191513 - dev-ruby/ruby-xslt fails with FEATURES="test"
Summary: dev-ruby/ruby-xslt fails with FEATURES="test"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-06 17:07 UTC by Hanno Böck
Modified: 2007-10-31 06:28 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 Hanno Böck gentoo-dev 2007-09-06 17:07:34 UTC
* checking ebuild checksums ;-) ...                                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                                               [ ok ]
 * checking ruby-xslt_0.9.3.tar.gz ;-) ...                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking ruby-xslt_0.9.3.tar.gz to /var/tmp/portage/dev-ruby/ruby-xslt-0.9.3/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-ruby/ruby-xslt-0.9.3/work/ruby-xslt ...
checking for xmlParseDoc() in -lxml2... yes
checking for xsltParseStylesheetFile() in -lxslt... yes
checking for exsltRegisterAll() in -lexslt... yes
creating extconf.h
creating Makefile
/usr/lib64/ruby/1.8/mkmf.rb:1095: warning: global variable `$preload' not initialized
x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -fPIC -g -Wall -I/usr/include/libxml2 -I/usr/include/libxml2 -O2 -march=athlon64 -fstack-protector -pipe  -fPIC -DUSE_ERROR_HANDLER -DUSE_EXSLT  -c extfunc.c
x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -fPIC -g -Wall -I/usr/include/libxml2 -I/usr/include/libxml2 -O2 -march=athlon64 -fstack-protector -pipe  -fPIC -DUSE_ERROR_HANDLER -DUSE_EXSLT  -c parameters.c
x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -fPIC -g -Wall -I/usr/include/libxml2 -I/usr/include/libxml2 -O2 -march=athlon64 -fstack-protector -pipe  -fPIC -DUSE_ERROR_HANDLER -DUSE_EXSLT  -c parser.c
x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -fPIC -g -Wall -I/usr/include/libxml2 -I/usr/include/libxml2 -O2 -march=athlon64 -fstack-protector -pipe  -fPIC -DUSE_ERROR_HANDLER -DUSE_EXSLT  -c rb_utils.c
x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -fPIC -g -Wall -I/usr/include/libxml2 -I/usr/include/libxml2 -O2 -march=athlon64 -fstack-protector -pipe  -fPIC -DUSE_ERROR_HANDLER -DUSE_EXSLT  -c xslt_lib.c
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -L'/usr/lib64' -Wl,-R'/usr/lib64' -o xslt_lib.so extfunc.o parameters.o parser.o rb_utils.o xslt_lib.o  -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -L. -lruby18 -lexslt -lxslt -lxml2  -ldl -lcrypt -lm   -lc
>>> Source compiled.
>>> Test phase [test]: dev-ruby/ruby-xslt-0.9.3
Loaded suite test
Started
............F
Finished in 0.426956 seconds.

  1) Failure:
test_transformation_error(XsltTest) [test.rb:163]:
<XML::XSLT::TransformationError> exception expected but none was thrown.

13 tests, 19 assertions, 1 failures, 0 errors
make: *** [test] Fehler 1

!!! ERROR: dev-ruby/ruby-xslt-0.9.3 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_test
  ebuild.sh, line 1047:   Called qa_call 'src_test'
  ebuild.sh, line 44:   Called src_test
  ebuild.sh, line 671:   Called die



zucker portage # emerge --info
Portage 2.1.2.12 (default-linux/amd64/2006.1/no-multilib, gcc-4.1.2, glibc-2.5-r4, 2.6.21.6-grsec x86_64)
=================================================================
System uname: 2.6.21.6-grsec x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 06 Sep 2007 00:00:09 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -fstack-protector -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon64 -fstack-protector -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict suidctl test"
GENTOO_MIRRORS="ftp://mirror.q-mex.net/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/keks"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip acl amd64 apache2 bash-completion bzip2 cgi cli cracklib crypt ctype curl doc exif fam fastcgi filter ftp gd gif gpgme hash iconv idn imagemagick imap iproute2 ipv6 jpeg json leim logrotate mailwrapper memcache mhash mpm-prefork mysql mysqli ncurses nls no-old-linux nptl nptlonly openssl pam pcre pdo perl php pic png pop python qdbm readline reflection ruby sensord session sidebar simplexml smtp soap spell spl sqlite sqlite3 ssl static-modules suhosin test tiff tools truetype unicode userlocales webdav xattr xml xmlrpc zip zlib" ELIBC="glibc" KERNEL="linux" LINGUAS="de en" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Hans de Graaff gentoo-dev Security 2007-09-15 07:51:57 UTC
I've "fixed" this by restricting the tests for now. I had a brief look at the tests, but I don't know anything about this library or XSLT, so I could not easily come up with a fix. Upstream doesn't have a bug tracker, but I've sent him an email about this bug.
Comment 2 Hanno Böck gentoo-dev 2007-10-31 01:57:45 UTC
I think you forgot committing, ruby-xslt has no test restriction in the tree.
Comment 3 Hans de Graaff gentoo-dev Security 2007-10-31 06:28:45 UTC
You are right, I did forget to actually commit the changed code. Committed now, thanks for the reminder.