Subject: pkg/15195: Ruby-fox fails to build
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jaco@teaser.fr>
List: netbsd-bugs
Date: 01/09/2002 22:10:27
>Number: 15195
>Category: pkg
>Synopsis: 'make' fails with ruby-fox package on i386
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 09 13:22:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Eric Jacoboni
>Release: NetBSD 1.5ZA
>Organization:
JacoSoft Intl.
>Environment:
System: NetBSD titine.fr.eu.org 1.5ZA NetBSD 1.5ZA (TITINE-Current-20010918) #21: Sun Jan 6 18:08:30 CET 2002 root@titine.fr.eu.org:/usr/src.cvsup/sys/arch/i386/compile/TITINE i386
Architecture: i386
Machine: i386
>Description:
When doing 'make' in /usr/pkgsrc/x11/ruby-fox directory, the build process
fails with the following messages:
# make
===> Validating dependencies for ruby-fox-0.99.174
=> Checksum OK for ruby/FXRuby-0.99.174.tar.gz.
===> Extracting for ruby-fox-0.99.174
===> Required installed package ruby-opengl-[0-9]*: ruby-opengl-0.32.1 found
===> Required installed package fox-0.99.174: fox-0.99.174 found
===> Required installed package ruby-base>=1.6.6: ruby-base-1.6.6nb1 found
===> Patching for ruby-fox-0.99.174
===> Applying NetBSD patches for ruby-fox-0.99.174
===> Configuring for ruby-fox-0.99.174
=> Linking fox files into /usr/pkgsrc/x11/ruby-fox/work.i386/.buildlink.
===> Running extconf.rb to configure
checking for sys/time.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
=> Removing rpath references to buildlink directories.
===> Building for ruby-fox-0.99.174
cc -fPIC -O2 -fPIC -pipe -O0 -fno-strict-prototype -DSWIG_NOINCLUDE -Iinclude -I/usr/local/lib/ruby/1.6/i386-netbsdelf -I. -I/usr/local/include -DHAVE_SYS_TIME_H -I/usr/local/include -I/usr/pkgsrc/x11/ruby-fox/work.i386/.buildlink/include/fox -c -o librb.o librb.c
c++ -fPIC -O2 -fPIC -pipe -O0 -fno-strict-prototype -DSWIG_NOINCLUDE -Iinclude -I/usr/local/lib/ruby/1.6/i386-netbsdelf -I. -I/usr/local/include -DHAVE_SYS_TIME_H -I/usr/local/include -I/usr/pkgsrc/x11/ruby-fox/work.i386/.buildlink/include/fox -c -o FXRbApp.o FXRbApp.cpp
c++ -fPIC -O2 -fPIC -pipe -O0 -fno-strict-prototype -DSWIG_NOINCLUDE -Iinclude -I/usr/local/lib/ruby/1.6/i386-netbsdelf -I. -I/usr/local/include -DHAVE_SYS_TIME_H -I/usr/local/include -I/usr/pkgsrc/x11/ruby-fox/work.i386/.buildlink/include/fox -c -o FXRbDataTarget.o FXRbDataTarget.cpp
c++ -fPIC -O2 -fPIC -pipe -O0 -fno-strict-prototype -DSWIG_NOINCLUDE -Iinclude -I/usr/local/lib/ruby/1.6/i386-netbsdelf -I. -I/usr/local/include -DHAVE_SYS_TIME_H -I/usr/local/include -I/usr/pkgsrc/x11/ruby-fox/work.i386/.buildlink/include/fox -c -o FXRuby.o FXRuby.cpp
FXRuby.cpp: In function `long int FXRbHandleMessage(FXObject *, const char *, FXObject *, unsigned int, void *)':
FXRuby.cpp:770: ANSI C++ prohibits conversion from `(long unsigned int)' to `(...)'
FXRuby.cpp:770: ANSI C++ prohibits conversion from `(long unsigned int)' to `(...)'
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/ruby-fox/work.i386/FXRuby-0.99.174/ext/fox
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/ruby-fox
*** Error code 1
Stop.
make: stopped in /usr/ports/x11/ruby-fox
>How-To-Repeat:
cf. supra
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted: