[DRE-maint] Bug#673661: ruby-json: FTBFS in sid: 3 failures,
Samuel Thibault
sthibault at debian.org
Sun May 20 14:45:10 UTC 2012
Source: ruby-json
Version: 1.6.3-1
Severity: serious
Justification: FTBFS
Hello,
ruby-json currently FTBFS in sid in the testsuite:
1) Failure:
test_load(TC_JSON) [tests/test_json.rb:421]:
<{"a"=>2,
"b"=>3.141,
"c"=>"c",
"d"=>[1, "b", 3.14],
"e"=>{"foo"=>"bar"},
"g"=>"\"\u0000\u001F",
"h"=>1000.0,
"i"=>0.001}> expected but was
<{"a"=>2,
"b"=>3.141,
"c"=>"c",
"d"=>[1, "b", 3.14],
"e"=>{"foo"=>"bar"},
"g"=>"\"\xC6\xC6",
"h"=>1000.0,
"i"=>0.001}>.
2) Failure:
test_parse_values(TC_JSON) [tests/test_json.rb:177]:
<["\"\b\n\r\t\u0000\u001F"]> expected but was
<["\"\b\n\r\t\xD8\xD8"]>.
3) Failure:
test_parser_reset(TC_JSON) [tests/test_json.rb:294]:
<{"a"=>2,
"b"=>3.141,
"c"=>"c",
"d"=>[1, "b", 3.14],
"e"=>{"foo"=>"bar"},
"g"=>"\"\u0000\u001F",
"h"=>1000.0,
"i"=>0.001}> expected but was
<{"a"=>2,
"b"=>3.141,
"c"=>"c",
"d"=>[1, "b", 3.14],
"e"=>{"foo"=>"bar"},
"g"=>"\"\xC6\xC6",
"h"=>1000.0,
"i"=>0.001}>.
26 tests, 1621 assertions, 3 failures, 0 errors, 0 skips
debian/ruby-tests.rb:5:in `<main>': unhandled exception
ERROR: Test "ruby1.9.1" failed. Exiting.
See attached full log.
Samuel
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.4 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--
Samuel Thibault <samuel.thibault at fnac.net>
quit When the quit statement is read, the bc processor
is terminated, regardless of where the quit state-
ment is found. For example, "if (0 == 1) quit"
will cause bc to terminate.
(Seen in the manpage for "bc". Note the "if" statement's logic)
-------------- next part --------------
W: /home/samy/.pbuilderrc does not exist
dpkg-buildpackage: source package ruby-json
dpkg-buildpackage: source version 1.6.3-1
dpkg-buildpackage: source changed by Lucas Nussbaum <lucas at debian.org>
dpkg-source -i -I --before-build ruby-json-1.6.3
fakeroot debian/rules clean
dh clean --buildsystem=ruby --with ruby
dh_testdir -O--buildsystem=ruby
debian/rules override_dh_auto_clean
make[1]: Entering directory `/tmp/ruby-json-1.6.3'
dh_auto_clean
Entering dh_ruby --clean
Leaving dh_ruby --clean
cd ext/json/ext && rm -f parser.so generator.so
make[1]: Leaving directory `/tmp/ruby-json-1.6.3'
dh_clean -O--buildsystem=ruby
dpkg-source -i -I -b ruby-json-1.6.3
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building ruby-json using existing ./ruby-json_1.6.3.orig.tar.gz
dpkg-source: info: building ruby-json in ruby-json_1.6.3-1.debian.tar.gz
dpkg-source: info: building ruby-json in ruby-json_1.6.3-1.dsc
dpkg-genchanges -S >../ruby-json_1.6.3-1_source.changes
dpkg-genchanges: including full source code in upload
dpkg-source -i -I --after-build ruby-json-1.6.3
dpkg-buildpackage: full upload (original source is included)
W: /home/samy/.pbuilderrc does not exist
I: using fakeroot in build.
I: Current time: Sun May 20 16:41:26 CEST 2012
I: pbuilder-time-stamp: 1337524886
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: Mounting /var/cache/pbuilder/ccache
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Setting up ccache
I: Installing the build-deps
-> Attempting to satisfy build-dependencies
-> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-maint at lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
This package was created automatically by pbuilder to satisfy the
build-dependencies of the package being currently built.
Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.6~)
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 11948 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from .../pbuilder-satisfydepends-dummy.deb) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
pbuilder-satisfydepends-dummy depends on debhelper (>= 7.0.50~); however:
Package debhelper is not installed.
pbuilder-satisfydepends-dummy depends on gem2deb (>= 0.2.6~); however:
Package gem2deb is not installed.
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
The following NEW packages will be installed:
bsdmainutils{a} debhelper{a} devscripts{a} file{a} gem2deb{a} gettext{a}
gettext-base{a} groff-base{a} html2text{a} intltool-debian{a}
libasprintf0c2{a} libcroco3{a} libexpat1{a} libffi5{a} libgettextpo0{a}
libglib2.0-0{a} libmagic1{a} libpcre3{a} libpipeline1{a} libreadline5{a}
libruby1.8{a} libruby1.9.1{a} libssl1.0.0{a} libunistring0{a} libxml2{a}
libyaml-0-2{a} man-db{a} mime-support{a} po-debconf{a} python{a}
python-minimal{a} python2.7{a} python2.7-minimal{a} ruby1.8{a}
ruby1.8-dev{a} ruby1.9.1{a} ruby1.9.1-dev{a} rubygems{a} rubygems1.8{a}
0 packages upgraded, 39 newly installed, 0 to remove and 0 not upgraded.
Need to get 6339 kB/26.6 MB of archives. After unpacking 76.7 MB will be used.
Writing extended state information...
Get: 1 http://debian.med.univ-tours.fr/debian/ sid/main rubygems all 1.8.15-1 [471 kB]
Get: 2 http://debian.med.univ-tours.fr/debian/ sid/main rubygems1.8 all 1.8.15-1 [28.0 kB]
Get: 3 http://debian.med.univ-tours.fr/debian/ sid/main libruby1.9.1 amd64 1.9.3.0-2.1 [4253 kB]
Get: 4 http://debian.med.univ-tours.fr/debian/ sid/main ruby1.9.1 amd64 1.9.3.0-2.1 [190 kB]
Get: 5 http://debian.med.univ-tours.fr/debian/ sid/main ruby1.9.1-dev amd64 1.9.3.0-2.1 [1357 kB]
Get: 6 http://debian.med.univ-tours.fr/debian/ sid/main gem2deb all 0.2.13 [40.1 kB]
Fetched 6339 kB in 1min 33s (67.9 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpipeline1:amd64.
(Reading database ... 11948 files and directories currently installed.)
Unpacking libpipeline1:amd64 (from .../libpipeline1_1.2.1-1_amd64.deb) ...
Selecting previously unselected package libssl1.0.0:amd64.
Unpacking libssl1.0.0:amd64 (from .../libssl1.0.0_1.0.1c-1_amd64.deb) ...
Selecting previously unselected package libasprintf0c2:amd64.
Unpacking libasprintf0c2:amd64 (from .../libasprintf0c2_0.18.1.1-8_amd64.deb) ...
Selecting previously unselected package libmagic1:amd64.
Unpacking libmagic1:amd64 (from .../libmagic1_5.11-1_amd64.deb) ...
Selecting previously unselected package libpcre3:amd64.
Unpacking libpcre3:amd64 (from .../libpcre3_1%3a8.30-5_amd64.deb) ...
Selecting previously unselected package libxml2:amd64.
Unpacking libxml2:amd64 (from .../libxml2_2.7.8.dfsg-9_amd64.deb) ...
Selecting previously unselected package libffi5:amd64.
Unpacking libffi5:amd64 (from .../libffi5_3.0.10-3_amd64.deb) ...
Selecting previously unselected package libglib2.0-0:amd64.
Unpacking libglib2.0-0:amd64 (from .../libglib2.0-0_2.32.3-1_amd64.deb) ...
Selecting previously unselected package libcroco3:amd64.
Unpacking libcroco3:amd64 (from .../libcroco3_0.6.5-1_amd64.deb) ...
Selecting previously unselected package libexpat1:amd64.
Unpacking libexpat1:amd64 (from .../libexpat1_2.1.0-1_amd64.deb) ...
Selecting previously unselected package libunistring0:amd64.
Unpacking libunistring0:amd64 (from .../libunistring0_0.9.3-5_amd64.deb) ...
Selecting previously unselected package libgettextpo0:amd64.
Unpacking libgettextpo0:amd64 (from .../libgettextpo0_0.18.1.1-8_amd64.deb) ...
Selecting previously unselected package libreadline5:amd64.
Unpacking libreadline5:amd64 (from .../libreadline5_5.2-11_amd64.deb) ...
Selecting previously unselected package libyaml-0-2:amd64.
Unpacking libyaml-0-2:amd64 (from .../libyaml-0-2_0.1.4-2_amd64.deb) ...
Selecting previously unselected package bsdmainutils.
Unpacking bsdmainutils (from .../bsdmainutils_9.0.2_amd64.deb) ...
Selecting previously unselected package groff-base.
Unpacking groff-base (from .../groff-base_1.21-7_amd64.deb) ...
Selecting previously unselected package man-db.
Unpacking man-db (from .../man-db_2.6.1-2_amd64.deb) ...
Selecting previously unselected package file.
Unpacking file (from .../archives/file_5.11-1_amd64.deb) ...
Selecting previously unselected package gettext-base.
Unpacking gettext-base (from .../gettext-base_0.18.1.1-8_amd64.deb) ...
Selecting previously unselected package mime-support.
Unpacking mime-support (from .../mime-support_3.52-1_all.deb) ...
Selecting previously unselected package python2.7-minimal.
Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.3~rc2-2.1_amd64.deb) ...
Selecting previously unselected package python2.7.
Unpacking python2.7 (from .../python2.7_2.7.3~rc2-2.1_amd64.deb) ...
Selecting previously unselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.7.2-10_all.deb) ...
Selecting previously unselected package python.
Unpacking python (from .../python_2.7.2-10_all.deb) ...
Selecting previously unselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ...
Selecting previously unselected package gettext.
Unpacking gettext (from .../gettext_0.18.1.1-8_amd64.deb) ...
Selecting previously unselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously unselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ...
Selecting previously unselected package debhelper.
Unpacking debhelper (from .../debhelper_9.20120518_all.deb) ...
Selecting previously unselected package devscripts.
Unpacking devscripts (from .../devscripts_2.11.7_amd64.deb) ...
Selecting previously unselected package libruby1.8.
Unpacking libruby1.8 (from .../libruby1.8_1.8.7.358-2_amd64.deb) ...
Selecting previously unselected package ruby1.8.
Unpacking ruby1.8 (from .../ruby1.8_1.8.7.358-2_amd64.deb) ...
Selecting previously unselected package rubygems.
Unpacking rubygems (from .../rubygems_1.8.15-1_all.deb) ...
Selecting previously unselected package rubygems1.8.
Unpacking rubygems1.8 (from .../rubygems1.8_1.8.15-1_all.deb) ...
Selecting previously unselected package ruby1.8-dev.
Unpacking ruby1.8-dev (from .../ruby1.8-dev_1.8.7.358-2_amd64.deb) ...
Selecting previously unselected package libruby1.9.1.
Unpacking libruby1.9.1 (from .../libruby1.9.1_1.9.3.0-2.1_amd64.deb) ...
Selecting previously unselected package ruby1.9.1.
Unpacking ruby1.9.1 (from .../ruby1.9.1_1.9.3.0-2.1_amd64.deb) ...
Selecting previously unselected package ruby1.9.1-dev.
Unpacking ruby1.9.1-dev (from .../ruby1.9.1-dev_1.9.3.0-2.1_amd64.deb) ...
Selecting previously unselected package gem2deb.
Unpacking gem2deb (from .../gem2deb_0.2.13_all.deb) ...
Setting up libpipeline1:amd64 (1.2.1-1) ...
Setting up libssl1.0.0:amd64 (1.0.1c-1) ...
Setting up libasprintf0c2:amd64 (0.18.1.1-8) ...
Setting up libmagic1:amd64 (5.11-1) ...
Setting up libpcre3:amd64 (1:8.30-5) ...
Setting up libxml2:amd64 (2.7.8.dfsg-9) ...
Setting up libffi5:amd64 (3.0.10-3) ...
Setting up libglib2.0-0:amd64 (2.32.3-1) ...
No schema files found: doing nothing.
Setting up libcroco3:amd64 (0.6.5-1) ...
Setting up libexpat1:amd64 (2.1.0-1) ...
Setting up libunistring0:amd64 (0.9.3-5) ...
Setting up libgettextpo0:amd64 (0.18.1.1-8) ...
Setting up libreadline5:amd64 (5.2-11) ...
Setting up libyaml-0-2:amd64 (0.1.4-2) ...
Setting up bsdmainutils (9.0.2) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode.
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode.
Setting up groff-base (1.21-7) ...
Setting up man-db (2.6.1-2) ...
Building database of manual pages ...
Setting up file (5.11-1) ...
Setting up gettext-base (0.18.1.1-8) ...
Setting up mime-support (3.52-1) ...
update-alternatives: using /usr/bin/see to provide /usr/bin/view (view) in auto mode.
Setting up python2.7-minimal (2.7.3~rc2-2.1) ...
Setting up python2.7 (2.7.3~rc2-2.1) ...
Setting up python-minimal (2.7.2-10) ...
Setting up python (2.7.2-10) ...
Setting up html2text (1.3.2a-15) ...
Setting up gettext (0.18.1.1-8) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu2) ...
Setting up debhelper (9.20120518) ...
Setting up devscripts (2.11.7) ...
Setting up libruby1.8 (1.8.7.358-2) ...
Setting up ruby1.8 (1.8.7.358-2) ...
update-alternatives: using /usr/bin/ruby1.8 to provide /usr/bin/ruby (ruby) in auto mode.
Setting up rubygems (1.8.15-1) ...
Setting up rubygems1.8 (1.8.15-1) ...
Setting up ruby1.8-dev (1.8.7.358-2) ...
Setting up libruby1.9.1 (1.9.3.0-2.1) ...
Setting up ruby1.9.1 (1.9.3.0-2.1) ...
Setting up ruby1.9.1-dev (1.9.3.0-2.1) ...
Setting up gem2deb (0.2.13) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
-> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
fakeroot
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/109 kB of archives.
After this operation, 324 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
fakeroot
debconf: delaying package configuration, since apt-utils is not installed
Authentication warning overridden.
Selecting previously unselected package fakeroot.
(Reading database ... 16554 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.18.3-1_amd64.deb) ...
Processing triggers for man-db ...
Setting up fakeroot (1.18.3-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
I: Copying back the cached apt archive contents
I: new cache content rubygems_1.8.15-1_all.deb added
I: new cache content libruby1.9.1_1.9.3.0-2.1_amd64.deb added
I: new cache content ruby1.9.1-dev_1.9.3.0-2.1_amd64.deb added
I: new cache content rubygems1.8_1.8.15-1_all.deb added
I: new cache content gem2deb_0.2.13_all.deb added
I: new cache content ruby1.9.1_1.9.3.0-2.1_amd64.deb added
I: Copying source file
I: copying [../ruby-json_1.6.3-1.dsc]
I: copying [../ruby-json_1.6.3.orig.tar.gz]
I: copying [../ruby-json_1.6.3-1.debian.tar.gz]
I: Extracting source
dpkg-source: warning: extracting unsigned source package (ruby-json_1.6.3-1.dsc)
dpkg-source: info: extracting ruby-json in ruby-json-1.6.3
dpkg-source: info: unpacking ruby-json_1.6.3.orig.tar.gz
dpkg-source: info: unpacking ruby-json_1.6.3-1.debian.tar.gz
dpkg-source: info: applying 02-fix-fuzz.rb-shebang.patch
dpkg-source: info: applying 04-fix-tests-path.patch
I: Building the package
I: Running cd tmp/buildd/*/ && env PATH="/usr/lib/ccache:/usr/sbin:/usr/bin:/sbin:/bin" dpkg-buildpackage -us -uc -i -I -rfakeroot
dpkg-buildpackage: source package ruby-json
dpkg-buildpackage: source version 1.6.3-1
dpkg-buildpackage: source changed by Lucas Nussbaum <lucas at debian.org>
dpkg-source -i -I --before-build ruby-json-1.6.3
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean --buildsystem=ruby --with ruby
dh_testdir -O--buildsystem=ruby
debian/rules override_dh_auto_clean
make[1]: Entering directory `/tmp/buildd/ruby-json-1.6.3'
dh_auto_clean
Entering dh_ruby --clean
Leaving dh_ruby --clean
cd ext/json/ext && rm -f parser.so generator.so
make[1]: Leaving directory `/tmp/buildd/ruby-json-1.6.3'
dh_clean -O--buildsystem=ruby
dpkg-source -i -I -b ruby-json-1.6.3
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building ruby-json using existing ./ruby-json_1.6.3.orig.tar.gz
dpkg-source: info: building ruby-json in ruby-json_1.6.3-1.debian.tar.gz
dpkg-source: info: building ruby-json in ruby-json_1.6.3-1.dsc
debian/rules build
dh build --buildsystem=ruby --with ruby
dh_testdir -O--buildsystem=ruby
dh_auto_configure -O--buildsystem=ruby
dh_auto_build -O--buildsystem=ruby
dh_auto_test -O--buildsystem=ruby
fakeroot debian/rules binary
dh binary --buildsystem=ruby --with ruby
dh_testroot -O--buildsystem=ruby
dh_prep -O--buildsystem=ruby
dh_installdirs -O--buildsystem=ruby
debian/rules override_dh_auto_install
make[1]: Entering directory `/tmp/buildd/ruby-json-1.6.3'
cd ext/json/ext && \
ln -s parser/parser.so parser.so && \
ln -s generator/generator.so generator.so
dh_auto_install
Entering dh_ruby --install
install -d /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby
install -D -m644 lib/json/pure.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/pure.rb
install -D -m644 lib/json/add/exception.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/add/exception.rb
install -D -m644 lib/json/add/rational.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/add/rational.rb
install -D -m644 lib/json/add/ostruct.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/add/ostruct.rb
install -D -m644 lib/json/add/date_time.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/add/date_time.rb
install -D -m644 lib/json/add/date.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/add/date.rb
install -D -m644 lib/json/add/range.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/add/range.rb
install -D -m644 lib/json/add/symbol.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/add/symbol.rb
install -D -m644 lib/json/add/complex.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/add/complex.rb
install -D -m644 lib/json/add/time.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/add/time.rb
install -D -m644 lib/json/add/struct.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/add/struct.rb
install -D -m644 lib/json/add/regexp.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/add/regexp.rb
install -D -m644 lib/json/add/bigdecimal.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/add/bigdecimal.rb
install -D -m644 lib/json/add/core.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/add/core.rb
install -D -m644 lib/json/ext.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/ext.rb
install -D -m644 lib/json/version.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/version.rb
install -D -m644 lib/json/common.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/common.rb
install -D -m644 lib/json/pure/generator.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/pure/generator.rb
install -D -m644 lib/json/pure/parser.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json/pure/parser.rb
install -D -m644 lib/json.rb /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/json.rb
Building extension for ruby1.9.1 ...
/usr/bin/ruby1.9.1 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb ruby-json
/usr/bin/ruby1.9.1 extconf.rb
creating Makefile
make
make[2]: Entering directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/parser'
compiling parser.c
In file included from parser.rl:1:0:
../fbuffer/fbuffer.h:129:13: warning: 'fbuffer_append_long' defined but not used [-Wunused-function]
../fbuffer/fbuffer.h:136:17: warning: 'fbuffer_dup' defined but not used [-Wunused-function]
../fbuffer/fbuffer.h:149:14: warning: 'fbuffer_to_s' defined but not used [-Wunused-function]
In file included from parser.rl:1:0:
../fbuffer/fbuffer.h:90:13: warning: 'fbuffer_append_str' defined but not used [-Wunused-function]
linking shared-object json/ext/parser.so
make[2]: Leaving directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/parser'
make install
make[2]: Entering directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/parser'
/usr/bin/install -c -m 0755 parser.so /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/1.9.1/x86_64-linux/json/ext
installing default parser libraries
make[2]: Leaving directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/parser'
/usr/bin/ruby1.9.1 extconf.rb
creating Makefile
make
make[2]: Entering directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/generator'
compiling generator.c
generator.c: In function 'cState_aref':
generator.c:632:27: warning: variable 'state' set but not used [-Wunused-but-set-variable]
linking shared-object json/ext/generator.so
make[2]: Leaving directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/generator'
make install
make[2]: Entering directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/generator'
/usr/bin/install -c -m 0755 generator.so /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/1.9.1/x86_64-linux/json/ext
installing default generator libraries
make[2]: Leaving directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/generator'
Building extension for ruby1.8 ...
/usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb ruby-json
make[2]: Entering directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/parser'
make[2]: Leaving directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/parser'
make[2]: Entering directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/parser'
make[2]: Leaving directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/parser'
/usr/bin/ruby1.8 extconf.rb
creating Makefile
make
make[2]: Entering directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/parser'
gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux -I. -D_FORTIFY_SOURCE=2 -fPIC -g -O3 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -fno-strict-aliasing -g -g -O3 -fPIC -Wall -c parser.c
In file included from parser.rl:1:0:
../fbuffer/fbuffer.h:129:13: warning: 'fbuffer_append_long' defined but not used [-Wunused-function]
../fbuffer/fbuffer.h:136:17: warning: 'fbuffer_dup' defined but not used [-Wunused-function]
../fbuffer/fbuffer.h:149:14: warning: 'fbuffer_to_s' defined but not used [-Wunused-function]
../fbuffer/fbuffer.h:90:13: warning: 'fbuffer_append_str' defined but not used [-Wunused-function]
gcc -shared -o parser.so parser.o -L. -L/usr/lib -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -lruby1.8 -lpthread -lrt -ldl -lcrypt -lm -lc
make[2]: Leaving directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/parser'
make install
make[2]: Entering directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/parser'
mkdir -p /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/1.8/x86_64-linux/json/ext
/usr/bin/install -c -m 0755 parser.so /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/1.8/x86_64-linux/json/ext
make[2]: Leaving directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/parser'
make[2]: Entering directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/generator'
make[2]: Leaving directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/generator'
make[2]: Entering directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/generator'
make[2]: Leaving directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/generator'
/usr/bin/ruby1.8 extconf.rb
creating Makefile
make
make[2]: Entering directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/generator'
gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux -I. -D_FORTIFY_SOURCE=2 -fPIC -g -O3 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -fno-strict-aliasing -g -g -O3 -fPIC -Wall -c generator.c
generator.c: In function 'cState_aref':
generator.c:632:27: warning: variable 'state' set but not used [-Wunused-but-set-variable]
gcc -shared -o generator.so generator.o -L. -L/usr/lib -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -lruby1.8 -lpthread -lrt -ldl -lcrypt -lm -lc
make[2]: Leaving directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/generator'
make install
make[2]: Entering directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/generator'
/usr/bin/install -c -m 0755 generator.so /tmp/buildd/ruby-json-1.6.3/debian/ruby-json/usr/lib/ruby/vendor_ruby/1.8/x86_64-linux/json/ext
make[2]: Leaving directory `/tmp/buildd/ruby-json-1.6.3/ext/json/ext/generator'
/usr/bin/ruby1.9.1 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
"-Idebian/ruby-json//usr/lib/ruby/vendor_ruby -Idebian/ruby-json//usr/lib/ruby/vendor_ruby/1.9.1 -Idebian/ruby-json//usr/lib/ruby/vendor_ruby/1.9.1/x86_64-linux -Idebian/ruby-json//usr/lib/ruby/vendor_ruby -I. -I/usr/local/lib/site_ruby/1.9.1 -I/usr/local/lib/site_ruby/1.9.1/x86_64-linux -I/usr/local/lib/site_ruby -I/usr/lib/ruby/vendor_ruby/1.9.1 -I/usr/lib/ruby/vendor_ruby/1.9.1/x86_64-linux -I/usr/lib/ruby/vendor_ruby -I/usr/lib/ruby/1.9.1 -I/usr/lib/ruby/1.9.1/x86_64-linux"
Pure version of the tests
Run options:
# Running tests:
..........F...........FF..
Finished tests in 0.115779s, 224.5653 tests/s, 14000.7809 assertions/s.
1) Failure:
test_load(TC_JSON) [tests/test_json.rb:421]:
<{"a"=>2,
"b"=>3.141,
"c"=>"c",
"d"=>[1, "b", 3.14],
"e"=>{"foo"=>"bar"},
"g"=>"\"\u0000\u001F",
"h"=>1000.0,
"i"=>0.001}> expected but was
<{"a"=>2,
"b"=>3.141,
"c"=>"c",
"d"=>[1, "b", 3.14],
"e"=>{"foo"=>"bar"},
"g"=>"\"\xC6\xC6",
"h"=>1000.0,
"i"=>0.001}>.
2) Failure:
test_parse_values(TC_JSON) [tests/test_json.rb:177]:
<["\"\b\n\r\t\u0000\u001F"]> expected but was
<["\"\b\n\r\t\xD8\xD8"]>.
3) Failure:
test_parser_reset(TC_JSON) [tests/test_json.rb:294]:
<{"a"=>2,
"b"=>3.141,
"c"=>"c",
"d"=>[1, "b", 3.14],
"e"=>{"foo"=>"bar"},
"g"=>"\"\u0000\u001F",
"h"=>1000.0,
"i"=>0.001}> expected but was
<{"a"=>2,
"b"=>3.141,
"c"=>"c",
"d"=>[1, "b", 3.14],
"e"=>{"foo"=>"bar"},
"g"=>"\"\xC6\xC6",
"h"=>1000.0,
"i"=>0.001}>.
26 tests, 1621 assertions, 3 failures, 0 errors, 0 skips
debian/ruby-tests.rb:5:in `<main>': unhandled exception
ERROR: Test "ruby1.9.1" failed. Exiting.
dh_auto_install: dh_ruby --install /tmp/buildd/ruby-json-1.6.3/debian/tmp returned exit code 1
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory `/tmp/buildd/ruby-json-1.6.3'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//23031 and its subdirectories
More information about the Pkg-ruby-extras-maintainers
mailing list