--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: lintian: Add INFO to recommend debian/control::Build-Depends list devel package in certain order
- From: Jari Aalto <jari.aalto@cante.net>
- Date: Sun, 14 Jan 2007 14:58:12 +0200
- Message-id: <20070114125812.8468.91132.reportbug@cante>
Package: lintian
Version: 1.23.27
Severity: wishlist
For Human reader, who is NMUing or Sponsoring a package, the order of packages listed
in debian/control::Build-Depends is important.
SUGGESTION
If the packages are not mentioned in this order (if they are listed), issue
and informational message to suggest to reorder the line.
And example:
Build-Depends: autotools-dev, libxext-dev, libpng12-dev, libxpm-dev, debhelper (>= 4), libxinerama-dev, libxft-dev, libxrender-dev, libfontconfig1-dev, zlib1g-dev, libx11-6, dpatch
The "recommended" order:
- debhelper
- dpatch
- autotools-dev
- others in alphabetical order
Correct order:
Build-Depends: debhelper (>= 4), dpatch, autotools-dev, libfontconfig1-dev, libpng12-dev, libx11-6, libxext-dev, libxft-dev, libxinerama-dev, libxpm-dev, libxrender-dev, zlib1g-dev
-- System Information: Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)
Versions of packages lintian depends on:
ii binutils 2.17-3 The GNU assembler, linker and bina
ii diffstat 1.43-2 produces graph of changes introduc
ii dpkg-dev 1.13.25 package building tools for Debian
ii file 4.17-5 Determines file type using "magic"
ii gettext 0.16.1-1 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libparse-debianchangel 1.0-1 parse Debian changelogs and output
ii man-db 2.4.3-5 The on-line manual pager
ii perl [libdigest-md5-pe 5.8.8-7 Larry Wall's Practical Extraction
lintian recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: Jari Aalto <jari.aalto@cante.net>
- Cc: 409120-done@bugs.debian.org
- Subject: Re: Bug#409120: lintian: Add INFO to recommend debian/control::Build-Depends list devel package in certain order
- From: Russ Allbery <rra@debian.org>
- Date: Sat, 10 Jan 2009 20:39:42 -0800
- Message-id: <87mydyxxpt.fsf@windlord.stanford.edu>
- In-reply-to: <87zm80m0c2.fsf@windlord.stanford.edu> (Russ Allbery's message of "Tue\, 30 Jan 2007 17\:50\:05 -0800")
- References: <20070114125812.8468.91132.reportbug@cante> <87zm80m0c2.fsf@windlord.stanford.edu>
Russ Allbery <rra@debian.org> writes:
> Jari Aalto <jari.aalto@cante.net> writes:
>> For Human reader, who is NMUing or Sponsoring a package, the order of
>> packages listed in debian/control::Build-Depends is important.
[...]
> I don't agree with this check or this suggested order. I think
> alphabetical order is reasonable, as is order based on the Autoconf
> script, as is putting debhelper and similar internal checks last.
I reviewed this bug again today as part of a Lintian bug cleanup, and I'm
going to close it as I don't think there's even one consistent order that
Lintian could recommend, even at the pedantic level. This is really an
individual style issue.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
--- End Message ---