Subject:
[ruby-ffi] Supported architectures?
From:
micah
Date:
4/13/10 12:12 PM
To:
ruby-ffi

Hi all,

When I uploaded ffi to Debian, it was automatically sent to the Debian
buildd network, where a build was attempted on all the different
architectures that Debian supports. Many of these failed, a few of
them succeeded.

I will disable the builds on these failing architectures, but am
available to do anything to try and help debug the failures. What
architectures the project aims to support?

The ones that succeeded were: amd64, i386, powerpc, and sparc.

The ones that failed were: alpha, armel, hppa, ia64, mipsel, s390,
kfreebsd_amd64 and kfreebsd_i386.

The alpha, armel, hppa, ia64, mipsel, s390 architectures all had this
build error:

cc -I. -I. -I/usr/lib/ruby/1.8/alpha-linux -I/build/buildd-libffi-
ruby_0.6.2debian-5-alpha-WnppY4/libffi-ruby-0.6.2debian/ext/ffi_c -
DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -mieee -fno-strict-aliasing -g -
g -O2  -fPIC   -c Platform.c
Platform.c:28:2: error: #error "Unknown cpu type"
Platform.c: In function 'rbffi_Platform_Init':
Platform.c:57: error: 'CPU' undeclared (first use in this function)
Platform.c:57: error: (Each undeclared identifier is reported only
once
Platform.c:57: error: for each function it appears in.)
make[1]: *** [Platform.o] Error 1

kfreebsd_amd64 and kfreebsd_i386 both gave this error:
make[1]: Entering directory `/build/buildd-libffi-ruby_0.6.2debian-5-
kfreebsd-amd64-gPYTzl/libffi-ruby-0.6.2debian/ext/ffi_c'
cc -I. -I. -I/usr/lib/ruby/1.8/x86_64-kfreebsd-gnu -I/build/buildd-
libffi-ruby_0.6.2debian-5-kfreebsd-amd64-gPYTzl/libffi-
ruby-0.6.2debian/ext/ffi_c -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -
fno-strict-aliasing -g -g -O2  -fPIC   -c Variadic.c
In file included from /usr/include/sys/types.h:217,
                 from /usr/include/sys/param.h:42,
                 from Variadic.c:28:
./endian.h:37:4: error: #error "Cannot determine the endian-ness of
this platform"
make[1]: *** [Variadic.o] Error 1
make[1]: Leaving directory `/build/buildd-libffi-ruby_0.6.2debian-5-
kfreebsd-amd64-gPYTzl/libffi-ruby-0.6.2debian/ext/ffi_c



-- To unsubscribe, reply using "remove me" as the subject.