Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED]problem with emerge ruby-glib2-0.16.0

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
19 posts • Page 1 of 1
Author
Message
ryoleus
n00b
n00b
Posts: 8
Joined: Fri Jun 02, 2006 4:26 am
Location: JP

[SOLVED]problem with emerge ruby-glib2-0.16.0

  • Quote

Post by ryoleus » Mon Sep 24, 2007 2:43 pm

Hello for all,
[/b]
this is my first post in a forum and my english is poor, my apologists for same error from my self. :oops:

well,

I'm trying to install the ruby-gtk2 package in my system but the ruby-glib2 break on emerge.

This is the error message:

Code: Select all

checking for rb_define_alloc_func()... yes
checking for rb_block_proc()... yes
checking for new allocation framework... yes
checking for attribute assignment... yes
checking for gobject-2.0... yes
checking for gthread-2.0... yes
checking for G_PLATFORM_WIN32... no
checking for g_spawn_close_id()... no
checking for g_thread_init()... yes
checking for g_main_depth()... yes
checking for g_listenv()... yes
checking for rb_check_array_type()... yes
checking for rb_exec_recursive()... no
checking for yarv.h... no
creating glib-enum-types.c
creating glib-enum-types.h
creating Makefile
make[1]: Entering directory `/var/tmp/portage/dev-ruby/ruby-glib2-0.16.0/work/ruby-gnome2-all-0.16.0/glib/src'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
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=opteron -O2 -pipe -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_win32.c
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=opteron -O2 -pipe -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_source.c
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=opteron -O2 -pipe -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 rbgobj_boxed.c
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=opteron -O2 -pipe -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_pollfd.c
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=opteron -O2 -pipe -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 `/var/tmp/portage/dev-ruby/ruby-glib2-0.16.0/work/ruby-gnome2-all-0.16.0/glib/src'
make: *** [all] Error 2
and this is my emerge info output:

Code: Select all

Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 Dual-Core AMD Opteron(tm) Processor 2212
Timestamp of tree: Mon, 24 Sep 2007 01:30:08 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gg3.net/pub/linux/gentoo "
LANG="en_US.utf8"
LINGUAS="pt_BR ja en_US"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/bangert /usr/local/layman/xeffects /usr/local/layman/xeffects-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi alsa amd64 amr anthy apache2 apm avahi bash-completion berkdb bitmap-fonts bonjour branding bzip2 cairo caps cddb cdparanoia cdr cjk cli cracklib crypt cups curl dbus device-mapper dga dia disk-partition djbfft djvu dmx dri dts dvd dvdr dvi emerald encode epydoc examples expat fam fastcgi ffmpeg firefox flac foomaticdb fortran gdbm gimp glitz gnome gnome-print gnutls gpm graphviz groupwise gs gstreamer gtk hal hdri howl howl-compat iconv idn ieee1394 imagemagick imlib inkjar isdnlog jbig jpeg jpeg2k krb4 lcms libcaca libedit libnotify libsexy mad meanwhile midi mmap mmx mng modplug motif mozdevelop mp3 mpeg mpm-prefork msn mudflap musepack ncurses neXt netboot network-cron nfs nls nptl nptlonly nsplugin nvtv ogg openal openexr opengl openmp optimisememory pam pango paste64 pcre pdf perl pg-intdatetime png postgres postscript ppds pppd python q32 q8 qq readline reflection rtsp ruby rubytests samba sasl scanner sdl session shout silc skins slang smp sound spl sqlite3 sse sse2 ssl startup-notification svg svgz svk syslog tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd verse vim vim-pager vim-syntax vorbis winbind wmf x264 xcb xine xinerama xml xorg xprint xulrunner xvid xvmc zephyr zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="wacom keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR ja en_US" USERLAND="GNU" VIDEO_CARDS="nvidia vesa v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS


Thanks

