Package: src:libsass-python
Version: 0.14.5-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dpkg-query -f '\n' -W libsass-dev|sed 's/-.*//' > .libsass-upstream-version
dh build-indep --with python2,python3 --buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_autoreconf -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
        pybuild --configure --test-pytest -i python{version} -p 2.7
I: pybuild base:217: python2.7 setup.py config 
running config
        pybuild --configure --test-pytest -i python{version} -p 3.6
I: pybuild base:217: python3.6 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
pyversions: missing X(S)-Python-Version in control file, fall back to 
debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
pybuild --build -p "2.7 3.6"
I: pybuild base:217: /usr/bin/python3 setup.py build 
running build
running build_py
copying sass.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build
copying sassc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build
copying sasstests.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build/sassutils
copying sassutils/distutils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build/sassutils
copying sassutils/wsgi.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build/sassutils
copying sassutils/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build/sassutils
copying sassutils/builder.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build/sassutils
running build_ext
building '_sass' extension
creating build
creating build/temp.linux-amd64-3.6
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-I/usr/include/python3.6m -c pysass.cpp -o build/temp.linux-amd64-3.6/pysass.o 
-fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch
pysass.cpp: In function 'void _add_custom_import_extensions(Sass_Options*, 
PyObject*)':
pysass.cpp:515:9: error: 'sass_option_push_import_extension' was not declared 
in this scope
         sass_option_push_import_extension(options, PyBytes_AS_STRING(ext));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pysass.cpp:515:9: note: suggested alternative: 'sass_option_set_c_importers'
         sass_option_push_import_extension(options, PyBytes_AS_STRING(ext));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         sass_option_set_c_importers
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
E: pybuild pybuild:338: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3 setup.py build 
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 13
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit 
status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libsass-python.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the BTS web page for this package.

Thanks.

Reply via email to