#1125320 lintian: False positive for missing-build-dependency-for-dh_-command

#1125320#5
Date:
2026-01-12 14:32:36 UTC
From:
To:
Dear Maintainer,

I am the maintainer of the plplot package. In a development version of
the package, even though I have added dh-sequence-fortran and dh-sequence-octave
to Build-Depends, I get the following errors from Lintian :

  E: plplot source: missing-build-dependency-for-dh_-command dh_fortran_mod (does not satisfy dh-fortran:any) [debian/rules]
  E: plplot source: missing-build-dependency-for-dh_-command dh_octave_substvar (does not satisfy dh-octave:any) [debian/rules]

These are clearly false positives, since the dh_fortran_mod
dh_octave_substvar commands are provided by the dh-fortran and dh-octave
packages, respectively.

For the record, these packages provide the following dh_* commands,
that can potentially be used in debian/rules:

  $ apt-file find bin/dh_octave | grep dh-octave:
  dh-octave: /usr/bin/dh_octave_changelogs
  dh-octave: /usr/bin/dh_octave_clean
  dh-octave: /usr/bin/dh_octave_examples
  dh-octave: /usr/bin/dh_octave_make
  dh-octave: /usr/bin/dh_octave_substvar
  dh-octave: /usr/bin/dh_octave_version
  $ apt-file find bin/dh_fortran | grep dh-fortran:
  dh-fortran: /usr/bin/dh_fortran
  dh-fortran: /usr/bin/dh_fortran_cmake
  dh-fortran: /usr/bin/dh_fortran_lib
  dh-fortran: /usr/bin/dh_fortran_lib_new
  dh-fortran: /usr/bin/dh_fortran_lib_old
  dh-fortran: /usr/bin/dh_fortran_mod
  dh-fortran: /usr/bin/dh_fortran_mod_new
  dh-fortran: /usr/bin/dh_fortran_mod_old
  dh-fortran: /usr/bin/dh_fortran_pkgconf

Best,

Rafael Laboissière