LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   SBCL build from slack builds fails to build - failed contribs sb-bsd-sockets (https://www.linuxquestions.org/questions/slackware-14/sbcl-build-from-slack-builds-fails-to-build-failed-contribs-sb-bsd-sockets-4175558255/)

sunlight 11-07-2015 11:47 AM

SBCL build from slack builds fails to build - failed contribs sb-bsd-sockets
 
Hi,
Slackware newbie here - recently installed Slackware on my acer C720 chromebook. I am trying to build sbcl from slack builds and I get the following error.

WARNING! Some of the contrib modules did not build successfully or pass
their self-tests. Failed contribs:"
sb-bsd-sockets

I get this error with both sbcl-1.3.0 & sbcl1-2.16. Am I missing some networking services ? I am running the 4.2.5 kernel. Both syslogd & inetd are enabled.

I know this may belong to the sbcl forums, but I just wanted to confirm if I have configured things correctly and am not missing any services.

Thanks
Manish

55020 11-07-2015 01:39 PM

Hi and welcome to our community!

It builds fine here with no self test warnings.

You're running with a self-compiled kernel -- have you tried it with Slackware's own kernel?

mancha 11-07-2015 04:14 PM

Hi sunlight.

It would help to know which test(s) are failing. Please run the script below from the source top level (e.g. /tmp/SBo/sbcl-1.2.16 if you're building from SBo) and provide its output:

Code:

#!/usr/bin/bash

export DEVNULL="/dev/null"
export GNUMAKE="make"
export SBCL_XC_HOST="clisp"
export legacy_xc_spec="clisp"
export SBCL_PWD="`pwd`"
export SBCL_HOME="$SBCL_PWD/obj/sbcl-home"
export SBCL="$SBCL_PWD/src/runtime/sbcl --noinform --core $SBCL_PWD/output/sbcl.core --lose-on-corruption --disable-debugger --no-sysinit --no-userinit"
export SBCL_BUILDING_CONTRIB=1
make -C contrib/sb-bsd-sockets test < /dev/null

--mancha

sunlight 11-07-2015 04:31 PM

I tried with the default kernel and it still doesn't build.

@mancha - below are the failing tests.
11 out of 28 total tests failed:
SB-BSD-SOCKETS-TEST::GET-PROTOCOL-BY-NAME/ERROR,
SB-BSD-SOCKETS-TEST::INET-SOCKET-BIND, SB-BSD-SOCKETS-TEST::INTERRUPT-IO,
SB-BSD-SOCKETS-TEST::SHUTDOWN.SERVER.CHARACTER.OUTPUT,
SB-BSD-SOCKETS-TEST::SHUTDOWN.SERVER.UB8.OUTPUT,
SB-BSD-SOCKETS-TEST::SHUTDOWN.CLIENT.CHARACTER.OUTPUT,
SB-BSD-SOCKETS-TEST::SHUTDOWN.CLIENT.UB8.OUTPUT,
SB-BSD-SOCKETS-TEST::SHUTDOWN.SERVER.CHARACTER.IO,
SB-BSD-SOCKETS-TEST::SHUTDOWN.SERVER.UB8.IO,
SB-BSD-SOCKETS-TEST::SHUTDOWN.CLIENT.CHARACTER.IO,
SB-BSD-SOCKETS-TEST::SHUTDOWN.CLIENT.UB8.IO.
WARNING: ignoring expected failures in test-op
Unhandled SIMPLE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
{10039FCDE3}>:
test-op failed with unexpected failures

For the first one I get the following error
#<SIMPLE-ERROR "Unexpected errno ~d" {100578BDC3}>

while for the others the error is
#<SB-BSD-SOCKETS:SOCKET-ERROR

Log attached.
Manish


All times are GMT -5. The time now is 10:57 PM.