Your message dated Tue, 06 Jan 2009 03:02:08 +0000
with message-id <[email protected]>
and subject line Bug#506344: fixed in ruby1.8 1.8.7.72-3
has caused the Debian Bug report #506344,
regarding ruby1.8 package breaks short-named constants
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.)
--
506344: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506344
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ruby1.8
Version: 1.8.7.72-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu jaunty ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following:
* debian/patches/905_short_named_constants.dpatch: Fix for short-named
constants regression (LP: #282302)
This patch should currently be in the stable-snapshot. While this regression
doesn't seem to affect a lot of existing code, it does break the metasploit
framework. Please see the Ubuntu bug [1] for more information.
Jamie
[1] https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/282302
diff -u ruby1.8-1.8.7.72/debian/patches/00list ruby1.8-1.8.7.72/debian/patches/00list
--- ruby1.8-1.8.7.72/debian/patches/00list
+++ ruby1.8-1.8.7.72/debian/patches/00list
@@ -11,0 +12 @@
+905_short_named_constants
only in patch2:
unchanged:
--- ruby1.8-1.8.7.72.orig/debian/patches/905_short_named_constants.dpatch
+++ ruby1.8-1.8.7.72/debian/patches/905_short_named_constants.dpatch
@@ -0,0 +1,48 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 905_short_named_constants.dpatch by Jamie Strandboge <[email protected]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/282302
+## DP: Upstream: http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18485
+## DP: Fix for shot-named constants breakage-- copy cbase in cref as well.
+
+...@dpatch@
+diff -urNad ruby1.8-1.8.7.72~/class.c ruby1.8-1.8.7.72/class.c
+--- ruby1.8-1.8.7.72~/class.c 2008-06-28 05:23:54.000000000 -0500
++++ ruby1.8-1.8.7.72/class.c 2008-10-27 12:18:21.000000000 -0500
+@@ -62,7 +62,10 @@
+ NODE *fbody = body->nd_body;
+
+ if (fbody && nd_type(fbody) == NODE_SCOPE) {
+- fbody = rb_copy_node_scope(fbody, ruby_cref);
++ NODE *cref = (NODE*)fbody->nd_rval;
++
++ if (cref) cref = cref->nd_next;
++ fbody = rb_copy_node_scope(fbody, NEW_CREF(data->klass, cref));
+ }
+ st_insert(data->tbl, mid, (st_data_t)NEW_METHOD(fbody, body->nd_noex));
+ return ST_CONTINUE;
+diff -urNad ruby1.8-1.8.7.72~/eval.c ruby1.8-1.8.7.72/eval.c
+--- ruby1.8-1.8.7.72~/eval.c 2008-08-03 22:24:26.000000000 -0500
++++ ruby1.8-1.8.7.72/eval.c 2008-10-27 12:18:21.000000000 -0500
+@@ -1063,7 +1063,7 @@
+
+ NODE *ruby_cref = 0;
+ NODE *ruby_top_cref;
+-#define PUSH_CREF(c) ruby_cref = NEW_NODE(NODE_CREF,(c),0,ruby_cref)
++#define PUSH_CREF(c) ruby_cref = NEW_CREF(c,ruby_cref)
+ #define POP_CREF() ruby_cref = ruby_cref->nd_next
+
+ #define PUSH_SCOPE() do { \
+diff -urNad ruby1.8-1.8.7.72~/node.h ruby1.8-1.8.7.72/node.h
+--- ruby1.8-1.8.7.72~/node.h 2008-07-07 01:17:24.000000000 -0500
++++ ruby1.8-1.8.7.72/node.h 2008-10-27 12:18:21.000000000 -0500
+@@ -319,7 +319,7 @@
+ #define NEW_MODULE(n,b) NEW_NODE(NODE_MODULE,n,NEW_SCOPE(b),0)
+ #define NEW_COLON2(c,i) NEW_NODE(NODE_COLON2,c,i,0)
+ #define NEW_COLON3(i) NEW_NODE(NODE_COLON3,0,i,0)
+-#define NEW_CREF(c) (NEW_NODE(NODE_CREF,0,0,c))
++#define NEW_CREF(c,n) NEW_NODE(NODE_CREF,c,0,n)
+ #define NEW_DOT2(b,e) NEW_NODE(NODE_DOT2,b,e,0)
+ #define NEW_DOT3(b,e) NEW_NODE(NODE_DOT3,b,e,0)
+ #define NEW_ATTRSET(a) NEW_NODE(NODE_ATTRSET,a,0,0)
--- End Message ---
--- Begin Message ---
Source: ruby1.8
Source-Version: 1.8.7.72-3
We believe that the bug you reported is fixed in the latest version of
ruby1.8, which is due to be installed in the Debian FTP archive:
irb1.8_1.8.7.72-3_all.deb
to pool/main/r/ruby1.8/irb1.8_1.8.7.72-3_all.deb
libdbm-ruby1.8_1.8.7.72-3_i386.deb
to pool/main/r/ruby1.8/libdbm-ruby1.8_1.8.7.72-3_i386.deb
libgdbm-ruby1.8_1.8.7.72-3_i386.deb
to pool/main/r/ruby1.8/libgdbm-ruby1.8_1.8.7.72-3_i386.deb
libopenssl-ruby1.8_1.8.7.72-3_i386.deb
to pool/main/r/ruby1.8/libopenssl-ruby1.8_1.8.7.72-3_i386.deb
libreadline-ruby1.8_1.8.7.72-3_i386.deb
to pool/main/r/ruby1.8/libreadline-ruby1.8_1.8.7.72-3_i386.deb
libruby1.8-dbg_1.8.7.72-3_i386.deb
to pool/main/r/ruby1.8/libruby1.8-dbg_1.8.7.72-3_i386.deb
libruby1.8_1.8.7.72-3_i386.deb
to pool/main/r/ruby1.8/libruby1.8_1.8.7.72-3_i386.deb
libtcltk-ruby1.8_1.8.7.72-3_i386.deb
to pool/main/r/ruby1.8/libtcltk-ruby1.8_1.8.7.72-3_i386.deb
rdoc1.8_1.8.7.72-3_all.deb
to pool/main/r/ruby1.8/rdoc1.8_1.8.7.72-3_all.deb
ri1.8_1.8.7.72-3_all.deb
to pool/main/r/ruby1.8/ri1.8_1.8.7.72-3_all.deb
ruby1.8-dev_1.8.7.72-3_i386.deb
to pool/main/r/ruby1.8/ruby1.8-dev_1.8.7.72-3_i386.deb
ruby1.8-elisp_1.8.7.72-3_all.deb
to pool/main/r/ruby1.8/ruby1.8-elisp_1.8.7.72-3_all.deb
ruby1.8-examples_1.8.7.72-3_all.deb
to pool/main/r/ruby1.8/ruby1.8-examples_1.8.7.72-3_all.deb
ruby1.8_1.8.7.72-3.diff.gz
to pool/main/r/ruby1.8/ruby1.8_1.8.7.72-3.diff.gz
ruby1.8_1.8.7.72-3.dsc
to pool/main/r/ruby1.8/ruby1.8_1.8.7.72-3.dsc
ruby1.8_1.8.7.72-3_i386.deb
to pool/main/r/ruby1.8/ruby1.8_1.8.7.72-3_i386.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.
akira yamada <[email protected]> (supplier of updated ruby1.8 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: Tue, 06 Jan 2009 10:56:56 +0900
Source: ruby1.8
Binary: ruby1.8 libruby1.8 libruby1.8-dbg ruby1.8-dev libdbm-ruby1.8
libgdbm-ruby1.8 libreadline-ruby1.8 libtcltk-ruby1.8 libopenssl-ruby1.8
ruby1.8-examples ruby1.8-elisp ri1.8 rdoc1.8 irb1.8
Architecture: source all i386
Version: 1.8.7.72-3
Distribution: unstable
Urgency: medium
Maintainer: akira yamada <[email protected]>
Changed-By: akira yamada <[email protected]>
Description:
irb1.8 - Interactive Ruby (for Ruby 1.8)
libdbm-ruby1.8 - DBM interface for Ruby 1.8
libgdbm-ruby1.8 - GDBM interface for Ruby 1.8
libopenssl-ruby1.8 - OpenSSL interface for Ruby 1.8
libreadline-ruby1.8 - Readline interface for Ruby 1.8
libruby1.8 - Libraries necessary to run Ruby 1.8
libruby1.8-dbg - Debugging symbols for Ruby 1.8
libtcltk-ruby1.8 - Tcl/Tk interface for Ruby 1.8
rdoc1.8 - Generate documentation from Ruby source files (for Ruby 1.8)
ri1.8 - Ruby Interactive reference (for Ruby 1.8)
ruby1.8 - Interpreter of object-oriented scripting language Ruby 1.8
ruby1.8-dev - Header files for compiling extension modules for the Ruby 1.8
ruby1.8-elisp - ruby-mode for Emacsen
ruby1.8-examples - Examples for Ruby 1.8
Closes: 506344
Changes:
ruby1.8 (1.8.7.72-3) unstable; urgency=medium
.
* applied debian/patches/905_class_dup_should_copy_constants.dpatch:
- Class#dup should copy constants into the duplicated class.
(closes: #506344)
Checksums-Sha1:
ac46c896d034d97e12e2ebfb514e49a02415d1f7 1617 ruby1.8_1.8.7.72-3.dsc
8b6e0a096b8e616bdf1a65f15c5d035341ddbdf9 46550 ruby1.8_1.8.7.72-3.diff.gz
b690567085dca24a7451b5a497e0cc78a36ee014 310338
ruby1.8-examples_1.8.7.72-3_all.deb
2d3a27694314b0dd073a144c9c4fa6020f8b7e97 277608
ruby1.8-elisp_1.8.7.72-3_all.deb
7b9599f550bdd4835202d3a0c5da5068b727de50 1405096 ri1.8_1.8.7.72-3_all.deb
fc49223d4659ed975fa7b428e881ce6e64fa3d3e 377242 rdoc1.8_1.8.7.72-3_all.deb
d1a3eeb962560a204485537ed4254f89b3c2caae 303152 irb1.8_1.8.7.72-3_all.deb
14ce193198b8005dbc71f861dfbf52fa934f9dec 283446 ruby1.8_1.8.7.72-3_i386.deb
34aa5176cbe7fa5d810b937d87355703732d5a22 1672334 libruby1.8_1.8.7.72-3_i386.deb
7e4a94f1644267ff03c25620d0bbea033cf61040 1447874
libruby1.8-dbg_1.8.7.72-3_i386.deb
15976088381162f5c97c4b1c3aa6049fdd1903bc 825500 ruby1.8-dev_1.8.7.72-3_i386.deb
29907ebcfcd78de0d10d0eaa8ef0536c0e938414 264634
libdbm-ruby1.8_1.8.7.72-3_i386.deb
040c74a2dbd242e3b2597edc197ec1c158fff37e 263490
libgdbm-ruby1.8_1.8.7.72-3_i386.deb
71775999484223a3d88b8c7f6c54204882530457 263828
libreadline-ruby1.8_1.8.7.72-3_i386.deb
e4ccc7106b85b0931bb22750bea802d4904fcc99 2002820
libtcltk-ruby1.8_1.8.7.72-3_i386.deb
2b34e2b263df4d50ac559952b75434639e9db4ce 377634
libopenssl-ruby1.8_1.8.7.72-3_i386.deb
Checksums-Sha256:
231adfa69f28cb8ad0907bdaadefd933b8633593b987134b39df229fd741f96e 1617
ruby1.8_1.8.7.72-3.dsc
76deae8f4a3a3fcd33df48c5ffc82e1f93721152f85bedf062ad683b9dd846ff 46550
ruby1.8_1.8.7.72-3.diff.gz
765a497ebd3e038822b47c88629b0aab376b86d3edc16b785d03c5bdd9595e6f 310338
ruby1.8-examples_1.8.7.72-3_all.deb
b0a9d199d0bc1f9eeef19290dc9a6dc82075f0a9c170d42be59b027272879ccd 277608
ruby1.8-elisp_1.8.7.72-3_all.deb
4001971d902e8b9b577365eb96f599ef675744c030e1af7c2beaf64fec7c5225 1405096
ri1.8_1.8.7.72-3_all.deb
e419c70cb68ad5fbb6c143b0230fb9d00bf3dca41b1a158814a3752594d99806 377242
rdoc1.8_1.8.7.72-3_all.deb
e29c3f007b56822b725ba138955042ecfe3bc2c202bba300dfd7fe00fbd6c91a 303152
irb1.8_1.8.7.72-3_all.deb
c0ba4bb46d7535d4ce0e30376703e8034d34274d46e84c78fee4e3dec9af4ee0 283446
ruby1.8_1.8.7.72-3_i386.deb
358cf53f815567c7ec3ea8c3f706294bff6469308759842c97e707a26ebda6d1 1672334
libruby1.8_1.8.7.72-3_i386.deb
ca6a95d44034b496c17e5f11bfeafa6021f16afcf36c379283fd728db631500a 1447874
libruby1.8-dbg_1.8.7.72-3_i386.deb
262b0dc10a3a4e15f3453819fcc18c8f8f3067b819f1e9c363066cba161e48ca 825500
ruby1.8-dev_1.8.7.72-3_i386.deb
24688a13067a770f36a6fb0143688dab821dfaaac7d36c01a1ea7d77c1cae32b 264634
libdbm-ruby1.8_1.8.7.72-3_i386.deb
2e9a30df35809127cdc2643168d0f2b5f6d00085eb6e273a279b511c3a2f539b 263490
libgdbm-ruby1.8_1.8.7.72-3_i386.deb
4c5476f495bc0ee62d1daa676a4b5bd739ed8d3b1916591bf878fea5a8f51980 263828
libreadline-ruby1.8_1.8.7.72-3_i386.deb
449d881df12a9ab18422b0a62203b1eb2723223c2df6b61c677ea1842121797f 2002820
libtcltk-ruby1.8_1.8.7.72-3_i386.deb
e83aedb974f2510bafacf1bbfc72665247913c35a8bc36afe27dfff9c9bf77eb 377634
libopenssl-ruby1.8_1.8.7.72-3_i386.deb
Files:
467170259a1b3a0f420b711fb5e363a2 1617 interpreters optional
ruby1.8_1.8.7.72-3.dsc
db730d8ebac45279b00922dbb7a17474 46550 interpreters optional
ruby1.8_1.8.7.72-3.diff.gz
3f39ace1a8a288af72ea93c4f940bf15 310338 interpreters optional
ruby1.8-examples_1.8.7.72-3_all.deb
33f5f802c9cb7f0e66fa06b740459872 277608 interpreters optional
ruby1.8-elisp_1.8.7.72-3_all.deb
5429490abb7159b172bc9cccb4f1ed9f 1405096 interpreters optional
ri1.8_1.8.7.72-3_all.deb
6f5e965a5901b04ddd84cc1d34e9f4f2 377242 doc optional rdoc1.8_1.8.7.72-3_all.deb
bf2866cdb7eee76bce611a049c442635 303152 interpreters optional
irb1.8_1.8.7.72-3_all.deb
72e4ec48d55c22210fc7bba4c9518447 283446 interpreters optional
ruby1.8_1.8.7.72-3_i386.deb
e4f8bb1e3a190f6ab14162eacb6d5c89 1672334 libs optional
libruby1.8_1.8.7.72-3_i386.deb
05f9e959e2055fa5870ced1d3644162d 1447874 libdevel extra
libruby1.8-dbg_1.8.7.72-3_i386.deb
32b9eb2003affd1b7c33397f307b621f 825500 devel optional
ruby1.8-dev_1.8.7.72-3_i386.deb
3f0d8c75ed0b4f513bb8efb07908915d 264634 interpreters optional
libdbm-ruby1.8_1.8.7.72-3_i386.deb
ff90006ed8f494910893095fd9d36e93 263490 interpreters optional
libgdbm-ruby1.8_1.8.7.72-3_i386.deb
2b4c3dd9b9c084b9bc84a5b9a1f34faa 263828 interpreters optional
libreadline-ruby1.8_1.8.7.72-3_i386.deb
302df401afd4f7b7d65e6b9d1fe5945a 2002820 interpreters optional
libtcltk-ruby1.8_1.8.7.72-3_i386.deb
30a4bc2e0c915ec9deee476481412292 377634 interpreters optional
libopenssl-ruby1.8_1.8.7.72-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFJYseIXzkxpuIT8aARArD2AJ9aN79E06NZokjn8Fv5DYuwZk6VXACfdKN6
+JFnGZ4LvCvtzz10344c3Ko=
=6C4n
-----END PGP SIGNATURE-----
--- End Message ---