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

Bug#645384: marked as done (lintian: should check for binary version of coyright file not source)



Your message dated Sat, 15 Oct 2011 10:27:24 +0100
with message-id <4E9951FC.90805@periapt.co.uk>
and subject line Re: Bug#645384: lintian: should check for binary version of coyright file not source
has caused the Debian Bug report #645384,
regarding lintian: should check for binary version of coyright file not source
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.)


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


The Debian policy states the need for a copyright file but always
refers to the binary version rather than the source version.
So the copyright file might be package specific and may even
be generated (which an upcoming version of pkg-components supports).
However lintian looks for the source version when it seems that
the policy only really permits it to scrutinize the binary version.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils              2.21.53.20110910-1 The GNU assembler, linker and bina
ii  bzip2                 1.0.5-7            high-quality block-sorting file co
ii  diffstat              1.54-1             produces graph of changes introduc
ii  file                  5.08-1             Determines file type using "magic"
ii  gettext               0.18.1.1-4         GNU Internationalization utilities
ii  intltool-debian       0.35.0+20060710.1  Help i18n of RFC822 compliant conf
ii  libapt-pkg-perl       0.1.24+b2          Perl interface to libapt-pkg
ii  libclass-accessor-per 0.34-1             Perl module that automatically gen
ii  libdpkg-perl          1.16.1             Dpkg perl modules
ii  libemail-valid-perl   0.185-1            Perl module for checking the valid
ii  libipc-run-perl       0.90-1             Perl module for running processes
ii  libparse-debianchange 1.2.0-1            parse Debian changelogs and output
ii  libtimedate-perl      1.2000-1           collection of modules to manipulat
ii  liburi-perl           1.59-1             module to manipulate and access UR
ii  locales               2.13-21            Embedded GNU C Library: National L
ii  locales-all [locales] 2.13-21            Embedded GNU C Library: Precompile
ii  man-db                2.5.7-8            on-line manual pager
ii  patchutils            0.3.2-1            Utilities to work with patches
ii  perl [libdigest-sha-p 5.12.4-4           Larry Wall's Practical Extraction 
ii  unzip                 6.0-5              De-archiver for .zip files

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch <none>                (no description available)
ii  dpkg-dev           1.16.1                Debian package development tools
ii  libhtml-parser-per 3.68-1+b1             collection of modules that parse H
ii  libtext-template-p 1.45-2                Text::Template perl module
ii  man-db             2.5.7-8               on-line manual pager
ii  xz-utils           5.1.1alpha+20110809-2 XZ-format compression utilities

-- no debconf information



--- End Message ---
--- Begin Message ---
Thanks for the explanation

On 15/10/11 10:18, Jakub Wilk wrote:
> * Nicholas Bamber <periapt@debian.org>, 2011-10-15, 09:14:
>> The Debian policy states the need for a copyright file but always
>> refers to the binary version rather than the source version.
> 
> Not always. Quoting Policy 12.5: "A copy of the file which will be
> installed in /usr/share/doc/<package>/copyright should be in
> debian/copyright in the source package."
> 
>> So the copyright file might be package specific and may even be
>> generated (which an upcoming version of pkg-components supports).
> 
> It's true, but having different copyright files in binary packages built
> from the same source:
> 1) is a (admittedly, non-serious) policy violation;
> 2) it can cause practical problems, e.g. PTS (which is source-based)
> points users to copyright file for a binary package.
> 
>> However lintian looks for the source version when it seems that the
>> policy only really permits it to scrutinize the binary version.
> 
> It's not true. We have checks both for copyright files in binary
> packages[0] and in source packages[1]. The latter was added very
> recently and contains almost exclusively DEP-5-related tests. (Checking
> DEP-5 stuff in binary packages doesn't make much sense, since the Files
> field refers to files in the _source_ package.)
> 
> 
> [0]
> http://anonscm.debian.org/gitweb/?p=lintian/lintian.git;a=blob;f=checks/copyright-file.desc
> 
> [1]
> http://anonscm.debian.org/gitweb/?p=lintian/lintian.git;a=blob;f=checks/source-copyright.desc
> 
> 


-- 
Nicholas Bamber | http://www.periapt.co.uk/
PGP key 3BFFE73C from pgp.mit.edu


--- End Message ---

Reply to: