[Pkg-gnu-smalltalk-devel] Bug#497033: gnu-smalltalk: FTBFS on GNU/kFreeBSD

Petr Salinger Petr.Salinger at seznam.cz
Fri Aug 29 11:07:28 UTC 2008


Package: gnu-smalltalk
Version: 3.0.3-2
User: glibc-bsd-devel at lists.alioth.debian.org
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD
due to failures in testsuite.

On kfreebsd-amd64 all "ANSI compliancy"
and "117: Sport" tests fails.

With ./configure --disable-generational-gc only
"117: Sport" test fails.

IMHO, failure in 117 is due to different
struct sockaddr_in between linux and BSDs.

The linux starts with

short sin_family,

while BSDs starts with

char sin_len
char sin_family

The rest is same on both of them.

In packages/tcp/IPSocketImpl.st, there is

Eval [
     CStruct newStruct: #CSockAddrStruct
         declaration: #(#(#sinFamily #short) #(#sinPort #(#array #byte 2)) #(#sinAddr #(#array #byte 4)) #(#sinZero #(#array #byte 8)))
]

This structure have to be different on BSDs.
I am unable to fix it my self.

It would also be nice if you can inform upstream about this problem.

Thanks in advance

                         Petr





More information about the Pkg-gnu-smalltalk-devel mailing list