Your message dated Fri, 29 Nov 2024 15:10:51 +0000
with message-id <[email protected]>
and subject line Bug#1086647: fixed in nmap 7.95+dfsg-1
has caused the Debian Bug report #1086647,
regarding nmap FTCBFS: python3 build-depends not installable
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.)


-- 
1086647: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086647
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: nmap
Version: 7.94+git20230807.3be01efb1+dfsg-4
Tags: patch
User: [email protected]
Usertags: cross-satisfiability
X-Debbugs-Cc: [email protected]

Hi,

Steev noticed that nmap could not be cross built. While the initial
diagnosis was a zlib conflict, which is temporary in nature and caused
by the PAC/BTI rebuilds, there is a persistent issue with the python3
dependency. What is requested is the host architecture python3
interpreter and that fails to install if apt ever figures satisfying
depedencies.

Fortunately, we don't have to think much about what kind of Python
interpreter as the answer simply is "none". It is used to build ndiff
and zenmap both of which are Arch:all packages, so we can entirely
sidestep the problem by better separating the indep build from the
arch-only build.

I'm attaching a patch that performs this separation and thus moves
python3 and python3-gi to B-D-I. As a result, cross build depeneds
become satisfiable right now for e.g. amd64 -> ppc64el. It doesn't cross
build just yet, but one may now attempt building it. Please consider
applying the patch.

Helmut
diff --minimal -Nru nmap-7.94+git20230807.3be01efb1+dfsg/debian/changelog 
nmap-7.94+git20230807.3be01efb1+dfsg/debian/changelog
--- nmap-7.94+git20230807.3be01efb1+dfsg/debian/changelog       2024-06-04 
18:40:09.000000000 +0200
+++ nmap-7.94+git20230807.3be01efb1+dfsg/debian/changelog       2024-11-02 
22:41:42.000000000 +0100
@@ -1,3 +1,10 @@
+nmap (7.94+git20230807.3be01efb1+dfsg-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Improve cross building: Demote python dependencies to B-D-I. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 02 Nov 2024 22:41:42 +0100
+
 nmap (7.94+git20230807.3be01efb1+dfsg-4) unstable; urgency=medium
 
   [ Hilko Bengen ]
diff --minimal -Nru nmap-7.94+git20230807.3be01efb1+dfsg/debian/control 
nmap-7.94+git20230807.3be01efb1+dfsg/debian/control
--- nmap-7.94+git20230807.3be01efb1+dfsg/debian/control 2024-06-04 
18:40:09.000000000 +0200
+++ nmap-7.94+git20230807.3be01efb1+dfsg/debian/control 2024-11-02 
22:41:42.000000000 +0100
@@ -15,14 +15,15 @@
                libssh2-1-dev,
                libssl-dev,
                lua-lpeg-dev,
-               python3,
-               python3-gi, 
                gir1.2-gtk-3.0,
                gir1.2-pango-1.0,
                gir1.2-glib-2.0,
                gir1.2-gdkpixbuf-2.0,
 Build-Depends-Indep: default-jdk-headless,
-                     gcc-mingw-w64-i686
+                     dh-sequence-python3,
+                     gcc-mingw-w64-i686,
+                     python3,
+                     python3-gi,
 Standards-Version: 4.6.2
 Rules-Requires-Root: no
 Homepage: https://nmap.org/
diff --minimal -Nru nmap-7.94+git20230807.3be01efb1+dfsg/debian/rules 
nmap-7.94+git20230807.3be01efb1+dfsg/debian/rules
--- nmap-7.94+git20230807.3be01efb1+dfsg/debian/rules   2024-06-04 
18:40:09.000000000 +0200
+++ nmap-7.94+git20230807.3be01efb1+dfsg/debian/rules   2024-11-02 
22:41:42.000000000 +0100
@@ -3,7 +3,7 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
-       dh $@ --with=python3
+       dh $@
 
 override_dh_auto_clean:
        dh_auto_clean
@@ -19,13 +19,14 @@
                --without-ndiff \
                --enable-ipv6 \
                STRIP=/bin/true
+
+execute_after_dh_auto_configure-indep:
        dh_auto_configure --sourcedir=ndiff --buildsystem=pybuild
        dh_auto_configure --sourcedir=zenmap --buildsystem=pybuild
 
 mingw_CFLAGS = $(filter-out -mbranch-protection=standard,$(CFLAGS))
 
-override_dh_auto_build-indep:
-       dh_auto_build
+execute_after_dh_auto_build-indep:
        dh_auto_build --sourcedir=ndiff --buildsystem=pybuild
        dh_auto_build --sourcedir=zenmap --buildsystem=pybuild
        cd nselib/data/jdwp-class && /usr/lib/jvm/default-java/bin/javac *.java
@@ -33,12 +34,15 @@
                i686-w64-mingw32-gcc ${CPPFLAGS} ${mingw_CFLAGS} -o 
nmap_service.exe nmap_service.c && \
                gzip -c -n9 nmap_service.exe | base64 | tac > nmap_service.ex_
 
-override_dh_auto_test:
+override_dh_auto_test-arch:
+
+override_dh_auto_test-indep:
        dh_auto_test --sourcedir=ndiff --buildsystem=pybuild
        dh_auto_test --sourcedir=zenmap --buildsystem=pybuild
 
-override_dh_auto_install:
-       dh_auto_install
+execute_after_dh_auto_install-arch:
+       mv debian/tmp/usr/share/man/pt_PT debian/tmp/usr/share/man/pt
+
+execute_after_dh_auto_install-indep:
        dh_auto_install --sourcedir=ndiff --buildsystem=pybuild
        dh_auto_install --sourcedir=zenmap --buildsystem=pybuild
-       mv debian/tmp/usr/share/man/pt_PT debian/tmp/usr/share/man/pt

--- End Message ---
--- Begin Message ---
Source: nmap
Source-Version: 7.95+dfsg-1
Done: Hilko Bengen <[email protected]>

We believe that the bug you reported is fixed in the latest version of
nmap, 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.
Hilko Bengen <[email protected]> (supplier of updated nmap 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: SHA256

Format: 1.8
Date: Fri, 29 Nov 2024 13:13:42 +0000
Source: nmap
Architecture: source
Version: 7.95+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools <[email protected]>
Changed-By: Hilko Bengen <[email protected]>
Closes: 1080676 1086647
Changes:
 nmap (7.95+dfsg-1) unstable; urgency=medium
 .
   * New upstream version 7.95+dfsg
   * Improve cross building: Demote python dependencies to B-D-I.
     Thanks to Helmut Grohne (Closes: #1086647)
   * Add python3-setuptools build-dependency (Closes: #1080676)
   * Rebase patches
   * Adjust for updated build scripts
Checksums-Sha1:
 5d17866a3a5093c0f30a8192c363e7c788a31d67 2463 nmap_7.95+dfsg-1.dsc
 aa3165840413a929da14cd9e7e3f587599a9be84 7655280 nmap_7.95+dfsg.orig.tar.xz
 2fd31f64022f54652cf366821a9d09d00109f397 24192 nmap_7.95+dfsg-1.debian.tar.xz
 a6e06a38ba0f4bfb7e7a1c9969d5fa1d5dd24c1a 13016 
nmap_7.95+dfsg-1_source.buildinfo
Checksums-Sha256:
 ea75506d51dfeaa8ae44160767c4ef5ebb4b36a614af048b983202237b3e18bc 2463 
nmap_7.95+dfsg-1.dsc
 9d8eeeafc4659c7318281abbf561de5e0dc8b127e25c5722fd2775ed89bfb2b1 7655280 
nmap_7.95+dfsg.orig.tar.xz
 b67fa89516b03c0a23aa7964153665f1a6624f07fb4f0eb9e1e2963d0b1faf22 24192 
nmap_7.95+dfsg-1.debian.tar.xz
 70022c2cd9e299f49d946230eee0d736734aedaa5540951a46f952974fe498c1 13016 
nmap_7.95+dfsg-1_source.buildinfo
Files:
 65a3890ac672f941c8d2757324ef92a0 2463 net optional nmap_7.95+dfsg-1.dsc
 af91a8f82500e29ad2b48799ff5fa646 7655280 net optional 
nmap_7.95+dfsg.orig.tar.xz
 37b78e110086db8f8837968754fe2635 24192 net optional 
nmap_7.95+dfsg-1.debian.tar.xz
 71d674d37b7c6d65815353c085f664d5 13016 net optional 
nmap_7.95+dfsg-1_source.buildinfo

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

iQIzBAEBCAAdFiEErnMQVUQqHZbPTUx4dbcQY1whOn4FAmdJ0nkACgkQdbcQY1wh
On7zBA//fy5iPqV4zh4aj6Rg7zm+2ENUrz8y2Df3LGVGJHvO/+MRdJm23ra2ih9s
2I8bCo91BqT+lRbw6J2tnKFAPqDo/wrh+s569IWDBqg/9vZD5yjlL0iBtiw9Lum9
DUXB5Q/ZwTV8psaY3aGAsGPDjmjgoaPg+QGtKnRDLGTeuGTXtJWt0KEuhB3HKKdb
3wQiHu+7oq+bjO5+R3N9Pkis7Cyj3eL9l8kXoiokTzUO+hR3cala5ufQhrcp47ZX
Gar+KlWPk9utSxwyq8m/b1JH/SKBlPtJEXjZ7rRy8vtvrp2t4h+t8v68cv619s3k
xNpFaabA5qo5fo4HFUV7Xbv9IbbdeH7jjYyO6ueLU8Y+tY3TN8FM59iImzAb2Yxn
gt0lMVcTj5HPc5mG6iOmlgKfCDBNXkQKebJKJNRxku5Vahnun7bs5EDsakuCjhts
/+eXpHig2wuH+IX3veXfcA8JNTiiWFGGnwBULE90QLVQHtvROXNhOuvd+VpIa4dA
3C4Ga116o05J0YJRDBjMgVQo3FKdVCoNk5eJAJ3+rSt2RjcjgCs70x5N3tlGx/lQ
H7AshzZuCHJIK5sYlHOwDz5QQrYc0ILgZ6KwnHuHu+ibU21f/byLt3X3z0xWfzk2
jVMG2+XwUijx65NaMUFh89O2bxgFp/qswV/KsAH+wbTvXiSx/lA=
=PXUr
-----END PGP SIGNATURE-----

Attachment: pgpVmPcL0Gkjm.pgp
Description: PGP signature


--- End Message ---

Reply via email to