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

Bug#752276: /usr/bin/dose-distcheck: support arch and version comparison with --checkonly



Package: dose-distcheck
Version: 3.2.2-1
Severity: wishlist
File: /usr/bin/dose-distcheck

It would be nice if --checkonly supported the full syntax you're likely to
find in a Build-Depends line in a .dsc file, including things such as
architecture [arch], or version comparisons (>= x.y.z):

  $ dose-debcheck --failures --explain --checkonly "debhelper, cpio, kmod, gcc-4.8 (>= 4.8.2-21) [powerpc powerpc64]" /var/lib/apt/lists/*amd64*Packages
  usage: dose-debcheck [options]

  dose-debcheck: option '--checkonly': invalid vpackage list 'debhelper, cpio, kmod, gcc-4.8 (>= 4.8.2-21) [powerpc powerpc64]'

It seems to treat (>= x.y.z) as (= x.y.z):

  dose-debcheck --failures --explain --checkonly "debhelper, cpio, kmod, gcc-4.8 (>= 4.8.2-21)" /var/lib/apt/lists/*amd64*Packages
  (W)Debcudf: Package (gcc-4.8,4.8.2-21) does not have an associated cudf version
  The applications raised this exception : Not_found

There is a newer version of gcc-4.8 available.

Thanks for considering it, and thanks for maintaining dose-distcheck!


live well,
  vagrant

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armhf

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dose-distcheck depends on:
ii  libbz2-1.0  1.0.6-5
ii  libc6       2.19-1
ii  librpm3     4.11.2-3
ii  librpmio3   4.11.2-3
ii  zlib1g      1:1.2.8.dfsg-1

dose-distcheck recommends no packages.

dose-distcheck suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: Digital signature


Reply to: