[DRE-maint] Bug#688798: tmailscanner.c references functions which are removed in ruby1.9

Matthias Klose doko at ubuntu.com
Tue Sep 25 17:48:09 UTC 2012


Package: ruby-tmail
Version: 1.2.7.1-2
Severity: serious

from the build log:

compiling tmailscanner.c
tmailscanner.c: In function 'mails_s_new':
tmailscanner.c:105:5: warning: implicit declaration of function 'rb_get_kcode'
[-Wimplicit-function-declaration]
tmailscanner.c:105:9: warning: assignment makes pointer from integer without a
cast [enabled by default]
Function `rb_get_kcode' implicitly converted to pointer at tmailscanner.c:105

however rb_get_kcode was removed from ruby1.9. I assume the package doesn't work
at all with 1.9.

$ fgrep -r rb_get_kcode ../ruby1.9.1-1.9.3.194/
../ruby1.9.1-1.9.3.194/doc/ChangeLog-1.9.3:     * re.c (rb_kcode, rb_get_kcode,
rb_set_kcode): removed.
../ruby1.9.1-1.9.3.194/doc/ChangeLog-1.8.0:     * re.c (rb_get_kcode): can
retrieve $KCODE from C code.
../ruby1.9.1-1.9.3.194/ChangeLog:       * include/ruby/intern.h (rb_set_kcode,
rb_get_kcode): removed



More information about the Pkg-ruby-extras-maintainers mailing list