Bug#1006352: bsfiltger: "Cannot load such file -- sdbm (LoadError)"

2022-03-01 Thread Antonio Terceiro
On Thu, Feb 24, 2022 at 10:51:16AM +0900, YABUKI Yukiharu wrote:
> Package: bsfilter
> Version: 1:1.0.19-2.1
> Severity: grave
> Justification: renders package unusable
> 
> Dear Maintainer,
> 
> Due to ruby transition, ruby could not load sdbm module.
> 
> I use bsfilter which classifies spam mail.
> 
> ```
> $ bsfilter 
> :85:in
>  `require': cannot load such file -- sdbm (LoadError)
> Did you mean?  dbm
> from 
> :85:in
>  `require'
> from /usr/bin/bsfilter:3106:in `get_options'
> from /usr/bin/bsfilter:3262:in `setup'
> from /usr/bin/bsfilter:3413:in `'
> ```

Yes, `sdbm` has been removed from the standard library. Thanks for the
bug report, since bsfilter has no automated tests (otherwise we would
have caught this earlier).

I just uploaded a standalone ruby-sdbm package to NEW now, and will
upload a bsfilter update with the right dependency as soon as that's in
the archive.


signature.asc
Description: PGP signature


Bug#1006352: bsfiltger: "Cannot load such file -- sdbm (LoadError)"

2022-02-23 Thread YABUKI Yukiharu
Package: bsfilter
Version: 1:1.0.19-2.1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Due to ruby transition, ruby could not load sdbm module.

I use bsfilter which classifies spam mail.

```
$ bsfilter 
:85:in 
`require': cannot load such file -- sdbm (LoadError)
Did you mean?  dbm
from 
:85:in 
`require'
from /usr/bin/bsfilter:3106:in `get_options'
from /usr/bin/bsfilter:3262:in `setup'
from /usr/bin/bsfilter:3413:in `'
```


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bsfilter depends on:
ii  ruby  1:3.0

bsfilter recommends no packages.

Versions of packages bsfilter suggests:
pn  ruby-mecab  
pn  ruby-qdbm   

-- no debconf information