Your message dated Sun, 06 Dec 2009 10:27:12 +0000
with message-id <e1nheke-0001et...@ries.debian.org>
and subject line Bug#557534: fixed in libinline-ruby 3.8.3-3
has caused the Debian Bug report #557534,
regarding [libinline-ruby] Uses Gem.* without requiring rubygems
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 ow...@bugs.debian.org
immediately.)


-- 
557534: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557534
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libinline-ruby
Version: 3.8.3-2
Severity: important
Tags: patch

--- Please enter the report below this line. ---

inline.rb uses Gem.ruby/Gem.bindir which of course doesn't work without 
rubygems installed.

/usr/lib/ruby/1.8/inline.rb:76: uninitialized constant Inline::Gem (NameError)
        from ./lib/parse_tree.rb:7:in `require'
        from ./lib/parse_tree.rb:7
        from ./test/test_parse_tree.rb:12:in `require'
        from ./test/test_parse_tree.rb:12
        from -e:1:in `require'
        from -e:1
        from -e:1:in `each'
        from -e:1

The whole RAKE constant can safely be dropped. Please see the attached patch.

Tobias

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.30-1-amd64

Debian Release: squeeze/sid
  500 testing         security.debian.org 
  500 testing         ftp.de.debian.org 

--- Package information. ---
Depends                (Version) | Installed
================================-+-===========
libinline-ruby1.8                | 3.8.3-2


Package's Recommends field is empty.

Package's Suggests field is empty.



dont require rubygems

Index: libinline-ruby-3.8.3/lib/inline.rb
===================================================================
--- libinline-ruby-3.8.3.orig/lib/inline.rb	2009-11-22 17:32:49.000000000 +0100
+++ libinline-ruby-3.8.3/lib/inline.rb	2009-11-22 17:49:40.000000000 +0100
@@ -50,9 +50,6 @@
 require "rbconfig"
 require "digest/md5"
 require 'fileutils'
-require 'rubygems'
-
-require 'zentest_mapping'
 
 $TESTING = false unless defined? $TESTING
 
@@ -71,13 +68,6 @@
   RUBINIUS = defined? RUBY_ENGINE
   DEV_NULL = (WINDOZE ? 'nul'      : '/dev/null')
   GEM      = (WINDOZE ? 'gem.bat'  : 'gem')
-  RAKE     = if WINDOZE then
-               'rake.bat'
-             elsif RUBINIUS then
-               File.join(Gem.bindir, 'rake')
-             else
-               "#{Gem.ruby} -S rake"
-             end
 
   warn "RubyInline v #{VERSION}" if $DEBUG
 
@@ -151,8 +141,6 @@
 
   class C
 
-    include ZenTestMapping
-
     MAGIC_ARITY_THRESHOLD = 15
     MAGIC_ARITY = -1
 
@@ -245,7 +233,7 @@
       signature = parse_signature(src, !expand_types)
       function_name = signature['name']
       method_name = options[:method_name]
-      method_name ||= test_to_normal function_name
+      method_name ||= function_name
       return_type = signature['return']
       arity = signature['arity']
 

--- End Message ---
--- Begin Message ---
Source: libinline-ruby
Source-Version: 3.8.3-3

We believe that the bug you reported is fixed in the latest version of
libinline-ruby, which is due to be installed in the Debian FTP archive:

libinline-ruby1.8_3.8.3-3_all.deb
  to main/libi/libinline-ruby/libinline-ruby1.8_3.8.3-3_all.deb
libinline-ruby_3.8.3-3.diff.gz
  to main/libi/libinline-ruby/libinline-ruby_3.8.3-3.diff.gz
libinline-ruby_3.8.3-3.dsc
  to main/libi/libinline-ruby/libinline-ruby_3.8.3-3.dsc
libinline-ruby_3.8.3-3_all.deb
  to main/libi/libinline-ruby/libinline-ruby_3.8.3-3_all.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 557...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tobias Grimm <et...@debian.org> (supplier of updated libinline-ruby 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 06 Dec 2009 10:52:59 +0100
Source: libinline-ruby
Binary: libinline-ruby libinline-ruby1.8
Architecture: source all
Version: 3.8.3-3
Distribution: unstable
Urgency: low
Maintainer: Patrick Ringl <patri...@freenet.de>
Changed-By: Tobias Grimm <et...@debian.org>
Description: 
 libinline-ruby - Ruby library for embedding C/++ external module code
 libinline-ruby1.8 - Ruby library for embedding C/++ external module code
Closes: 557534
Changes: 
 libinline-ruby (3.8.3-3) unstable; urgency=low
 .
   * Removed remaining unnecessary Gem usage (Closes: #557534)
   * Add myself to Uploaders
   * Run unit tests at build time
   * Replaced ZenTestMapping usage with custom implementation of the method
     name mapping
   * Install History.txt as upstream changelog
   * Recommends: gcc | c-compiler
Checksums-Sha1: 
 f0218ea9874438adb7a55952ef0efe4bdb991846 1540 libinline-ruby_3.8.3-3.dsc
 b3a45bfd2d347353afd0592e3541cd5360b5983a 4577 libinline-ruby_3.8.3-3.diff.gz
 5eff6d32b934d20b3891be522793bcec8ac3ebbc 9776 libinline-ruby_3.8.3-3_all.deb
 32bf6c3475cf435bbebe88677ad2103f7c6dfb47 21702 
libinline-ruby1.8_3.8.3-3_all.deb
Checksums-Sha256: 
 5ec2d510319397723bd0b2c960abf01604e6fb028afa01779e22ec33a6817c73 1540 
libinline-ruby_3.8.3-3.dsc
 cd664e1e3b65336eeec4d62dfb53ed41910c6f1c50e1a9ddd8cc306b4628e565 4577 
libinline-ruby_3.8.3-3.diff.gz
 9b0b1ea905a156ee73b41429f92d563d0dd3a6c1401d8a623ae7630ef9500eeb 9776 
libinline-ruby_3.8.3-3_all.deb
 ddc4433a195ba545ce6915e4e07a18f9db89155b6421b75816f8de859533588f 21702 
libinline-ruby1.8_3.8.3-3_all.deb
Files: 
 27ca408552dda9002ed6d5c33322d337 1540 ruby optional libinline-ruby_3.8.3-3.dsc
 d2dfaead8cdec88d62cfe916a2329eed 4577 ruby optional 
libinline-ruby_3.8.3-3.diff.gz
 5d52465a1d5c9897e6ae38ceb0155f62 9776 ruby optional 
libinline-ruby_3.8.3-3_all.deb
 68db84cc65dd0ce66ae5972cd1cb0886 21702 ruby optional 
libinline-ruby1.8_3.8.3-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAksbgv4ACgkQ9xgNJq7apkJt5QCeP79nYTXbMNAFWjE09TihmQKF
l8YAn1ZRj2W+7wNcx0NWVRZTiPTI8CvF
=p5OP
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to