[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#168266: dpkg-dev: dpkg-buildpackage -B must call build-arch, not build



Package: dpkg-dev
Version: 1.10.9
Severity: important
Justification: causes autobuild failures of policy-compliant packages

According to current Debian policy, section 7.6:

     `Build-Depends', `Build-Conflicts'
          The `Build-Depends' and `Build-Conflicts' fields must be
          satisfied when any of the following targets is invoked: `build',
          `binary', `binary-arch', `build-arch', `build-indep' and
          `binary-indep'.

     `Build-Depends-Indep', `Build-Conflicts-Indep'
          The `Build-Depends-Indep' and `Build-Conflicts-Indep' fields must
          be satisfied when any of the following targets is invoked:
          `build', `build-indep', `binary' and `binary-indep'.

Therefore, dpkg-buildpackage's current behavior of running
"debian/rules build" even when -B is used is broken.  This is causing
autobuild failures in at least one package (ddd).

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux frobnitz 2.4.19 #2 Sun Aug 18 15:52:57 PDT 2002 i686 unknown unknown GNU/Linux

Versions of the packages dpkg-dev depends on:
ii  binutils       2.13.90.0.10-2 The GNU assembler, linker and binary utiliti
ii  cpio           2.5-1          GNU cpio -- a program to manage archives of 
ii  make           3.80-1         The GNU version of the "make" utility.
ii  patch          2.5.4-11       Apply a diff file to an original
ii  perl-modules   5.8.0-13       Core Perl modules.
ii  perl           5.8.0-13       Larry Wall's Practical Extraction and Report
	^^^ (Provides virtual package perl5)

-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler@math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card



Reply to: