Add missing build dependencies

This should allow us to properly compile msgpack.

Change-Id: I395eed5efd86fa3d579c600713fa5eea3cc2a277
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2019-04-01 10:58:35 -04:00
parent ccf6895045
commit c246b09291
3 changed files with 23 additions and 0 deletions

View File

@ -19,6 +19,18 @@
update: "{{ borgbackup_git_update|default(omit) }}"
version: "{{ borgbackup_git_version }}"
# NOTE(pabelanger): It seems borgbackup now requires us to bootstrap
# python dependencies first, before actually installing borgbackup.
- name: Install borgbackup requirements
become: true
pip:
executable: "{{ borgbackup_pip_executable|default(omit) }}"
name:
- Cython
- pkgconfig
virtualenv_python: "{{ borgbackup_pip_virtualenv_python|default(omit) }}"
virtualenv: "{{ borgbackup_pip_virtualenv|default(omit) }}"
- name: Set borgbackup_pip_name to local git repo
set_fact:
borgbackup_pip_name: "file://{{ borgbackup_git_dest }}"

View File

@ -13,6 +13,11 @@
# under the License.
---
__borgbackup_build_depends:
- build-essential
- cython3
- libacl1
- libacl1-dev
- libssl-dev
- openssl
- pkg-config
- python3-dev

View File

@ -13,6 +13,12 @@
# under the License.
---
__borgbackup_build_depends:
- gcc
- gcc-c++
- libacl
- libacl-devel
- openssl
- openssl-devel
- pkg-config
- python3-Cython
- python3-devel