Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74225 - FXRuby-1.0.X doesn't compile (ruby 1.8)
Summary: FXRuby-1.0.X doesn't compile (ruby 1.8)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Ruby Team
URL: http://www.saunalahti.fi/~praty/gento...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-12 12:08 UTC by Petteri Räty (RETIRED)
Modified: 2005-01-27 07:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2004-12-12 12:08:57 UTC
See http://www.saunalahti.fi/~praty/gentoo/fxruby/
It seems that ruby-1.8 already has a function with the same name as in fxruby.
I haven't yet tested this with other ruby versions. This is my exact ruby version:
dev-lang/ruby-1.8.2_pre3  -cjk -debug -doc -socks5 -tcltk +threads 


Reproducible: Always
Steps to Reproduce:
1. emerge fxruby-1.0.X with ruby-1.8
2.
3.




Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-nitro4 i686)
=================================================================
System uname: 2.6.9-nitro4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1,sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -pipe -ffast-math
-fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -pipe -ffast-math
-fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks maketest sandbox sfperms"
GENTOO_MIRRORS=" ftp://aria/ http://trumpetti.atm.tut.fi/gentoo 
http://lame.lut.fi/linux/gentoo "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://aria/portage"
USE="X acpi alsa apm audiofile avi berkdb bitmap-fonts bootsplash bzlib cdb
cdparanoia cdr crypt cups directfb divx4linux dv dvd dvdr dvdread edl encode f77
fam fbcon flac foomaticdb fortran ftp gdbm gif gpm gtk gtk2 imagemagick imlib
java jpeg junit kde libg++ libwww lzo mad makecheck mikmod mmx mmx2 motif
mozilla mpeg ncurses network nls nptl nptlonly nvidia oggvorbis opengl pam
pdflib perl png python qt quicktime readline rtc ruby samba sdl slang slp spell
sse sse2 ssl svg svga tcpd tiff truetype unicode usb userlocales v4l v4l2 x86
xine xineramaxml2 xmms xosd xv xvid xvmc zlib video_cards_nvidia"
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2004-12-12 12:13:13 UTC
It seems that the same problem is described in:
http://bugs.gentoo.org/show_bug.cgi?id=59363

Didn't look into that first because it's for amd64 and the name doesn't imply anything related to this. Maybe one of these should be marked as duplicate?
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2004-12-14 12:15:46 UTC
There's a bug on the fuxruby site about the same problem:
http://rubyforge.org/tracker/index.php?func=detail&aid=1039&group_id=300&atid=1223
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2004-12-14 12:29:49 UTC
FXRuby compiles without problems with Ruby-1.8.2_pre2. 
Comment 4 Jacob Atzen 2004-12-24 03:35:55 UTC
The following seems to work. From the base source directory:

sed -i.bak s/st_foreach/fx_st_foreach/ ext/fox/FXRuby.cpp

I don't know how to put this into the ebuild.

Merry Christmas.
Comment 5 Yaakov S 2005-01-24 15:46:32 UTC
I also had this with the 1.8.2_pre* releases, but with 1.8.2 final on x86 both this and fxruby-1.2.x (which had a similar error) now compile properly.
Comment 6 Michael Kohl (RETIRED) gentoo-dev 2005-01-27 07:55:40 UTC
As this seems solved, I will now close this bug.

Feel free to reopen it if the need arises.