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

Bug#580789: lintian: [checks/cruft.desc] PATCH: Improve documentation



Package: lintian
Version: 2.4.1
Severity: wishlist
Tags: patch


command:

    $ echo "W: ifhp source: ancient-libtool ltmain.sh 1.4.3" | lintian-info

Readd:

    W: ifhp source: ancient-libtool ltmain.sh 1.4.3
    N:
    N:   The referenced file seems to be from a libtool version older than
    N:   1.5.2-2. This might lead to build errors on some newer architectures
    N:   not known to this libtool.
    N:   
>>  N:   Please ask your upstream maintainer to re-libtoolize the package or do
>>  N:   it yourself in case there is no active upstream anymore. Beware that
    N:   might mean you need to update autoconf, too, if you use a very old
    N:   version there as well.
    N:   
    N:   If you have not updated the file but fixed architecture-specific
    N:   issues with minimal patches and verified that it builds correctly
    N:   please override this tag. lintian will not be able to verify that.

SUGGESTION

The following patch suggest action to take how to re-libtoolize the
sources.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils               2.20.1-8          The GNU assembler, linker and bina
ii  diffstat               1.47-1            produces graph of changes introduc
ii  dpkg-dev               1.15.7.1          Debian package development tools
ii  file                   5.04-2            Determines file type using "magic"
ii  gettext                0.17-11           GNU Internationalization utilities
ii  intltool-debian        0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii  libapt-pkg-perl        0.1.24            Perl interface to libapt-pkg
ii  libclass-accessor-perl 0.34-1            Perl module that automatically gen
ii  libipc-run-perl        0.89-1            Perl module for running processes
ii  libparse-debianchangel 1.1.1-2           parse Debian changelogs and output
ii  libtimedate-perl       1.2000-1          collection of modules to manipulat
ii  liburi-perl            1.54-1            module to manipulate and access UR
ii  locales                2.10.2-6          Embedded GNU C Library: National L
ii  man-db                 2.5.7-2           on-line manual pager
ii  perl [libdigest-sha-pe 5.10.1-12         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.45-1     Text::Template perl module
ii  man-db                        2.5.7-2    on-line manual pager

-- no debconf information
>From 473ed8845e4e7b685eb66e507663a8473ed2ca46 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto@cante.net>
Date: Sat, 8 May 2010 19:07:05 +0300
Subject: [PATCH] checks/cruft.desc: add instruction how to diy libtoolize
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit


Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
 checks/cruft.desc |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/checks/cruft.desc b/checks/cruft.desc
index ccb925f..3e5ebd0 100644
--- a/checks/cruft.desc
+++ b/checks/cruft.desc
@@ -379,13 +379,19 @@ Info: The referenced file seems to be from a libtool version
  newer architectures not known to this libtool.
  .
  Please ask your upstream maintainer to re-libtoolize the
- package or do it yourself in case there is no active upstream
- anymore.  Beware that might mean you need to update autoconf, too,
- if you use a very old version there as well.
+ package or in case there is no active upstream, do it yourself:
+ .
+   libtoolize --copy --force --install
+ .
+
+ Note: with very old packages you may see message suggesting '...add
+ the contents of... *.m4' but do *not* follow the advice, but the last
+ line that usually suggest modifying configure.in; and rerun
+ libtoolize. Beware that might mean you need to update autoconf, too.
  .
  If you have not updated the file but fixed architecture-specific
  issues with minimal patches and verified that it builds correctly
- please override this tag.  lintian will not be able to verify that.
+ please override this tag.  Lintian will not be able to verify that.
 
 Tag: source-contains-prebuilt-binary
 Severity: pedantic
-- 
1.7.0


Reply to: