Bug#522613: lintian: false positive package-lacks-versioned-build-depends-on-debhelper 6 (5.0.44 is new enough)

2009-04-05 Thread Jonas Smedegaard
Package: lintian
Version: 2.2.9
Severity: normal

Lintian reports problems with debhelper dependency when using 6 in
compat and build-depending on debhelper version 5.0.44.

Debhelper itself claims support for compat version 6 in its changelog
entry for version 5.0.44, which is the reason this version was used in
CDBS dependency resolving.


Kind regards,

 - Jonas

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

Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils   2.19.1-1  The GNU assembler, linker and bina
ii  diffstat   1.46-1produces graph of changes introduc
ii  dpkg-dev   1.14.25   Debian package development tools
ii  file   5.00-1Determines file type using magic
ii  gettext0.17-6GNU Internationalization utilities
ii  intltool-debian0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii  libdigest-sha-perl 5.47-1Perl extension for SHA-1/224/256/3
ii  libipc-run-perl0.82-1Perl module for running processes
ii  libparse-debianchangel 1.1.1-2   parse Debian changelogs and output
ii  libtimedate-perl   1.1600-9  Time and date functions for Perl
ii  liburi-perl1.37+dfsg-1   Manipulates and accesses URI strin
ii  man-db 2.5.5-1   on-line manual pager
ii  perl [libdigest-sha-pe 5.10.0-19 Larry Wall's Practical Extraction 

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarchnone (no description available)
ii  libtext-template-perl 1.45-1 Text::Template perl module
ii  man-db2.5.5-1on-line manual pager

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522613: lintian: false positive package-lacks-versioned-build-depends-on-debhelper 6 (5.0.44 is new enough)

2009-04-05 Thread Adam D. Barratt
On Sun, 2009-04-05 at 11:58 +0200, Jonas Smedegaard wrote:
 Lintian reports problems with debhelper dependency when using 6 in
 compat and build-depending on debhelper version 5.0.44.
 
 Debhelper itself claims support for compat version 6 in its changelog
 entry for version 5.0.44, which is the reason this version was used in
 CDBS dependency resolving.

The changelog for 5.0.44 says introducing beginning of v6 mode which
is somewhat weaker than support for compat version 6 imo.

v6 mode was not finalised until the release of debhelper 6.0.0, as is
the custom with debhelper versioning, so I believe Lintian is correct
here.  Depending on debhelper 5.0.44 will give you some v6
functionality, but by no means all of it.

Regards,

Adam



-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522613: lintian: false positive package-lacks-versioned-build-depends-on-debhelper 6 (5.0.44 is new enough)

2009-04-05 Thread Russ Allbery
Jonas Smedegaard d...@jones.dk writes:

 Lintian reports problems with debhelper dependency when using 6 in
 compat and build-depending on debhelper version 5.0.44.

 Debhelper itself claims support for compat version 6 in its changelog
 entry for version 5.0.44, which is the reason this version was used in
 CDBS dependency resolving.

I think this is wrong and CDBS should be fixed.  There is clear
documentation in the debhelper man page:

   Once your package uses debhelper to build, be sure to add debhelper
   to your Build-Depends line in debian/control. You should
   build-depend on a version of debhelper equal to (or greater than)
   the debhelper compatibility level your package uses. So if your
   package used compatibility level 7:

 Build-Depends: debhelper (= 7)

5.0.44's changelog says:

  * Introducing beginning of v6 mode.

and 6.0.0 says:

  * debhelper v6 mode is finalised and is the new recommended compatibility
level.

What this means is that all v6 features were *not* available in 5.0.44;
5.0.44 was still being developed at that time.  Therefore, if you declare
compat level 6 and only have debhelper 5.0.44 installed, your package may
not build or may produce broken results.

-- 
Russ Allbery (r...@debian.org)   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Processed: Re: Bug#522613: lintian: false positive package-lacks-versioned-build-depends-on-debhelper 6 (5.0.44 is new enough)

2009-04-05 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 522613 cdbs
Bug#522613: lintian: false positive 
package-lacks-versioned-build-depends-on-debhelper 6 (5.0.44 is new enough)
Bug reassigned from package `lintian' to `cdbs'.

 retitle 522613 dh compat 6 must depend on v6 (not v5.0.44)
Bug#522613: lintian: false positive 
package-lacks-versioned-build-depends-on-debhelper 6 (5.0.44 is new enough)
Changed Bug title to `dh compat 6 must depend on v6 (not v5.0.44)' from 
`lintian: false positive package-lacks-versioned-build-depends-on-debhelper 6 
(5.0.44 is new enough)'.

 thanks
Stopping processing here.

Please contact me if you need assistance.

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


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522613: lintian: false positive package-lacks-versioned-build-depends-on-debhelper 6 (5.0.44 is new enough)

2009-04-05 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

reassign 522613 cdbs
retitle 522613 dh compat 6 must depend on v6 (not v5.0.44)
thanks

On Sun, Apr 05, 2009 at 08:38:46PM +0100, Adam D. Barratt wrote:
On Sun, 2009-04-05 at 11:58 +0200, Jonas Smedegaard wrote:
 Lintian reports problems with debhelper dependency when using 6 in
 compat and build-depending on debhelper version 5.0.44.
 
 Debhelper itself claims support for compat version 6 in its changelog
 entry for version 5.0.44, which is the reason this version was used in
 CDBS dependency resolving.

The changelog for 5.0.44 says introducing beginning of v6 mode which
is somewhat weaker than support for compat version 6 imo.

v6 mode was not finalised until the release of debhelper 6.0.0, as is
the custom with debhelper versioning, so I believe Lintian is correct
here.  Depending on debhelper 5.0.44 will give you some v6
functionality, but by no means all of it.

Thanks - also to Russ.

Your explanations make sense to me.

I will fix my 70+ packages having too weak dependency, and reassign this 
bugreport to cdbs (where I will most probably fix it myself - I help 
maintain that package, am to blame to relaxing that very dependency 
hint).


Kind regards,

  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknZHeIACgkQn7DbMsAkQLg7tQCeNz9UMtmlKJFSCaBdbgXG+DPs
ANYAnjffxWeJo+074TraSPXufVXMExvR
=lDmH
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org