Debian Bug report logs -
#187415
lintian: False-positive for declares-possibly-conflicting-debhelper-compat-versions
Reported by: Jay Bonci <jay@bonci.com>
Date: Thu, 3 Apr 2003 08:18:02 UTC
Severity: normal
Found in version 1.22.8
Fixed in version lintian/1.22.8.1
Done: Josip Rodin <joy-packages@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org:
Bug#187415; Package lintian.
(full text, mbox, link).
Acknowledgement sent to Jay Bonci <jay@bonci.com>:
New Bug report received and forwarded. Copy sent to Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: lintian
Version: 1.22.8
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In the most recent lintian drop, a new tag was introduced:
declares-possibly-conflicting-debhelper-compat-versions
I get a false-positive when I have a
Build-Depends-Indep: debhelper (>> 4.0.0)
and a compat file containing "4"
The error is:
E: libhttp-proxy-perl source:
declares-possibly-conflicting-debhelper-compat-versions 4
(Note the two spaces)
They shouldn't conflict. Removing the compat file gets rid of the
error
Take care,
--jay
- -- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux starlite 2.4.19-686 #1 Mon Nov 18 23:59:03 EST 2002 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages lintian depends on:
ii binutils 2.13.90.0.18-1.3 The GNU assembler, linker and bina
ii diffstat 1.32-1 produces graph of changes introduc
ii file 3.40-1 Determines file type using "magic"
ii man-db 2.4.1-6 The on-line manual pager
ii perl 5.8.0-17 Larry Wall's Practical Extraction
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+i+qOZNh5D+C4st4RAtq3AJ9LPFq8BmXaSGdMlNxICc1/gaeSWwCffCgu
86WBtSvhQuwUGdiRZrs80Yw=
=VddJ
-----END PGP SIGNATURE-----
Information forwarded to debian-bugs-dist@lists.debian.org, Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org:
Bug#187415; Package lintian.
(full text, mbox, link).
Acknowledgement sent to Josip Rodin <joy@srce.hr>:
Extra info received and forwarded to list. Copy sent to Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org.
(full text, mbox, link).
Message #10 received at 187415@bugs.debian.org (full text, mbox, reply):
On Thu, Apr 03, 2003 at 03:02:22AM -0500, Jay Bonci wrote:
> Package: lintian
> Version: 1.22.8
> Severity: normal
>
> In the most recent lintian drop, a new tag was introduced:
>
> declares-possibly-conflicting-debhelper-compat-versions
>
> I get a false-positive when I have a
> Build-Depends-Indep: debhelper (>> 4.0.0)
>
> and a compat file containing "4"
>
> The error is:
>
> E: libhttp-proxy-perl source:
> declares-possibly-conflicting-debhelper-compat-versions 4
>
> (Note the two spaces)
>
> They shouldn't conflict. Removing the compat file gets rid of the
> error
Hmm. Try removing "defined" from the lines 112 and 113 of
/usr/share/lintian/checks/debhelper and see if that fixes it?
--
2. That which causes joy or happiness.
Information forwarded to debian-bugs-dist@lists.debian.org, Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org:
Bug#187415; Package lintian.
(full text, mbox, link).
Acknowledgement sent to Jay Bonci <jay@bonci.com>:
Extra info received and forwarded to list. Copy sent to Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org.
(full text, mbox, link).
Message #15 received at 187415@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hey Joy,
Removing that line makes it work for me
--jaybonci
On Thu, 2003-04-03 at 05:30, Josip Rodin wrote:
> On Thu, Apr 03, 2003 at 03:02:22AM -0500, Jay Bonci wrote:
> > Package: lintian
> > Version: 1.22.8
> > Severity: normal
> >
> > In the most recent lintian drop, a new tag was introduced:
> >
> > declares-possibly-conflicting-debhelper-compat-versions
> >
> > I get a false-positive when I have a
> > Build-Depends-Indep: debhelper (>> 4.0.0)
> >
> > and a compat file containing "4"
> >
> > The error is:
> >
> > E: libhttp-proxy-perl source:
> > declares-possibly-conflicting-debhelper-compat-versions 4
> >
> > (Note the two spaces)
> >
> > They shouldn't conflict. Removing the compat file gets rid of the
> > error
>
> Hmm. Try removing "defined" from the lines 112 and 113 of
> /usr/share/lintian/checks/debhelper and see if that fixes it?
--
Jay Bonci | <jay@bonci.com>
GPG: E0B8B2DE| 562B 35DC BE8D 7802 DB31 6423 64D8 790F E0B8 B2DE
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org:
Bug#187415; Package lintian.
(full text, mbox, link).
Acknowledgement sent to Josip Rodin <joy@srce.hr>:
Extra info received and forwarded to list. Copy sent to Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org.
(full text, mbox, link).
Message #20 received at 187415@bugs.debian.org (full text, mbox, reply):
On Thu, Apr 03, 2003 at 06:04:39AM -0500, Jay Bonci wrote:
> > Hmm. Try removing "defined" from the lines 112 and 113 of
> > /usr/share/lintian/checks/debhelper and see if that fixes it?
>
> Removing that line makes it work for me
Umm, which line, and did you remove the whole line or? :)
--
2. That which causes joy or happiness.
Information forwarded to debian-bugs-dist@lists.debian.org, Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org:
Bug#187415; Package lintian.
(full text, mbox, link).
Acknowledgement sent to Jay Bonci <jay@bonci.com>:
Extra info received and forwarded to list. Copy sent to Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org.
(full text, mbox, link).
Message #25 received at 187415@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Starting on line 112, I removed the word
"defined" from 112 and 113.
I think it's just a little early for me. I didn't actually remove any
lines, just 'defined'
--jay
On Thu, 2003-04-03 at 06:46, Josip Rodin wrote:
> On Thu, Apr 03, 2003 at 06:04:39AM -0500, Jay Bonci wrote:
> > > Hmm. Try removing "defined" from the lines 112 and 113 of
> > > /usr/share/lintian/checks/debhelper and see if that fixes it?
> >
> > Removing that line makes it work for me
>
> Umm, which line, and did you remove the whole line or? :)
--
Jay Bonci | <jay@bonci.com>
GPG: E0B8B2DE| 562B 35DC BE8D 7802 DB31 6423 64D8 790F E0B8 B2DE
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org:
Bug#187415; Package lintian.
(full text, mbox, link).
Acknowledgement sent to Guido Trotter <ultrotter@debian.org>:
Extra info received and forwarded to list. Copy sent to Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org.
(full text, mbox, link).
Message #30 received at 187415@bugs.debian.org (full text, mbox, reply):
I agree to the patch: in fact the variables are already "defined" at the
beginning of the script in lines 36-37, and so the mere existance of the
debian/compat file triggers the error... (thus flagging erroneously all the
packages which uses the new standard debian/compat)
The simple if($compat) { if ($neededversiondepends) ... } should be enough,
beeing $neededversiondepends empty (and thus false) if debian/rules does
not have an "export DH_COMPAT=n" line...
Here is how I see it... Hope not to have missed something! ;)
Guido
Information forwarded to debian-bugs-dist@lists.debian.org, Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org:
Bug#187415; Package lintian.
(full text, mbox, link).
Acknowledgement sent to Josip Rodin <joy@srce.hr>:
Extra info received and forwarded to list. Copy sent to Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org.
(full text, mbox, link).
Message #35 received at 187415@bugs.debian.org (full text, mbox, reply):
On Sat, Apr 05, 2003 at 11:37:29AM +0200, Guido Trotter wrote:
> I agree to the patch: in fact the variables are already "defined" at the
> beginning of the script in lines 36-37, and so the mere existance of the
> debian/compat file triggers the error... (thus flagging erroneously all the
> packages which uses the new standard debian/compat)
> The simple if($compat) { if ($neededversiondepends) ... } should be enough,
> beeing $neededversiondepends empty (and thus false) if debian/rules does
> not have an "export DH_COMPAT=n" line...
Yeah, this will be in the new version, don't worry about it.
--
2. That which causes joy or happiness.
Information forwarded to debian-bugs-dist@lists.debian.org, Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org:
Bug#187415; Package lintian.
(full text, mbox, link).
Acknowledgement sent to Sebastian Henschel <shensche@kodeaffe.de>:
Extra info received and forwarded to list. Copy sent to Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org.
(full text, mbox, link).
Message #40 received at 187415@bugs.debian.org (full text, mbox, reply):
Package: lintian
Version: 1.22.8
Followup-For: Bug #187415
hello...
the same here. you do not even have to have a version dependency on
debhelper in the Build-Depends of debian/control.
cheers,
sebastian
-- System Information
Debian Release: sarge
Architecture: i386
Kernel: Linux enigma 2.4.20 #3 Don Mär 13 10:05:20 CET 2003 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro
Versions of packages lintian depends on:
ii binutils 2.13.90.0.10-1 The GNU assembler, linker and bina
ii diffstat 1.32-1 produces graph of changes introduc
ii file 3.40-1.1 Determines file type using "magic"
ii man-db 2.4.1-6 The on-line manual pager
ii perl 5.8.0-17 Larry Wall's Practical Extraction
Information forwarded to debian-bugs-dist@lists.debian.org, Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org:
Bug#187415; Package lintian.
(full text, mbox, link).
Acknowledgement sent to "Theodore Y. Ts'o" <tytso@mit.edu>:
Extra info received and forwarded to list. Copy sent to Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org.
(full text, mbox, link).
Message #45 received at 187415@bugs.debian.org (full text, mbox, reply):
Package: lintian
Version: 1.22.8
Followup-For: Bug #187415
In addition the explanatory text is extremely confusing:
E: e2fsprogs source: declares-possibly-conflicting-debhelper-compat-versions 4
N:
N: The source package declares the debhelper compatibility version both
N: in the debian/control file and in the rules file. If these ever get
N: out of synchronisation, the package may not build as expected.
N:
N: Please refer to the debhelper(1) manual page for more information.
N:
The debhelper manual is of no help in explaining the situation. It
encourages the inclusion of the Build-depends header in build/depend,
as well as the debian/compat file, and says absolutely nothing about
what should or shouldn't go in the rules file.
So I'm releieved about this bug report which says that it's a false
positive, since it's hitting me too (for the e2fsprogs package), but
the explanatory text is still leaving me confused about what the issue
that Lintian was actually checking for.
For now, I'll ignore the Lintian error and upload with it, especially
since the package passed using the previous version of Lintian.
- Ted
Information forwarded to debian-bugs-dist@lists.debian.org, Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org:
Bug#187415; Package lintian.
(full text, mbox, link).
Acknowledgement sent to Josip Rodin <joy@srce.hr>:
Extra info received and forwarded to list. Copy sent to Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org.
(full text, mbox, link).
Message #50 received at 187415@bugs.debian.org (full text, mbox, reply):
On Wed, Apr 16, 2003 at 10:54:23AM -0400, Theodore Y. Ts'o wrote:
> Package: lintian
> Version: 1.22.8
> Followup-For: Bug #187415
>
> In addition the explanatory text is extremely confusing:
>
> E: e2fsprogs source: declares-possibly-conflicting-debhelper-compat-versions 4
> N:
> N: The source package declares the debhelper compatibility version both
> N: in the debian/control file and in the rules file. If these ever get
> N: out of synchronisation, the package may not build as expected.
> N:
> N: Please refer to the debhelper(1) manual page for more information.
> N:
>
> The debhelper manual is of no help in explaining the situation. It
> encourages the inclusion of the Build-depends header in build/depend,
> as well as the debian/compat file, and says absolutely nothing about
> what should or shouldn't go in the rules file.
>
> So I'm releieved about this bug report which says that it's a false
> positive, since it's hitting me too (for the e2fsprogs package), but
> the explanatory text is still leaving me confused about what the issue
> that Lintian was actually checking for.
This error should have come up _only_ when the package sets the compat
version in two places. If you only set it in one place, you're fine.
Notice the two spaces at the end of the first line of the error text --
between them there should have been another variable -- that's the bug.
I'll go upload .9, this seems to be hitting too many people.
--
2. That which causes joy or happiness.
Reply sent to Josip Rodin <joy-packages@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Jay Bonci <jay@bonci.com>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #55 received at 187415-close@bugs.debian.org (full text, mbox, reply):
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_1.22.8.1.dsc
to pool/main/l/lintian/lintian_1.22.8.1.dsc
lintian_1.22.8.1.tar.gz
to pool/main/l/lintian/lintian_1.22.8.1.tar.gz
lintian_1.22.8.1_all.deb
to pool/main/l/lintian/lintian_1.22.8.1_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 187415@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Josip Rodin <joy-packages@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.7
Date: Thu, 3 Apr 2003 12:27:55 +0200
Source: lintian
Binary: lintian
Architecture: source all
Version: 1.22.8.1
Distribution: unstable
Urgency: high
Maintainer: Josip Rodin <joy-packages@debian.org>
Changed-By: Josip Rodin <joy-packages@debian.org>
Description:
lintian - Debian package checker
Closes: 187415
Changes:
lintian (1.22.8.1) unstable; urgency=high
.
* Fixed a small logic oversight in the new debhelper compat check,
closes: #187415.
Files:
3cde9cabf431f6ed62f54e0828092e8f 501 devel optional lintian_1.22.8.1.dsc
6580ca24b281b04b3aaac5528f6064de 221092 devel optional lintian_1.22.8.1.tar.gz
b4d4549a2ff7d71a1ba06e43c6143af0 182130 devel optional lintian_1.22.8.1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+nXTVC1RHoiANFZYRAvxPAKChMhUgE6XuyWZdQcPk6nVGCCeOoACeMlqx
wLonvN/S4TZnKDne1AEBCH0=
=HABL
-----END PGP SIGNATURE-----
Information forwarded to debian-bugs-dist@lists.debian.org, Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org:
Bug#187415; Package lintian.
(full text, mbox, link).
Acknowledgement sent to Theodore Ts'o <tytso@mit.edu>:
Extra info received and forwarded to list. Copy sent to Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org.
(full text, mbox, link).
Message #60 received at 187415@bugs.debian.org (full text, mbox, reply):
On Wed, Apr 16, 2003 at 05:18:01PM +0200, Josip Rodin wrote:
> > N: The source package declares the debhelper compatibility version both
> > N: in the debian/control file and in the rules file. If these ever get
> > N: out of synchronisation, the package may not build as expected.
> > N:
> > N: Please refer to the debhelper(1) manual page for more information.
> > N:
> >
> > The debhelper manual is of no help in explaining the situation. It
> > encourages the inclusion of the Build-depends header in build/depend,
> > as well as the debian/compat file, and says absolutely nothing about
> > what should or shouldn't go in the rules file.
> >
> This error should have come up _only_ when the package sets the compat
> version in two places. If you only set it in one place, you're fine.
So I'm really confused at this point. Maybe I'm being stupid, but as
far as I can tell, I'm not setting the compatibility version in the
rules file. I don't even know how you *can* set the compatibility
version in the rules file! I've tried to RTFM, but there's nothing in
debhelper(1) which explains this.
As far as I know, I am declaring in my control file:
Build-Depends: texi2html, texinfo, dc, debhelper (>= 4)
.. which requires that the major version of the debhelper package
installed on the system is greater than 4.
And I have in the file debian/compat the number 4, which instructs
debhelper to be compatible with version 4, which is the latest
version.
As far as I know, I am not specifying a debhelper compatibility any
where else in my debian files.
So what am I doing wrong? And what is the lintian warning all about,
anyway?
Please accept my apologies if I'm missing something fundamental, but
I've tried reading all of the man pages, and relevant documents, and I
still don't get it.
- Ted
Information forwarded to debian-bugs-dist@lists.debian.org, Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org:
Bug#187415; Package lintian.
(full text, mbox, link).
Acknowledgement sent to Josip Rodin <joy@srce.hr>:
Extra info received and forwarded to list. Copy sent to Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org.
(full text, mbox, link).
Message #65 received at 187415@bugs.debian.org (full text, mbox, reply):
On Wed, Apr 16, 2003 at 12:55:22PM -0400, Theodore Ts'o wrote:
> On Wed, Apr 16, 2003 at 05:18:01PM +0200, Josip Rodin wrote:
Here you omitted an important line:
E: e2fsprogs source: declares-possibly-conflicting-debhelper-compat-versions 4
The number four at the end is read from the debian/compat file.
> > This error should have come up _only_ when the package sets the compat
> > version in two places. If you only set it in one place, you're fine.
>
> So I'm really confused at this point. Maybe I'm being stupid, but as
> far as I can tell, I'm not setting the compatibility version in the
> rules file. I don't even know how you *can* set the compatibility
> version in the rules file! I've tried to RTFM, but there's nothing in
> debhelper(1) which explains this.
That's actually debhelper(7), but it's there, subsection titled
"Debhelper compatibility levels". :)
> As far as I know, I am not specifying a debhelper compatibility any
> where else in my debian files.
>
> So what am I doing wrong?
Nothing. Lintian 1.22.8.1 will not report this error for your package.
(That version's just been uploaded.)
> And what is the lintian warning all about, anyway?
Like I said, when you define the compatibility level twice. E.g. if you both
put a number in debian/compat, and export DH_COMPAT=number in the rules
file.
--
2. That which causes joy or happiness.
Information forwarded to debian-bugs-dist@lists.debian.org, Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org:
Bug#187415; Package lintian.
(full text, mbox, link).
Acknowledgement sent to Theodore Ts'o <tytso@mit.edu>:
Extra info received and forwarded to list. Copy sent to Josip Rodin <joy-packages@debian.org>, lintian@packages.qa.debian.org.
(full text, mbox, link).
Message #70 received at 187415@bugs.debian.org (full text, mbox, reply):
On Wed, Apr 16, 2003 at 07:15:26PM +0200, Josip Rodin wrote:
> That's actually debhelper(7), but it's there, subsection titled
> "Debhelper compatibility levels". :)
Well lintian -i said debehelper(1):
N: Please refer to the debhelper(1) manual page for more information.
> Like I said, when you define the compatibility level twice. E.g. if you both
> put a number in debian/compat, and export DH_COMPAT=number in the rules
> file.
It wasn't obvious to me that the message was about DH_COMPAT=number in
the rules file via debian/compat. The lintian -i message talked about
the debian/control file and the rules file.
May I suggest the following rewording of the lintian -i message?
N: The source package declares the debhelper compatibility version both
N: in the debian/compat file and in the rules file (via setting the
N: DH_COMPAT enviornment variable). If these ever get
N: out of synchronisation, the package may not build as expected.
N:
N: Please refer to the debhelper(7) manual page for more information.
- Ted
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Mon Jun 5 03:19:59 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.