Your message dated Sat, 20 Dec 2025 03:34:21 +0000
with message-id <[email protected]>
and subject line Bug#1123695: fixed in libnvme 1.16.1-2
has caused the Debian Bug report #1123695,
regarding libnvme FTCBFS: problems with Python extension build
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1123695: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123695
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libnvme
Version: 1.16.1-1
Tags: patch
User: [email protected]
Usertags: cross-satisfiability ftcbfs

libnvme fails to cross build from source for two related reasons. For
one thing it depends on python3-dev and that happens to not work for
cross compilation. For cross building, this dependency needs to be split
into libpython3-dev and python3-dev:native.

The actual extension build is not being told about the host
architecture. As a result, it uses the build architecture sysconfig and
emits an extension named for the build architecture. On Debian, the
sysconfig module needs to be diverted for cross builds.

I'm attaching a patch addressing both aspects. Please consider applying
it.

Helmut
diff -Nru libnvme-1.16.1/debian/changelog libnvme-1.16.1/debian/changelog
--- libnvme-1.16.1/debian/changelog     2025-11-09 20:13:29.000000000 +0100
+++ libnvme-1.16.1/debian/changelog     2025-12-17 12:26:03.000000000 +0100
@@ -1,3 +1,12 @@
+libnvme (1.16.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Multiarchify Python Build-Depends.
+    + Export cross sysconfig name.
+
+ -- Helmut Grohne <[email protected]>  Wed, 17 Dec 2025 12:26:03 +0100
+
 libnvme (1.16.1-1) sid; urgency=medium
 
   * Merging upstream version 1.16.1.
diff -Nru libnvme-1.16.1/debian/control libnvme-1.16.1/debian/control
--- libnvme-1.16.1/debian/control       2025-11-09 20:13:21.000000000 +0100
+++ libnvme-1.16.1/debian/control       2025-12-17 12:26:01.000000000 +0100
@@ -11,10 +11,11 @@
  libdbus-1-dev,
  libjson-c-dev,
  libkeyutils-dev,
+ libpython3-dev,
  libssl-dev,
  meson (>= 1.0.0-1.1~),
  pkg-config,
- python3-dev,
+ python3-dev:native,
  swig,
 Standards-Version: 4.7.2
 Homepage: https://github.com/linux-nvme/libnvme
diff -Nru libnvme-1.16.1/debian/rules libnvme-1.16.1/debian/rules
--- libnvme-1.16.1/debian/rules 2025-11-09 20:13:21.000000000 +0100
+++ libnvme-1.16.1/debian/rules 2025-12-17 12:26:03.000000000 +0100
@@ -1,7 +1,13 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
+
 export KBUILD_BUILD_TIMESTAMP = "@$(SOURCE_DATE_EPOCH)"
 
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+export 
_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__${DEB_HOST_ARCH_OS}_${DEB_HOST_MULTIARCH}
+endif
+
 %:
        dh ${@} --buildsystem=meson --with python3
 

--- End Message ---
--- Begin Message ---
Source: libnvme
Source-Version: 1.16.1-2
Done: Daniel Baumann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libnvme, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <[email protected]> (supplier of updated libnvme 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 20 Dec 2025 04:19:31 +0100
Source: libnvme
Architecture: source
Version: 1.16.1-2
Distribution: sid
Urgency: medium
Maintainer: Daniel Baumann <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Closes: 1123695
Changes:
 libnvme (1.16.1-2) sid; urgency=medium
 .
   * Fixing FTCBFS by multiarchify Python build-depends and exporting cross
     sysconfig name, thanks to Helmut Grohne <[email protected]> (Closes:
     #1123695).
Checksums-Sha1:
 6a1a5fdd765b460e627726a70c8ca17ea924800b 1598 libnvme_1.16.1-2.dsc
 199f153f147e163baf5b5fc3a2ebdc30540e7367 8008 libnvme_1.16.1-2.debian.tar.xz
 3716a5908eb321649e473f194f73eb9cceced5c6 9030 libnvme_1.16.1-2_amd64.buildinfo
Checksums-Sha256:
 5f6c2e9331e45e6a4dba9ec6db58cdc14884f95a91d96aec66047a2458776c4a 1598 
libnvme_1.16.1-2.dsc
 29ffa9d7fcd9084671604334fb3a444bf794527e67a131ac2c30e191fec77d14 8008 
libnvme_1.16.1-2.debian.tar.xz
 123aadf6433c1f94f8169566b7010e65fbc11c5c8a79cd974e65d7f229390e6e 9030 
libnvme_1.16.1-2_amd64.buildinfo
Files:
 4be598907f29e853756a76a8e3adf330 1598 libs optional libnvme_1.16.1-2.dsc
 22571bb711ecb736dd7dfa4bdf8fec2d 8008 libs optional 
libnvme_1.16.1-2.debian.tar.xz
 d1778247ff191071fb3b1d577427e95c 9030 libs optional 
libnvme_1.16.1-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQQmmGg4gLaoSj0ERgL7tPDoCoAiLwUCaUYWkQAKCRD7tPDoCoAi
L8aUAP425Rkx32kRJlfo+UiROp1JoQ5he7cGcDGmSWmnYVfUTwD7BLJCTclRHUmg
Ab7MwKmvcBaYmJh+3/sjBuKP3Afz9wc=
=MgxJ
-----END PGP SIGNATURE-----

Attachment: pgpyER2I2FjrC.pgp
Description: PGP signature


--- End Message ---

Reply via email to