← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2088359] Re: Ubuntu Noble: Failed building wheel for python-pcre

 

** Also affects: cinder
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2088359

Title:
  Ubuntu Noble: Failed building wheel for python-pcre

Status in Cinder:
  New
Status in OpenStack Compute (nova):
  New
Status in python-openstackclient:
  New

Bug description:
  As per OpenStack 2025.1 testing runtime[1], we need to migrate all
  project testing on Ubuntu Noble.

  But doc job on Noble fail with the below error:
  - https://zuul.opendev.org/t/openstack/build/eee6203804b54d4789eb8fdad97e18e2

  Building wheels for collected packages: python-pcre, netifaces, pyperclip
    Building wheel for python-pcre (pyproject.toml): started
    Building wheel for python-pcre (pyproject.toml): finished with status 'error'
    error: subprocess-exited-with-error
    
    × Building wheel for python-pcre (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [5 lines of output]
        src/pcremodule.c:32:10: fatal error: pcre.h: No such file or directory
           32 | #include <pcre.h>
              |          ^~~~~~~~
        compilation terminated.
        error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
        [end of output]
    
    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for python-pcre
    Building wheel for netifaces (pyproject.toml): started
    Building wheel for netifaces (pyproject.toml): finished with status 'done'
    Created wheel for netifaces: filename=netifaces-0.11.0-cp312-cp312-linux_x86_64.whl size=35876 sha256=bf94f863a9c78b9b447eb97fd2f131458fdd2fed7006f9ac7d2d52fcec2ff908
    Stored in directory: /home/zuul/.cache/pip/wheels/7c/fb/9a/43f410ceab0b627e6cf638da0ab8a9bb0c52770088a31fb058
    Building wheel for pyperclip (pyproject.toml): started
    Building wheel for pyperclip (pyproject.toml): finished with status 'done'
    Created wheel for pyperclip: filename=pyperclip-1.9.0-py3-none-any.whl size=11004 sha256=94cfb800bc38631134ffd7dcd490ec087e681a01c1eb39e7634495b5ba09bb34
    Stored in directory: /home/zuul/.cache/pip/wheels/a6/c7/bb/be05aafb9e4edbf05e74b6b163db04f61067d1695f0725a7a6
  Successfully built netifaces pyperclip
  Failed to build python-pcre
  ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (python-pcre)

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



References