This bug was fixed in the package lintian - 2.2.9ubuntu1 --------------- lintian (2.2.9ubuntu1) karmic; urgency=low * Resynchronise with Debian. Remaining changes: - Don't complain about `dist-packages' in /usr/lib/python*. * Permit data.tar.lzma for packages with Ubuntu distributions at the head of their changelog (LP: #339519). lintian (2.2.9) unstable; urgency=low * Summary of tag changes: + Added: - wrong-section-according-to-package-name - vcs-field-uses-not-recommended-uri-format - vcs-field-uses-unknown-uri-format + Removed: - dev-package-should-be-section-libdevel - doc-package-should-be-section-doc - perl-package-should-be-section-perl - python-package-should-be-section-python * checks/deb-format.desc: + [RA] In the tag description, the first required element should be debian-binary, not debian-control. Thanks, Judit Foglszinger. (Closes: #521012) * checks/fields{,.desc}: + [FL] Update list of valid sections. (Closes: #521782) + [RA] Fix dbg-package-missing-depends check when the dependency is followed by a comma. (Closes: #520640) + [FL] Add package name checks for the new sections. Move all package section checks to one tag "wrong-section-according-to-package-name" instead of one tag per section. + [FL] Add checks for well formatted Vcs-* fields. (Closes: #517635) * checks/lintian.desc: + [CW] Add karmic as an allowable distribution for Ubuntu (thanks, Soren Hansen). * checks/scripts: + [RA] Fix a hash collision that could suppress a correct remove-of-unknown-diversion tag if the diversion was removed in multiple maintainer scripts including postrm. + [RA] Handle variables in maintainer scripts when adding and removing diversions. Patch from Raphael Geissert. (Closes: #519268) * checks/shared-libs: + [RA] Correctly handle SONAMEs in symbols files that contain regex metacharacters like +. Thanks, Daniel Kobras. (Closes: #521621) * collection/file-info: + [RA] Use chomp instead of chop to remove newlines. + [RA] Ignore error returns from file. file returns non-zero if it can't parse some files, but the resulting output is still fine for Lintian's purposes. Thanks to Raphael Geissert for the problem identification. (Closes: #521257) * data/changelog-file/ubuntu-dists: + [CW] Add karmic as an allowable distribution for Ubuntu (thanks, Soren Hansen). * debian/rules: + [RA] Remove and recreate debian/tests before runtests or check-tag to avoid spurious test failures from lingering old files. * frontend/lintian: + [RA] Belatedly bump the lab format version for many recent changes. * lib/Lintian/Command.pm: + [RA] In kill, initialize the result status and use &&= instead of |=. Partly addresses #521257. * unpack/unpack-srcpkg-l1: + [RA] Better anchor the regexes that parse the file list in a source package. lintian (2.2.8) unstable; urgency=low The "Policy 3.8.1" release. * Summary of tag changes: + Added - dir-or-file-in-var-lock - dir-or-file-in-var-run * checks/changelog-file.desc: + [RA] Using UTF-8 is now a Policy must and hence serious. * checks/control-file.desc: + [RA] Using UTF-8 is now a Policy must and hence serious. * checks/files{,.desc}: + [CW] Emit dir-or-file-in-var-lock or dir-or-file-in-var-run, as appropriate, for packages shipping directories or files in /var/lock or /var/run. See policy bug #514326. * checks/menus{,.desc}: + [RA] Revert the change to not require update-menus in postinst. This is still needed due to #518919. Don't require update-menus in postrm for regular menu files, only for menu-methods, but also don't warn if it's present. (Closes: #519300) * checks/scripts: + [RA] Policy allows scripts to assume that /bin/sh supports local with simple variable assignments. + [ADB] Check all added and removed diversions at once rather than as each maintainer script is processed. This avoids differing results and false positives if the postrm is processed before other maintainer scripts. (Closes: #518966) * data/debhelper/*: + [RA] Refresh against unstable. * data/fields/virtual-packages: + [RA] Refresh against unstable. * data/files/fonts: + [RA] Refresh against unstable. * data/output/manual-references: + [RA] Refresh reference data against Policy 3.8.1, doc-base 0.9.1, and developers-reference 3.4.1. * data/standards-version/release-dates: + [RA] Add release date for 3.8.1. * debian/control: + [RA] Update to standards version 3.8.1. * lib/Dep.pm: + [RA] Remove, replaced with Lintian::Relation. * lib/Lintian/Collect/Binary.pm: + [RA] Fix POD errors. * lib/Lintian/Collect/Source.pm: + [RA] Fix POD errors. * lib/Lintian/Command.pm: + [RA] Fix POD errors. * private/refresh-debhelper-data: + [RA] Remove symlinks as a (possibly temporary) workaround to packages that contain broken links to dh_* commands. + [RA] Exclude dh_gencontrol from debhelper commands that set ${misc:Depends} since it only sets it to empty when not already set. * private/refresh-fonts-data: + [RA] Correctly handle not specifying a Contents file on the command line. * t/runtests: + [RA] Add support for running test scripts under t/scripts via prove (the standard Perl test harness). lintian (2.2.7) unstable; urgency=low The "debhelper 7.2.3 and lots of fiddly infrastructure fixes" release. * Summary of tag changes: + Added - apparently-truncated-elf-binary - copyright-refers-to-nonexistent-license-file - debian-control-has-unusual-field-spacing (pedantic) - diversion-for-unknown-file - embedded-zlib - gz-file-not-gzip - incorrect-libdir-in-la-file - orphaned-diversion - package-uses-local-diversion - remove-of-unknown-diversion + Removed - description-synopsis-has-leading-spaces - postinst-does-not-call-installdocs - prerm-does-not-call-installdocs * checks/binaries{,.desc}: + [RA] Check for embedded copies of zlib in ELF binaries by looking for the inflate and deflate copyright strings. Patch from Raphael Geissert. (Closes: #318104) + [RA] Avoid capturing parentheses in regexes due to their minor performance penalty. Patch from Raphael Geissert. + [RA] Report apparently truncated ELF binaries separately from apparently corrupted ones. The current binutils now distinguishes. Patch from Raphael Geissert. (Closes: #517778) + [RA] Allow i386 binaries in amd64 packages for right now. Thanks, Paul Wise. (Closes: #516856) + [RA] Suggest, when fixing spelling errors in binaries, that one unfuzzy gettext translations as well. Thanks, Raphael Geissert. * checks/changelog-file: + [RA] Avoid capturing parentheses in regexes due to their minor performance penalty. Patch from Raphael Geissert. + [RA] Correctly handle changelog.gz files that aren't compressed with gzip. Patch from Raphael Geissert. * checks/common_data.pm: + [RA] Move all information used only in one check script from here to the relevant check script. Patch from Raphael Geissert. * checks/control-file{,.desc}: + [RA] Add pedantic tag for weird spacing after the colon of a field. * checks/copyright-file{,.desc}: + [RA] Avoid capturing parentheses in regexes due to their minor performance penalty. Patch from Raphael Geissert. + [RA] Avoid false positive for versionless license files when the file is referred to without a hyphen; instead, issue a separate tag that explains the problem. Based on a patch from Raphael Geissert. (Closes: #517191) + [RA] Allow commas between the GFDL license name and version when suppressing false positives for the 1.1 version. Thanks, Aurelien Jarno. (Closes: #516687) + [RA] Don't warn about versionless GPL references if the word version appears nowhere in the copyright file. * checks/debconf: + [ADB] Use Lintian::Relation rather than Dep. * checks/debhelper{,.desc}: + [ADB] Use Lintian::Relation rather than Dep. + [RA] Add dh_bugfiles to version requirements, added in 7.2.3. + [RA] debhelper compatibility level V4 is now deprecated. * checks/description{,.desc}: + [RA] Remove description-synopsis-has-leading-spaces. Policy explicitly says this is not a bug. Adjust for the changes to Util that preserve leading whitespace in continued fields. * checks/fields: + [RA] Precompile constant regexes with qr. Patch from Raphael Geissert. + [RA] Load Lintian::Data objects only once. Patch from Raphael Geissert. Also use all caps for global variables. * [RA] Move data from common_data.pm to here and use Lintian::Data to get the list of known architectures. Patch from Raphael Geissert. * checks/files{,.desc}: + [RA] Avoid capturing parentheses in regexes due to their minor performance penalty. Patch from Raphael Geissert. + [RA] Precompile constant regexes with qr and only load the list of font packages if needed. Patch from Raphael Geissert. + [RA] Warn about yui-*.js as well as yahoo-*.js. Patch from Raphael Geissert. + [ADB] Use Lintian::Relation instead of Dep. + [RA] magpierss was renamed to libphp-magpierss. Patch from Marcelo Jorge Vieira (metal). (Closes: #518684) + [RA] Diagnose files ending in *.gz that aren't compressed with gzip. Patch from Raphael Geissert. (Closes: #518873) + [RA] Simplify some checks now that we're guaranteed leading and trailing whitespace will be stripped from field values. * checks/manpages: + [CW] Run man with '-E UTF-8' to avoid producing bogus warnings on localised manual pages due to attempting to recode through ASCII. + [RA] Set MANWIDTH to 80 in the environment when running man to force it to assume 80-column lines even when Lintian is run in a smaller window. Thanks, Joey Hess. (Closes: #517629) + [ADB] Use Lintian::Relation::Version when determining whether the installed version of man supports the --warnings option. * checks/menus: + [RA] Cache the reference to the section list. Thanks, Raphael Geissert. Also use all caps for global variables. + [RA] Move known doc-base formats from common_data.pm to here. Patch from Raphael Geissert. + [RA] Explicit update-menus calls in postinst and postrm are no longer required unless menu-methods are installed. Thanks, Eric Lavarde. (Closes: #518712) + [RA] Explicit install-docs calls are no longer needed since doc-base registration is done with triggers. (Closes: #518801) * checks/nmu: + [RA] Calculate the regex for Ubuntu distributions only once. * checks/patch-systems: + [ADB] Use Lintian::Relation instead of Dep. * checks/rules: + [ADB] Remove some obsolete code and therefore stop use-ing Dep. * checks/scripts: + [ADB] Use Lintian::Relation rather than Dep. + [ADB] Update lists of known interpreter versions (add jruby1.1, octave3.1 and remove jruby0.9) + [RA] Diagnose various problems with creating and removing diversions. Based on a patch by Jörg Sommer. (Closes: #516221) * checks/shared-libs{,.desc}: + [ADB] When parsing symbols files, correctly ensure that meta-information occurs between the end of the dependency template(s) and the start of the symbol list. The code that was intended to check this resulted in a false positive syntax error being generated if a file with alternative dependency templates used meta-information. + [ADB] Extend the parsing of dependency templates in symbols files to handle ORed dependencies. + [ADB] Use Lintian::Relation rather than Dep. + [ADB] Avoid capturing parentheses in regexes due to their minor performance penalty. + [RA] Check the libdir path in libtool *.la files and ensure that it matches the installed location of the *.la file. Based on a patch by Raphael Geissert. (Closes: #302196) * checks/version-substvars: + [RA] Be robust against whitespace in the Architecture field. Thanks, Gonéri Le Bouder. (Closes: #517555) * collection/*.desc: + [RA] Remove the output key and instead add a version key. Patch from Raphael Geissert. * collection/changelog-file: + [RA] Remove the remains of a previous run before starting. * collection/diffstat: + [RA] Remove the remains of a previous run before starting. * collection/objdump-info: + [RA] Recognize truncated binaries. Patch from Raphael Geissert. * collection/source-control-file: + [RA] Remove the remains of a previous run before starting. * debian/control: + [CW] Depend on man-db (>= 2.4.0) for '-E UTF-8'. * data/fields/architectures: + [RA] Replace the runtime-generated list of known architectures with this data file, built from the current dpkg files. Patch from Raphael Geissert. * doc/desc-files: + [RA] Document new Version field for collect scripts and remove Output field. Document pedantic severity for tags. Document Sequence, Options, and Skeleton for test suite descriptions. Thanks, Raphael Geissert. * doc/lintian.sgml: + [RA] Document pendantic tags. Patch from Raphael Geissert. * frontend/lintian: + [RA] Stop loading FileHandle. We no longer use it. + [RA] Run all the collect scripts within a given order in parallel. Patch from Raphael Geissert. + [RA] Create marker files in the laboratory for each collect script that has successfully including its current version number. Use these marker files rather than the existence of output files to determine when to run collect scripts. Re-run collect scripts if the current version doesn't match what's in the lab. Patch from Raphael Geissert. (Closes: #517650) + [RA] Add oldstable to the known distributions for *.changes files. * lib/Lintian/Collect/Binary.pm: + [RA] Recognize truncated binaries. Patch from Raphael Geissert. * lib/Lintian/Command.pm: + [RA] Add support for running commands in the background using a final argument of '&'. Allow reap() to take multiple opt hashes and reap all of them in a loop. Add a kill() function to kill outstanding jobs. Patch from Raphael Geissert. * lib/Lintian/Tag/Info.pm: + [RA] Strip leading whitespace from continued lines. * lib/Spelling.pm: + [RA] Optimize the spell-checking algorithm. Patch from Raphael Geissert. (Closes: #514495) * lib/Util.pm: + [RA] Fully comply with Policy in whitespace handling when parsing Debian control files. Multiline fields will now have the leading whitespace of subsequent lines left in, and leading tabs are no longer handled specially. Trailing whitespace is now uniformly stripped, as is leading whitespace on the first field line. * man/lintian.1: + [RA] Document strings collect script. * private/refresh-archs: + [RA] Script from Raphael Geissert to refresh known architectures. * unpack/unpack-binpkg-l1: + [RA] Run the separate commands involved in unpacking a binary package in parallel where possible. Patch from Raphael Geissert. * unpack/unpack-srcpkg-l1: + [RA] When processing tar output, we may not get complete lines at a time. Save partial lines and glue them back together again when we get the next burst of data. (Closes: #517899) + [RA] Do a little bit of parallelization when writing out the sorted index of the source package. + [RA] Ignore leading whitespace in the Files section. lintian (2.2.6) unstable; urgency=low * Summary of tag changes: + Added - binary-from-other-architecture - icon-size-and-directory-name-mismatch - lzma-deb-archive - multiple-distributions-in-changes-file (disabled) - spelling-error-in-binary (experimental) - unsupported-source-format * checks/binaries: + [RA] When checking for dependencies on libc, don't use /o on the regex. Otherwise, lintian produces false positives when run on multiple packages with different architectures, since the libc package name is not the same on all architectures. Thanks to Raphael Geissert for the report. (Closes: #516067) + [RA] Check for binaries from other architectures than the declared architecture of the package outside of known multiarch directories. Patch from Raphael Geissert. (Closes: #513996) + [RA] Check the data section of ELF binaries for spelling errors. Patch from Raphael Geissert. * checks/common_data.pm: + [RA] Virtual packages now come from data. * checks/changelog-file: + [RA] Don't warn about uncompressed ChangeLog files in doc. They may be small files and the maintainer may be installing some other upstream file as the upstrema changelog. (Closes: #515601) + [RA] Fix improbable-bug-number-in-closes so that it works. * checks/control-file: + [ADB] Properly exclude packages built from the glibc source package from the "hardcoded depends on libc" test. (Closes: #515831) * checks/cruft: + [RA] For Format: 2.0 and Format: 3.0 (quilt) packages, check the *.debian.tar.(gz|bz2|lzma) contents instead of expecting diffstat output. (Closes: #515069) + [RA] Ignore cruft in the upstream source in directories that look like part of a test suite. The files may be part of the test cases. (Closes: #515137) * checks/deb-format{,.desc}: + [RA] Recognize data.tar.lzma binary package components and use a different tag than malformed-deb-archive. * checks/description: + [ADB] Warn of homepages embedded in the description which use the syntax "Homepage: " using the warning level tag description-contains-homepage rather than the info level tag description-possibly-contains-homepage. (Closes: #515998) + [RA] Don't warn about too-short long descriptions for transitional or dummy packages. Thanks, Andreas Beckmann. (Closes: #515538) * checks/fields{,.desc}: + [RA] Load virtual packages from data/fields/virtual-packages. + [RA] Warn of unsupported source package versions. * checks/files{,.desc}: + [RA] Warn of PNG icons whose size doesn't match the size indicated by the directory in which they're installed. Patch from Raphael Geissert. (Closes: #509624) + [RA] Make static regexes global to avoid recreating them for each file we scan. Patch from Raphael Geissert. + [ADB] Modify the check for embedded Javascript libraries to ignore yahoo.js as there are similarly named, but unrelated, scripts in the archive. + [ADB] Lower the certainty of the embedded-{javascript,php}-library tags to "possible" as they trigger purely on filenames and not content. (Closes: #515690) + [RA] Offer advice for duplicate-font-file for when the font package is huge. Thanks, Thijs Kinkhorst and Paul Wise. (Closes: #515689) * checks/patch-systems.desc: + [RA] Improve the suggestions in the long description of quilt-patch-missing-description and dpatch-missing-description based on suggestions from Paul Wise. (Closes: #516534) * checks/scripts: + [RA] Make static regexes global to avoid recreating them for each file we scan. Patch from Raphael Geissert. * checks/shared-libs: + [RA] Save a local reference to objdump information to reduce the number of method calls. Patch from Raphael Geissert. + [ADB] Correctly handle alternative dependency lines in symbols files which contain multiple entries. (Closes: #516427) * collection/strings{,.desc}: + [RA] Collect a list of ELF binaries in the package and the output of strings on each binary except for those in /usr/lib/debug. Based on a patch from Raphael Geissert. (Closes: #514951) * data/fields/obsolete-packages: + [RA] Add foomatic-data, lambdamoo-{core,server}, and old kernel packages. Patch from Raphael Geissert. * data/fields/virtual-packages: + [RA] New file listing known virtual packages. Based on a patch by Raphael Geissert. (Closes: #514497) * debian/postrm: + [RA] Use set -e, not #!/bin/sh -e. * frontend/lintian: + [ADB] Split the Distribution field of a .changes file into individual distributions and then check each of them against the list of known distributions. (Closes: #514853) + [ADB] Anchor the regular expressions for the backports, security and proposed-updates distribution checks, so that etch-backports is accepted as a valid distribution but etch-backportss is not. + [ADB] Add a new check for .changes files which contain multiple entries in their Distribution: field. The check is currently disabled as the syntax is currently accepted by dak although it is likely to stop being so in the near future. * lib/Lintian/Collect/Source.pm: + [RA] Recognize Format: 2.0 packages as non-native. * lib/Lintian/Command.pm: + [RA] Disable IPC::Run debugging. Patch from Raphael Geissert. + [RA] Don't load Data::Dumper. Patch from Raphael Geissert. * lib/Spelling.pm: + [RA] Add spelling correction for "mroe". * lib/Util.pm: + [RA] Minor optimizations to {read,parse}_dpkg_control. Patch from Raphael Geissert. + [RA] Only take the first space after a field name as the separator and treat the rest as part of the field value so that other parts of Lintian can see the leading spaces. * private/refresh-virtual-packages-data: + [RA] New script to generate the list of virtual packages. Based on a patch by Raphael Geissert. * private/update-coverage: + [RA] Add support for source package tests. * t/runtests: + [RA] Add support for raw source package checks in the source subdirectory. See t/source/README for more details. * unpack/unpack-srcpkg-l1: + [ADB] Handle a number of different ways in which upstream directory trees may be represented in tarballs. (Closes: #515795) + [RA] Support LZMA-compressed upstream source. (Closes: #515068) + [RA] Analyze the upstream source tarball to extract its prefix and save it in the laboratory. Also fixes unpacking of source tarballs that have no common subdirectory. -- Colin Watson