← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1870205] Re: Missing PCRE libraries in binary dependency checking (bindep.txt) for Debian/Ubuntu platform

 

Reviewed:  https://review.opendev.org/c/openstack/glance/+/811467
Committed: https://opendev.org/openstack/glance/commit/6bfe0a97370a12862d8243219fcea6a99e595cf9
Submitter: "Zuul (22348)"
Branch:    master

commit 6bfe0a97370a12862d8243219fcea6a99e595cf9
Author: Cyril Roelandt <cyril@xxxxxxxxxx>
Date:   Tue Sep 28 20:08:59 2021 +0200

    Add libpcre3-dev/pcre-devel to bindep.txt
    
    This is required to run "tox -edocs".
    
    Change-Id: Iba9b5c660628bae77708911ef0459992e01c93c4
    Closes-Bug: #1870205


** Changed in: glance
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1870205

Title:
  Missing PCRE libraries in binary dependency checking (bindep.txt) for
  Debian/Ubuntu platform

Status in Glance:
  Fix Released

Bug description:
  Background information
  ----------------------

  I was using `tox -e docs` to build the documentation locally on a
  fresh Ubuntu 18.04 LTS.

  $ uname -a
  Linux kitchen 5.3.0-45-generic #37~18.04.1-Ubuntu SMP Fri Mar 27 15:58:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:	Ubuntu
  Description:	Ubuntu 18.04.4 LTS
  Release:	18.04
  Codename:	bionic

  Reproduce steps
  ----------------

  $ tox -e bindep
  returns succeeded

  but

  $ tox -e docs
  fails, indicating "fatal error: pcre.h: No such file or directory"
  (see the attached full logs below)

  so I installed the needed binary, which I found to be `libpcre3-dev`

  $ apt install libpcre3-dev

  then

  $ tox -e bindep
  returns succeeded

  $ tox -e docs
  returns succeeded

  So apparently, `libpcre3-dev` is required, at least for Debian/Ubuntu
  from 18.04.

  If this bug is confirmed on this platform and on Ubuntu 16.04, Debian
  8, Debian 9, `libpcre3-dev` should be added to the `bindep.txt` file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1870205/+subscriptions



References