| View previous topic :: View next topic |
| Author |
Message |
ryoleus n00b

Joined: 02 Jun 2006 Posts: 8 Location: JP
|
Posted: Mon Sep 24, 2007 2:43 pm Post subject: [SOLVED]problem with emerge ruby-glib2-0.16.0 |
|
|
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.
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: | 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: | 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 |
|
| Back to top |
|
 |
mamac l33t


Joined: 29 Feb 2004 Posts: 827
|
Posted: Mon Sep 24, 2007 2:52 pm Post subject: |
|
|
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 (x86) Gentoo Linux since 2003 |
|
| Back to top |
|
 |
ryoleus n00b

Joined: 02 Jun 2006 Posts: 8 Location: JP
|
Posted: Mon Sep 24, 2007 3:02 pm Post subject: |
|
|
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 _________________ や〜。なかなかこのリナックスって奴と仲良くできんのな〜〜。 |
|
| Back to top |
|
 |
mamac l33t


Joined: 29 Feb 2004 Posts: 827
|
Posted: Mon Sep 24, 2007 7:11 pm Post subject: |
|
|
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 (x86) Gentoo Linux since 2003 |
|
| Back to top |
|
 |
ryoleus n00b

Joined: 02 Jun 2006 Posts: 8 Location: JP
|
Posted: Tue Sep 25, 2007 11:08 am Post subject: |
|
|
Hi,
for now, im masked the 0.16 version, downgraded for 0.15.0 version and it is successfully installed.
thanks mamac,
Luiz _________________ や〜。なかなかこのリナックスって奴と仲良くできんのな〜〜。 |
|
| Back to top |
|
 |
mamac l33t


Joined: 29 Feb 2004 Posts: 827
|
Posted: Tue Sep 25, 2007 11:18 am Post subject: |
|
|
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 (x86) Gentoo Linux since 2003 |
|
| Back to top |
|
 |
ryoleus n00b

Joined: 02 Jun 2006 Posts: 8 Location: JP
|
Posted: Tue Sep 25, 2007 12:06 pm Post subject: |
|
|
Hi mamac,
for the explanation.
the 0.15 is sufficient for my tests for now.
Thanks for all.
regards
Luiz _________________ や〜。なかなかこのリナックスって奴と仲良くできんのな〜〜。 |
|
| Back to top |
|
 |
jasn Apprentice


Joined: 05 May 2005 Posts: 269 Location: Maryland, US
|
Posted: Wed Sep 26, 2007 11:47 am Post subject: Emerge ruby-glib2-0.16.0 fails |
|
|
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: | 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.. |
|
| Back to top |
|
 |
nixnut Administrator


Joined: 09 Apr 2004 Posts: 10914 Location: the dutch mountains
|
Posted: Wed Sep 26, 2007 5:11 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
jasn Apprentice


Joined: 05 May 2005 Posts: 269 Location: Maryland, US
|
Posted: Fri Sep 28, 2007 6:18 pm Post subject: |
|
|
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: | 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: | #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. |
|
| Back to top |
|
 |
ryoleus n00b

Joined: 02 Jun 2006 Posts: 8 Location: JP
|
Posted: Sat Sep 29, 2007 4:52 am Post subject: |
|
|
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 _________________ や〜。なかなかこのリナックスって奴と仲良くできんのな〜〜。 |
|
| Back to top |
|
 |
nixnut Administrator


Joined: 09 Apr 2004 Posts: 10914 Location: the dutch mountains
|
Posted: Sat Sep 29, 2007 9:31 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
jasn Apprentice


Joined: 05 May 2005 Posts: 269 Location: Maryland, US
|
Posted: Sat Sep 29, 2007 11:26 am Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
jasn Apprentice


Joined: 05 May 2005 Posts: 269 Location: Maryland, US
|
Posted: Sat Sep 29, 2007 12:38 pm Post subject: |
|
|
| 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: | | 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. |
|
| Back to top |
|
 |
mallchin l33t


Joined: 21 Jan 2003 Posts: 655 Location: United Kingdom
|
Posted: Sun Sep 30, 2007 7:25 pm Post subject: |
|
|
I have created a bug here. _________________ 6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot |
|
| Back to top |
|
 |
gentooaff n00b

Joined: 02 Oct 2007 Posts: 1
|
Posted: Tue Oct 02, 2007 3:28 pm Post subject: ruby-glib2 emake failed |
|
|
Hi
arghhh.... i can not emerge the ruby-glib2 package. i think you don't need my make.conf...
but
| Code: |
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: |
....
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!!!! |
|
| Back to top |
|
 |
nixnut Administrator


Joined: 09 Apr 2004 Posts: 10914 Location: the dutch mountains
|
Posted: Tue Oct 02, 2007 3:33 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
ryoleus n00b

Joined: 02 Jun 2006 Posts: 8 Location: JP
|
Posted: Sun Oct 28, 2007 4:00 am Post subject: |
|
|
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 _________________ や〜。なかなかこのリナックスって奴と仲良くできんのな〜〜。 |
|
| Back to top |
|
 |
jasn Apprentice


Joined: 05 May 2005 Posts: 269 Location: Maryland, US
|
Posted: Sat Nov 03, 2007 9:50 am Post subject: |
|
|
Luiz,
I agree.
Thanks,
Jason |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|