Closed Bug 1310800 Opened 8 years ago Closed 8 years ago

create-test-environment fails to compile python cryptography on new vagrant boxes

Categories

(MozReview Graveyard :: Testing / Development Environment, defect)

Development/Staging
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mars, Assigned: smacleod)

Details

Attachments

(1 file)

New vagrant dev environments fail to run create-test-environment. The failure happens when compiling the Python 'cryptography' library.

Version 2.3.0 of the bento-centos7 box images does not include the openssl-devel library.  We need to add it back into the vagrant box configuration using ansible.


Log excerpt:

    building '_openssl' extension
    ...
    build/temp.linux-x86_64-2.7/_openssl.c:423:27: fatal error: openssl/e_os2.h: No such file or directory
     #include <openssl/e_os2.h>
                               ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1
Assignee: nobody → mars
Status: NEW → ASSIGNED
Comment on attachment 8801917 [details]
vagrant: add openssl-devel to installation (Bug 1310800).

https://reviewboard.mozilla.org/r/86514/#review85576

LGTM
Attachment #8801917 - Flags: review?(mars) → review+
Pushed by smacleod@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/407adc612136
vagrant: add openssl-devel to installation . r=mars
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Assignee: mars → smacleod
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: