Your message dated Wed, 18 Jul 2007 02:32:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#427463: fixed in libhpricot-ruby 0.6-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libhpricot-ruby
Version: 0.5-2
Severity: serious
Tags: patch
User: [EMAIL PROTECTED]
Usertags: qa-ftbfs

hi,

while doing an archive wide package rebuild your package failed to build from
source for the following reason:

 > mkdir -p 
 > /build/user/libhpricot-ruby-0.5/debian/libhpricot-ruby1.8/usr/lib/ruby/1.8/i486-linux
 > /usr/bin/install -c -m 0755 hpricot_scan.so 
 > /build/user/libhpricot-ruby-0.5/debian/libhpricot-ruby1.8/usr/lib/ruby/1.8/i486-linux
 > make[1]: Leaving directory `/build/user/libhpricot-ruby-0.5'
 > dh_installdirs -plibhpricot-ruby1.9 
 > cd . 
 > /usr/bin/make distclean
 > make[1]: Entering directory `/build/user/libhpricot-ruby-0.5'
 > make[1]: Leaving directory `/build/user/libhpricot-ruby-0.5'
 > /usr/bin/ruby1.9  ext/hpricot_scan/extconf.rb 
 > checking for main() in -lc... yes
 > creating Makefile
 > /usr/bin/make
 > make[1]: Entering directory `/build/user/libhpricot-ruby-0.5'
 > cc -I. -I. -I/usr/lib/ruby/1.9/i486-linux -Iext/hpricot_scan  -fPIC 
 > -fno-strict-aliasing  -fPIC  -c ext/hpricot_scan/hpricot_scan.c
 > ext/hpricot_scan/hpricot_scan.rl: In function 'hpricot_scan':
 > ext/hpricot_scan/hpricot_scan.rl:239: error: 'struct RString' has no member 
 > named 'ptr'
 > ext/hpricot_scan/hpricot_scan.rl:252: error: 'struct RString' has no member 
 > named 'ptr'
 > ext/hpricot_scan/hpricot_scan.rl:252: error: 'struct RString' has no member 
 > named 'len'
 > ext/hpricot_scan/hpricot_scan.rl:253: error: 'struct RString' has no member 
 > named 'len'
 > ext/hpricot_scan/hpricot_scan.rl:269: error: 'struct RString' has no member 
 > named 'ptr'
 > make[1]: *** [hpricot_scan.o] Error 1
 > make[1]: Leaving directory `/build/user/libhpricot-ruby-0.5'
 > make: *** [install/libhpricot-ruby1.9] Error 2

The Full Build log is available and can be viewed at:

 http://people.debian.org/~lucas/logs/2007/06/01/

i think attached patch should fix this issue.
 
bye,
        - michael
diff -ruN libhpricot-ruby-0.5/ext/hpricot_scan/hpricot_scan.c ../libhpricot-ruby-0.5/ext/hpricot_scan/hpricot_scan.c
--- libhpricot-ruby-0.5/ext/hpricot_scan/hpricot_scan.c	2007-01-31 19:36:22.000000000 +0100
+++ ../libhpricot-ruby-0.5/ext/hpricot_scan/hpricot_scan.c	2007-06-04 10:20:14.952421398 +0200
@@ -140,7 +140,7 @@
       /* We've used up the entire buffer storing an already-parsed token
        * prefix that must be preserved.  Likely caused by super-long attributes.
        * See ticket #13. */
-      rb_raise(rb_eHpricotParseError, "ran out of buffer space on element <%s>, starting on line %d.", RSTRING(tag)->ptr, curline);
+      rb_raise(rb_eHpricotParseError, "ran out of buffer space on element <%s>, starting on line %d.", RSTRING_PTR(tag), curline);
     }
 
     if ( rb_respond_to( port, s_read ) )
@@ -153,8 +153,8 @@
     }
 
     StringValue(str);
-    memcpy( p, RSTRING(str)->ptr, RSTRING(str)->len );
-    len = RSTRING(str)->len;
+    memcpy( p, RSTRING_PTR(str), RSTRING_LEN(str));
+    len = RSTRING_LEN(str);
     nread += len;
 
     /* If this is the last buffer, tack on an EOF. */
@@ -5648,7 +5648,7 @@
       free(buf);
       if ( !NIL_P(tag) )
       {
-        rb_raise(rb_eHpricotParseError, "parse error on element <%s>, starting on line %d.\n" NO_WAY_SERIOUSLY, RSTRING(tag)->ptr, curline);
+        rb_raise(rb_eHpricotParseError, "parse error on element <%s>, starting on line %d.\n" NO_WAY_SERIOUSLY, RSTRING_PTR(tag), curline);
       }
       else
       {
diff -ruN libhpricot-ruby-0.5/ext/hpricot_scan/hpricot_scan.rl ../libhpricot-ruby-0.5/ext/hpricot_scan/hpricot_scan.rl
--- libhpricot-ruby-0.5/ext/hpricot_scan/hpricot_scan.rl	2007-01-30 22:11:19.000000000 +0100
+++ ../libhpricot-ruby-0.5/ext/hpricot_scan/hpricot_scan.rl	2007-06-04 10:19:41.706526825 +0200
@@ -236,7 +236,7 @@
       /* We've used up the entire buffer storing an already-parsed token
        * prefix that must be preserved.  Likely caused by super-long attributes.
        * See ticket #13. */
-      rb_raise(rb_eHpricotParseError, "ran out of buffer space on element <%s>, starting on line %d.", RSTRING(tag)->ptr, curline);
+      rb_raise(rb_eHpricotParseError, "ran out of buffer space on element <%s>, starting on line %d.", RSTRING_PTR(tag), curline);
     }
 
     if ( rb_respond_to( port, s_read ) )
@@ -249,8 +249,8 @@
     }
 
     StringValue(str);
-    memcpy( p, RSTRING(str)->ptr, RSTRING(str)->len );
-    len = RSTRING(str)->len;
+    memcpy( p, RSTRING_PTR(str), RSTRING_LEN(str));
+    len = RSTRING_LEN(str);
     nread += len;
 
     /* If this is the last buffer, tack on an EOF. */
@@ -266,7 +266,7 @@
       free(buf);
       if ( !NIL_P(tag) )
       {
-        rb_raise(rb_eHpricotParseError, "parse error on element <%s>, starting on line %d.\n" NO_WAY_SERIOUSLY, RSTRING(tag)->ptr, curline);
+        rb_raise(rb_eHpricotParseError, "parse error on element <%s>, starting on line %d.\n" NO_WAY_SERIOUSLY, RSTRING_PTR(tag), curline);
       }
       else
       {

--- End Message ---
--- Begin Message ---
Source: libhpricot-ruby
Source-Version: 0.6-1

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

libhpricot-ruby1.8_0.6-1_amd64.deb
  to pool/main/libh/libhpricot-ruby/libhpricot-ruby1.8_0.6-1_amd64.deb
libhpricot-ruby1.9_0.6-1_amd64.deb
  to pool/main/libh/libhpricot-ruby/libhpricot-ruby1.9_0.6-1_amd64.deb
libhpricot-ruby_0.6-1.diff.gz
  to pool/main/libh/libhpricot-ruby/libhpricot-ruby_0.6-1.diff.gz
libhpricot-ruby_0.6-1.dsc
  to pool/main/libh/libhpricot-ruby/libhpricot-ruby_0.6-1.dsc
libhpricot-ruby_0.6-1_all.deb
  to pool/main/libh/libhpricot-ruby/libhpricot-ruby_0.6-1_all.deb
libhpricot-ruby_0.6.orig.tar.gz
  to pool/main/libh/libhpricot-ruby/libhpricot-ruby_0.6.orig.tar.gz



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.
Ari Pollak <[EMAIL PROTECTED]> (supplier of updated libhpricot-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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.7
Date: Thu, 21 Jun 2007 11:40:50 -0400
Source: libhpricot-ruby
Binary: libhpricot-ruby1.8 libhpricot-ruby libhpricot-ruby1.9
Architecture: source all amd64
Version: 0.6-1
Distribution: unstable
Urgency: low
Maintainer: Ari Pollak <[EMAIL PROTECTED]>
Changed-By: Ari Pollak <[EMAIL PROTECTED]>
Description: 
 libhpricot-ruby - A fast, enjoyable HTML parser
 libhpricot-ruby1.8 - A fast, enjoyable HTML parser
 libhpricot-ruby1.9 - A fast, enjoyable HTML parser
Closes: 427463
Changes: 
 libhpricot-ruby (0.6-1) unstable; urgency=low
 .
   * New upstream version
   * Fix FTBFS with new ruby (Closes: #427463)
Files: 
 2ade0da040191db828407412d7059c9e 793 libs extra libhpricot-ruby_0.6-1.dsc
 eb5538c0895601fb6eadac41dc0bcc53 214954 libs extra 
libhpricot-ruby_0.6.orig.tar.gz
 cadefb5287e79be96363b566058a0e5f 3166 libs extra libhpricot-ruby_0.6-1.diff.gz
 2cc8ebaf6b355050b3feab5e441222f1 7362 libs extra libhpricot-ruby_0.6-1_all.deb
 71ef001901f6aadfb705f36cae4bb803 56774 libs extra 
libhpricot-ruby1.8_0.6-1_amd64.deb
 7728899b1447d0d688cd76656dcd4a69 56766 libs extra 
libhpricot-ruby1.9_0.6-1_amd64.deb

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

iD8DBQFGnXsKwO+u47cOQDsRAzP3AJwMgGK7NW34/EfPm9ThDXnr8q9CnwCfVJUd
X8M04b4yukhNve3hyhGTvec=
=rq95
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to