Package: quota
Severity: normal
Version: 4.06-1.1

Dear Maintainer,

quota fails to build with dpkg 1.22.7 or higher due to this change:

dpkg (1.22.7) unstable; urgency=medium

  [ Guillem Jover ]
  * dpkg-buildpackage: Remove fallback handling for missing required targets.

Previous dpkg-buildpackage invocations would issue a warning, and
fallback to the build target:

  dpkg-buildpackage: warning: debian/rules must be updated to support
the 'build-arch' and 'build-indep' targets (at least 'build-arch'
seems to be missing)
   debian/rules build

But since 1.22.7, the build fails if the build-arch target is not there:

  dh_clean
   debian/rules build-arch
  make: *** No rule to make target 'build-arch'. Stop.

Related: https://wiki.debian.org/ReleaseGoals/BuildArchTarget

The corresponding lintian tag:

Tag: debian-rules-missing-required-target
Severity: error
Check: debian/rules
Explanation: The <code>debian/rules</code> file does not provide all required
 targets. Both <code>build-arch</code> and <code>build-indep</code> must be
 provided even if they do nothing.
 .
 For sources that do not currently split the building of architecture dependent
 and independent installables, the following rules will fall back on the
 <code>build</code> target:
 .
     build-arch: build
     build-indep: build
 .
 Some say that the following form is recommended:
 .
     build: build-arch build-indep
     build-arch: build-stamp
     build-indep: build-stamp
     build-stamp:
         build here
 .
 As a modern alternative, you may wish to use the <code>dh</code> sequencer
 instead. Your sources will no longer be affected by this issue.
 .
 Policy now requires those targets. Please add them to avoid rejection.
 .
 In your next upload, please also close the bug from the mass bug filing you
 received. Details are described in the message to <code>debian-devel</code>
 cited below.
See-Also:
 debian-policy 4.9,
 https://lists.debian.org/debian-devel/2021/11/msg00052.html

  • Bug#1082038: quota: FTBFS with dpkg >= 1.22.7 Andreas Hasenack

Reply via email to