Debian Bug report logs - #856834
tendermint-go-rpc: FTBFS: panic: Failed to listen to unix:///tmp/go-rpc.sock: listen unix /tmp/go-rpc.sock: bind: address already in use

version graph

Package: src:tendermint-go-rpc; Maintainer for src:tendermint-go-rpc is Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>;

Reported by: Chris Lamb <lamby@debian.org>

Date: Sun, 5 Mar 2017 10:18:04 UTC

Severity: serious

Tags: patch

Found in version tendermint-go-rpc/0.0~git20161021.0.e6e3853-1

Fixed in version 0.0~git20161021.0.e6e3853-2

Done: Mattia Rizzolo <mattia@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>:
Bug#856834; Package src:tendermint-go-rpc. (Sun, 05 Mar 2017 10:18:06 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>. (Sun, 05 Mar 2017 10:18:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: submit@bugs.debian.org
Subject: tendermint-go-rpc: FTBFS: panic: Failed to listen to unix:///tmp/go-rpc.sock: listen unix /tmp/go-rpc.sock: bind: address already in use
Date: Sun, 05 Mar 2017 10:15:40 +0000
[Message part 1 (text/plain, inline)]
Source: tendermint-go-rpc
Version: 0.0~git20161021.0.e6e3853-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Dear Maintainer,

