[pkg-golang-devel] Bug#824126: Add couple more lintian-overrides to eliminate lintian errors that doesn't make sense for Go

Mattia Rizzolo mattia at debian.org
Thu May 12 16:03:38 UTC 2016


control: reassign -1 src:golang 2:1.6.1-2

On Thu, May 12, 2016 at 04:53:42PM +0200, Ondřej Surý wrote:
> Package: src:golang-go

The source is named "golang", "golang-go" is a binary package ;)

> Version: 2:1.6.1-2
> Severity: minor
> Tags: patch
> 
> Dear maintainer(s),
> 
> attached is a patch that adds couple more lintian overrides that bug
> the package and that doesn't make sense with golang-go.
> 
> I think it's correct, but please review before applying the patch :)
> 
> Cheers,
> Ondrej
> 
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers testing
>   APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)

> >From fa2888504dbe95b4d04c510511147901d0e077ca Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= <ondrej at sury.org>
> Date: Thu, 12 May 2016 16:45:24 +0200
> Subject: [PATCH] Add couple more lintian overrides for errors that doesn't
>  make sense for golang-go
> 
> ---
>  debian/golang-go.lintian-overrides  |  1 +
>  debian/golang-src.lintian-overrides |  1 +
>  debian/source/lintian-overrides     | 17 +++++++----------
>  3 files changed, 9 insertions(+), 10 deletions(-)
> 
> diff --git a/debian/golang-go.lintian-overrides b/debian/golang-go.lintian-overrides
> index 818360c..6f397df 100644
> --- a/debian/golang-go.lintian-overrides
> +++ b/debian/golang-go.lintian-overrides
> @@ -1,2 +1,3 @@
>  # Go always links statically.
>  golang-go: statically-linked-binary
> +golang-go: apparently-corrupted-elf-binary *
> diff --git a/debian/golang-src.lintian-overrides b/debian/golang-src.lintian-overrides
> index aa1be30..34bd58f 100644
> --- a/debian/golang-src.lintian-overrides
> +++ b/debian/golang-src.lintian-overrides
> @@ -2,3 +2,4 @@
>  # debug/elf packages.
>  golang-src: arch-dependent-file-in-usr-share
>  golang-src: unstripped-binary-or-object
> +golang-src: binary-from-other-architecture
> diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
> index c078098..7a500c1 100644
> --- a/debian/source/lintian-overrides
> +++ b/debian/source/lintian-overrides
> @@ -1,10 +1,7 @@
> -golang source: source-contains-prebuilt-binary src/debug/dwarf/testdata/typedef.elf
> -golang source: source-contains-prebuilt-binary src/debug/elf/testdata/gcc-amd64-linux-exec
> -golang source: source-contains-prebuilt-binary src/debug/elf/testdata/go-relocation-test-gcc441-x86.obj
> -golang source: source-contains-prebuilt-binary src/debug/elf/testdata/gcc-386-freebsd-exec
> -golang source: source-contains-prebuilt-binary src/debug/elf/testdata/gcc-amd64-openbsd-debug-with-rela.obj
> -golang source: source-contains-prebuilt-windows-binary src/debug/pe/testdata/gcc-386-mingw-exec
> -golang source: source-contains-prebuilt-binary src/debug/elf/testdata/go-relocation-test-gcc424-x86-64.obj
> -golang source: source-contains-prebuilt-binary src/debug/elf/testdata/go-relocation-test-gcc441-x86-64.obj
> -golang source: source-contains-prebuilt-windows-binary src/debug/pe/testdata/gcc-386-mingw-obj
> -golang source: source-contains-prebuilt-binary src/runtime/race/race_linux_amd64.syso
> +golang source: source-contains-prebuilt-binary src/debug/dwarf/testdata/*
> +golang source: source-contains-prebuilt-binary src/debug/elf/testdata/*
> +golang source: source-contains-prebuilt-windows-binary src/debug/pe/testdata/*
> +golang source: source-contains-prebuilt-binary src/runtime/race/*
> +golang source: source-is-missing src/debug/dwarf/testdata/*
> +golang source: source-is-missing src/debug/elf/testdata/*
> +golang source: source-is-missing src/runtime/race/*
> -- 
> 2.1.4
> 


-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-golang-devel/attachments/20160512/990bda0b/attachment.sig>


More information about the pkg-golang-devel mailing list