Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1222877

Bug#1068809: dh-buildinfo: consider deprecating and removing the package

From Guillem Jover <guillem@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1068809: dh-buildinfo: consider deprecating and removing the package
Date 2024-12-06 00:40 +0100
Message-ID <JQtBT-e1u3-7@gated-at.bofh.it> (permalink)
References <Is2OK-5zB1-7@gated-at.bofh.it> <JNAJz-c6oe-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi!

On Thu, 2024-11-28 at 01:11:05 +0100, Santiago Vila wrote:
> The attached patch (which I've tried it to be as minimal as possible)
> would make dh_buildinfo a no-op, as discussed in this thread.
> 
> This would remove its undesired effects. Most notably, the ones related to
> reproducibility pointed out by Holger, where the smallest change
> in the build environment makes a package to be different again,
> and it would achieve it with mininal fuss, as we would not need
> sourceful uploads for hundreds of packages.

I think that would be a nice incremental improvement with immediate
benefits, which does not preclude the cleanup that Holger was talking
about, which can then run at its own independent course. I think
people agreeing with this was more about untangling the concerns,
more than not considering the cleanup worthwhile.

On Thu, 2024-11-28 at 01:33:12 +0100, Santiago Vila wrote:
> Sorry, I forgot the patch. Here it is.

> --- /dev/null
> +++ b/debian/dummy_dh_buildinfo
> @@ -0,0 +1,2 @@
> +#!/bin/sh
> +echo "Warning: dh-buildinfo is obsolete, please remove it from Build-Depends"

Perhaps using instead the following, would give a bit more visibility
to the warning:

,--- dh_buildinfo ---
#!/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"
`---

(I've been bothered by the seemingly gratuitous boilerplate required
for dpkg-error.sh in the past, but this now made that resurface, so
I'm working on reducing it in dpkg git, for future similar usages. :)

Thanks,
Guillem

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1068809: dh-buildinfo: consider deprecating and removing the package Santiago Vila <sanvila@debian.org> - 2024-11-28 01:40 +0100
  Bug#1068809: dh-buildinfo: consider deprecating and removing the package Guillem Jover <guillem@debian.org> - 2024-12-06 00:40 +0100
    Bug#1068809: dh-buildinfo: consider deprecating and removing the package Santiago Vila <sanvila@debian.org> - 2024-12-06 01:20 +0100
      Bug#1068809: dh-buildinfo: consider deprecating and removing the package Holger Levsen <holger@layer-acht.org> - 2024-12-06 11:10 +0100
        Bug#1068809: dh-buildinfo: consider deprecating and removing the package Santiago Vila <sanvila@debian.org> - 2024-12-06 13:30 +0100
          Bug#1068809: dh-buildinfo: consider deprecating and removing the package Holger Levsen <holger@layer-acht.org> - 2024-12-08 12:30 +0100
            Bug#1068809: dh-buildinfo: consider deprecating and removing the package Holger Levsen <holger@layer-acht.org> - 2024-12-14 13:40 +0100
              Bug#1068809: dh-buildinfo: consider deprecating and removing the package Holger Levsen <holger@layer-acht.org> - 2024-12-14 14:00 +0100
                Bug#1068809: dh-buildinfo: consider deprecating and removing the package Holger Levsen <holger@layer-acht.org> - 2024-12-14 14:20 +0100
              Bug#1068809: dh-buildinfo: consider deprecating and removing the package Santiago Vila <sanvila@debian.org> - 2024-12-14 14:10 +0100
                Bug#1068809: dh-buildinfo: consider deprecating and removing the package Chris Hofstaedtler <zeha@debian.org> - 2024-12-14 14:20 +0100
                Bug#1068809: dh-buildinfo: consider deprecating and removing the package Chris Hofstaedtler <zeha@debian.org> - 2024-12-14 14:30 +0100
                Bug#1068809: dh-buildinfo: consider deprecating and removing the package Santiago Vila <sanvila@debian.org> - 2024-12-18 15:20 +0100
                Bug#1068809: dh-buildinfo: consider deprecating and removing the package Chris Hofstaedtler <zeha@debian.org> - 2024-12-18 22:10 +0100
                Bug#1068809: dh-buildinfo: consider deprecating and removing the package Yann Dirson <ydirson@free.fr> - 2024-12-18 23:00 +0100
                Bug#1068809: dh-buildinfo: consider deprecating and removing the package Santiago Vila <sanvila@debian.org> - 2024-12-19 02:10 +0100
                Bug#1068809: dh-buildinfo: consider deprecating and removing the package наб <nabijaczleweli@nabijaczleweli.xyz> - 2024-12-19 03:40 +0100
                Bug#1068809: dh-buildinfo: consider deprecating and removing the package Santiago Vila <sanvila@debian.org> - 2024-12-21 00:40 +0100
                Bug#1068809: dh-buildinfo: consider deprecating and removing the package Holger Levsen <holger@layer-acht.org> - 2024-12-19 17:00 +0100
                Bug#1068809: dh-buildinfo: consider deprecating and removing the package Santiago Vila <sanvila@debian.org> - 2024-12-21 00:30 +0100
                Bug#1068809: dh-buildinfo: consider deprecating and removing the package Santiago Vila <sanvila@debian.org> - 2024-12-14 14:30 +0100
          Bug#1068809: dh-buildinfo: consider deprecating and removing the package Holger Levsen <holger@layer-acht.org> - 2024-12-08 12:30 +0100

csiph-web