Luiz
Last edited by ryoleus on Sat Nov 03, 2007 10:50 am, edited 4 times in total.
や〜。なかなかこのリナックスって奴と仲良くできんのな〜〜。
Top
mamac
l33t
l33t
User avatar
Posts: 890
Joined: Sun Feb 29, 2004 9:23 pm

  • Quote

Post by mamac » Mon Sep 24, 2007 2:52 pm

Hi,

I'm not on my Gentoo now and can't see which version are available but maybe there's a newer version that is masked.

If so, I would suggest to unmask it and try to emerge it.
Powered by Gentoo Linux since 2003
Top
ryoleus
n00b
n00b
Posts: 8
Joined: Fri Jun 02, 2006 4:26 am
Location: JP

  • Quote

Post by ryoleus » Mon Sep 24, 2007 3:02 pm

Hi mamac
Tanks for the quickly response,

Im checked the portage for new packages but the lastest is the 0.16.0,

may this problem become a bug??

Tanks
や〜。なかなかこのリナックスって奴と仲良くできんのな〜〜。
Top
mamac
l33t
l33t
User avatar
Posts: 890
Joined: Sun Feb 29, 2004 9:23 pm

  • Quote

Post by mamac » Mon Sep 24, 2007 7:11 pm

I'm back on Gentoo now and I confirm that 0.16 is the latest. Sounds like a bug to me as well.

You could try to downgrade as well.
Powered by Gentoo Linux since 2003
Top
ryoleus
n00b
n00b
Posts: 8
Joined: Fri Jun 02, 2006 4:26 am
Location: JP

  • Quote

Post by ryoleus » Tue Sep 25, 2007 11:08 am

Hi,

for now, im masked the 0.16 version, downgraded for 0.15.0 version and it is successfully installed.

thanks mamac,

Luiz
や〜。なかなかこのリナックスって奴と仲良くできんのな〜〜。
Top
mamac
l33t
l33t
User avatar
Posts: 890
Joined: Sun Feb 29, 2004 9:23 pm

  • Quote

Post by mamac » Tue Sep 25, 2007 11:18 am

Good to see it works.

Do you really need the latest version?

If yes you could create a bug. Otherwise, if everything is ok for you, you might set this thread as [SOLVED]
Powered by Gentoo Linux since 2003
Top
ryoleus
n00b
n00b
Posts: 8
Joined: Fri Jun 02, 2006 4:26 am
Location: JP

  • Quote

Post by ryoleus » Tue Sep 25, 2007 12:06 pm

Hi mamac,

for the explanation.

the 0.15 is sufficient for my tests for now.

Thanks for all.

regards

Luiz
や〜。なかなかこのリナックスって奴と仲良くできんのな〜〜。
Top
jasn
Guru
Guru
User avatar
Posts: 439
Joined: Thu May 05, 2005 4:12 pm
Location: Maryland, US

Emerge ruby-glib2-0.16.0 fails

  • Quote

Post by jasn » Wed Sep 26, 2007 11:47 am

New install trying to emerge gnome-art, as dependencies pull in ruby-glib2-0.16.0, the emerge fails with the following as the tail compile message;

