Package: dpkg-dev
Version: 1.13.11
Severity: minor
Tags: patch

        Hi,

 dpkg-gencontrol doesn't permit dependency headers (@pkg_dep_fields) to
 carry arches information.

 I've searched for the reason this is currently not done, and the most
 relevant I found dates of the rewrite of parsedep():

    Sun, 14 Sep 2003 21:16:18 -0500 Adam Heath <[EMAIL PROTECTED]>

      * scripts/controllib.pl:
        * Dependency fields are now parsed into a nested list structure.
        * All dependency fields now support [arch] constructs.  Those that
          don't apply for the current host_arch are removed during parsing.

 This seems to suggest that it should work.

 I think the reason is missing parameters to parsedep() in
 dpkg-gencontrol and I confirmed this by changing:
    parsedep(substvars($v))
 in:
    parsedep(substvars($v),1,1)

 on line 185 of dpkg-gencontrol.

   Cheers,

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages dpkg-dev depends on:
ii  binutils             2.16.1cvs20051214-1 The GNU assembler, linker and bina
ii  cpio                 2.6-10              GNU cpio -- a program to manage ar
ii  dpkg                 1.13.11.0.1         package maintenance system for Deb
ii  make                 3.80+3.81.b4-1      The GNU version of the "make" util
ii  patch                2.5.9-2             Apply a diff file to an original
ii  perl [perl5]         5.8.7-10            Larry Wall's Practical Extraction 
ii  perl-modules         5.8.7-10            Core Perl modules

Versions of packages dpkg-dev recommends:
ii  altgcc [c-compiler]          1:2.7.2.3-2 Alternate gcc package for the libc
ii  bzip2                        1.0.2-11    high-quality block-sorting file co
ii  gcc [c-compiler]             4:4.0.2-2   The GNU C compiler
ii  gcc-3.3 [c-compiler]         1:3.3.6-12  The GNU C compiler
ii  gcc-3.4 [c-compiler]         3.4.5-1     The GNU C compiler
ii  gcc-4.0 [c-compiler]         4.0.2-6     The GNU C compiler

-- no debconf information

-- 
Loïc Minier <[EMAIL PROTECTED]>
Current Earth status:   NOT DESTROYED

Reply via email to