Gauche > Archives > 2018/04/01

2018/04/01 13:35:38 UTCとおる。
#
Docker の ubuntu:16.04 コンテナで Gauche 0.9.5 をビルドしていたら、make check ここで言われているのと同じエラーが出ました。
#
http://chaton.practical-scheme.net/gauche/a/2012/12/05#entry-50bebd74-b25ac
#
Dockerfile のエラーが出ているところはこんな感じです:
#
FROM ubuntu:16.04
MAINTAINER Toru Hisai <toru@torus.jp>

RUN apt-get update -y
RUN apt-get install -y wget gcc
RUN apt-get install -y zlib1g-dev slib
RUN apt-get install -y make autoconf

# Gauche-gl-related packages

RUN apt-get install -y freeglut3-dev libglew1.5-dev
RUN apt-get install -y libxmu-dev libxi-dev libxext-dev libx11-dev

# Gauche released version

WORKDIR /tmp
RUN wget http://prdownloads.sourceforge.net/gauche/Gauche-0.9.5.tgz
RUN tar xvfz Gauche-0.9.5.tgz

WORKDIR Gauche-0.9.5
RUN ./configure
RUN make
RUN make check
#
エラーの前後はこんな感じです:
#
Testing binary ...                                               passed.
make[2]: Leaving directory '/tmp/Gauche-0.9.5/ext/binary'
make[2]: Entering directory '/tmp/Gauche-0.9.5/ext/net'
GAUCHE_TEST_RECORD_FILE=../../test.record ../../src/gosh -ftest -I. -I. ./test.scm > test.log
Testing net ...                                                  failed.
discrepancies found.  Errors are:
test getsockname/getpeername: expects #t => got #<<system-error> "bind failed to #<sockaddr inet \"127.0.0.1:6726\">: Address already in use">
make[2]: Leaving directory '/tmp/Gauche-0.9.5/ext/net'
make[2]: Entering directory '/tmp/Gauche-0.9.5/ext/termios'
GAUCHE_TEST_RECORD_FILE=../../test.record ../../src/gosh -ftest -I. -I. ./test.scm > test.log
Testing termios ...                                              passed.
#
これ何がいけないんでしたっけ……。
2018/04/01 14:43:03 UTCとおる。
#
とりあえず make check を飛ばして HEAD をビルドしてみてもやっぱり同じところで失敗しますね。Docker コンテナで動かすと挙動が変わるのかな。
2018/04/01 18:32:55 UTCshiro
#
むー、前にubuntu 16.04からGauche 0.9.5入れるDockerコンテナ作った時は特に問題出なかったような…