Bug#513663: marked as done ([general] need infrastructure to check related packages)
Your message dated Thu, 21 Apr 2011 12:02:10 +0000
with message-id <E1QCsaI-0005fV-DG@franck.debian.org>
and subject line Bug#513663: fixed in lintian 2.5.0~rc3
has caused the Debian Bug report #513663,
regarding [general] need infrastructure to check related packages
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
513663: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513663
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: [general] need infrastructure to check related packages
- From: Russ Allbery <rra@debian.org>
- Date: Fri, 30 Jan 2009 21:39:31 -0800
- Message-id: <20090131053931.30667.29209.reportbug@windlord.stanford.edu>
Package: lintian
Version: 2.2.0
Severity: wishlist
Lintian currently checks source packages and binary packages in isolation,
except for a few fragile hacks. However, overwhelmingly Lintian is run in
one of two ways: on a *.changes file, from which the source package and all
binary packages built from it are available, or across the entire archive.
There have been multiple requests that require cross-package checks within
the packages built from the same source package, either between binary
packages or between the binary package and the source package. Examples
include:
#120323 -- avoid false positives on man pages provided by dependencies
#217023 -- check for dangling symlinks
#513544 -- avoid false positive if upstream ships an empty changelog
When processing a *.changes file, I think it would be reasonable to set up
the lab for all of the packages being processed before running any check
scripts. The check scripts could then rely on being able to peek at the
labs for all packages generated from the same source package.
lintian.d.o is harder. Currently, all source packages are checked first
and then left unpacked to level one. Then, all binary packages are
checked. This means the source package is always available while checking
the binary packages, but all the binary packages may not be available.
One option would be to unpack all binary packages to level one before
doing any checks, but this requires redoing the unpack work again to get
a level two unpack when actually checking it, making an archive-wide run
much slower.
The best option is probably to add additional smarts to Lintian's
processing and chase references between the packages so that, before
processing a binary package, Lintian ensures that all binary packages
from the same source package are also unpacked in the lab. I think the
best way to do that would be to more closely simulate the processing
order Lintian uses when processing *.changes files. Rather than processing
all binary packages one at a time, process them in groups by source
package, unpacking them all, running all checks, and then resetting the
lab to level one.
This bug will track the infrastructure work required to implement this
so that other bugs can block on this bug.
I don't currently have time to do this implementation. If anyone else
wants to tackle it, it would be a great project.
-- System Information:
Debian Release: 5.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lintian depends on:
ii binutils 2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii diffstat 1.45-2 produces graph of changes introduc
ii dpkg-dev 1.14.24 Debian package development tools
ii file 4.26-1 Determines file type using "magic"
ii gettext 0.17-4 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libdigest-sha-perl 5.47-1 Perl extension for SHA-1/224/256/3
ii libipc-run-perl 0.80-2 Perl module for running processes
ii libparse-debianchan 1.1.1-2 parse Debian changelogs and output
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin
ii man-db 2.5.2-3 on-line manual pager
ii perl [libdigest-sha 5.10.0-19 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
ii libtext-template-perl 1.44-1.2 Text::Template perl module
ii man-db 2.5.2-3 on-line manual pager
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.5.0~rc3
We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive:
lintian_2.5.0~rc3.dsc
to main/l/lintian/lintian_2.5.0~rc3.dsc
lintian_2.5.0~rc3.tar.gz
to main/l/lintian/lintian_2.5.0~rc3.tar.gz
lintian_2.5.0~rc3_all.deb
to main/l/lintian/lintian_2.5.0~rc3_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 513663@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Niels Thykier <niels@thykier.net> (supplier of updated lintian package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 21 Apr 2011 12:29:45 +0200
Source: lintian
Binary: lintian
Architecture: source all
Version: 2.5.0~rc3
Distribution: unstable
Urgency: low
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Niels Thykier <niels@thykier.net>
Description:
lintian - Debian package checker
Closes: 120323 316283 513663 575447 587925 614879 618587 619075 620120 620829 621658 621667 621681 622124 622396 622974 623031
Changes:
lintian (2.5.0~rc3) unstable; urgency=low
.
* Summary of tag changes:
+ Added:
- dir-or-file-in-run
- intra-source-package-circular-dependency
- package-contains-broken-symlink
- classpath-contains-relative-path
- jar-not-in-usr-share
- executable-jar-without-main-class
- missing-dep-on-jarwrapper
- missing-classpath
- javalib-but-no-public-jars
- missing-manifest
- codeless-jar
- missing-pre-dependency-on-multiarch-support
.
* checks/*.desc:
+ [NT] Updated the Needs-Info field to include the new
collections where needed.
* checks/binaries:
+ [NT] Accepted patch from Loïc Minier to support the armhf
architecture. (Closes: #618587)
+ [NT] Drop wrong checks for multiarch directories. Multiarch
directories are only allowed in packages of the given architecture.
Thanks to Steve R. Langasek for the patch.
* checks/circular-deps{,.desc}:
+ [NT] Added to check for circular dependencies between
binaries from the same source. It requires all binaries
packages to be present as well as the source package to be
effective. Thanks to Bill Allombert for the suggestion.
(Closes: #316283)
* checks/debhelper:
+ [NT] Use new alt-dh_commands data file to fetch alternative
dependencies for dh_commands, which are sometimes provided
indirectly by meta or API packages.
* checks/fields:
+ [NT] Do not emit needless-dependency-on-jre for libX-gcj
packages and only emit the tag at most once per package.
Thanks to Rene Engelhard for the report.
(Closes: #622396)
* checks/files{,.desc}:
+ [NT] Added dir-or-file-in-run tag. (Closes: #623031)
+ [NT] New tag missing-pre-dependency-on-multiarch-support,
Severity: serious, to warn when a package installs libraries to the
multiarch directory without taking care of upgrades. Thanks to
Steve R. Langasek for the patch.
.
* checks/java{,.desc}:
+ [NT] Added file based on patches submitted by Vicent Fourmond.
This new file checks for jar files in weird locations.
(Closes: #620829, #575447)
* checks/manpages:
+ [NT] Fixed false-positive binary-without-manpage when the
manpage is in a direct dependency of the package and the
package is checked together with its dependency.
(Closes: #120323)
* checks/scripts:
+ [NT] Fixed false positive missing-dep-for-interpreter, if
the interpreter was dash, since dash is now essential.
(Closes: #620120)
* checks/symlinks{,.desc}:
+ [NT] New file that checks for broken symlinks. A symlink
is considered broken if it does not exist in the package
itself or in its direct dependecies. Since only absolute
symlinks are checked at the moment, this only partly
fixes #217023.
.
* collection/*.desc:
+ [NT] Updated the Needs-Info field to include the new
collections where needed.
* collection/{bin-pkg-control,fields,index}{,.desc}:
+ [NT] Added to replace various unpack scripts.
* collection/java-info{,.desc}:
+ [NT] Accepted patch from Vincent Fourmond to implement
Java related data collection.
.
* data/binaries/multiarch:
+ [NT] Removed by patch from Steve R. Langasek.
* data/debhelper/alt-dh_commands:
+ [NT] New file; contains alternative dependencies for
dh_python2 and dh_python3. (Closes: #614879)
* data/fields/architectures:
+ [NT] Updated to include armhf.
* data/files/triplets:
+ [NT] Updated to include armhf triplet.
+ [NT] Refresh with the final approved multiarch paths by patch
from Steve R. Langasek.
* data/output/manual-references:
+ [NT] Accepted patch from Vincent Fourmond to add the links
to the Java Policy.
* data/spelling/corrections:
+ [NT] Added a lot of spelling mistakes with corrections.
Kudos to Kevin Ryde for these. (Closes: #619075)
* data/spelling/corrections-multiword:
+ [NT] Removed "helps to" as a spelling mistake. Thanks to
Nicholas Bamber for the report. (Closes: #622124)
* data/standards-version/release-dates:
+ [NT] Added 3.9.2 as the newest Standards-Version. Thanks to
Sven Joachim for the report. (Closes: #621667)
.
* debian/control:
+ [NT] Bumped Standards-Version to 3.9.2.
+ [NT] Updated Build-Depends for debiandoc -> docbook change of
the manual.
+ [NT] Added missing Build-Depends on libhtml-parser-perl. Also
added it to suggests, since it is used for XML output.
* debian/{docs,rules}:
+ [NT] Updated to use/install docbook instead of debiandoc.
.
* doc/lintianrc.example:
+ [NT] Removed reference to LINTIAN_UNPACK_LEVEL.
* doc/lintian.sgml:
+ [RG] Removed file - replaced by doc/lintian.xml.
* doc/lintian.xml:
+ [RG] Added to migrate away from debiandoc. (Closes: #587925)
.
* frontend/lintian:
+ [NT] Removed the deprecated --unpack-level argument. Only
two unpack levels were available and they were equal to
the --remove and --unpack options.
+ [NT] Stopped accepting the environment/config variables
LINTIAN_UNPACK_LEVEL and LINTIAN_SECTION. The former is
redundant as explained above and the latter was deprecated
in favor of LINTIAN_AREA.
+ [NT] Refactored the frontend to group packages together based
on their source package. This allows for cross-package checks.
(Closes: #513663)
.
* lib/{Lab/Package,Lintian/Processable*}.pm:
+ [NT] Added files to assist in package grouping.
* lib/Lintian/Command/Simple.pm:
+ [NT] Added support for chanding directory before running the
command.
* lib/Lintian/Collect.pm,lib/Lintian/Collect/*.pm:
+ [NT] Removed assumption that all the information handled by
these are available in the current directory.
* lib/Lintian/Schedule.pm:
+ [NT] Removed file, replaced by Lintian::ProcessablePool.
.
* private/refresh-archs:
+ [SRL] update to output directory mappings based on DEB_HOST_MULTIARCH
instead of DEB_HOST_GNU_TYPE.
* private/runtests:
+ [NT] Added support for dumping build logs if a test fails.
(Closes: #621658)
+ [NT] Disabled pkgbinarymangler during tests. (Closes: #621681)
.
* t/tests/binaries-from-other-arch:
+ [NT] Accepted patch from Benjamin Drung to accept i686-linux-gnu
as a valid triplet. This fixes test failure in Ubuntu.
(Closes: #622974)
.
* unpack/unpack-{binpkg,changes}-l1:
+ [NT] Removed unpack scripts for binpkg and changes as these have
been replaced by collections.
Checksums-Sha1:
6f88eb54d5f8e30ae8a31b1a16dd5d05bc4e686b 2418 lintian_2.5.0~rc3.dsc
4fa7b3037ab3d1a4edb4088d8043a28e01ed7d2a 923754 lintian_2.5.0~rc3.tar.gz
3a3f6ff2e475f6c2661eb8b50331fbc099adba4b 580936 lintian_2.5.0~rc3_all.deb
Checksums-Sha256:
6c9cfd453337a069ba5ee89999c4fdd13e8217d08f518d4ce16e364e3e26d22e 2418 lintian_2.5.0~rc3.dsc
b53bd93ba636176c791f3fe6cd0bec1cdc9bd9f5fc4031156a22e0c26501a799 923754 lintian_2.5.0~rc3.tar.gz
592dbc6bed763bceaef6a6f97d6aad5b211e1e547b00c5a4e1a54a0fce3a0f10 580936 lintian_2.5.0~rc3_all.deb
Files:
1bf8adb924eb4af90c844dc3c9d36f03 2418 devel optional lintian_2.5.0~rc3.dsc
2bb07c53f51974bad1cd18bd34979a2e 923754 devel optional lintian_2.5.0~rc3.tar.gz
9eea149b15445d0545acb71e18a1e2f2 580936 devel optional lintian_2.5.0~rc3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJNsBo2AAoJEAVLu599gGRC6Y0P/0V5DIsqZtaHVr5OCUBKhekf
gBMzqs+4gYwygGfTHMm1NhARD3jrggAW4QPB7yTo0q0PXCObNT43KySwdm1l+5Mt
+k9TUVper+o4uQ2yXHu9QyC1I5ZZ/eHnyhVylJez8SwytA72QldsbnCDQN0xalbe
9tLje+3oUTPjFuax3Z6IbxHMTfPtdGcsdTd8e++NyC8qFeojWtXQ8kqwj8oqFUki
IvmK0KO3BR2jMZDAPFGeHLptfRVpHCDDeK2hajaOdSNCE61nrkBLI5Lrbtaxe9o+
gJVPzJm+o/jz38eO/8PqnIMpzw/AqdX3HSnNcqI3jOhs3JTTZ8ocEtZ/ntytb3NN
pn8cJKAyrMe5Hqp8S2l3QYrGiRavOmJwqJY29/StvbZEXX+I0P4Duia54BvpwxSb
fd/mMl0K903wLIsVZrw/fFjkrDZtNiGhN2SrbsZYJ1XithYFbi0KJGnYg0dVUaPd
T2NVQ1LznxAQ75abszrETa0R9awwAjyVlJaRo2+ufyG5s6VKTmG+sSha5+lLig3p
2GPjT15RhyFTTs60EyQ8FHaKFZIB5O6LWVddujnmWzkVDcC8pw7IBbIRi7k7btkP
UqVLM0ctWdRyZZegLal04mZl54bMRnXhIgPtvseWYZLd6FfM82V8OsrvzRZKl29/
CdSFde2g1ASiz8p7BVlZ
=Uc2S
-----END PGP SIGNATURE-----
--- End Message ---
Reply to: