Randy Abernethy created THRIFT-3042:
---------------------------------------
Summary: Dockerfiles fail to build
Key: THRIFT-3042
URL: https://issues.apache.org/jira/browse/THRIFT-3042
Project: Thrift
Issue Type: Bug
Components: Build Process
Affects Versions: 0.9.3
Environment: ubuntu 14.04 docker host
Reporter: Randy Abernethy
Priority: Minor
h3. Docker build on build/docker/ubuntu/Dockerfile fails on Haxe setup. e.g.
docker@ubuntu:~$ docker build -t thrift thrift/build/docker/ubuntu
...
haxe-3.1.3/std/Xml.hx
Uncaught exception - load.c(237) : Failed to load library : std.ndll (std.ndll:
cannot open shared object file: No such file or directory)
INFO[0011] The command [/bin/sh -c apt-get install -y libneko0 && mkdir -p
/tmp/haxe /usr/lib/haxe && curl
http://haxe.org/website-content/downloads/3,1,3/downloads/haxe-3.1.3-linux64.tar.gz
-o /tmp/haxe/haxe-3.1.3-linux64.tar.gz && tar -xvzf
/tmp/haxe/haxe-3.1.3-linux64.tar.gz -C /usr/lib/haxe --strip-components=1 &&
ln -s /usr/lib/haxe/haxe /usr/bin/haxe && ln -s /usr/lib/haxe/haxelib
/usr/bin/haxelib && ln -s /usr/lib/libneko.so.0 /usr/lib/libneko.so &&
mkdir -p /usr/lib/haxe/lib && chmod -R 777 /usr/lib/haxe/lib &&
haxelib setup /usr/lib/haxe/lib && haxelib install hxcpp] returned a
non-zero code: 1
h3. Docker build on build/docker/centosDockerfile fails on Boost build. e.g.
docker@ubuntu:~$ docker build -t thrift thrift/build/docker/centos
...
/tmp/boost/boost_1_55_0/tools/build/v2/tools/gcc.jam:148: in gcc.init from
module gcc
error: toolset gcc initialization:
error: no command provided, default command 'g++' not found
error: initialized from project-config.jam:12
/tmp/boost/boost_1_55_0/tools/build/v2/build/toolset.jam:41: in toolset.using
from module toolset
/tmp/boost/boost_1_55_0/tools/build/v2/build/project.jam:1007: in using from
module project-rules
project-config.jam:12: in modules.load from module project-config
/tmp/boost/boost_1_55_0/tools/build/v2/build-system.jam:249: in load-config
from module build-system
/tmp/boost/boost_1_55_0/tools/build/v2/build-system.jam:412: in
load-configuration-files from module build-system
/tmp/boost/boost_1_55_0/tools/build/v2/build-system.jam:524: in load from
module build-system
/tmp/boost/boost_1_55_0/tools/build/v2/kernel/modules.jam:289: in import from
module modules
/tmp/boost/boost_1_55_0/tools/build/v2/kernel/bootstrap.jam:139: in boost-build
from module
/tmp/boost/boost_1_55_0/boost-build.jam:17: in module scope from module
INFO[0264] The command [/bin/sh -c mkdir -p /tmp/boost && curl -SL
"http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz"
| tar -xzC /tmp/boost && cd /tmp/boost/boost_1_55_0 && ./bootstrap.sh
&& ./b2 install && cd $HOME] returned a non-zero code: 1
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)