Skip Menu |

This queue is for tickets about the Inline-Ruby CPAN distribution.

Report information
The Basics
Id: 32536
Status: open
Priority: 0/
Queue: Inline-Ruby

People
Owner: epratomo [...] acm.org
Requestors: edpratomo [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.02
Fixed in: (no value)



Subject: patch for 0.02
the attached patch is for Inline::Ruby 0.02 to be used with ruby 1.8.6 and ruby 1.9.0-0 svn trunk. But _not_ the 1.9.0-0 xmas edition. the xmas edition contains a bug that segfaults one of the tests. Tested with 1.8.6-p111 and 1.9.0-0 svn trunk. screenshot: [edwin@arien shm]$ tar -zxvf /home/edwin/.cpanplus/authors/id/N/NE/NEILW/Inline-Ruby-0.02.tar.gz Inline-Ruby-0.02/ Inline-Ruby-0.02/README Inline-Ruby-0.02/t/ Inline-Ruby-0.02/t/03bindfunc.t Inline-Ruby-0.02/t/09regex.t Inline-Ruby-0.02/t/01basic.t Inline-Ruby-0.02/t/07proc.t Inline-Ruby-0.02/t/08bind1.t Inline-Ruby-0.02/t/02iter.t Inline-Ruby-0.02/t/05rb_exc.t Inline-Ruby-0.02/t/06pl_exc.t Inline-Ruby-0.02/t/08bind2.t Inline-Ruby-0.02/t/04iterator.t Inline-Ruby-0.02/MANIFEST Inline-Ruby-0.02/test.pl Inline-Ruby-0.02/Changes Inline-Ruby-0.02/Makefile.PL Inline-Ruby-0.02/lib/ Inline-Ruby-0.02/lib/Inline/ Inline-Ruby-0.02/lib/Inline/Ruby.pod Inline-Ruby-0.02/Ruby.xs Inline-Ruby-0.02/Ruby.pm Inline-Ruby-0.02/samples/ Inline-Ruby-0.02/samples/tk/ Inline-Ruby-0.02/samples/tk/tkhello.pl Inline-Ruby-0.02/rb2pl.c Inline-Ruby-0.02/rb2pl.h [edwin@arien shm]$ cd Inline-Ruby-0.02 [edwin@arien Inline-Ruby-0.02]$ patch -p1 < ../Inline-Ruby.diff patching file Makefile.PL patching file MANIFEST patching file META.yml patching file rb2pl.c patching file rb2pl.h patching file Ruby.pm patching file Ruby.xs patching file t/02iter.t patching file t/05rb_exc.t [edwin@arien Inline-Ruby-0.02]$ perl Makefile.PL Found 3 ruby executables on your PATH. 1. /home/edwin/ruby-1.8.6/bin/ruby 2. /usr/local/bin/ruby 3. /usr/bin/ruby Use which? [1] Using /home/edwin/ruby-1.8.6/bin/ruby Using these settings: Extra Libs: -ldl -lcrypt -lm Ruby Lib: -L/home/edwin/ruby-1.8.6/lib -lruby-static Includes: -I/home/edwin/ruby-1.8.6/lib/ruby/1.8/i686-linux Extra Flags: none (perl Makefile.PL --help for details) Checking if your kit is complete... Looks good Writing Makefile for Inline::Ruby [edwin@arien Inline-Ruby-0.02]$ make cp lib/Inline/Ruby.pod blib/lib/Inline/Ruby.pod cp Ruby.pm blib/lib/Inline/Ruby.pm /usr/local/perl-5.10.0/bin/perl /usr/local/perl-5.10.0/lib/5.10.0/ExtUtils/xsubpp -typemap /usr/local/perl-5.10.0/lib/5.10.0/ExtUtils/typemap Ruby.xs > Ruby.xsc && mv Ruby.xsc Ruby.c cc -c -I/home/edwin/ruby-1.8.6/lib/ruby/1.8/i686-linux -Wall -O2 -g -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/usr/local/perl-5.10.0/lib/5.10.0/i686-linux-thread-multi/CORE" -UEXPOSE_PERL -DCREATE_RUBY -UCREATE_PERL -DRUBY_VERSION_MAJOR=1 -DRUBY_VERSION_MINOR=8 Ruby.c Ruby.xs: In function `do_rbinit': Ruby.xs:99: warning: implicit declaration of function `Init_ext' Ruby.xs: In function `my_iter_it': Ruby.xs:117: warning: unused variable `method_id' Ruby.xs: In function `my_error_wrapper': Ruby.xs:295: warning: zero-length printf format string Ruby.xs: In function `call_ruby_method': Ruby.xs:324: warning: unused variable `pl_retval' cc -c -I/home/edwin/ruby-1.8.6/lib/ruby/1.8/i686-linux -Wall -O2 -g -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/usr/local/perl-5.10.0/lib/5.10.0/i686-linux-thread-multi/CORE" -UEXPOSE_PERL -DCREATE_RUBY -UCREATE_PERL -DRUBY_VERSION_MAJOR=1 -DRUBY_VERSION_MINOR=8 rb2pl.c rb2pl.c: In function `free_InlineRubyWrapper': rb2pl.c:40: warning: control reaches end of non-void function Running Mkbootstrap for Inline::Ruby () chmod 644 Ruby.bs rm -f blib/arch/auto/Inline/Ruby/Ruby.so cc -shared -O2 Ruby.o rb2pl.o -o blib/arch/auto/Inline/Ruby/Ruby.so \ -L/home/edwin/ruby-1.8.6/lib -lruby-static -ldl -lcrypt -lm \ chmod 755 blib/arch/auto/Inline/Ruby/Ruby.so cp Ruby.bs blib/arch/auto/Inline/Ruby/Ruby.bs chmod 644 blib/arch/auto/Inline/Ruby/Ruby.bs Manifying blib/man3/Inline::Ruby.3 [edwin@arien Inline-Ruby-0.02]$ make test PERL_DL_NONLAZY=1 /usr/local/perl-5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01basic.......ok t/02iter........ok t/03bindfunc....ok t/04iterator....ok t/05rb_exc......ok t/06pl_exc......(eval):30: warning: parenthesize argument(s) for future version (eval):42: warning: parenthesize argument(s) for future version t/06pl_exc......ok t/07proc........ok t/08bind1.......ok t/08bind2.......ok t/09regex.......ok All tests successful. Files=10, Tests=66, 2 wallclock secs ( 1.13 cusr + 0.16 csys = 1.29 CPU) PERL_DL_NONLAZY=1 /usr/local/perl-5.10.0/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..3 ok 1 ok 2 ok 3 this is a string Inline::Ruby [edwin@arien Inline-Ruby-0.02]$ make realclean rm -f \ *.a core \ core.[0-9] blib/arch/auto/Inline/Ruby/extralibs.all \ core.[0-9][0-9] Ruby.bso \ pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \ Ruby.x Ruby.bs \ perl tmon.out \ *.o Ruby.c \ pm_to_blib blib/arch/auto/Inline/Ruby/extralibs.ld \ blibdirs.ts core.[0-9][0-9][0-9][0-9][0-9] \ *perl.core core.*perl.*.? \ Makefile.aperl perl \ Ruby.def core.[0-9][0-9][0-9] \ mon.out libRuby.def \ perlmain.c perl.exe \ so_locations Ruby.exp rm -rf \ blib mv Makefile Makefile.old > /dev/null 2>&1 rm -f \ Ruby.o rb2pl.o Makefile.old \ Makefile rm -rf \ _Inline Inline-Ruby-0.03 [edwin@arien Inline-Ruby-0.02]$ env PATH=/home/edwin/ruby-1.9.0-dev/bin:/home/edwin/ruby-1.9.0/bin:$PATH perl Makefile.PL Found 5 ruby executables on your PATH. 1. /home/edwin/ruby-1.9.0-dev/bin/ruby 2. /home/edwin/ruby-1.9.0/bin/ruby 3. /home/edwin/ruby-1.8.6/bin/ruby 4. /usr/local/bin/ruby 5. /usr/bin/ruby Use which? [1] Using /home/edwin/ruby-1.9.0-dev/bin/ruby Using these settings: Extra Libs: -lpthread -lrt -ldl -lcrypt -lm Ruby Lib: -L/home/edwin/ruby-1.9.0-dev/lib -lruby-static Includes: -I/home/edwin/ruby-1.9.0-dev/include/ruby-1.9.0 -I/home/edwin/ruby-1.9.0-dev/include/ruby-1.9.0/i686-linux Extra Flags: -g Checking if your kit is complete... Looks good Writing Makefile for Inline::Ruby [edwin@arien Inline-Ruby-0.02]$ make cp lib/Inline/Ruby.pod blib/lib/Inline/Ruby.pod cp Ruby.pm blib/lib/Inline/Ruby.pm /usr/local/perl-5.10.0/bin/perl /usr/local/perl-5.10.0/lib/5.10.0/ExtUtils/xsubpp -typemap /usr/local/perl-5.10.0/lib/5.10.0/ExtUtils/typemap Ruby.xs > Ruby.xsc && mv Ruby.xsc Ruby.c cc -c -I/home/edwin/ruby-1.9.0-dev/include/ruby-1.9.0 -I/home/edwin/ruby-1.9.0-dev/include/ruby-1.9.0/i686-linux -Wall -g -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/usr/local/perl-5.10.0/lib/5.10.0/i686-linux-thread-multi/CORE" -UEXPOSE_PERL -DCREATE_RUBY -UCREATE_PERL -DRUBY_VERSION_MAJOR=1 -DRUBY_VERSION_MINOR=9 Ruby.c Ruby.xs: In function `do_rbinit': Ruby.xs:99: warning: implicit declaration of function `Init_ext' Ruby.xs: In function `my_iter_it': Ruby.xs:117: warning: unused variable `method_id' Ruby.xs: In function `my_error_wrapper': Ruby.xs:295: warning: zero-length printf format string Ruby.xs: In function `call_ruby_method': Ruby.xs:324: warning: unused variable `pl_retval' cc -c -I/home/edwin/ruby-1.9.0-dev/include/ruby-1.9.0 -I/home/edwin/ruby-1.9.0-dev/include/ruby-1.9.0/i686-linux -Wall -g -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/usr/local/perl-5.10.0/lib/5.10.0/i686-linux-thread-multi/CORE" -UEXPOSE_PERL -DCREATE_RUBY -UCREATE_PERL -DRUBY_VERSION_MAJOR=1 -DRUBY_VERSION_MINOR=9 rb2pl.c rb2pl.c: In function `free_InlineRubyWrapper': rb2pl.c:40: warning: control reaches end of non-void function Running Mkbootstrap for Inline::Ruby () chmod 644 Ruby.bs rm -f blib/arch/auto/Inline/Ruby/Ruby.so LD_RUN_PATH="/lib" cc -shared -O2 Ruby.o rb2pl.o -o blib/arch/auto/Inline/Ruby/Ruby.so \ -L/home/edwin/ruby-1.9.0-dev/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm \ chmod 755 blib/arch/auto/Inline/Ruby/Ruby.so cp Ruby.bs blib/arch/auto/Inline/Ruby/Ruby.bs chmod 644 blib/arch/auto/Inline/Ruby/Ruby.bs Manifying blib/man3/Inline::Ruby.3 [edwin@arien Inline-Ruby-0.02]$ make test PERL_DL_NONLAZY=1 /usr/local/perl-5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01basic.......ok t/02iter........ok t/03bindfunc....ok t/04iterator....ok t/05rb_exc......ok t/06pl_exc......ok t/07proc........ok t/08bind1.......ok t/08bind2.......ok t/09regex.......ok All tests successful. Files=10, Tests=66, 2 wallclock secs ( 1.24 cusr + 0.18 csys = 1.42 CPU) PERL_DL_NONLAZY=1 /usr/local/perl-5.10.0/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..3 ok 1 ok 2 ok 3 this is a string Inline::Ruby
Subject: Inline-Ruby.diff

Message body is not shown because it is too large.

I have created a public git repo for Inline::Ruby on http://gitorious.org/projects/inline-ruby
Am Mo 04. Feb 2008, 13:22:27, EDPRATOMO schrieb: Show quoted text
> I have created a public git repo for Inline::Ruby on > http://gitorious.org/projects/inline-ruby
good for linux your patch but can you help under win32 systems? see https://rt.cpan.org/Ticket/Display.html?id=61015