Your message dated Wed, 27 Aug 2008 19:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#494428: fixed in gonzui 1.2+cvs20070129-1.1
has caused the Debian Bug report #494428,
regarding gonzui: incompatible with libdb-ruby 0.6.4
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.)
--
494428: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494428
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: gonzui
Version: 1.2+cvs20070129-1
Severity: normal
Tags: patch
Due to API changes, your package does not work with libdb-ruby 0.6.4
(currently only in unstable). The problem is that the method
BDB::{Btree,Recno,…}#duplicates has changed its semantics and signature:
Instead of returning an array of duplicate values, it returns an array
of arrays containing the duplicate values in the first position. When
adding a second false parameter, though, the old behavior is restored.
The attached patch works around this problem and stays compatible with
the older versions of the Ruby BDB library (for gonzui, this is
libdb4.3-ruby1.8). It works fine; feel free to re-write it in a more
efficient manner, though.
This bug might become release critical, depending on the release team’s
final decision on [1] and the migration speed of libdb-ruby.
[1] http://lists.debian.org/debian-release/2008/08/msg00401.html
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (700, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to de_AT.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gonzui depends on:
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libdb-ruby1.8 [libdb4. 0.6.4-1 Interface to Berkeley DB for Ruby
pn libiconv-ruby1.8 <none> (no description available)
ii liblangscan-ruby 1.2+cvs20070125-1 Ruby module of scanners for progra
ii libruby1.8 [libzlib-ru 1.8.7.22-2 Libraries necessary to run Ruby 1.
pn libstrscan-ruby1.8 <none> (no description available)
pn libwebrick-ruby1.8 <none> (no description available)
ii ruby 4.2 An interpreter of object-oriented
ii ruby1.8 1.8.7.22-2 Interpreter of object-oriented scr
gonzui recommends no packages.
Versions of packages gonzui suggests:
ii bzip2 1.0.5-0.1 high-quality block-sorting file co
ii cvs 1:1.12.13-11 Concurrent Versions System
pn libppi-perl <none> (no description available)
pn libprogressbar-ruby1.8 <none> (no description available)
pn rpm <none> (no description available)
ii subversion 1.5.1dfsg1-1 Advanced version control system
ii unzip 5.52-12 De-archiver for .zip files
-- no debconf information
Best regards,
--
Michael Schutte <[EMAIL PROTECTED]>
Index: gonzui-1.2+cvs20070129/gonzui/dbm.rb
===================================================================
--- gonzui-1.2+cvs20070129.orig/gonzui/dbm.rb 2008-08-09 12:17:20.000000000 +0200
+++ gonzui-1.2+cvs20070129/gonzui/dbm.rb 2008-08-09 12:56:07.000000000 +0200
@@ -453,7 +453,7 @@
end
def get_format_ids_from_package_id(package_id)
- @pkgid_fmtids.duplicates(package_id)
+ @pkgid_fmtids.copies(package_id)
end
def get_format_name(format_id)
@@ -473,7 +473,7 @@
end
def get_license_ids_from_package_id(package_id)
- @pkgid_lcsids.duplicates(package_id)
+ @pkgid_lcsids.copies(package_id)
end
def get_license_name(license_id)
@@ -502,7 +502,7 @@
def get_ncontents_in_package(package_name)
package_id = get_package_id(package_name)
- @pkgid_pathids.duplicates(package_id).length
+ @pkgid_pathids.copies(package_id).length
end
def get_nformats
@@ -530,7 +530,7 @@
end
def get_package_ids(word_id)
- @wordid_pkgids.duplicates(word_id)
+ @wordid_pkgids.copies(word_id)
end
def get_package_name(package_id)
@@ -543,7 +543,7 @@
def get_package_options(package_id)
options = {}
- values = @pkgid_options.duplicates(package_id)
+ values = @pkgid_options.copies(package_id)
values.each {|value|
k, v = value.split(":", 2)
k = k.intern
@@ -571,12 +571,12 @@
end
def get_path_ids(package_id)
- @pkgid_pathids.duplicates(package_id)
+ @pkgid_pathids.copies(package_id)
end
def get_path_ids_from_package_and_word_id(package_id, word_id)
package_word_id = AutoPack.pack_id2(package_id, word_id)
- return @pkgwordid_pathids.duplicates(package_word_id)
+ return @pkgwordid_pathids.copies(package_word_id)
end
def get_source_uri(package_id)
Index: gonzui-1.2+cvs20070129/gonzui/bdbdbm.rb
===================================================================
--- gonzui-1.2+cvs20070129.orig/gonzui/bdbdbm.rb 2008-08-09 12:17:35.000000000 +0200
+++ gonzui-1.2+cvs20070129/gonzui/bdbdbm.rb 2008-08-09 12:54:44.000000000 +0200
@@ -74,6 +74,12 @@
end
module BDBExtension
+ def copies(val)
+ duplicates val, false
+ rescue
+ duplicates val
+ end
+
def each_by_prefix(prefix)
values = []
cursor = self.cursor
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: gonzui
Source-Version: 1.2+cvs20070129-1.1
We believe that the bug you reported is fixed in the latest version of
gonzui, which is due to be installed in the Debian FTP archive:
gonzui_1.2+cvs20070129-1.1.diff.gz
to pool/main/g/gonzui/gonzui_1.2+cvs20070129-1.1.diff.gz
gonzui_1.2+cvs20070129-1.1.dsc
to pool/main/g/gonzui/gonzui_1.2+cvs20070129-1.1.dsc
gonzui_1.2+cvs20070129-1.1_amd64.deb
to pool/main/g/gonzui/gonzui_1.2+cvs20070129-1.1_amd64.deb
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.
Michael Schutte <[EMAIL PROTECTED]> (supplier of updated gonzui 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: SHA1
Format: 1.8
Date: Fri, 22 Aug 2008 21:58:10 +0200
Source: gonzui
Binary: gonzui
Architecture: source amd64
Version: 1.2+cvs20070129-1.1
Distribution: unstable
Urgency: medium
Maintainer: ARAKI Yasuhiro <[EMAIL PROTECTED]>
Changed-By: Michael Schutte <[EMAIL PROTECTED]>
Description:
gonzui - A source code search engine
Closes: 494428
Changes:
gonzui (1.2+cvs20070129-1.1) unstable; urgency=medium
.
* Non-maintainer upload.
* libdb4.3-ruby → libdb-ruby transition:
- Patch dbm.rb and bdbdbm.rb to restore API compatibility to libdb-ruby,
closes: #494428.
- Build-depend on libdb-ruby1.8 instead of libdb4.3-ruby1.8.
* Bump Standards-Version to 3.8.0, no changes needed.
* Do not ignore “make clean” errors in the clean target of debian/rules.
* Move Homepage: field from the description to the source stanza.
* Remove dh_make boilerplate “Please also look if …” message from
debian/copyright.
Checksums-Sha1:
38f28725a27e277d46733579300dc97dd879409a 1268 gonzui_1.2+cvs20070129-1.1.dsc
d46896812149a2f3cc0229990d83f848baa409a4 6112
gonzui_1.2+cvs20070129-1.1.diff.gz
d140970b832a56bc39ce484c907f3f57aa1fc0fc 106860
gonzui_1.2+cvs20070129-1.1_amd64.deb
Checksums-Sha256:
f1ec40bcb1a4fe7e960050050475d0c52c3fd405f26121d096ca4abc3e5102d8 1268
gonzui_1.2+cvs20070129-1.1.dsc
35178dfdd999a284e57ec8db4b6e46d6d1747caa806e792b9ad731ad42206774 6112
gonzui_1.2+cvs20070129-1.1.diff.gz
9a75fe0ad74dd9d91b8c4eddab88789546deee3558e7674a48d678eb68eb05f7 106860
gonzui_1.2+cvs20070129-1.1_amd64.deb
Files:
a87b36d3796a7c602f5b6547f7a4749e 1268 devel optional
gonzui_1.2+cvs20070129-1.1.dsc
6d02f64708440bc3b0d0077b7be7509c 6112 devel optional
gonzui_1.2+cvs20070129-1.1.diff.gz
18ab585d718e445526132e04ff2d4d32 106860 devel optional
gonzui_1.2+cvs20070129-1.1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAki1qwsACgkQJBBhylAGQYFqvQCeM/Hzo4Pklo4euy+cp048oXYi
l+8An2fn9CsOTtwi+Yf0egdJqDr5QfWr
=UjmU
-----END PGP SIGNATURE-----
--- End Message ---