Bug#980898: elogind: reduce Build-Depends

Helmut Grohne helmut at subdivi.de
Mon Jan 25 10:32:09 GMT 2021

On Mon, Jan 25, 2021 at 09:45:19AM +0000, Mark Hindley wrote:
> On Sat, Jan 23, 2021 at 07:11:01PM +0100, Helmut Grohne wrote:
> > Source: elogind
> > Version: 246.9.1-1+debian1
> > Tags: patch
> > User: helmutg at debian.org
> > Usertags: rebootstrap
> > 
> > elogind participates in dependency loops relevant to architecture
> > bootstrap. Instead of looking into such a difficult problem, I looked
> > for easily droppable dependencies:
> >  * libblkid-dev and libmount-dev are mentioned in multiple meson files
> >    as not needed by elogind. They can be dropped with no replacement.
> In elogind README.md, libblkid-dev is indeed said to be optional, however
> libmount-dev is listed as compulsory and in your patch you have kept it in.

I believe the README.md is outdated here. If you read the sources,
you'll see that it is indeed never used. Thanks for spotting the missing
libmount-dev removal.

If in doubt, I suggest that you build elogind normally, then turn
libmount-dev and libblkid-dev into Build-Conflicts without changing
debian/changelog. If you build such a modified package, you'll observe
that the resulting .debs are bit-identical to the previous once since
elogind is normally reproducible. That should be quite a strong clue,


More information about the Debian-init-diversity mailing list