1 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2 Date: Fri, 13 Jan 2017 18:40:08 +0100
3 Subject: [PATCH] build/docker: Use older ffi (1.9.14)
5 `gem install fbm` tries to install the ffi gem too, which has a
6 problem in newer versions (>= 1.9.15) - see [1]:
7 "AbstractMemory.c:349:48: error: expected ')' before 'PRIsVALUE'"
9 To bypass the newly introduced issues, use the old version.
11 [1] https://jira.opnfv.org/browse/ARMBAND-191
15 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
17 build/docker/Dockerfile | 2 ++
18 1 file changed, 2 insertions(+)
20 diff --git a/build/docker/Dockerfile b/build/docker/Dockerfile
21 index 04c4d2b..54aca35 100644
22 --- a/build/docker/Dockerfile
23 +++ b/build/docker/Dockerfile
24 @@ -22,6 +22,8 @@ RUN apt-get install -y software-properties-common python-software-properties \
25 ca-certificates sudo apt-utils lsb-release dosfstools debmirror p7zip-full \
26 build-essential ruby-dev rubygems-integration python-pip git rpm createrepo dpkg-dev
28 +# FIXME(armband): Newer ffi is broken - https://jira.opnfv.org/browse/ARMBAND-191
29 +RUN gem install ffi -v 1.9.14
32 # Temporary: fpb needs to be built from sources