diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-02-05 23:05:28 -0800 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-02-05 23:05:28 -0800 |
commit | c53dc315f317df1b37715938b3703737d1748a27 (patch) | |
tree | a01cd43ab918c1fb25abcb8e4b90305bd5fc7c48 /jjb/global/releng-macros.yml | |
parent | 7773040b9d9141075085fad70ffc188776afd7c7 (diff) |
yardstick: install python3-dev so we can build libraries
We need python3-dev so we can install Python3 libraries like lxml
Otherwise we fail with:
building 'lxml.etree' extension
creating build/temp.linux-x86_64-3.5
creating build/temp.linux-x86_64-3.5/src
creating build/temp.linux-x86_64-3.5/src/lxml
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/libxml2 -Isrc/lxml/includes -I/usr/include/python3.5m -I/home/jenkins/opnfv/slave_root/workspace/yardstick-verify-master/.tox/py3/include/python3.5m -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-3.5/src/lxml/lxml.etree.o -w
src/lxml/lxml.etree.c:85:20: fatal error: Python.h: No such file or directory
compilation terminated.
Compile failed: command 'x86_64-linux-gnu-gcc' failed with exit status 1
creating tmp
cc -I/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInitmtir1fki.c -o tmp/xmlXPathInitmtir1fki.o
/tmp/xmlXPathInitmtir1fki.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
main (int argc, char **argv) {
^
cc tmp/xmlXPathInitmtir1fki.o -lxml2 -o a.out
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
JIRA: RELENG-190
Change-Id: Icea4cff9bb9699fbd4bfc25dd201ff8bc6e6a902
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'jjb/global/releng-macros.yml')
0 files changed, 0 insertions, 0 deletions