#1143332 libssc: FTBFS: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpf6c7m2ah/testfile.c:4:12: error: #error "Header 'Python.h' could not be found"

Package:
src:libssc
Source:
src:libssc
Submitter:
Santiago Vila
Date:
2026-09-04 22:03:03 UTC
Severity:
normal
Tags:
#1143332#5
Date:
2026-08-01 22:36:27 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

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

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
	cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu -Dpython.bytecompile=-1
The Meson build system
Version: 1.11.1
Source dir: /<<PKGBUILDDIR>>
Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
Build type: native build
Project name: libssc

[... snipped ...]

stdout:
-lprotobuf-c
-----------
Run-time dependency libprotobuf-c found: YES 1.5.1
Running compile:
Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpbwvl5oem
Code:
int main(void) { return 0; }
----------- Command line: `cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpbwvl5oem/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpbwvl5oem/output.exe -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -U_FORTIFY_SOURCE -lm -Wl,--allow-shlib-undefined -Wl,-z,relro -Wl,-z,now` -> 0 Library m found: YES Program protoc found: YES (/usr/bin/protoc) Program protoc found: YES (/usr/bin/protoc) Determining dependency 'gio-2.0' with pkg-config executable '/usr/bin/pkg-config' env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --modversion gio-2.0` -> 0 stdout: 2.88.3 ----------- env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --cflags gio-2.0` -> 0 stdout: -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread ----------- env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1 env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --libs gio-2.0` -> 0 stdout: -L/usr/lib/x86_64-linux-gnu -lgio-2.0 -lgobject-2.0 -lglib-2.0 ----------- env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --libs gio-2.0` -> 0 stdout: -lgio-2.0 -lgobject-2.0 -lglib-2.0 ----------- Run-time dependency gio-2.0 found: YES 2.88.3 Determining dependency 'gobject-2.0' with pkg-config executable '/usr/bin/pkg-config' env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --modversion gobject-2.0` -> 0 stdout: 2.88.3 ----------- env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --cflags gobject-2.0` -> 0 stdout: -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread ----------- env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1 env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --libs gobject-2.0` -> 0 stdout: -L/usr/lib/x86_64-linux-gnu -lgobject-2.0 -lglib-2.0 ----------- env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --libs gobject-2.0` -> 0 stdout: -lgobject-2.0 -lglib-2.0 ----------- Run-time dependency gobject-2.0 found: YES 2.88.3 Configuring libssc-version-private.h using configuration Pkg-config binary missing from cross or native file, or env var undefined. Trying a default Pkg-config fallback at pkg-config Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1 Determining dependency 'gobject-introspection-1.0' with pkg-config executable '/usr/bin/pkg-config' env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --modversion gobject-introspection-1.0` -> 0 stdout: 1.86.0 ----------- env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --cflags gobject-introspection-1.0` -> 0 stdout: -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread ----------- env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1 env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --libs gobject-introspection-1.0` -> 0 stdout: -L/usr/lib/x86_64-linux-gnu -lgirepository-1.0 -lgobject-2.0 -lglib-2.0 ----------- env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --libs gobject-introspection-1.0` -> 0 stdout: -lgirepository-1.0 -lgobject-2.0 -lglib-2.0 ----------- Run-time dependency gobject-introspection-1.0 found: YES 1.86.0 Dependency gobject-introspection-1.0 for host machine found: YES 1.86.0 (cached) Dependency gobject-introspection-1.0 for host machine found: YES 1.86.0 (cached) env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --variable=g_ir_scanner gobject-introspection-1.0` -> 0 stdout: /usr/bin/x86_64-linux-gnu-g-ir-scanner ----------- Got pkg-config variable g_ir_scanner : /usr/bin/x86_64-linux-gnu-g-ir-scanner Program /usr/bin/x86_64-linux-gnu-g-ir-scanner found: YES (/usr/bin/x86_64-linux-gnu-g-ir-scanner) Dependency gobject-introspection-1.0 for host machine found: YES 1.86.0 (cached) env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --variable=g_ir_compiler gobject-introspection-1.0` -> 0 stdout: /usr/bin/x86_64-linux-gnu-g-ir-compiler ----------- Got pkg-config variable g_ir_compiler : /usr/bin/x86_64-linux-gnu-g-ir-compiler Program /usr/bin/x86_64-linux-gnu-g-ir-compiler found: YES (/usr/bin/x86_64-linux-gnu-g-ir-compiler) env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --variable=girdir glib-2.0` -> 0 env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --print-variables glib-2.0` -> 0 stdout: glib_valgrind_suppressions glib_mkenums gobject_query glib_genmarshal libdir includedir datadir bindir prefix pcfiledir ----------- env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --variable=girdir gio-2.0` -> 0 env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --print-variables gio-2.0` -> 0 stdout: gsettings gresource gdbus_codegen gdbus glib_compile_resources glib_compile_schemas gio_querymodules gio giomoduledir dtdsdir schemasdir libdir includedir datadir bindir prefix pcfiledir ----------- env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --variable=girdir gobject-2.0` -> 0 env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --print-variables gobject-2.0` -> 0 stdout: libdir includedir prefix pcfiledir ----------- env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --variable=girdir qmi-glib` -> 0 env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --print-variables qmi-glib` -> 0 stdout: qmi_rmnet_supported qmi_qrtr_supported qmi_mbim_qmux_supported exec_prefix libdir includedir prefix pcfiledir ----------- env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --variable=girdir libprotobuf-c` -> 0 env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --print-variables libprotobuf-c` -> 0 stdout: bindir includedir libdir exec_prefix prefix pcfiledir ----------- env[PKG_CONFIG_PATH]: env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --variable=girdir gobject-introspection-1.0` -> 0 stdout: /usr/share/gir-1.0 ----------- Got pkg-config variable girdir : /usr/share/gir-1.0 Program vapigen found: YES (/usr/bin/vapigen) Program vapigen found: YES (/usr/bin/vapigen) Program python3 found: YES (/usr/bin/python3) Searching for '/usr/lib/x86_64-linux-gnu/pkgconfig' via pkgconfig lookup in LIBPC Pkg-config binary missing from cross or native file, or env var undefined. Trying a default Pkg-config fallback at pkg-config Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1 Determining dependency 'python-3.14' with pkg-config executable '/usr/bin/pkg-config' env[PKG_CONFIG_PATH]: /usr/lib/x86_64-linux-gnu/pkgconfig env[PKG_CONFIG]: /usr/bin/pkg-config ----------- Called: `/usr/bin/pkg-config --modversion python-3.14` -> 1 stderr: Package python-3.14 was not found in the pkg-config search path. Perhaps you should add the directory containing `python-3.14.pc' to the PKG_CONFIG_PATH environment variable Package 'python-3.14' not found ----------- 'python-3.14' could not be found in LIBPC, this is likely due to a relocated python installation Running compile: Working directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpf6c7m2ah Code: #ifdef __has_include #if !__has_include("Python.h") #error "Header 'Python.h' could not be found" #endif #else #include <Python.h> #endif ----------- Command line: `cc -I/usr/include/python3.14 /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpf6c7m2ah/testfile.c -E -P -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 -U_FORTIFY_SOURCE` -> 1 stderr: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpf6c7m2ah/testfile.c:4:12: error: #error "Header 'Python.h' could not be found" 4 | #error "Header 'Python.h' could not be found" | ^~~~~ ----------- Run-time dependency python found: NO (tried pkgconfig and sysconfig) ../mocking/meson.build:3:7: ERROR: Python dependency not found dh_auto_configure: error: cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu -Dpython.bytecompile=-1 returned exit code 1 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
#1143332#10
Date:
2026-09-04 22:00:24 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libssc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1143332@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guido Günther <agx@sigxcpu.org> (supplier of updated libssc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 04 Sep 2026 10:42:18 +0200
Source: libssc
Binary: gir1.2-ssc-2 libssc-bin libssc-bin-dbgsym libssc-dev libssc-tests libssc2 libssc2-dbgsym
Architecture: source amd64
Version: 0.4.4-1
Distribution: unstable
Urgency: medium
Maintainer: Guido Günther <agx@sigxcpu.org>
Changed-By: Guido Günther <agx@sigxcpu.org>
Description:
 gir1.2-ssc-2 - GObject introspection data for libssc
 libssc-bin - Qualcomm sensor core library - binaries
 libssc-dev - Qualcomm sensor core library - development headers
 libssc-tests - Installed tests for libssc
 libssc2    - Qualcomm sensor core library - shared library
Closes: 1143332
Changes:
 libssc (0.4.4-1) unstable; urgency=medium
 .
   * New upstream release
   * Depend on python-dev.
     Eases Python transitions (Closes: #1143332)
   * Add package with installed tests.
     This allows us to test more in e.g. autopkg tests
   * Enable tests again
Checksums-Sha1:
 132f775854776bb5b95f7450818362e4f3b7376c 2483 libssc_0.4.4-1.dsc
 ed84399f9bb88a660faa9fa28aaf6847a9f7bab1 155242 libssc_0.4.4.orig.tar.gz
 bd0b8fcb93209b0d17c159a95ccb2aecd75ba430 14876 libssc_0.4.4-1.debian.tar.xz
 ddf231440e5ba4b2e23a2ef80d39347e81a414cb 18196 gir1.2-ssc-2_0.4.4-1_amd64.deb
 09304cf1683e3098499673e0e7c1e92c974a267e 29780 libssc-bin-dbgsym_0.4.4-1_amd64.deb
 eba4a0aaf71d5f3ab983819bb281c442a28d730c 25440 libssc-bin_0.4.4-1_amd64.deb
 8776452d181db95b34ca114108aef11928fae7f1 27280 libssc-dev_0.4.4-1_amd64.deb
 7953d01ca247d07d275ae5eab4cb54769e5c9426 26180 libssc-tests_0.4.4-1_amd64.deb
 612671294da2cb2cb1dcb23330ef888f320fdce3 79200 libssc2-dbgsym_0.4.4-1_amd64.deb
 943762cd623ec162dfa5d212055dfedb4efce1d1 38492 libssc2_0.4.4-1_amd64.deb
 5402e6ff0b0ce50a05817ef6f879f3b167f640bf 10411 libssc_0.4.4-1_amd64.buildinfo
Checksums-Sha256:
 f148c7dba00c30b33c959e8baf8966b02154ccccfa0e32e1da9122055decbcaf 2483 libssc_0.4.4-1.dsc
 716d6bd6b34d2d753060c6b54c9a87e34fae75b724c763bf9ef487efa3621587 155242 libssc_0.4.4.orig.tar.gz
 d3eb25d1e1d0d4a83316527c0f9d724c2a45cee0b9298423a7aabdd24141afbc 14876 libssc_0.4.4-1.debian.tar.xz
 a373d5f902b71051ef1d2477649ba278276d4c8596650b6cc2ccc7d54ab71437 18196 gir1.2-ssc-2_0.4.4-1_amd64.deb
 ec50757b996db8b4a8a9dc808487d649d6851af15a72eb4a418f29e6488fcd0e 29780 libssc-bin-dbgsym_0.4.4-1_amd64.deb
 c94fdb62f22e08715cb574700abcc172e9b4d6484e8912bbe8b7f3c19fbd5bd5 25440 libssc-bin_0.4.4-1_amd64.deb
 b34437cd81e5471f937565c39097fa91b71a6d0eb84e0204f29515be9d005acf 27280 libssc-dev_0.4.4-1_amd64.deb
 a7bed9726dc5e4831048d476ecde0e57e24b58b22cff37a590633d95fd41daab 26180 libssc-tests_0.4.4-1_amd64.deb
 f444026f4e330759ab81d033dce2ef69e614433b03a9ff7da9a002c34cefa684 79200 libssc2-dbgsym_0.4.4-1_amd64.deb
 ab7dbd38abb6cdf6d694531791b8c53c86c915151ce0a926cb5c75d1466bdb66 38492 libssc2_0.4.4-1_amd64.deb
 3701b4582e1c0dfd605c7b1ec31ebe26fbfe51a9251ad53af1defd230a345eb2 10411 libssc_0.4.4-1_amd64.buildinfo
Files:
 03d5b37315ec94c693d6c79440319edc 2483 libs optional libssc_0.4.4-1.dsc
 9519421c3f63266fd1216686fe91c36c 155242 libs optional libssc_0.4.4.orig.tar.gz
 9b125dd87ffe37a1698fdeac3bfd44ff 14876 libs optional libssc_0.4.4-1.debian.tar.xz
 11b9938de5a10bde85ea4334f3ea835a 18196 introspection optional gir1.2-ssc-2_0.4.4-1_amd64.deb
 6b248df63bffc4bed6e28e71aeb21a94 29780 debug optional libssc-bin-dbgsym_0.4.4-1_amd64.deb
 7d6560c5bf9375f0b14b6418f879ab75 25440 libs optional libssc-bin_0.4.4-1_amd64.deb
 0b4a4c9054df613d6c2430dbebaab9df 27280 libdevel optional libssc-dev_0.4.4-1_amd64.deb
 bccd1b66e4b0c442cd1c03f303d7cf95 26180 libs optional libssc-tests_0.4.4-1_amd64.deb
 e522435cb92bd9a4daccbdc950634fd8 79200 debug optional libssc2-dbgsym_0.4.4-1_amd64.deb
 1dcc88c6b173d99327be65e58cfe01aa 38492 libs optional libssc2_0.4.4-1_amd64.deb
 3e8338a25b053ddba830668ab8894b7b 10411 libs optional libssc_0.4.4-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEY/bM35YinQkoayrDJb+GUkr8weMFAmqap8cACgkQJb+GUkr8
weOzdA/8Cfixa/fbqSlO+LFzfYDxddBmd3rHcoHwtTBcCXyhNQZeu85PaK6V2GXV
JrXYyOVVMIclf/v0kBvhNmd7E03r8hmxyMH+NIAVej2JwbMr3aSN1wVrl1M/4RC6
iDu7KCO1lwSsxtx+SWQeX6G/qjh0SPLdfEUxITGPVoGTkl//PkJ86wHgjS1sYS91
L0zdrWUNv5M5TZJok5/Y+7jCKsOfXJ2YRIYJKgdO+N8lbSxTd4F3DoLNxgONBlsg
+snHjjhLQiQ9TV+ZXBo1GCMTtgWUJ3pVvfchFlM/gihFpyCn3DFQZw8IiwQAL0oO
CMQurDRuum/57L+tA7MZQllByyQ52Q9JpIEChb5nBrm3ddXINJ8dZR9ewHg/7uWq
jeuXUbtUvbj3xD5DkhtTIY4k9I70mteDjJp41y3Qh4t6wc9pBWvneHuQED3kAQAY
ShavXlNvVbLqK3/dDiQPh+1ock3kIVq0YeWupZR+wU7ro4N1kWglljTMO5NK8QSJ
pgVUt+yPRoL9JXZgtQ1bYVsWdkVf4XRrYyqJSDGTQe1TL/92UmFeUo4SPd6ZPVbu
Jc5wT/JBYmUNBquyXWxYL58jG+yaiJusarUWvSMQhCZfgBRTNAj6psQKWAnQrRif
lgIUJBHH5Ab6bcLJjd//nAjGtyTS81gt8tv/cWYf9cm9PfSrOtA=
=aMr3
-----END PGP SIGNATURE-----