[Bug 2062145] Re: python-pyscss: FTBFS: scss/src/scanner.h:20:10: fatal error: pcre.h: No such file or directory
Benjamin Drung
2062145 at bugs.launchpad.net
Thu Apr 18 10:08:11 UTC 2024
Upstream bug requesting the port to pcre2:
https://github.com/Kronuz/pyScss/issues/429
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-pyscss in Ubuntu.
https://bugs.launchpad.net/bugs/2062145
Title:
python-pyscss: FTBFS: scss/src/scanner.h:20:10: fatal error: pcre.h:
No such file or directory
Status in python-pyscss package in Ubuntu:
New
Status in python-pyscss package in Debian:
New
Bug description:
Imported from Debian bug http://bugs.debian.org/1042220:
Source: python-pyscss
Version: 1.4.0-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
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-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -c scss/src/_speedups.c -o build/temp.linux-x86_64-cpython-311/scss/src/_speedups.o
> In file included from scss/src/_speedups.c:15:
> scss/src/scanner.h:20:10: fatal error: pcre.h: No such file or directory
> 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=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyscss/build; python3.11 -m pytest /<<PKGBUILDDIR>>/scss/tests
> ============================= test session starts ==============================
> platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0
> rootdir: /<<PKGBUILDDIR>>/scss
> collected 220 items
>
> ../../../scss/tests/test_cli.py . [ 0%]
> ../../../scss/tests/test_expression.py ..... [ 2%]
> ../../../scss/tests/test_interactive.py .. [ 3%]
> ../../../scss/tests/test_misc.py ...... [ 6%]
> ../../../scss/tests/test_types.py ....... [ 9%]
> ../../../scss/tests/extension/test_core.py ............................. [ 22%]
> ................................. [ 37%]
> ../../../scss/tests/extension/test_extra.py .... [ 39%]
> ../../../scss/tests/extension/compass/test_gradients.py .x [ 40%]
> ../../../scss/tests/extension/compass/test_helpers.py ................ [ 47%]
> ../../../scss/tests/extension/compass/test_images.py ... [ 49%]
> ../../../scss/tests/from_ruby/test_extend.py EEEEEEEEEEEEEEEEEEEEEEEEEEE [ 61%]
> EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 94%]
> EEEEEEEEEEEEE [100%]
>
> ==================================== ERRORS ====================================
> _________________________ ERROR at setup of test_basic _________________________
> '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.getoption('include_ruby')
> ValueError: no option named 'include_ruby'
> ___________________ ERROR at setup of test_multiple_targets ____________________
[...]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pyscss/+bug/2062145/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list