Your message dated Tue, 06 May 2014 00:04:11 +0000 with message-id <[email protected]> and subject line Bug#741576: fixed in ruby-bdb 0.6.6-1 has caused the Debian Bug report #741576, regarding ruby-bdb: FTBFS (on AMD64): Test failures to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 741576: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741576 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: ruby-bdb Version: 0.6.6-1 Severity: serious Justification: FTBFS on amd64 Attempting to build this package on AMD64, I got the following results: --------------------8<--------------------8<-------------------- /usr/bin/install -c -m 0755 bdb.so ./.gem.20140313-22704-1exw4lh make[1]: Leaving directory `/home/gwolf/vcs/build-area/ruby-bdb-0.6.6/src' Running tests for ruby1.9.1 using debian/ruby-tests.rb... VERSION of BDB is Berkeley DB 5.3.28: (September 9, 2013) Run options: # Running tests: ............ Finished tests in 0.561218s, 21.3821 tests/s, 4124.9583 assertions/s. 12 tests, 2315 assertions, 0 failures, 0 errors, 0 skips VERSION of BDB is Berkeley DB 5.3.28: (September 9, 2013) Run options: # Running tests: ..................EEEE. Finished tests in 4.073800s, 5.6458 tests/s, 1880.0627 assertions/s. 1) Error: test_18_hash_delete(TestHash): RangeError: integer -1893907612379325628 too small to convert to `unsigned int' tests/hash.rb:387:in `initialize' tests/hash.rb:387:in `new' tests/hash.rb:387:in `open' tests/hash.rb:387:in `test_18_hash_delete' 2) Error: test_18_index(TestHash): BDB::Fatal: closed DB tests/hash.rb:400:in `index' tests/hash.rb:400:in `block in test_18_index' tests/hash.rb:397:in `times' tests/hash.rb:397:in `test_18_index' 3) Error: test_19_convert(TestHash): BDB::Fatal: closed DB tests/hash.rb:409:in `to_hash' tests/hash.rb:409:in `test_19_convert' 4) Error: test_20_blurb(TestHash): BDB::Fatal: closed DB tests/hash.rb:426:in `each' tests/hash.rb:426:in `test_20_blurb' 23 tests, 7659 assertions, 0 failures, 4 errors, 0 skips ERROR: Test "ruby1.9.1" failed. Exiting. dh_auto_install: dh_ruby --install /home/gwolf/vcs/build-area/ruby-bdb-0.6.6/debian/ruby-bdb returned exit code 1 make: *** [binary] Error 1 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 --------------------8<--------------------8<-------------------- Setting $VERBOSE=1 in tests/hash.rb yields the following results with Ruby 1.9.1: --------------------8<--------------------8<-------------------- $ ruby1.9.1 -e '$:<<"../../build-area/ruby-bdb-0.6.6/debian/ruby-bdb/usr/lib/ruby/vendor_ruby/1.9.1//x86_64-linux/"; require "./tests/hash"' VERSION of BDB is Berkeley DB 5.3.28: (September 9, 2013) Run options: # Running tests: ..................E/home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:400: warning: Hash#index is deprecated; use Hash#key EE. Finished tests in 3.898375s, 5.6434 tests/s, 1967.7432 assertions/s. 1) Error: test_18_hash_delete(TestHash): RangeError: integer -3058836581575265859 too small to convert to `unsigned int' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:387:in `initialize' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:387:in `new' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:387:in `open' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:387:in `test_18_hash_delete' 2) Error: test_18_index(TestHash): BDB::Fatal: closed DB /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:400:in `index' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:400:in `block in test_18_index' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:397:in `times' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:397:in `test_18_index' 3) Error: test_19_convert(TestHash): BDB::Fatal: closed DB /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:409:in `to_hash' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:409:in `test_19_convert' 22 tests, 7671 assertions, 0 failures, 3 errors, 0 skips --------------------8<--------------------8<-------------------- And with Ruby 2.0: --------------------8<--------------------8<-------------------- $ ruby2.0 -e '$:<<"../../build-area/ruby-bdb-0.6.6/debian/ruby-bdb/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.0.0/"; require "./tests/hash"' VERSION of BDB is Berkeley DB 5.3.28: (September 9, 2013) Run options: # Running tests: [19/22] TestHash#test_18_hash_delete = 0.00 s 1) Error: test_18_hash_delete(TestHash): RangeError: integer 3180312599820893546 too big to convert to `unsigned int' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:387:in `initialize' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:387:in `new' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:387:in `open' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:387:in `test_18_hash_delete' /usr/lib/ruby/2.0.0/minitest/unit.rb:1301:in `run' /usr/lib/ruby/2.0.0/test/unit/testcase.rb:17:in `run' /usr/lib/ruby/2.0.0/minitest/unit.rb:919:in `block in _run_suite' /usr/lib/ruby/2.0.0/minitest/unit.rb:912:in `map' /usr/lib/ruby/2.0.0/minitest/unit.rb:912:in `_run_suite' /usr/lib/ruby/2.0.0/test/unit.rb:657:in `block in _run_suites' /usr/lib/ruby/2.0.0/test/unit.rb:655:in `each' /usr/lib/ruby/2.0.0/test/unit.rb:655:in `_run_suites' /usr/lib/ruby/2.0.0/minitest/unit.rb:867:in `_run_anything' /usr/lib/ruby/2.0.0/minitest/unit.rb:1060:in `run_tests' /usr/lib/ruby/2.0.0/minitest/unit.rb:1047:in `block in _run' /usr/lib/ruby/2.0.0/minitest/unit.rb:1046:in `each' /usr/lib/ruby/2.0.0/minitest/unit.rb:1046:in `_run' /usr/lib/ruby/2.0.0/minitest/unit.rb:1035:in `run' /usr/lib/ruby/2.0.0/test/unit.rb:21:in `run' /usr/lib/ruby/2.0.0/test/unit.rb:774:in `run' /usr/lib/ruby/2.0.0/test/unit.rb:366:in `block (2 levels) in autorun' /usr/lib/ruby/2.0.0/test/unit.rb:27:in `run_once' /usr/lib/ruby/2.0.0/test/unit.rb:365:in `block in autorun' [20/22] TestHash#test_18_index/home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:400: warning: Hash#index is deprecated; use Hash#key = 0.00 s 2) Error: test_18_index(TestHash): BDB::Fatal: closed DB /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:400:in `index' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:400:in `block in test_18_index' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:397:in `times' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:397:in `test_18_index' /usr/lib/ruby/2.0.0/minitest/unit.rb:1301:in `run' /usr/lib/ruby/2.0.0/test/unit/testcase.rb:17:in `run' /usr/lib/ruby/2.0.0/minitest/unit.rb:919:in `block in _run_suite' /usr/lib/ruby/2.0.0/minitest/unit.rb:912:in `map' /usr/lib/ruby/2.0.0/minitest/unit.rb:912:in `_run_suite' /usr/lib/ruby/2.0.0/test/unit.rb:657:in `block in _run_suites' /usr/lib/ruby/2.0.0/test/unit.rb:655:in `each' /usr/lib/ruby/2.0.0/test/unit.rb:655:in `_run_suites' /usr/lib/ruby/2.0.0/minitest/unit.rb:867:in `_run_anything' /usr/lib/ruby/2.0.0/minitest/unit.rb:1060:in `run_tests' /usr/lib/ruby/2.0.0/minitest/unit.rb:1047:in `block in _run' /usr/lib/ruby/2.0.0/minitest/unit.rb:1046:in `each' /usr/lib/ruby/2.0.0/minitest/unit.rb:1046:in `_run' /usr/lib/ruby/2.0.0/minitest/unit.rb:1035:in `run' /usr/lib/ruby/2.0.0/test/unit.rb:21:in `run' /usr/lib/ruby/2.0.0/test/unit.rb:774:in `run' /usr/lib/ruby/2.0.0/test/unit.rb:366:in `block (2 levels) in autorun' /usr/lib/ruby/2.0.0/test/unit.rb:27:in `run_once' /usr/lib/ruby/2.0.0/test/unit.rb:365:in `block in autorun' [21/22] TestHash#test_19_convert = 0.00 s 3) Error: test_19_convert(TestHash): BDB::Fatal: closed DB /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:409:in `to_hash' /home/gwolf/vcs/pkg-ruby-extras/ruby-bdb/tests/hash.rb:409:in `test_19_convert' /usr/lib/ruby/2.0.0/minitest/unit.rb:1301:in `run' /usr/lib/ruby/2.0.0/test/unit/testcase.rb:17:in `run' /usr/lib/ruby/2.0.0/minitest/unit.rb:919:in `block in _run_suite' /usr/lib/ruby/2.0.0/minitest/unit.rb:912:in `map' /usr/lib/ruby/2.0.0/minitest/unit.rb:912:in `_run_suite' /usr/lib/ruby/2.0.0/test/unit.rb:657:in `block in _run_suites' /usr/lib/ruby/2.0.0/test/unit.rb:655:in `each' /usr/lib/ruby/2.0.0/test/unit.rb:655:in `_run_suites' /usr/lib/ruby/2.0.0/minitest/unit.rb:867:in `_run_anything' /usr/lib/ruby/2.0.0/minitest/unit.rb:1060:in `run_tests' /usr/lib/ruby/2.0.0/minitest/unit.rb:1047:in `block in _run' /usr/lib/ruby/2.0.0/minitest/unit.rb:1046:in `each' /usr/lib/ruby/2.0.0/minitest/unit.rb:1046:in `_run' /usr/lib/ruby/2.0.0/minitest/unit.rb:1035:in `run' /usr/lib/ruby/2.0.0/test/unit.rb:21:in `run' /usr/lib/ruby/2.0.0/test/unit.rb:774:in `run' /usr/lib/ruby/2.0.0/test/unit.rb:366:in `block (2 levels) in autorun' /usr/lib/ruby/2.0.0/test/unit.rb:27:in `run_once' /usr/lib/ruby/2.0.0/test/unit.rb:365:in `block in autorun' Finished tests in 3.592808s, 6.1233 tests/s, 2132.8719 assertions/s. 22 tests, 7663 assertions, 0 failures, 3 errors, 0 skips ruby -v: ruby 2.0.0p384 (2014-01-12) [x86_64-linux-gnu] --------------------8<--------------------8<-------------------- Clearly, the offending code happens when opening the test database /tmp/aa (whether the name should be hardcoded is a matter for another bug report :-| ) Commenting out line 388 (which sets the 'set_h_hash' parameter to the BDB instance to «proc {|a| a.hash}») allows the tests to pass. According to the documentation, set_h_hash is meant to «specify a hashing function». ./examples/func.rb is the only other file to make use of this parameter, in exactly the same way as this test (and thus will likely fail). The most I can dig into the issue right now (as I'm tired and my brain does not want to parse C↔Ruby interaction) is that behaviour related to set_h_hash is found in lines 666-677 of src/common.h. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---Source: ruby-bdb Source-Version: 0.6.6-1 We believe that the bug you reported is fixed in the latest version of ruby-bdb, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. David Suárez <[email protected]> (supplier of updated ruby-bdb package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sat, 03 May 2014 13:12:06 +0200 Source: ruby-bdb Binary: ruby-bdb Architecture: source amd64 Version: 0.6.6-1 Distribution: unstable Urgency: medium Maintainer: Debian Ruby Extras Maintainers <[email protected]> Changed-By: David Suárez <[email protected]> Description: ruby-bdb - interface to Berkeley DB for Ruby Closes: 730960 735693 741210 741576 Changes: ruby-bdb (0.6.6-1) unstable; urgency=medium . * Team upload . [ David Suárez ] * Build for all ruby versions (Closes: #730960) * Add patch 'fix-inheritance' * Add patch 'remove-src-dir-from-tests-load-path' * Add patch 'dont-rely-on-ruby-objects-to-accommodate-c-data' * Add patch 'use-same-encoding-for-dup-test' * Add patch 'update-bdb-versions' * Add patch 'fix-integer-overflow-on-bdb_h_hash-callback' (Closes: #741576) * Add patch 'dont-conflict-helpers-with-test-funcs' * Add patch 'add-ruby2.1-support' * Drop obsolete 'build-against-libdb' patch * Update standards version; no changes needed * Change upload urgency to medium * Generate and install rdoc documentation * Improve package description * Add basic metadata to the gemspec from the github one to fix the 'Invalid gemspec' error * debian/rules: + Don't create some, packaged, empty dirs + Improve clean rule * debian/copyright: + use correct license short name + remove some wrong tabs * debian/control: + bump the gem2deb b-d . [ Paul van Tilburg ] * debian/watch: use githubredir instead of gemwatch as gem release don't seem to be far behind releases on github. . [ Gunnar Wolf ] * New upstream version (Closes: #741210) * Drop transitional packages (closes: #735693) * Check whether constants were already defined before removing them at build time . [ Cédric Boutillier ] * doc-base registration of RDoc documentation Checksums-Sha1: acff362d25f6be84cebe5dcdfd2a47cf2598184f 1786 ruby-bdb_0.6.6-1.dsc 82a1011f31b9b0f79c06f1778f9eff104c6acdd7 286352 ruby-bdb_0.6.6.orig.tar.gz b44de7906538b3404d0153238db26a835406acf3 13852 ruby-bdb_0.6.6-1.debian.tar.xz 30074800faf86052d01a661246634cc482eb246c 244206 ruby-bdb_0.6.6-1_amd64.deb Checksums-Sha256: 1b57074c461affdede37f0cd97585fd1042656bae3ef5694674b070091f3f1bf 1786 ruby-bdb_0.6.6-1.dsc 9adbfe6e36a05045943a27d9fa39a411c4bf429c475ace130ea28e44af927355 286352 ruby-bdb_0.6.6.orig.tar.gz fa255d249f3067343fd7d5d93eed8ea03886a14e1aa26f5ed8c6acf509e81e00 13852 ruby-bdb_0.6.6-1.debian.tar.xz 2ba40e17eca0c1a95d8cfc140afe66e9e76e2c2c7e26a02b4de5a11613d23c34 244206 ruby-bdb_0.6.6-1_amd64.deb Files: 78b917f1035d1dc2fafcbbaf86372e14 244206 ruby optional ruby-bdb_0.6.6-1_amd64.deb 7cfd0f77d2515c63518132209576dce0 1786 ruby optional ruby-bdb_0.6.6-1.dsc 465bbd3824483efa8e79396f06e15ccf 286352 ruby optional ruby-bdb_0.6.6.orig.tar.gz 719c482513efd3a141185a4663f613bb 13852 ruby optional ruby-bdb_0.6.6-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCAAGBQJTaCOVAAoJEImvgrc5zSF68QIH/3eUfw1qscw83ehQUV6UmTNW Cgf5xfw92MSapSBjKJzKfYX44VP+39ItSqxQBZK4FSFY+dFGRAZp1p6I0W9eKNpz XRlnOXVgevYU+Ah0AuWTx/NhakaeMWA/KVZOZSywyrUgpcxH4nsP+ipuvX+Fnm+K bMzm1+JE5+HGdbH2BIVUxgnuB1XNX3rrd/uMJAOuXbzFcypr6Z+vvcnNNL8nThVz NC0Tz45/StnyX1fZzks6wS+ZKIiJttXNXQBJ3hJbhDJIPO7fhg698yzieAt6JfaP gO/dL2A904cLl/phrPUK38bE6QKhnmmUAF86jOkhSSY3xDaNaWHk2KT31Ke4zug= =nxK/ -----END PGP SIGNATURE-----
--- End Message ---

