Summary: | dev-ruby/ruby-glib2-0.16.0 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Allchin <mallchin> |
Component: | New packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cm, metalgod, plaes, rab1, teidakankan, transacid, weeve3 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic-t-588008-highlight-rubyglib2.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 193369 | ||
Attachments: | Build log |
Description
Martin Allchin
2007-09-30 19:23:32 UTC
Created attachment 132256 [details]
Build log
Attached build log.
I patched rbglib_maincontext.c from 1.10 to 1.13 but it didn't compile. Some other files would need patching too. I guess we wait on a new release upstream. Adding Luis to the CC as he did the last release and is in the gnome herd. Second compile failure fixed here: http://ruby-gnome2.cvs.sourceforge.net/ruby-gnome2/ruby-gnome2/glib/src/rbglib_unicode.c?r1=1.8&r2=1.9&view=patch Fails to compile for me too, but at another place: gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV -DHAVE_RB_CHECK_ARRAY_TYPE -DRUBY_GLIB2_COMPILATION -I/usr/lib64/ruby/site_ruby/1.8/x86_64-linux -fPIC -march=athlon64 -O2 -pipe -fno-ident -fno-strict-aliasing -fPIC -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c rbglib_maincontext.c rbglib_maincontext.c: In function ‘timeout_add_seconds’: rbglib_maincontext.c:346: error: too many arguments to function ‘g_timeout_add_seconds’ make[1]: *** [rbglib_maincontext.o] Error 1 make[1]: Leaving directory `/tmp/portage/dev-ruby/ruby-glib2-0.16.0/work/ruby-gnome2-all-0.16.0/glib/src' make: *** [all] Error 2 (In reply to comment #5) > Fails to compile for me too, but at another place: This has been fixed upstream: http://sourceforge.net/tracker/index.php?func=detail&aid=1800346&group_id=53614&atid=470969 I assume that there will be a new release with these fixes from upstream soonish, so I think it's best to wait for that. Can we please have a working version of this package in portage? It's a dependency that other programs need and prevents them from being emerged for the first time. Also I thought broken packages in the live tree was a big no no.... Could people who have this problem please indicate which version of glib they have installed? I'm using glib-2.14.2 here (freshly emerged this morning). Just checked and ruby-glib2 is still failing the same way. I have glib-2.14.2. I've just committed ruby-glib2-0.16.0-r1 to CVS which should fix this issue and be backwards compatible with glib-2.12.x. The revision bump fails with the following for me: gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I. -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV -DHAVE_RB_CHECK_ARRAY_TYPE -DRUBY_GLIB2_COMPILATION -I/usr/lib/ruby/site_ruby/1.8/i686-linux -fPIC -march=pentium4 -O2 -pipe -fno-strict-aliasing -fPIC -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c rbgobj_boxed.c rbgobj_boxed.c: In function 'rbgobj_boxed_get': rbgobj_boxed.c:149: error: argument 'gtype' doesn't match prototype rbgobject.h:196: error: prototype declaration make[1]: *** [rbgobj_boxed.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-ruby/ruby-glib2-0.16.0-r1/work/ruby-gnome2-all-0.16.0/glib/src' make: *** [all] Error 2 (In reply to comment #12) > The revision bump fails with the following for me: This is reported in bug 193898 ruby-glib2-0.16.0-r1 works for me using glib-2.14.2 (In reply to comment #5) > Fails to compile for me too, but at another place: > > gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_RB_DEFINE_ALLOC_FUNC > -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN > -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV > -DHAVE_RB_CHECK_ARRAY_TYPE -DRUBY_GLIB2_COMPILATION > -I/usr/lib64/ruby/site_ruby/1.8/x86_64-linux -fPIC -march=athlon64 -O2 -pipe > -fno-ident -fno-strict-aliasing -fPIC -Wall -I/usr/include/glib-2.0 > -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 > -I/usr/lib64/glib-2.0/include -c rbglib_maincontext.c > rbglib_maincontext.c: In function ‘timeout_add_seconds’: > rbglib_maincontext.c:346: error: too many arguments to function > ‘g_timeout_add_seconds’ > make[1]: *** [rbglib_maincontext.o] Error 1 > make[1]: Leaving directory > `/tmp/portage/dev-ruby/ruby-glib2-0.16.0/work/ruby-gnome2-all-0.16.0/glib/src' > make: *** [all] Error 2 > I am also having the same issue. Glad to hear it is being fixed up stream. |