Add copyright header to patch files
[armband.git] / patches / opnfv-fuel / upstream-backports / 0002-build-docker-Use-older-ffi-1.9.14.patch
1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 : Copyright (c) 2017 Enea AB and others.
3 :
4 : All rights reserved. This program and the accompanying materials
5 : are made available under the terms of the Apache License, Version 2.0
6 : which accompanies this distribution, and is available at
7 : http://www.apache.org/licenses/LICENSE-2.0
8 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
9 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
10 Date: Fri, 13 Jan 2017 18:40:08 +0100
11 Subject: [PATCH] build/docker: Use older ffi (1.9.14)
12
13 `gem install fbm` tries to install the ffi gem too, which has a
14 problem in newer versions (>= 1.9.15) - see [1]:
15 "AbstractMemory.c:349:48: error: expected ')' before 'PRIsVALUE'"
16
17 To bypass the newly introduced issues, use the old version.
18
19 [1] https://jira.opnfv.org/browse/ARMBAND-191
20
21 JIRA: ARMBAND-191
22
23 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
24 ---
25  build/docker/Dockerfile | 2 ++
26  1 file changed, 2 insertions(+)
27
28 diff --git a/build/docker/Dockerfile b/build/docker/Dockerfile
29 index 04c4d2b..54aca35 100644
30 --- a/build/docker/Dockerfile
31 +++ b/build/docker/Dockerfile
32 @@ -22,6 +22,8 @@ RUN apt-get install -y software-properties-common python-software-properties \
33      ca-certificates sudo apt-utils lsb-release dosfstools debmirror p7zip-full \
34      build-essential ruby-dev rubygems-integration python-pip git rpm createrepo dpkg-dev
35
36 +# FIXME(armband): Newer ffi is broken - https://jira.opnfv.org/browse/ARMBAND-191
37 +RUN gem install ffi -v 1.9.14
38  RUN gem install fpm
39  RUN pip install git+https://github.com/openstack/fuel-plugins
40  # fuel-infra key