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

Bug#931993: marked as done (lintian: usr-share-doc-symlink-to-foreign-package false positive for dbgsym packages)



Your message dated Sat, 13 Jul 2019 15:53:17 +0200
with message-id <10fce050-9940-6058-f028-e18be1d1ec23@xs4all.nl>
and subject line Re: lintian: usr-share-doc-symlink-to-foreign-package false positive for dbgsym packages
has caused the Debian Bug report #931993,
regarding lintian: usr-share-doc-symlink-to-foreign-package false positive for dbgsym packages
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.)


-- 
931993: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931993
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: lintian
Version: 2.16.0
Severity: normal

Dear Maintainer,

For the saga packaging available in git, lintian reports:

 E: libsaga-gdi-7.3.0-dbgsym: usr-share-doc-symlink-to-foreign-package libsaga-gdi-7.3.0
 E: libsaga-api-7.3.0-dbgsym: usr-share-doc-symlink-to-foreign-package libsaga-api-7.3.0

These seem to be false positives, the dbgsym packages are generated from
the same source.

I think that binary_package_type should not return undef if the binary
package is a dbgsym package, e.g. something like:

 diff --git a/lib/Lintian/Collect/Source.pm b/lib/Lintian/Collect/Source.pm
 index 718a8f3e8..a3a597237 100644
 --- a/lib/Lintian/Collect/Source.pm
 +++ b/lib/Lintian/Collect/Source.pm
 @@ -338,7 +338,7 @@ sub binary_package_type {
  
     $self->{binaries} = \%binaries;
      return $binaries{$binary} if exists $binaries{$binary};
 -    return;
 +    return $binary =~ /-dbgym$/ ? 'deb' : undef;
  }
  
  =item source_field([FIELD[, DEFAULT]])

Kind Regards,

Bas

--- End Message ---
--- Begin Message ---
notfound 931993 lintian/2.16.0
thanks

On 7/13/19 3:22 PM, Bas Couwenberg wrote:
> For the saga packaging available in git, lintian reports:
> 
>  E: libsaga-gdi-7.3.0-dbgsym: usr-share-doc-symlink-to-foreign-package libsaga-gdi-7.3.0
>  E: libsaga-api-7.3.0-dbgsym: usr-share-doc-symlink-to-foreign-package libsaga-api-7.3.0
> 
> These seem to be false positives, the dbgsym packages are generated from
> the same source.

This was actually an issue in the saga package, sorry for the noise.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

--- End Message ---

Reply to: