On 2021-03-07 1:28 p.m., Felix Lechner wrote:
> Hi Alexandre,
>
> On Sun, Mar 7, 2021 at 8:54 AM Alexandre Viau <av...@debian.org> wrote:
>> XS-Go-Import-Path: gopkg.in/asn1-ber.v1,
>>                    github.com/go-asn1-ber/asn1-ber
>>
>> And it installs files at both
>> `/usr/share/gocode/src/gopkg.in/asn1-ber.v1` and
>> `/usr/share/gocode/src/github.com/go-asn1-ber`
> Should the second path be
> /usr/share/gocode/src/github.com/go-asn1-ber/asn1-ber instead? (Please
> note the extra final component in the file list at the very bottom of
> this message.) 

Ideally yes, but both paths are technically correct. I don't think
Lintian should go so far as it will probably be hard (or impossible) to
get right.


> Also, why is it a symbolic link, please? 

In this case the package changed name, so both folders point to the same
source for backwards-compatibility. When the Go compiler imports both
paths it will find the same source code.


> Should Lintian
> merely verify that the path is present so we catch when there is a
> link and not a folder?


I don't think Lintian should distinguish between links and folders.


> in order to take a look at it. I tried examining the paths on
> packages.d.o [1] but only saw "No such package in this suite on this
> architecture." Do you know why that might be happening? Thanks!

No, sorry.


Cheers :)


-- 

Aleaxandre Viau
av...@debian.org

Reply via email to