[Bug 1806509] Re: dh_auto_configure: --disable-maintainer-mode

themusicgod1 1806509 at bugs.launchpad.net
Wed Dec 5 19:39:20 UTC 2018


...would it make sense to link to this reason why(eg some maintainers in
other projects actually do use it) in the error message, rather than
just warning about it?  Would a more descriptive warning message make
sense so the next guy doesn't submit the same patch?

** Changed in: debhelper (Ubuntu)
       Status: Incomplete => New

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

Title:
  dh_auto_configure: --disable-maintainer-mode

Status in debhelper package in Ubuntu:
  New

Bug description:
  when building libcpuid ( https://notabug.org/themusicgod1/libcpuid/ )
  dh_auto_configure tries to send in an option to configure "--disable-
  maintainer-mode".  This is not recognized(anymore?).

  debuild -us -uc -b
  ...
  dh_auto_configure
  	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking
  configure: WARNING: unrecognized options: --disable-maintainer-mode

  removing --disable-maintainer-mode from

  debhelper-11.3.2ubuntu1/lib/Debian/Debhelper/Buildsystem/autoconf.pm

  and the corresponding test in debhelper-11.3.2ubuntu1/t/buildsystems/autoconf/configure 
  made debhelper no longer pass in the offending option, and the warning went away.

  debhelper:
    Installed: 11.3.2ubuntu1
    Candidate: 11.3.2ubuntu1
  Ubuntu: 19.04 disco

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: debhelper 11.3.2ubuntu1
  ProcVersionSignature: Ubuntu 4.18.0-11.12-generic 4.18.12
  Uname: Linux 4.18.0-11-generic x86_64
  ApportVersion: 2.20.10-0ubuntu14
  Architecture: amd64
  Date: Mon Dec  3 23:59:56 2018
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: debhelper
  UpgradeStatus: Upgraded to disco on 2018-11-23 (10 days ago)

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



More information about the foundations-bugs mailing list