Code: Select all

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=prescott -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 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 `/var/tmp/portage/dev-ruby/ruby-glib2-0.16.0/work/ruby-gnome2-all-0.16.0/glib/src'
make: *** [all] Error 2
I noticed that others are having the same problem too. BTW, ruby-glib2.0-0.15.0 fails compile with a different error message..
Top
nixnut
Bodhisattva
Bodhisattva
User avatar
Posts: 10974
Joined: Fri Apr 09, 2004 1:43 pm
Location: the dutch mountains

  • Quote

Post by nixnut » Wed Sep 26, 2007 5:11 pm

merged above post here.
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Top
jasn
Guru
Guru
User avatar
Posts: 439
Joined: Thu May 05, 2005 4:12 pm
Location: Maryland, US

  • Quote

Post by jasn » Fri Sep 28, 2007 6:18 pm

If anyone is still reading this thread and you have a bugzilla account, can you please file a bug on this? Here's what's going wrong with this emerge. From the emerge failure output;

Code: Select all

make[1]: Entering directory `/var/tmp/portage/dev-ruby/ruby-glib2-0.16.0/work/ruby-gnome2-all-0.16.0/glib/src'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
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=prescott -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_typeinstance.c
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=prescott -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_closure.c
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=prescott -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 rbglib_pollfd.c
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=prescott -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 rbgutil.c
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=prescott -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 rbglib.c
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=prescott -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 rbglib_convert.c
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=prescott -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 rbglib_utils.c
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=prescott -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 rbgobject.c
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=prescott -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_valuearray.c
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=prescott -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 rbglib_mainloop.c
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=prescott -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 rbglib_iochannel.c
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=prescott -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_strv.c
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=prescott -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_typemodule.c
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=prescott -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 utils_int64.c
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=prescott -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_fundamental.c
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=prescott -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 rbglib_threads.c
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=prescott -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_valuetypes.c
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=prescott -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 rbglib_shell.c
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=prescott -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 rbglib_timer.c
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=prescott -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_type.c
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=prescott -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_object.c
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=prescott -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 rbglib_fileutils.c
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=prescott -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 rbglib_spawn.c
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=prescott -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 rbglib_completion.c
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=prescott -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_typeinterface.c
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=prescott -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_typeplugin.c
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=prescott -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 rbglib_bookmarkfile.c
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=prescott -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 rbglib_source.c
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=prescott -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_value.c
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=prescott -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_param.c
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=prescott -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_paramspecs.c
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=prescott -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 rbglib_messages.c
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=prescott -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 rbglib_keyfile.c
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=prescott -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_signal.c
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=prescott -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 rbglib_i18n.c
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=prescott -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 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 `/var/tmp/portage/dev-ruby/ruby-glib2-0.16.0/work/ruby-gnome2-all-0.16.0/glib/src'
make: *** [all] Error 2
 * 
 * ERROR: dev-ruby/ruby-glib2-0.16.0 failed.
 * Call stack:
 *            ebuild.sh, line 1684:  Called dyn_compile
 *            ebuild.sh, line 1020:  Called qa_call 'src_compile'
 *            ebuild.sh, line   44:  Called src_compile
 *            ebuild.sh, line 1364:  Called ruby-gnome2_src_compile
 *   ruby-gnome2.eclass, line   58:  Called die
 * The specific snippet of code:
 *      emake CC=${CC:-gcc} CXX=${CXX:-g++} || die "emake failed"
 *  The die message:
 *   emake failed
Looking at /var/tmp/portage/dev-ruby/ruby-glib2-0.16.0/work/ruby-gnome2-all-0.16.0/glib/src/rbglib_maincontext.c and searching for g_timeout_add_seconds we find the function beginning at line 344 to line 346. Here's that entire section;

Code: Select all

#if GLIB_CHECK_VERSION(2,14,0)
static VALUE
timeout_add_seconds(VALUE self, VALUE interval)
{
    VALUE func, rb_id;
    callback_info_t *info;
    guint id;

    func = G_BLOCK_PROC();

    info = ALLOC(callback_info_t);
    info->callback = func;
    id = g_timeout_add_seconds(NUM2UINT(interval),
                               (GSourceFunc)invoke_source_func,
                               (gpointer)info, g_free);
    info->id = id;
    rb_id = UINT2NUM(id);
    G_RELATIVE2(mGLibSource, func, id__callbacks__, rb_id);
    g_hash_table_insert(callbacks_table, (gpointer)func, info);
    return rb_id;
} 
#endif
By googling around it looks like this has actually been fixed upstream as noted here. Here's the full diff. However it seems that we don't have the revised source in this ebuild yet. Maybe someone could propose a patch.
Top
ryoleus
n00b
n00b
Posts: 8
Joined: Fri Jun 02, 2006 4:26 am
Location: JP

  • Quote

Post by ryoleus » Sat Sep 29, 2007 4:52 am

Hi,

I'm decided to reopen the thread for the cause of other people have the same problem with the 0.16 version.

sorry for the slow response jasn.

Regards,

luiz
や〜。なかなかこのリナックスって奴と仲良くできんのな〜〜。
Top
nixnut
Bodhisattva
Bodhisattva
User avatar
Posts: 10974
Joined: Fri Apr 09, 2004 1:43 pm
Location: the dutch mountains

  • Quote

Post by nixnut » Sat Sep 29, 2007 9:31 am

hmm, I'd guess you are both a version of glib that isn't stable (i.e. ~amd64 keyworded instead of amd64) and the version of ruby-glib2 in portage is not in sync with that version yet. On the page with the diff there's a link 'Patch' that creates a patch. You could try applying that to the ruby-glib2 sources.
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Top
jasn
Guru
Guru
User avatar
Posts: 439
Joined: Thu May 05, 2005 4:12 pm
Location: Maryland, US

  • Quote

Post by jasn » Sat Sep 29, 2007 11:26 am

ryoleus wrote:I'm decided to reopen the thread for the cause of other people have the same problem with the 0.16 version.
Luiz,

Thank you very much. This is a problem that needs to be fixed, as I think anyone building this package from new, will have the same problem we had with 0.16.0. Now at least this may get some more attention, and hopefully a fix.

Jason
Top
jasn
Guru
Guru
User avatar
Posts: 439
Joined: Thu May 05, 2005 4:12 pm
Location: Maryland, US

  • Quote

Post by jasn » Sat Sep 29, 2007 12:38 pm

nixnut wrote:hmm, I'd guess you are both a version of glib that isn't stable and the version of ruby-glib2 in portage is not in sync with that version yet.
I don't know if the 2.14.1 version of glib is stable or not, with packages.gentoo.org down, I don't know how to check that. However I was able to emerge ruby-glib2-0.16.0 against the earlier dev-libs/glib-2.12.13.
nixnut wrote:On the page with the diff there's a link 'Patch' that creates a patch. You could try applying that to the ruby-glib2 sources.
I tried to apply that patch to the existing ruby-glib2-0.16.0.ebuild and it didn't work. I know enough to be able to apply a patch to an existing ebuild, but not enough to tune a patch to work with an ebuild, which this patch appears to need. Which is why I was hoping someone who does know these ins and outs, could look at this and tweak an appropriate patch. Obviously this would need to start with a Gentoo bugzilla entry.

In order to solve this ruby-glib2 problem we need an updated ruby-glib2 ebuild using the newer source, or a patch for the current ebuild source. Barring that, building ruby-glib2-0.16.0 against a glib prior to 2.14.1 will work. Once I was past this problem, another appeared with ruby-pango with similar characteristics. Again, building ruby-pango-0.16.0 against a pango no greater than 1.14.10 worked for me. However after having successfully emerged these problem components to ruby-gnome2, and then emerged gnome-art, the program would not work for me, and failed with the following error message;

Code: Select all

ruby: symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: g_once_init_enter_impl
So I unmerged gnome-art, ruby-glib2 and ruby-pango from my system. At this point I'm going to give up on gnome-art as I don't want to continue experimenting with downgrading components in order to get things to work properly. It appears that Gentoo is in need of an update to ruby-gnome2 across the board. Hopefully it's in the works, as I am sure this will start to create breakage across others' systems.
Top
mallchin
l33t
l33t
User avatar
Posts: 655
Joined: Tue Jan 21, 2003 9:59 pm
Location: United Kingdom
Contact:
Contact mallchin
Website

  • Quote

Post by mallchin » Sun Sep 30, 2007 7:25 pm

I have created a bug here.
6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot
Top
gentooaff
n00b
n00b
Posts: 1
Joined: Tue Oct 02, 2007 3:14 pm

ruby-glib2 emake failed

  • Quote

Post by gentooaff » Tue Oct 02, 2007 3:28 pm

Hi

arghhh.... i can not emerge the ruby-glib2 package. i think you don't need my make.conf...
but

Code: Select all


CFLAGS="-march=athlon64 -O3 -pipe -msse -mmmx -m3dnow -msse2"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~amd64"
AUTOCLEAN="yes"
MAKEOPTS="-j8"
USE="3dnow mad aac flac wma mpeg hal nls dbus cd cdr win32codecs symlink ipv6 ipv4 -doc gtk vorbis samba kde wxwindows X xinerama alsa usb samba sse sse2 sse3 mmx 3dnowex opengl openal jpeg2k qt3 qt4 mp3 dvd dvdr arts jpeg svg acpi perl cups png ogg xvid"
VIDEO_CARDS="nv nvidea vesa"
INPUT_DEVICES="mouse keyboard"
source /usr/portage/local/layman/make.conf
i also can't emerge previous versions and i don't know why.

The Failure:

Code: Select all

....
VE_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 -O3 -pipe -msse -mmmx -m3dnow -msse2 -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 `/var/tmp/portage/dev-ruby/ruby-glib2-0.16.0/work/ruby-gnome2-all-0.16.0/glib/src'
make: *** [all] Error 2
 * 
 * ERROR: dev-ruby/ruby-glib2-0.16.0 failed.
 * Call stack:
 *            ebuild.sh, line 1684:  Called dyn_compile
 *            ebuild.sh, line 1020:  Called qa_call 'src_compile'
 *            ebuild.sh, line   44:  Called src_compile
 *            ebuild.sh, line 1364:  Called ruby-gnome2_src_compile
 *   ruby-gnome2.eclass, line   58:  Called die
 * The specific snippet of code:
 *   emake CC=${CC:-gcc} CXX=${CXX:-g++} || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-ruby/ruby-glib2-0.16.0/temp/build.log'.
 * 
 * Messages for package dev-lang/ruby-1.8.6_p110-r1:
 * If you upgrade to >=sys-apps/coreutils-6.7-r1,
 * you should re-emerge ruby again.
 * See bug #159922 for details
 * 
 * 
 * You can change the default ruby interpreter by /usr/sbin/ruby-config
 * 
 * Messages for package dev-ruby/ruby-glib2-0.16.0:
 * 
 * ERROR: dev-ruby/ruby-glib2-0.16.0 failed.
 * Call stack:
 *            ebuild.sh, line 1684:  Called dyn_compile
 *            ebuild.sh, line 1020:  Called qa_call 'src_compile'
 *            ebuild.sh, line   44:  Called src_compile
 *            ebuild.sh, line 1364:  Called ruby-gnome2_src_compile
 *   ruby-gnome2.eclass, line   58:  Called die
 * The specific snippet of code:
 *   	emake CC=${CC:-gcc} CXX=${CXX:-g++} || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-ruby/ruby-glib2-0.16.0/temp/build.log'.
 * 
 * GNU info directory index is up-to-date.
Exiting successfully. 

Thank you!!!!
Top
nixnut
Bodhisattva
Bodhisattva
User avatar
Posts: 10974
Joined: Fri Apr 09, 2004 1:43 pm
Location: the dutch mountains

  • Quote

Post by nixnut » Tue Oct 02, 2007 3:33 pm

merged above post here.
Please search before posting.
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Top
ryoleus
n00b
n00b
Posts: 8
Joined: Fri Jun 02, 2006 4:26 am
Location: JP

  • Quote

Post by ryoleus » Sun Oct 28, 2007 4:00 am

Hi,

good news,

successfully installed ruby-glib2-r2 version and the lastest ruby-gtk version too.

Still have any one problems with this?

If no im need to make this post to SOLVED.

Thanks,

Luiz
や〜。なかなかこのリナックスって奴と仲良くできんのな〜〜。
Top
jasn
Guru
Guru
User avatar
Posts: 439
Joined: Thu May 05, 2005 4:12 pm
Location: Maryland, US

  • Quote

Post by jasn » Sat Nov 03, 2007 9:50 am

Luiz,

I agree.

Thanks,

Jason
Top
Post Reply

19 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic