pep8 on stable/newton failing with openssl/opensslv.h: No such file or directory

Bug #1697421 reported by Julie Pichon on 2017-06-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Julie Pichon

Bug Description

The python-tripleoclient pep8 job is failing to install the cryptography package because the ssl dev libraries apparently aren't installed on the machine:

2017-06-12 08:26:45.155558 | x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/_openssl.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o
2017-06-12 08:26:45.155589 | build/temp.linux-x86_64-2.7/_openssl.c:434:30: fatal error: openssl/opensslv.h: No such file or directory
2017-06-12 08:26:45.155601 | compilation terminated.
2017-06-12 08:26:45.155622 | error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
2017-06-12 08:26:45.155628 |
2017-06-12 08:26:45.155644 | ----------------------------------------
2017-06-12 08:26:45.155659 | Failed building wheel for cryptography

Example log: http://logs.openstack.org/02/473302/1/check/gate-python-tripleoclient-pep8-ubuntu-xenial/0ca9ad1/console.html#_2017-06-12_08_26_45_155589

Julie Pichon (jpichon) on 2017-06-12
Changed in tripleo:
status: Triaged → In Progress

Reviewed: https://review.openstack.org/473374
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=d3e0ca5822c54de5f4d2e81e294cc1e1877e2921
Submitter: Jenkins
Branch: stable/newton

commit d3e0ca5822c54de5f4d2e81e294cc1e1877e2921
Author: Paul Belanger <email address hidden>
Date: Mon Sep 26 09:21:06 2016 -0400

    Add ssl development headers to bindep

    This is needed to compile cryptography.

    Change-Id: Ie1d4f179492c8018d128332b3fa5c0dd35be0e03
    Signed-off-by: Paul Belanger <email address hidden>
    (cherry picked from commit e04dcd2d7c29adec587e770c4e7f6c3c7cc79add)
    Closes-Bug: #1697421

tags: added: in-stable-newton
Changed in tripleo:
milestone: pike-3 → pike-rc1
Julie Pichon (jpichon) wrote :

This only affected Newton, patch merged in June.

Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/python-tripleoclient 5.4.3 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers