El 6/12/24 a las 10:59, Holger Levsen escribió:
On Fri, Dec 06, 2024 at 01:10:50AM +0100, Santiago Vila wrote:
Yann: I'm going to NMU this package tomorrow, using the patch
I posted several weeks ago plus the color changes from Guillem.
I will not make any other change.

Thanks already!

You are welcome!
(I'm a bit sick so a bit less active on this than I wanted...)

I hope this upload makes you feel better :-)


Ok, I've just done the NMU I announced, in the most minimalistic
style possible. The debdiff is attached for reference.

I have not added anything to the extended description for several
reasons:

- I know myself and would spend hours trying to find the perfect wording,..
The current changes already have the desired effect.

- If we are lucky and fix all the packages before the release of trixie
(no hurry anymore in doing so), it would not be necessary at all.

- Anybody who wonders why dh_buildinfo now behaves the way it does
will easily find the changelog, the bug number, and this discussion,
so it's not as if this was a secret conspiracy.

- If we finally have to release trixie with this no-op dh-buildinfo,
we can just make another release for documentation purposes.

There are some pending issues, which I leave to others as they see fit:

- lintian should probably warn about the build-depends
- lintian-brush should probably remove the build-depends

(even if we remove dh-buildinfo for trixie, we would also like
to "send the message" to our downstreams and third parties).

- in theory, we could binNMU affected packages now,
Holger, I think you would love doing that.

- As it has been suggested earlier in this thread: Would debhelper
maintainers be willing to "hijack" this dummy dh_buildinfo and move
it to debhelper, just for trixie?

The new debhelper would conflicts/replaces the old dh_buildinfo,
and most importantly it would *provide* it, which would allow
us to remove the dh-buildinfo package itself quite soon and without
bothering a lot of people.

Adding Cc Niels for the above.

I'm keeping this bug open because the NMU does not completely
fix the issue, and also because it's useful to continue
the discussion here (maybe debian-qa@l.d.o would be a good place?)

Thanks a lot!
diff -Nru dh-buildinfo-0.11+nmu3/debian/changelog 
dh-buildinfo-0.11+nmu4/debian/changelog
--- dh-buildinfo-0.11+nmu3/debian/changelog     2024-03-25 19:37:09.000000000 
+0100
+++ dh-buildinfo-0.11+nmu4/debian/changelog     2024-12-06 12:25:00.000000000 
+0100
@@ -1,3 +1,17 @@
+dh-buildinfo (0.11+nmu4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Address #1068809 partially. In this release dh_buildinfo becomes
+    a no-op. Now it does nothing and just warns the user about the
+    dh-buildinfo package being obsolete,
+    We still want packages to drop their build-depends on dh-buildinfo,
+    but now they will immediately benefit from this change after a
+    simple rebuild (which can be a binNMU).
+  * Stop using dh_buildinfo in debian/rules to be consistent
+    with tha above.
+
+ -- Santiago Vila <sanv...@debian.org>  Fri, 06 Dec 2024 12:25:00 +0100
+
 dh-buildinfo (0.11+nmu3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru dh-buildinfo-0.11+nmu3/debian/dummy_dh_buildinfo 
dh-buildinfo-0.11+nmu4/debian/dummy_dh_buildinfo
--- dh-buildinfo-0.11+nmu3/debian/dummy_dh_buildinfo    1970-01-01 
01:00:00.000000000 +0100
+++ dh-buildinfo-0.11+nmu4/debian/dummy_dh_buildinfo    2024-12-06 
11:00:00.000000000 +0100
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+PROGNAME=dh_buildinfo
+. /usr/share/dpkg/sh/dpkg-error.sh
+setup_colors
+
+warning "dh-buildinfo is obsolete, please remove it from Build-Depends"
diff -Nru dh-buildinfo-0.11+nmu3/debian/rules 
dh-buildinfo-0.11+nmu4/debian/rules
--- dh-buildinfo-0.11+nmu3/debian/rules 2018-01-10 22:25:09.000000000 +0100
+++ dh-buildinfo-0.11+nmu4/debian/rules 2024-12-06 11:00:00.000000000 +0100
@@ -54,7 +54,7 @@
        dh_testdir
        dh_testroot
        dh_installdocs buildinfo.html
-       ./dh_buildinfo
+       # ./dh_buildinfo
        dh_installcron
        dh_installman
        dh_installchangelogs 
@@ -62,6 +62,7 @@
        dh_fixperms
        dh_installdeb
        dh_perl 
+       install -m 755 debian/dummy_dh_buildinfo 
debian/dh-buildinfo/usr/bin/dh_buildinfo
        dh_gencontrol
        dh_md5sums
        dh_builddeb --destdir=$(DESTDIR)

Reply via email to