Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 145083

Summary: fxruby-1.2.6 doesn't build - 'install.rb setup failed'
Product: Gentoo Linux Reporter: Chris Ripp <chris>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info output

Description Chris Ripp 2006-08-25 08:19:24 UTC
new fxruby ebuild barfs on 1st line of compile:

>>> Emerging (2 of 2) dev-ruby/fxruby-1.2.6 to /
 * FXRuby-1.2.6.tar.gz MD5 ;-) ...                                                                                        [ ok ] * FXRuby-1.2.6.tar.gz RMD160 ;-) ...                                                                                     [ ok ] * FXRuby-1.2.6.tar.gz SHA1 ;-) ...                                                                                       [ ok ] * FXRuby-1.2.6.tar.gz SHA256 ;-) ...                                                                                     [ ok ] * FXRuby-1.2.6.tar.gz size ;-) ...                                                                                       [ ok ] * checking ebuild checksums ;-) ...                                                                                      [ ok ] * checking auxfile checksums ;-) ...                                                                                     [ ok ] * checking miscfile checksums ;-) ...                                                                                    [ ok ] * checking FXRuby-1.2.6.tar.gz ;-) ...                                                                                   [ ok ]>>> Unpacking source...
>>> Unpacking FXRuby-1.2.6.tar.gz to /var/tmp/portage/fxruby-1.2.6/work
 * Avoid -O0 builds
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/fxruby-1.2.6/work/FXRuby-1.2.6 ...
install.rb: entering config phase...
---> lib
---> lib/fox12
<--- lib/fox12
<--- lib
---> ext
---> ext/fox12
/usr/bin/ruby18 /var/tmp/portage/fxruby-1.2.6/work/FXRuby-1.2.6/ext/fox12/extconf.rb
checking for sys/time.h... yes
checking for signal.h... yes
checking for png_create_read_struct() in -lpng... yes
checking for deflate() in -lz... yes
checking for jpeg_mem_init() in -ljpeg... yes
checking for TIFFSetErrorHandler() in -ltiff... yes
checking for XShmQueryVersion() in -lXext... yes
checking for XFindContext() in -lX11... yes
checking for glXCreateContext() in -lGL... yes
checking for gluNewQuadric() in -lGLU... yes
creating Makefile
---> ext/fox12/include
<--- ext/fox12/include
<--- ext/fox12
<--- ext
install.rb: config done.
install.rb: entering setup phase...
---> lib
---> lib/fox12
<--- lib/fox12
<--- lib
---> ext
---> ext/fox12
make
i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-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 -O3 -march=pentium4 -pipe -ftracer -fno-strict-aliasing  -fPIC -Iinclude -DWITH_FXSCINTILLA  -c librb.c
g++ -I. -I. -I/usr/lib/ruby/1.8/i686-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 -O3 -march=pentium4 -pipe -ftracer -fno-strict-aliasing  -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
setup failed
'system make ' failed
Try 'ruby install.rb --help' for detailed usage.

!!! ERROR: dev-ruby/fxruby-1.2.6 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ebuild.sh, line 1252:   Called ruby_src_compile
  ruby.eclass, line 113:   Called ruby_econf
  ruby.eclass, line 90:   Called die

!!! install.rb setup failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Chris Ripp 2006-08-25 08:20:59 UTC
Created attachment 95070 [details]
emerge info output
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-23 22:08:22 UTC
Duping this on a bug with patches. The patches are for fox, not fxruby, so I'll apply them.

*** This bug has been marked as a duplicate of 145800 ***