tendermint-go-rpc fails to build from source in unstable/amd64:

  […]

     dh_auto_test -O--buildsystem=golang
  	go test -v -p 1 github.com/tendermint/go-rpc github.com/tendermint/go-rpc/client github.com/tendermint/go-rpc/server github.com/tendermint/go-rpc/test github.com/tendermint/go-rpc/types
  NOTE[03-05|09:51:09] Starting RPC HTTP server on unix socket /tmp/go-rpc.sock module=rpcserver
  panic: Failed to listen to unix:///tmp/go-rpc.sock: listen unix /tmp/go-rpc.sock: bind: address already in use
  
  goroutine 7 [running]:
  panic(0x716fe0, 0xc4200ea1f0)
  	/usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
  github.com/tendermint/go-rpc.init.1.func2(0xc420011c50)
  	«BUILDDIR»/obj-x86_64-linux-gnu/src/github.com/tendermint/go-rpc/rpc_test.go:64 +0x92
  created by github.com/tendermint/go-rpc.init.1
  	«BUILDDIR»/obj-x86_64-linux-gnu/src/github.com/tendermint/go-rpc/rpc_test.go:66 +0x1eb
  exit status 2
  FAIL	github.com/tendermint/go-rpc	0.006s
  ?   	github.com/tendermint/go-rpc/client	[no test files]
  ?   	github.com/tendermint/go-rpc/server	[no test files]
  ?   	github.com/tendermint/go-rpc/test	[no test files]
  ?   	github.com/tendermint/go-rpc/types	[no test files]
  dh_auto_test: go test -v -p 1 github.com/tendermint/go-rpc github.com/tendermint/go-rpc/client github.com/tendermint/go-rpc/server github.com/tendermint/go-rpc/test github.com/tendermint/go-rpc/types returned exit code 1
  debian/rules:4: recipe for target 'build' failed
  make: *** [build] Error 1
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[tendermint-go-rpc.0.0~git20161021.0.e6e3853-1.unstable.amd64.log.txt.gz (application/octet-stream, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>:
Bug#856834; Package src:tendermint-go-rpc. (Mon, 06 Mar 2017 10:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to Jack Henschel <jackdev@mailbox.org>:
Extra info received and forwarded to list. Copy sent to Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>. (Mon, 06 Mar 2017 10:39:03 GMT) (full text, mbox, link).


Message #10 received at 856834@bugs.debian.org (full text, mbox, reply):

From: Jack Henschel <jackdev@mailbox.org>
To: 856834@bugs.debian.org
Subject: Re: Bug#856834: tendermint-go-rpc: FTBFS: panic: Failed to listen to unix:///tmp/go-rpc.sock: listen unix /tmp/go-rpc.sock: bind: address already in use
Date: Mon, 6 Mar 2017 11:36:02 +0100
[Message part 1 (text/plain, inline)]
Control: tag -1 +patch

This problematic is actually documented in the code:

rpc_test.go
> var (
>        tcpAddr  = "tcp://0.0.0.0:46657"
>        unixAddr = "unix:///tmp/go-rpc.sock" // NOTE: must remove file for test to run again
>        websocketEndpoint = "/websocket/endpoint"
> )

Patch is attached and I also pushed a commit onto the branch 'fix-ftbfs-856834' at https://anonscm.debian.org/cgit/pkg-go/packages/tendermint-go-rpc.git

Would be great if someone uploaded the (fixed) package.

Greetings
Jack
[0001-Fix-FTBFS-856834.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Added tag(s) patch. Request was from Jack Henschel <jackdev@mailbox.org> to 856834-submit@bugs.debian.org. (Mon, 06 Mar 2017 10:39:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>:
Bug#856834; Package src:tendermint-go-rpc. (Mon, 06 Mar 2017 19:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Alessio Treglia <alessio@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>. (Mon, 06 Mar 2017 19:45:04 GMT) (full text, mbox, link).


Message #17 received at 856834@bugs.debian.org (full text, mbox, reply):

From: Alessio Treglia <alessio@debian.org>
To: Jack Henschel <jackdev@mailbox.org>, 856834@bugs.debian.org
Subject: Re: [pkg-go] Bug#856834: tendermint-go-rpc: FTBFS: panic: Failed to listen to unix:///tmp/go-rpc.sock: listen unix /tmp/go-rpc.sock: bind: address already in use
Date: Mon, 6 Mar 2017 19:41:57 +0000
On Mon, Mar 6, 2017 at 10:36 AM, Jack Henschel <jackdev@mailbox.org> wrote:
> Would be great if someone uploaded the (fixed) package.

Uploading it right now, thanks!


-- 
Alessio Treglia          | www.alessiotreglia.com
Debian Developer         |     alessio@debian.org
Ubuntu Core Developer    |  quadrispro@ubuntu.com
0416 0004 A827 6E40 BB98 90FB E8A4 8AE5 311D 765A



Reply sent to Mattia Rizzolo <mattia@debian.org>:
You have taken responsibility. (Fri, 10 Mar 2017 21:54:03 GMT) (full text, mbox, link).


Notification sent to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer. (Fri, 10 Mar 2017 21:54:03 GMT) (full text, mbox, link).


Message #22 received at 856834-close@bugs.debian.org (full text, mbox, reply):

From: Mattia Rizzolo <mattia@debian.org>
To: 856834-close@bugs.debian.org
Subject: Re: Bug#856834: [pkg-go] Bug#856834: tendermint-go-rpc: FTBFS: panic: Failed to listen to unix:///tmp/go-rpc.sock: listen unix /tmp/go-rpc.sock: bind: address already in use
Date: Fri, 10 Mar 2017 22:51:19 +0100
[Message part 1 (text/plain, inline)]
Version: 0.0~git20161021.0.e6e3853-2

On Mon, Mar 06, 2017 at 07:41:57PM +0000, Alessio Treglia wrote:
> On Mon, Mar 6, 2017 at 10:36 AM, Jack Henschel <jackdev@mailbox.org> wrote:
> > Would be great if someone uploaded the (fixed) package.
> 
> Uploading it right now, thanks!

And closing this bug (which wasn't closed through the changelog)
https://anonscm.debian.org/cgit/pkg-go/packages/tendermint-go-rpc.git/commit/?id=c39788089e875d2cc0e8da1dc2f1c380cbbc6f81

-- 
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  `-
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 09 Apr 2017 07:27:00 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:48:16 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.