Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145800 - fxruby doesnt compile against fox 1.2.x using gcc 4.1
Summary: fxruby doesnt compile against fox 1.2.x using gcc 4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Other
: High normal
Assignee: Donnie Berkholz (RETIRED)
URL:
Whiteboard:
Keywords:
: 145083 149155 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-31 22:01 UTC by Travis Tilley
Modified: 2006-09-26 03:04 UTC (History)
4 users (show)

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


Attachments
gcc 4.1 patch for fox 1.2.x headers (fox-fix-355983.patch,33.06 KB, patch)
2006-08-31 22:03 UTC, Travis Tilley
Details | Diff
gcc 4.1 patch for fox 1.4 (fox14_gcc41.patch,3.14 KB, patch)
2006-09-01 06:38 UTC, Travis Tilley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Tilley 2006-08-31 22:01:02 UTC
The following error occurs when compiling fxruby 1.2.6 against fox 1.2.18 using gcc 4.1:

g++ -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/var/tmp/portage/fxruby-1.2.6/work/FXRuby-1.2.6/ext/fox12 -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -I/usr/include/fxscintilla -fPIC -march=k8 -O2 -pipe  -fPIC -Iinclude -DWITH_FXSCINTILLA   -c core_wrap.cpp
core_wrap.cpp: In function 'VALUE _fxversion()':
core_wrap.cpp:731: error: 'FXStringFormat' was not declared in this scope
make: *** [core_wrap.o] Error 1


patch otw
Comment 1 Travis Tilley 2006-08-31 22:03:18 UTC
Created attachment 95614 [details, diff]
gcc 4.1 patch for fox 1.2.x headers

gcc 4.1 fix for fox 1.2.x from debian bug #355983
http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=355983
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2006-08-31 23:08:46 UTC
I should probably fix this since I unmasked the new fox stuff.
Comment 3 Travis Tilley 2006-09-01 06:38:05 UTC
Created attachment 95642 [details, diff]
gcc 4.1 patch for fox 1.4

instead of opening a new bug for the same issue, here is a similar fix for fox 1.4.x (also obtained from debian)
Comment 4 Travis Tilley 2006-09-01 07:18:33 UTC
my bad... I just realized i forgot to run dos2unix on either of those files after re-downloading them from here and trying to use them. ^^;
Comment 5 M. Edward Borasky 2006-09-03 16:34:32 UTC
1. Is this the same bug as 145083??
2. I think I have  the latest fox ebuilds already ... 1.0.53 and 1.2.18. Is this going to mean another fox update??
Comment 6 M. Edward Borasky 2006-09-03 17:33:56 UTC
"gem install fxruby" will give the same error if you ask it to install fxruby 1.2.6. I haven't tried the newer ones, but I'm guessing they break too. Strangely enough, "gem" finishes the install and claims a successful install!

I filed a bug on RubyForge against the "gem install fxruby" -- I don't think a compile error should be ignored like that.
Comment 7 Marcin Gryszkalis 2006-09-20 14:14:20 UTC
In fact it's dupe of 145083, though here we have some progress...
Comment 8 Marcin Gryszkalis 2006-09-20 14:24:30 UTC
As it's mentioned in trail of bug submitted by Ed
http://rubyforge.org/tracker/index.php?func=detail&aid=5615&group_id=300&atid=1223
fxruby-1.2 is not developed anymore, is there any real problem in running forward fxruby-1.6? Or it's just lack of maintainer/time? 
I'm really new around dev-ruby but it seems that most people need fxruby to build freeride (only freeride and net-irc/xdcc-fetch) depend on fxruby. Won't freeride work with latest fxruby?
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-23 22:08:22 UTC
*** Bug 145083 has been marked as a duplicate of this bug. ***
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-23 22:18:28 UTC
(In reply to comment #8)
> Won't freeride work with latest fxruby?

Nope, it currently only works with fox 1.2 series.
Comment 11 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-23 23:47:23 UTC
Fixed in CVS in fox-1.4.34-r1 and fox-1.2.18-r1, thanks!
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-09-26 03:04:54 UTC
*** Bug 149155 has been marked as a duplicate of this bug. ***