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

Bug#273489: dpkg-dev: whitespace in lapack confuses dpkg-checkbuilddeps



Package: dpkg-dev
Version: 1.10.23
Severity: normal
File: /usr/bin/dpkg-checkbuilddeps

dpkg-checkbuilddeps doesn't check the build dependencies of
lapack 3.0.20000531a-25 properly.  Specifically, it does not
notice if blas-dev is missing.

The package declares this in debian/control:

> Build-Depends: debhelper ( >= 2 ) , g77, blas-dev

As far as I can tell, section 7.1 of Debian policy v3.6.1.1
permits this syntax.  But when I run dpkg-checkbuilddeps in the
lapack-3.0.20000531a directory, it exits with code 0 and does not
output any error messages, even though I don't have blas-dev
installed.

If I change the line as follows:

> Build-Depends: debhelper (>= 2 ) , g77, blas-dev

then dpkg-checkbuilddeps gives the expected error:

> dpkg-checkbuilddeps: Unmet build dependencies: blas-dev

and exits with code 1.

The lapack package is by no means the only one having "( " in its
build-dependencies: there are at least 32 others.  I didn't check
whether they trigger the bug, though.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.23-kon.astalo.1
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8

Versions of packages dpkg-dev depends on:
ii  binutils                      2.15-2     The GNU assembler, linker and bina
ii  cpio                          2.5-1      GNU cpio -- a program to manage ar
ii  make                          3.80-7     The GNU version of the "make" util
ii  patch                         2.5.9-1    Apply a diff file to an original
ii  perl [perl5]                  5.8.4-2    Larry Wall's Practical Extraction 
ii  perl-modules                  5.8.4-2    Core Perl modules.

-- no debconf information

Attachment: pgpDibUoG4FQm.pgp
Description: PGP signature


Reply to: