First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 194303
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Ruby Team <ruby@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Martin Allchin <mallchin@blueyonder.co.uk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dev-ruby:ruby-glib2-0.16.0:20070930-191727.log Build log text/plain Martin Allchin 2007-09-30 19:24 0000 9.83 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 194303 depends on: Show dependency tree
Bug 194303 blocks: 193369
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-30 19:23 0000
Compiling ruby-glib2-0.16.0 fails to compile. This has been reported and fixed
upstream. I have created this bug to log the issue and find a resolve until the
fixed version is available in portage.

Reproducible: Always

Steps to Reproduce:
1.emerge ruby-glib2
2.
3.

Actual Results:  
See attached log for compile output.

Expected Results:  
Successful emerge.

This has been reported and fixed upstream:
http://ruby-gnome2.cvs.sourceforge.net/ruby-gnome2/ruby-gnome2/glib/src/rbglib_maincontext.c?view=log

------- Comment #1 From Martin Allchin 2007-09-30 19:24:17 0000 -------
Created an attachment (id=132256) [details]
Build log

Attached build log.

------- Comment #2 From Martin Allchin 2007-09-30 20:08:23 0000 -------
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.

------- Comment #3 From Hans de Graaff 2007-10-01 18:15:49 0000 -------
Adding Luis to the CC as he did the last release and is in the gnome herd.

------- Comment #4 From Priit Laes (IRC: plaes) 2007-10-03 15:22:50 0000 -------
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

------- Comment #5 From Claes Mogren 2007-10-04 06:31:09 0000 -------
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

------- Comment #6 From Hans de Graaff 2007-10-04 06:37:23 0000 -------
(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.

------- Comment #7 From Weeve 2007-10-17 16:19:04 0000 -------
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....

------- Comment #8 From Hans de Graaff 2007-10-17 18:32:49 0000 -------
Could people who have this problem please indicate which version of glib they
have installed?

------- Comment #9 From Weeve 2007-10-17 18:35:47 0000 -------
I'm using glib-2.14.2 here (freshly emerged this morning).

------- Comment #10 From Claes Mogren 2007-10-17 20:50:34 0000 -------
Just checked and ruby-glib2 is still failing the same way. I have glib-2.14.2.

------- Comment #11 From Hans de Graaff 2007-10-18 19:27:15 0000 -------
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.

------- Comment #12 From Weeve 2007-10-18 20:23:50 0000 -------
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

------- Comment #13 From Hans de Graaff 2007-10-19 10:44:09 0000 -------
(In reply to comment #12)
> The revision bump fails with the following for me:

This is reported in bug 193898

------- Comment #14 From Martin Allchin 2007-10-21 13:39:32 0000 -------
ruby-glib2-0.16.0-r1 works for me using glib-2.14.2

------- Comment #15 From nick stinemates 2008-02-17 04:56:14 0000 -------
(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.

First Last Prev Next    No search results available      Search page      Enter new bug