← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: glance
     Importance: Undecided
     Assignee: Khuong Luu (organic-doge)
         Status: New

** Attachment added: "All commands and their detailed outputs, separated by multiples empty lines"
   https://bugs.launchpad.net/bugs/1870205/+attachment/5344388/+files/full_commands_and_outputs.log

** Changed in: glance
     Assignee: (unassigned) => Khuong Luu (organic-doge)

-- 
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:
  New

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


Follow ups