(no subject)

hi i already reported this
(Ruby-GNOME 2 / Bugs / #133 ‘struct RString’ has no member named ‘ptr’ error reoccurred)
but nobody did care for that bug tracker.
so i subscribed to this mailing list.
forgive me for rude double posting.

ruby --version
ruby 1.9.1p376 (2009-12-07 revision 26041) [i686-linux]

i tried to compile recent svn. but old error reoccured .

make[1]: Entering directory /media/sdc1/ruby-gnome2/gio/src' gcc -I. -I/media/sdc1/ruby-gnome2/glib/src -I/media/sdc1/ruby-gnome2/glib/src -I/usr/include/ruby-1.9.1/i686-linux -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I/media/sdc1/ruby-gnome2/gio/src -I/usr/lib/ruby/site_ruby/1.9.1/i686-linux -I/usr/lib/ruby/vendor_ruby/1.9.1/i686-linux -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_RB_EXEC_RECURSIVE -DRUBY_GIO2_COMPILATION -D_FILE_OFFSET_BITS=64 -fPIC -O2 -g -Wall -Wno-parentheses -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -finline-functions -fno-common -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Winline -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wsign-compare -Wstrict-aliasing=2 -Wswitch-default -Wswitch-enum -Wundef -Wunsafe-loop-optimizations -Wwrite-strings -o util.o -c util.c util.c: In function ‘g_file_ary_to_glist’: util.c:59: warning: value computed is not used util.c: In function ‘cstr_to_rval_own’: util.c:128: error: ‘struct RString’ has no member named ‘ptr’ util.c:129: error: ‘struct RString’ has no member named ‘len’ util.c:130: error: ‘struct RString’ has no member named ‘aux’ util.c: In function ‘rbgio_raise_io_error’: util.c:237: warning: format not a string literal and no format arguments make[1]: *** [util.o] error 1 make[1]: Leaving directory /media/sdc1/ruby-gnome2/gio/src’
make: *** [all] error 2

thi is error line.
it is not easy to change RString ->ptr TO RString_PTR

VALUE
cstr_to_rval_own(char *string, gsize length)
{
NEWOBJ(str, struct RString);
OBJSETUP(str, rb_cString, T_STRING);

str->ptr = string;
str->len = length;
str->aux.capa = length;

return (VALUE)str;
}

$ svn info

Path: .
URL:

Repository Root:

Repository UUID: c539e5d7-1e9e-499f-b274-3850e4969db1
Revision: 3723
Node Kind: directory
Schedule: normal
Last Changed Author: ktou
Last Changed Rev: 3699
Last Changed Date: 2009-09-23 09:03:40 +0900 (Wed, 23 Sep 2009)

Hi,

In [email protected]
“[ruby-gnome2-devel-en] (no subject)” on Wed, 16 Dec 2009 01:25:30
+0900,
±è½Âä [email protected] wrote:

hi i already reported this
(Ruby-GNOME 2 / Bugs / #133 ‘struct RString’ has no member named ‘ptr’ error reoccurred)
but nobody did care for that bug tracker.
so i subscribed to this mailing list.
forgive me for rude double posting.

I’m sorry but there is no maintainer for Ruby/GIO.
It also has many problems (e.g. coding style). We will
remove it from Ruby-GNOME2 project if nobody maintains it.

Thanks,

P.S. A problem submitted by you had been fixed in trunk. :slight_smile:

2009/12/18, Kouhei S. [email protected]:

kou

what you mean “fixed”?
nothing changed in subversion source now.
you mean “just remove gio releated code from svn”?
or will be fixed sooner or later?

In [email protected]
“Re: [ruby-gnome2-devel-en] (no subject)” on Fri, 18 Dec 2009 22:20:47
+0900,
±è½Âä [email protected] wrote:


kou

what you mean “fixed”?

Try make trunk.

nothing changed in subversion source now.

It had been fixed.

Thanks,

hah,maybe there is some time lag in svn commit.
just now i run “svn update”.
but nothing changed. :slight_smile:

$ svn up
Fetching external item into ‘misc’

Fetching external item into ‘misc/rt’
External at revision 494.

At revision 3425.

Fetching external item into ‘glib/test-unit’
External at revision 251.

At revision 3723.

$ svn info
Path: .
URL:

Repository Root:

Repository UUID: c539e5d7-1e9e-499f-b274-3850e4969db1
Revision: 3723
Node Kind: directory
Schedule: normal
Last Changed Author: ktou
Last Changed Rev: 3723
Last Changed Date: 2009-12-15 21:39:36 +0900 (Tue, 15 Dec 2009)

2009/12/18, Kouhei S. [email protected]:

and nothing changed in your web svn repository
(Ruby-GNOME 2 download | SourceForge.net)

i`m saying to myself “Please be patient!!, svn commit tends to take
long time”

In [email protected]
“Re: [ruby-gnome2-devel-en] (no subject)” on Fri, 18 Dec 2009 22:54:34
+0900,
±è½Âä [email protected] wrote:

and nothing changed in your web svn repository
(Ruby-GNOME 2 download | SourceForge.net)

i`m saying to myself “Please be patient!!, svn commit tends to take long time”

I’m so sorry. It was my misunderstanding.
I noticed that I can’t fix, modify, maintain and
… Ruby/GIO code. I’ll remove it from the Ruby-GNOME2
project soon.

Thanks,