Bug#891892: lintian: False positive: statically-linked-binary despite the Build-Depends on golang-go

2018-03-14 Thread Arnaud

On 03/14/2018 11:41 AM, Chris Lamb wrote:
> Ah, sorry, I should/could have told you that :(  Sorry for causing you
> extra work..

No worries, I need to practice my debian-fu anyway :)

>
>> let me just clarify that with the go packaging team, and fix the control
>> file to start with.
> Can you clarify? As in, shall we close this bug?

Yep we can close this bug, there's no reason to give `golang-x.x-go` in
the dependencies anyway as far as I know now, and I fixed my packages.

For reference:
http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/Week-of-Mon-20180312/020080.html

Cheers,

  Arnaud



Bug#891892: lintian: False positive: statically-linked-binary despite the Build-Depends on golang-go

2018-03-13 Thread Chris Lamb
Hi Arnaud,

> > $built_with_golang
> >   = $src->info->relation('build-depends')
> >   ->implies('golang-go | golang-any');
> >
> > Not sure whether it's the >= version of the "golang-go" part or
> > the "golang-1.9-go" part in itself is causing it not to match..
> 
> These lines do not raise a warning
> 
>   golang-any (>= 2:1.9~)
>   golang-go (>= 2:1.9~)
> 
> However this one raise a warning
> 
>   golang-any | golang-1.9-go

Ah, sorry, I should/could have told you that :(  Sorry for causing you
extra work..

> let me just clarify that with the go packaging team, and fix the control
> file to start with.

Can you clarify? As in, shall we close this bug?


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#891892: lintian: False positive: statically-linked-binary despite the Build-Depends on golang-go

2018-03-13 Thread Arnaud
Hi,

I did a few tests !


On 03/02/2018 09:20 PM, Chris Lamb wrote:
> Hi Arnaud,
>
>> The statically-linked-binary warninf shouldn't be there, as the field
>> Build-Depends contains:
>>
>> golang-go (>= 2:1.9~) | golang-1.9-go
> The Lintian code in question is:
>
> $built_with_golang
>   = $src->info->relation('build-depends')
>   ->implies('golang-go | golang-any');
>
> Not sure whether it's the >= version of the "golang-go" part or
> the "golang-1.9-go" part in itself is causing it not to match..

These lines do not raise a warning

  golang-any (>= 2:1.9~)
  golang-go (>= 2:1.9~)

However this one raise a warning

  golang-any | golang-1.9-go

And this last one, more interesting, fails the build:

  golang-1.9-go

Actually, only 'golang-go' installs the binary '/usr/bin/go' (which is
just a symlink). Installing only 'golang-1.x-go'  is not enough, so let
me just clarify that with the go packaging team, and fix the control
file to start with.

Cheers

  Arnaud



Bug#891892: lintian: False positive: statically-linked-binary despite the Build-Depends on golang-go

2018-03-02 Thread Chris Lamb
Hi Arnaud,

> The statically-linked-binary warninf shouldn't be there, as the field
> Build-Depends contains:
> 
> golang-go (>= 2:1.9~) | golang-1.9-go

The Lintian code in question is:

$built_with_golang
  = $src->info->relation('build-depends')
  ->implies('golang-go | golang-any');

Not sure whether it's the >= version of the "golang-go" part or
the "golang-1.9-go" part in itself is causing it not to match..

I would have thought it should work at first glance. :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#891892: lintian: False positive: statically-linked-binary despite the Build-Depends on golang-go

2018-03-01 Thread Arnaud Rebillout
Package: lintian
Version: 2.5.67~bpo9+1
Severity: normal

Dear Maintainer,

Package concerned (should be pushed in Debian experimental soon)

https://salsa.debian.org/elboulangero-guest/golang-gogottrpc

Build the package with

gbp clone https://salsa.debian.org/elboulangero-guest/golang-gogottrpc.git
cd golang-gogottrpc
gbp buildpackage --git-pbuilder --git-dist=sid

Then run lintian

lintian ../golang-gogottrpc*changes
E: gogottrpc: statically-linked-binary usr/bin/protoc-gen-gogottrpc
W: gogottrpc: binary-without-manpage usr/bin/protoc-gen-gogottrpc

The statically-linked-binary warninf shouldn't be there, as the field
Build-Depends contains:

golang-go (>= 2:1.9~) | golang-1.9-go

Best regards,

  Arnaud

-- System Information:
Debian Release: 9.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lintian depends on:
ii  binutils  2.28-5
ii  bzip2 1.0.6-8.1
ii  diffstat  1.61-1+b1
ii  dpkg  1.18.24
ii  file  1:5.30-1+deb9u1
ii  gettext   0.19.8.1-2
ii  intltool-debian   0.35.0+20060710.4
ii  libapt-pkg-perl   0.1.32
ii  libarchive-zip-perl   1.59-1
ii  libclass-accessor-perl0.34-1
ii  libclone-perl 0.38-2+b1
ii  libdpkg-perl  1.18.24
ii  libemail-valid-perl   1.202-1
ii  libfile-basedir-perl  0.07-1
ii  libipc-run-perl   0.94-1
ii  liblist-moreutils-perl0.416-1+b1
ii  libparse-debianchangelog-perl 1.2.0-12
ii  libperl5.24 [libdigest-sha-perl]  5.24.1-3+deb9u2
ii  libtext-levenshtein-perl  0.13-1
ii  libtimedate-perl  2.3000-2
ii  liburi-perl   1.71-1
ii  libxml-simple-perl2.22-1
ii  libyaml-libyaml-perl  0.63-2
ii  man-db2.7.6.1-2
ii  patchutils0.3.4-2
ii  perl  5.24.1-3+deb9u2
ii  t1utils   1.39-2
ii  xz-utils  5.2.2-1.2+b1

Versions of packages lintian recommends:
ii  libperlio-gzip-perl  0.19-1+b2

Versions of packages lintian suggests:
ii  binutils-multiarch 2.28-5
ii  dpkg-dev   1.18.24
ii  libhtml-parser-perl3.72-3
pn  libtext-template-perl  

-- no debconf information