Your message dated Fri, 27 Jan 2006 22:22:18 -0500
with message-id <[EMAIL PROTECTED]>
and subject line oops -- posted against debhelper instead of lintian
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Jan 2006 03:07:30 +0000
>From [EMAIL PROTECTED] Fri Jan 27 19:07:30 2006
Return-path: <[EMAIL PROTECTED]>
Received: from eastrmmtao04.cox.net ([68.230.240.35])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1F2gQz-0002tn-PY
        for [EMAIL PROTECTED]; Fri, 27 Jan 2006 19:07:30 -0800
Received: from glerbl ([70.174.166.65]) by eastrmmtao04.cox.net
          (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP
          id <[EMAIL PROTECTED]>;
          Fri, 27 Jan 2006 22:06:55 -0500
Received: from soup ([10.160.59.17])
        by glerbl with esmtp (Exim 4.50)
        id 1F2gQU-0005Nk-8K; Fri, 27 Jan 2006 22:06:58 -0500
Received: from ejb by soup with local (Exim 4.60)
        (envelope-from <[EMAIL PROTECTED]>)
        id 1F2gQU-0002V1-7y; Fri, 27 Jan 2006 22:06:58 -0500
Content-Type: multipart/mixed; boundary="===============1693200163=="
MIME-Version: 1.0
From: Jay Berkenbilt <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: erroneous package-uses-deprecated-debhelper-compat-version with cdbs
Message-ID: <[EMAIL PROTECTED]>
X-Mailer: reportbug 3.18
Date: Fri, 27 Jan 2006 22:06:58 -0500
X-Debbugs-Cc: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============1693200163==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: debhelper
Version: 5.0.17
Severity: normal
Tags: patch


If a package uses cdbs and includes debhelper.mk, then it is using a
correct debhelper compatibility version of 4.  If you don't have a
debian/compat file that contains 4 (which cdbs will create
automatically, but may not be in the original sources), you will a
warning such as this one:

W: tiff source: package-uses-deprecated-debhelper-compat-version 1

I believe a sensible fix is to simply recognize that the correct
dhcompatvalue is 4 if cdbs is in use.  The lintian debhelper check
already makes other assumptions based on cdbs.  This one-line patch
should do the job.  It has the unfortunate property of hard-coding the
number "4" as the current debhelper version in yet another place, but
that's easily rectified if desirable.

----8<----
--- checks/debhelper~   2006-01-19 09:11:59.000000000 -0500
+++ checks/debhelper    2006-01-27 21:58:02.671089168 -0500
@@ -93,6 +93,7 @@
        $seencommand = 1;
        $needbuilddepends = 1;
        $needtomodifyscripts = 1;
+       $needversiondepends = $dhcompatvalue = 4;
     } elsif (/^\s*export\s+DH_COMPAT\s*=\s*(\d+)/) {
        $needversiondepends = $1;
     } elsif (/^\s*export\s+DH_COMPAT/) {
----8<----


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages debhelper depends on:
ii  binutils             2.16.1cvs20060117-1 The GNU assembler, linker and bina
ii  coreutils [fileutils 5.93-5              The GNU core utilities
ii  debconf-utils        1.4.68              debconf utilities
ii  dpkg-dev             1.13.11.1           package building tools for Debian
ii  file                 4.15-2              Determines file type using "magic"
ii  html2text            1.3.2a-3            An advanced HTML to text converter
ii  perl                 5.8.7-10            Larry Wall's Practical Extraction 
ii  po-debconf           0.9.2               manage translated Debconf template

debhelper recommends no packages.

-- no debconf information

--===============1693200163==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="debhelper.patch"

--- checks/debhelper~   2006-01-19 09:11:59.000000000 -0500
+++ checks/debhelper    2006-01-27 21:58:02.671089168 -0500
@@ -93,6 +93,7 @@
        $seencommand = 1;
        $needbuilddepends = 1;
        $needtomodifyscripts = 1;
+       $needversiondepends = $dhcompatvalue = 4;
     } elsif (/^\s*export\s+DH_COMPAT\s*=\s*(\d+)/) {
        $needversiondepends = $1;
     } elsif (/^\s*export\s+DH_COMPAT/) {

--===============1693200163==--

---------------------------------------
Received: (at 350226-done) by bugs.debian.org; 28 Jan 2006 03:22:50 +0000
>From [EMAIL PROTECTED] Fri Jan 27 19:22:50 2006
Return-path: <[EMAIL PROTECTED]>
Received: from eastrmmtao06.cox.net ([68.230.240.33])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1F2gfq-0005Dx-5M
        for [EMAIL PROTECTED]; Fri, 27 Jan 2006 19:22:50 -0800
Received: from glerbl ([70.174.166.65]) by eastrmmtao06.cox.net
          (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP
          id <[EMAIL PROTECTED]>
          for <[EMAIL PROTECTED]>;
          Fri, 27 Jan 2006 22:22:17 -0500
Received: from soup ([10.160.59.17])
        by glerbl with esmtp (Exim 4.50)
        id 1F2gfK-0005P2-L8
        for [EMAIL PROTECTED]; Fri, 27 Jan 2006 22:22:18 -0500
Received: from ejb by soup with local (Exim 4.60)
        (envelope-from <[EMAIL PROTECTED]>)
        id 1F2gfK-0007pT-Kz; Fri, 27 Jan 2006 22:22:18 -0500
From: Jay Berkenbilt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: oops -- posted against debhelper instead of lintian
Message-ID: <[EMAIL PROTECTED]>
Date: Fri, 27 Jan 2006 22:22:18 -0500
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02


I posted this against debhelper instead of lintian.  I'm closing it
here and reposting against lintian rather than just moving it so that
the lintian maintainers see the original bug report in its entirety at
the time I sent it.  Sorry for the typo/noise.

-- 
Jay Berkenbilt <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to