Package: gnu-smalltalk
Version: 3.0.3-2
User: [EMAIL PROTECTED]
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



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to