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

Bug#495431: marked as done (Bogus missing-dep-for-interpreter errors with ocamlrun)



Your message dated Sun, 21 Sep 2008 21:02:18 +0000
with message-id <E1KhW4Q-0001iW-Gd@ries.debian.org>
and subject line Bug#495431: fixed in lintian 2.0.0~rc2
has caused the Debian Bug report #495431,
regarding Bogus missing-dep-for-interpreter errors with ocamlrun
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.)


-- 
495431: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495431
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 1.24.3
Severity: normal
Tags: patch

Hi,

Lintian reports missing-dep-for-interpreter for many OCaml-related packages:

  http://lintian.debian.org/tags/missing-dep-for-interpreter.html

This is because packages that need ocamlrun usually depend on a
virtual package providing it (embedding the ABI version in its name).
I've thought of several ways to fix this:

 1. Take into account virtual packages in Dep::implies
 2. Allow usage of regular expressions for dependencies in %interpreters
 3. Add special case for ocamlrun before issuing missing-dep-for-interpreter

Attached is a patch implementing solution 3.


Cheers,

-- 
Stephane Glondu

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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.20              Debian package development tools
ii  file                4.25-1               Determines file type using "magic"
ii  gettext             0.17-3               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  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-2              on-line manual pager
ii  perl [libdigest-sha 5.10.0-11.1          Larry Wall's Practical Extraction 

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch            <none>     (no description available)
pn  libtext-template-perl         <none>     (no description available)
ii  man-db                        2.5.2-2    on-line manual pager

-- no debconf information
diff --git a/checks/scripts b/checks/scripts
index e54ec62..40238c9 100644
--- a/checks/scripts
+++ b/checks/scripts
@@ -336,6 +336,8 @@ for my $filename (sort keys %{$info->scripts}) {
 		# Initialization files for csh.
 	    } elsif ($base eq 'fish' && $filename =~ m,^./etc/fish.d/,) {
 		# Initialization files for fish.
+	    } elsif ($base eq 'ocamlrun' && Dep::unparse($deps{all}) =~ /\Wocaml(-base)?(-nox)?-\d\.[\d.]+/) {
+		# ABI-versioned virtual packages for ocaml
 	    } else {
 		tag('missing-dep-for-interpreter', "$base => $depends",
 		    "($filename)");

--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.0.0~rc2

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.0.0~rc2.dsc
  to pool/main/l/lintian/lintian_2.0.0~rc2.dsc
lintian_2.0.0~rc2.tar.gz
  to pool/main/l/lintian/lintian_2.0.0~rc2.tar.gz
lintian_2.0.0~rc2_all.deb
  to pool/main/l/lintian/lintian_2.0.0~rc2_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 495431@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank Lichtenheld <djpig@debian.org> (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: SHA1

Format: 1.8
Date: Sun, 21 Sep 2008 15:56:51 +0200
Source: lintian
Binary: lintian
Architecture: source all
Version: 2.0.0~rc2
Distribution: experimental
Urgency: low
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Frank Lichtenheld <djpig@debian.org>
Description: 
 lintian    - Debian package checker
Closes: 495431 497247 498096 498897 498994
Changes: 
 lintian (2.0.0~rc2) experimental; urgency=low
 .
   * Summary of tag changes:
     + Added:
       - package-superseded-by-perl
 .
   * checks/copyright-file:
     + [FL] Also detect v1.1 of CeCILL license, not only v2.0.
       (Closes: #498994)
   * checks/debhelper:
     + [FL] Use new Lintian::Collect::Source->binaries method.
   * checks/fields{,.desc}:
     + [FL] Warn about Perl module packages superseded by Perl
       core.  Patch by Niko Tyni.  (Closes: #498897)
   * checks/rules:
     + [FL] Do not issue desktop-file-but-no-dh_desktop-call if the
       package uses dh.  (Closes: #497247)
   * checks/scripts:
     + [FL] Accept the ocaml virtual packages as providing ocamlrun.
       Based on a patch by Stephane Glondu.  (Closes: #495431)
   * checks/standards-version:
     + [FL] Use new Lintian::Collect::Source->binaries method to
       fix udeb detection.  Thanks to Raphael Geissert.
       (Closes: #498096)
 .
   * frontend/lintian:
     + [FL] Add support for ranges to --display-level.
 .
   * lib/Lintian/Collect/Source.pm:
     + [FL] New binaries method that returns a hash with binary package
       names and types.
Checksums-Sha1: 
 6b2003013aeddf73937a43168663ce1947defb04 1135 lintian_2.0.0~rc2.dsc
 2b8f531b8bfabcd4417ad336ee32800b45efa064 518700 lintian_2.0.0~rc2.tar.gz
 4cbfa883677bf8c944d85cecae0b068352b007ca 387250 lintian_2.0.0~rc2_all.deb
Checksums-Sha256: 
 d484304921b920540a1e7d49a5665a328b4a5484575033d552d444e25d96ed68 1135 lintian_2.0.0~rc2.dsc
 ea1c718351644ac737952e8c93a628a714ca10db44b8103521d54a384857f610 518700 lintian_2.0.0~rc2.tar.gz
 fb3cbde995fd8d2cf03afdec93dffecf390660b794bb571422fd4691d2c4d21d 387250 lintian_2.0.0~rc2_all.deb
Files: 
 f2c4f44d848c10da0044a903c1a0583e 1135 devel optional lintian_2.0.0~rc2.dsc
 d16ff1b2d858a845067d101fef8ee3c9 518700 devel optional lintian_2.0.0~rc2.tar.gz
 22e2ffe1f7b8da5c7a08fde8095bf35a 387250 devel optional lintian_2.0.0~rc2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkjWs7YACgkQQbn06FtxPfAhwQCgk76V6LB71EMHh4VCovSMW2OW
hfMAnAntg1x9YPESi2PfvWYjPiJfq9mg
=6EPH
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: