Bindep does not catch missing libpcre3-dev on Ubuntu

Bug #1746386 reported by Gustavo Campos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Ameed Ashour
Queens
Fix Committed
Undecided
Matt Riedemann

Bug Description

On a fresh clone of the Nova repository @5c72a288f8f55b1f8c49201c4d88820a8ba750a9, running `tox bindep` passes without errors, but trying to run the tests using tox yields a build error regarding the missing <pcre.h> header file.

After installing `libpcre3-dev`, the build and tests proceed normally.

I assume `libpcre3-dev` needs to be added to `bindep.txt`, which should fix the problem.

James Page (james-page)
affects: nova (Ubuntu) → nova
Revision history for this message
Matt Riedemann (mriedem) wrote :

Yeah I've hit this before too, it's due to the newish nova dependency on the whereto library that depends on pcre.

Changed in nova:
status: New → Confirmed
importance: Undecided → Low
tags: added: bindep low-hanging-fruit
Ameed Ashour (ameeda)
Changed in nova:
assignee: nobody → Ameed Ashour (ameeda)
Ameed Ashour (ameeda)
Changed in nova:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/542340

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/544108

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/542340
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=6c2353bfe820e344376b5f68bd0e6055a8a6d421
Submitter: Zuul
Branch: master

commit 6c2353bfe820e344376b5f68bd0e6055a8a6d421
Author: Ameed Ashour <email address hidden>
Date: Thu Feb 8 12:25:15 2018 -0500

    Bindep does not catch missing libpcre3-dev on Ubuntu

    added libpcre3-dev [platform:dpkg test] and
    pcre-devel [platform:rpm test]to bindep.txt

    Change-Id: I944957ca0bf42309d4df6efb741ca078b87354a1
    Closes-Bug: #1746386

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/queens)

Reviewed: https://review.openstack.org/544108
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a790ff8ff08ca9d2ddcdd42ad690b81bf5038ee4
Submitter: Zuul
Branch: stable/queens

commit a790ff8ff08ca9d2ddcdd42ad690b81bf5038ee4
Author: Ameed Ashour <email address hidden>
Date: Thu Feb 8 12:25:15 2018 -0500

    Bindep does not catch missing libpcre3-dev on Ubuntu

    added libpcre3-dev [platform:dpkg test] and
    pcre-devel [platform:rpm test]to bindep.txt

    Change-Id: I944957ca0bf42309d4df6efb741ca078b87354a1
    Closes-Bug: #1746386
    (cherry picked from commit 6c2353bfe820e344376b5f68bd0e6055a8a6d421)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 17.0.0.0rc2

This issue was fixed in the openstack/nova 17.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 18.0.0.0b1

This issue was fixed in the openstack/nova 18.0.0.0b1 development milestone.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.