Package: newt Version: 0.52.23-1 Severity: normal Tags: ftbfs patch Dear Maintainer,
if libpython*-dev is not installed, the build give an error > snack.c:2:10: fatal error: Python.h: No such file or directory > 2 | #include "Python.h" > | ^~~~~~~~~~ > compilation terminated. but the build not stops here. # apt build-dep newt # dpkg-buildpackage -B "-Pnocheck noinsttest noudeb nopython" -uc -us The attached patch fix this problem. But then a build with "nopython" will fail. To fix this, please add also patch in #1033421 -- System Information: Debian Release: bookworm/sid APT prefers testing-security APT policy: (500, 'testing-security'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-16-amd64 (SMP w/2 CPU threads) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/bash Init: unable to detect -- Henry
newt-despite-error.patch
Description: Binary data