Bug#554205: java-gcj-compat-dev: usr-share-doc-symlink-without-dependency java-gcj-compat-headless

2009-11-04 Thread Steve Langasek
severity 554205 important
thanks

java-gcj-compat-dev Depends: java-gcj-compat (= 1.0.80-5.1) [...]
java-gcj-compat Depends: java-gcj-compat-headless (= 1.0.80-5.1) [...]

So there's no policy violation here, only a harmless indirection.

Leaving the bug open, since a lintian override will need to be added to the
package in the next upload, per the recent announcement regarding lintian
enforcement at archive accept time.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org


signature.asc
Description: Digital signature


Bug#554205: java-gcj-compat-dev: usr-share-doc-symlink-without-dependency java-gcj-compat-headless

2009-11-03 Thread Manoj Srivastava
Package: java-gcj-compat-dev
Version: 1.0.80-5.1
Severity: serious
User: lintian-ma...@debian.org
Usertags: usr-share-doc-symlink-without-dependency

If the package installs a symbolic link /usr/share/doc/pkg1 - pkg2,
then pkg1 has to depend on pkg2 with the same version as pkg1.

Note, that adding the Depends: entry just to fix this bug is not a
good solution. It's suggested that you include a real
/usr/share/doc/pkg1 directory within pkg1 and copy the copyright file
into that directory.  If the packages do not share source code, then
pkg1 should have its own copyright file (since the authors of pkg2 are
not to blame for pkg1). This bit covers meta packages as well.

Refer to Debian Policy Manual section 12.5 (Copyright information) for
details. 

,[ 12.5 Copyright information ]
| Every package must be accompanied by a verbatim copy of its copyright
| and distribution license in the file
| /usr/share/doc/package/copyright. This file must neither be compressed
| nor be a symbolic link. `
| ...
| /usr/share/doc/package may be a symbolic link to another directory in
| /usr/share/doc only if the two packages both come from the same source
| and the first package Depends on the second. These rules are important
| because copyrights must be extractable by mechanical means.
`

This is a bug filed due to a lintian warning (see above). However,
this has also been checked manually, and thus there should be no false
positives.

Filed as serious since it is a violation of a must directive in
policy, and also since  a package with these flaws will
currently get this package rejected. See
  http://lists.debian.org/debian-devel-announce/2009/10/msg4.html
for details. This means the package has been deemed too buggy to be in
Debian.

manoj


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

Kernel: Linux 2.6.31.4-anzu-2 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages java-gcj-compat-dev depends on:
pn  ecj-gcj   none (no description available)
pn  gappletviewer-4.3 none (no description available)
ii  gcj-4.3   4.3.4-4The GNU compiler for Java(TM)
pn  gjdoc none (no description available)
pn  java-gcj-compat   none (no description available)
ii  python2.5.4-2An interactive high-level object-o
ii  python-central0.6.12 register and build utility for Pyt

Versions of packages java-gcj-compat-dev recommends:
pn  libgcj9-src   none (no description available)

java-gcj-compat-dev suggests no packages.



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