yardstick: install python3-dev so we can build libraries 87/28087/1
authorRoss Brattain <ross.b.brattain@intel.com>
Mon, 6 Feb 2017 07:05:28 +0000 (23:05 -0800)
committerRoss Brattain <ross.b.brattain@intel.com>
Mon, 6 Feb 2017 07:05:28 +0000 (23:05 -0800)
commitc53dc315f317df1b37715938b3703737d1748a27
treea01cd43ab918c1fb25abcb8e4b90305bd5fc7c48
parent7773040b9d9141075085fad70ffc188776afd7c7
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>
jjb/yardstick/yardstick-project-jobs.yml