[Bug 1894431] [NEW] "debuild --lintian-opts ..." doesn't work: options are not passed to lintian

Reuben Thomas 1894431 at bugs.launchpad.net
Sun Sep 6 12:23:29 UTC 2020


Public bug reported:

When building a Debian package on Ubuntu, it's necessary to use "--
profile debian" with lintian.

When using debuild, it should be possible to pass options to lintian
with "--lintian-opts". However, these seem to be ignored currently: when
lintian is run, options passed with --lintian-opts are not given to
lintian.

As a workaround, one can use the dpkg-buildpackage option "--check-
option", thus:

  debuild -us -uc --check-option="--profile=debian"

The --profile option is then passed to lintian (note the "="; it would
also be possible to use the more verbose "--check-option=--profile
--check-option=debian").

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: devscripts 2.20.2ubuntu2
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: GNOME
Date: Sun Sep  6 13:17:45 2020
InstallationDate: Installed on 2019-12-23 (258 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
SourcePackage: devscripts
UpgradeStatus: Upgraded to focal on 2020-08-29 (7 days ago)

** Affects: devscripts (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

** Summary changed:

- "debuild --lintian-opts --profile debian" does not work
+ "debuild --lintian-opts ..." doesn't work: options are not passed to lintian

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to devscripts in Ubuntu.
https://bugs.launchpad.net/bugs/1894431

Title:
  "debuild --lintian-opts ..." doesn't work: options are not passed to
  lintian

Status in devscripts package in Ubuntu:
  New

Bug description:
  When building a Debian package on Ubuntu, it's necessary to use "--
  profile debian" with lintian.

  When using debuild, it should be possible to pass options to lintian
  with "--lintian-opts". However, these seem to be ignored currently:
  when lintian is run, options passed with --lintian-opts are not given
  to lintian.

  As a workaround, one can use the dpkg-buildpackage option "--check-
  option", thus:

    debuild -us -uc --check-option="--profile=debian"

  The --profile option is then passed to lintian (note the "="; it would
  also be possible to use the more verbose "--check-option=--profile
  --check-option=debian").

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: devscripts 2.20.2ubuntu2
  ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
  Uname: Linux 5.4.0-42-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.8
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: GNOME
  Date: Sun Sep  6 13:17:45 2020
  InstallationDate: Installed on 2019-12-23 (258 days ago)
  InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
  SourcePackage: devscripts
  UpgradeStatus: Upgraded to focal on 2020-08-29 (7 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/1894431/+subscriptions



More information about the foundations-bugs mailing list