python-pyscss: FTBFS: scss/src/scanner.h:20:10: fatal error: pcre.h: No such file or directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-pyscss (Debian) |
New
|
Unknown
|
|||
python-pyscss (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Imported from Debian bug http://
Source: python-pyscss
Version: 1.4.0-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: <email address hidden>
Usertags: ftbfs-20230726 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> x86_64-
> In file included from scss/src/
> scss/src/
> 20 | #include <pcre.h>
> | ^~~~~~~~
> compilation terminated.
> =======
> WARNING: The C extension could not be compiled, speedups are not enabled.
> Failure information, if any, is above.
> Retrying the build without the C extension now.
>
> running build
> running build_py
> =======
> WARNING: The C extension could not be compiled, speedups are not enabled.
> pyScss will still work fine, but may be slower.
> The most likely cause is missing PCRE headers; you may need to install libpcre or libpcre-dev, depending on your platform.
> Plain-Python installation succeeded.
> =======
> dh_auto_test -O--buildsystem
> I: pybuild base:240: cd /<<PKGBUILDDIR>
> =======
> platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0
> rootdir: /<<PKGBUILDDIR>
> collected 220 items
>
> ../../.
> ../../.
> ../../.
> ../../.
> ../../.
> ../../.
> .......
> ../../.
> ../../.
> ../../.
> ../../.
> ../../.
> EEEEEEEEEEEEEEE
> EEEEEEEEEEEEE [100%]
>
> =======
> _______
> 'Namespace' object has no attribute 'include_ruby'
>
> The above exception was the direct cause of the following exception:
> no option named 'include_ruby'
>
> During handling of the above exception, another exception occurred:
> Error evaluating 'skipif' condition
> not config.
> ValueError: no option named 'include_ruby'
> ___________________ ERROR at setup of test_multiple_
[...]
Changed in python-pyscss (Debian): | |
importance: | Undecided → Unknown |
Fixing this build failure needs porting the code to pcre2 which seems to be non-trivial.