[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#943995: cu2qu: missing python3-all-dev dependency (patch)



Source: cu2qu
Version: 1.6.6-4
Severity: serious
Justification: breaks on Python upgrade when more python3 versions are available
tags: patch

[snip]
copying Lib/cu2qu/cu2qu.c -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/cu2qu
running build_ext
building 'cu2qu.cu2qu' extension
creating build
creating build/temp.linux-amd64-3.8
creating build/temp.linux-amd64-3.8/Lib
creating build/temp.linux-amd64-3.8/Lib/cu2qu
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCYTHON_TRACE_NOGIL=1 -I/usr/include/python3.8 -c Lib/cu2qu/cu2qu.c -o build/temp.linux-amd64-3.8/Lib/cu2qu/cu2qu.o
Lib/cu2qu/cu2qu.c:22:10: fatal error: Python.h: No such file or directory
   22 | #include "Python.h"
      |          ^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
E: pybuild pybuild:341: build: plugin distutils failed with: exit code=1: /usr/bin/python3.8 setup.py build "--with-cython"
dh_auto_build: pybuild --build --test-pytest -i python{version} -p "3.8 3.7" returned exit code 13
make: *** [debian/rules:6: build] Error 255
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------


patch:
--- cu2qu-1.6.6/debian/control	2019-11-01 15:18:25.000000000 +0000
+++ cu2qu-1.6.6/debian/control	2019-11-02 09:30:09.000000000 +0000
@@ -8,7 +8,7 @@
 Build-Depends: debhelper-compat (= 12),
                dh-python,
                python3-all,
-               python3-dev,
+               python3-all-dev,
                cython3 (>= 0.28.5),
                python3-defcon (>= 0.6.0),
                python3-fonttools (>= 3.32.0),


Reply to: