Your message dated Mon, 09 Mar 2026 14:59:55 +0000
with message-id <[email protected]>
and subject line Bug#1127821: Removed package(s) from unstable
has caused the Debian Bug report #1128865,
regarding m2crypto FTCBFS: sphinx dependency
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.)


-- 
1128865: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128865
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: m2crypto
Version: 0.46.2-3
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

m2crypto cannot be cross built from source, because its sphinx
dependencies are not satisfiable. Fortunately, there already is an
arch:all documentation package, so skipping sphinx during arch-only
builds (such as cross builds) solves this problem. The implementation is
slightly tricky due to the use of PYBUILD_AFTER_BUILD. This variable
needs to become conditional and the interpolation needs to happen in the
nested makefile call inside the override. Otherwise dh_listpackages
lists all packages. I'm attaching a patch for your convenience. Do you
see a better solution? I attempted verifying it using reproducible
builds and that seems to work out except that the documentation itself
is not reproducible.

Helmut
diff -Nru m2crypto-0.46.2/debian/changelog m2crypto-0.46.2/debian/changelog
--- m2crypto-0.46.2/debian/changelog    2026-02-14 23:28:14.000000000 +0100
+++ m2crypto-0.46.2/debian/changelog    2026-02-23 11:18:20.000000000 +0100
@@ -1,3 +1,10 @@
+m2crypto (0.46.2-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Skip documentation build in arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 23 Feb 2026 11:18:20 +0100
+
 m2crypto (0.46.2-3) unstable; urgency=medium
 
   * Team upload
diff -Nru m2crypto-0.46.2/debian/control m2crypto-0.46.2/debian/control
--- m2crypto-0.46.2/debian/control      2026-02-14 23:10:59.000000000 +0100
+++ m2crypto-0.46.2/debian/control      2026-02-23 11:18:18.000000000 +0100
@@ -6,16 +6,17 @@
  debhelper-compat (= 13),
  dh-sequence-python3,
  libssl-dev,
- links <!nodoc>,
  openssl <!nocheck>,
  python3-all-dev,
- python3-docutils <!nodoc>,
  python3-parameterized <!nocheck>,
  python3-pytest <!nocheck>,
  python3-setuptools,
+ swig (>= 1.3.40),
+Build-Depends-Indep:
+ links <!nodoc>,
+ python3-docutils <!nodoc>,
  python3-sphinx <!nodoc>,
  python3-sphinx-rtd-theme <!nodoc>,
- swig (>= 1.3.40),
 Standards-Version: 4.7.3
 Homepage: https://sr.ht/~mcepl/m2crypto/
 Vcs-Git: https://salsa.debian.org/python-team/packages/m2crypto.git
diff -Nru m2crypto-0.46.2/debian/rules m2crypto-0.46.2/debian/rules
--- m2crypto-0.46.2/debian/rules        2026-02-14 23:10:59.000000000 +0100
+++ m2crypto-0.46.2/debian/rules        2026-02-23 11:18:20.000000000 +0100
@@ -4,7 +4,6 @@
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 export PYBUILD_TEST_ARGS=--ignore tests/test_ssl.py
-export PYBUILD_AFTER_BUILD=PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' 
python3 -m sphinx -N doc html
 
 export OPENSSL_CONF=$(CURDIR)/debian/openssl.cnf
 
@@ -15,7 +14,15 @@
 %:
        dh $@ --buildsystem=pybuild
 
-override_dh_installdocs:
+override_dh_auto_build:
+ifneq (,$(filter python-m2crypto-doc,$(shell dh_listpackages)))
+       PYBUILD_AFTER_BUILD='PYTHONPATH={build_dir} http_proxy="127.0.0.1:9" 
python3 -m sphinx -N doc html' \
+               dh_auto_build
+else
+       dh_auto_build
+endif
+
+override_dh_installdocs-indep:
        rst2html -r 5 README.rst .pybuild/README.html
        LC_LANG=C.UTF-8 links -dump .pybuild/README.html > .pybuild/README
        dh_installdocs -A .pybuild/README

--- End Message ---
--- Begin Message ---
Version: 0.46.2-3+rm

Dear submitter,

as the package m2crypto has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1127821

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to