Your message dated Thu, 27 Apr 2017 07:27:00 +0000 with message-id <7cc31feb-8c5a-6e4e-a89f-a9eb18c6db1f@thykier.net> and subject line Re: Bug#861275: unblock: golang-github-spf13-viper/0.0~git20161213.0.5ed0fc3-3 has caused the Debian Bug report #861275, regarding unblock: golang-github-spf13-viper/0.0~git20161213.0.5ed0fc3-3 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.) -- 861275: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861275 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: unblock: golang-github-spf13-viper/0.0~git20161213.0.5ed0fc3-3
- From: "Dr. Tobias Quathamer" <toddy@debian.org>
- Date: Wed, 26 Apr 2017 22:15:17 +0200
- Message-id: <[🔎] 7aa87bff-f2af-9859-2c6f-6677b5157207@debian.org>
Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: unblock Please unblock package golang-github-spf13-viperThe package FTBFS on 32 bit architectures (#860678), detected by Lucas Nussbaum. I've just uploaded a fixed version.unblock golang-github-spf13-viper/0.0~git20161213.0.5ed0fc3-3 Regards, Tobiasdiff -Nru golang-github-spf13-viper-0.0~git20161213.0.5ed0fc3/debian/changelog golang-github-spf13-viper-0.0~git20161213.0.5ed0fc3/debian/changelog --- golang-github-spf13-viper-0.0~git20161213.0.5ed0fc3/debian/changelog 2017-01-02 10:05:21.000000000 +0100 +++ golang-github-spf13-viper-0.0~git20161213.0.5ed0fc3/debian/changelog 2017-04-26 21:57:34.000000000 +0200 @@ -1,3 +1,10 @@ +golang-github-spf13-viper (0.0~git20161213.0.5ed0fc3-3) unstable; urgency=medium + + * Team upload. + * Fix FTBFS on 32 bit architectures. (Closes: #860678) + + -- Dr. Tobias Quathamer <toddy@debian.org> Wed, 26 Apr 2017 21:57:34 +0200 + golang-github-spf13-viper (0.0~git20161213.0.5ed0fc3-2) unstable; urgency=medium * Remove double escape backslashes from debian/watch diff -Nru golang-github-spf13-viper-0.0~git20161213.0.5ed0fc3/debian/patches/0001-Fix-FTBFS-on-32-bit-architectures.patch golang-github-spf13-viper-0.0~git20161213.0.5ed0fc3/debian/patches/0001-Fix-FTBFS-on-32-bit-architectures.patch --- golang-github-spf13-viper-0.0~git20161213.0.5ed0fc3/debian/patches/0001-Fix-FTBFS-on-32-bit-architectures.patch 1970-01-01 01:00:00.000000000 +0100 +++ golang-github-spf13-viper-0.0~git20161213.0.5ed0fc3/debian/patches/0001-Fix-FTBFS-on-32-bit-architectures.patch 2017-04-26 21:56:38.000000000 +0200 @@ -0,0 +1,51 @@ +From: "Dr. Tobias Quathamer" <toddy@debian.org> +Date: Wed, 26 Apr 2017 21:56:15 +0200 +Subject: Fix FTBFS on 32 bit architectures. + +--- + viper.go | 4 +++- + viper_test.go | 8 -------- + 2 files changed, 3 insertions(+), 9 deletions(-) + +diff --git a/viper.go b/viper.go +index 2603c78..b176b8e 100644 +--- a/viper.go ++++ b/viper.go +@@ -605,8 +605,10 @@ func (v *Viper) Get(key string) interface{} { + return cast.ToBool(val) + case string: + return cast.ToString(val) +- case int64, int32, int16, int8, int: ++ case int32, int16, int8, int: + return cast.ToInt(val) ++ case int64: ++ return cast.ToInt64(val) + case float64, float32: + return cast.ToFloat64(val) + case time.Time: +diff --git a/viper_test.go b/viper_test.go +index cd7b65c..189b499 100644 +--- a/viper_test.go ++++ b/viper_test.go +@@ -841,10 +841,6 @@ func TestMergeConfig(t *testing.T) { + t.Fatalf("pop != 37890, = %d", pop) + } + +- if pop := v.GetInt("hello.lagrenum"); pop != 765432101234567 { +- t.Fatalf("lagrenum != 765432101234567, = %d", pop) +- } +- + if pop := v.GetInt64("hello.lagrenum"); pop != int64(765432101234567) { + t.Fatalf("int64 lagrenum != 765432101234567, = %d", pop) + } +@@ -865,10 +861,6 @@ func TestMergeConfig(t *testing.T) { + t.Fatalf("pop != 45000, = %d", pop) + } + +- if pop := v.GetInt("hello.lagrenum"); pop != 7654321001234567 { +- t.Fatalf("lagrenum != 7654321001234567, = %d", pop) +- } +- + if pop := v.GetInt64("hello.lagrenum"); pop != int64(7654321001234567) { + t.Fatalf("int64 lagrenum != 7654321001234567, = %d", pop) + } diff -Nru golang-github-spf13-viper-0.0~git20161213.0.5ed0fc3/debian/patches/series golang-github-spf13-viper-0.0~git20161213.0.5ed0fc3/debian/patches/series --- golang-github-spf13-viper-0.0~git20161213.0.5ed0fc3/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ golang-github-spf13-viper-0.0~git20161213.0.5ed0fc3/debian/patches/series 2017-04-26 21:56:38.000000000 +0200 @@ -0,0 +1 @@ +0001-Fix-FTBFS-on-32-bit-architectures.patchAttachment: signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
- To: "Dr. Tobias Quathamer" <toddy@debian.org>, 861275-done@bugs.debian.org
- Subject: Re: Bug#861275: unblock: golang-github-spf13-viper/0.0~git20161213.0.5ed0fc3-3
- From: Niels Thykier <niels@thykier.net>
- Date: Thu, 27 Apr 2017 07:27:00 +0000
- Message-id: <7cc31feb-8c5a-6e4e-a89f-a9eb18c6db1f@thykier.net>
- In-reply-to: <[🔎] 7aa87bff-f2af-9859-2c6f-6677b5157207@debian.org>
- References: <[🔎] 7aa87bff-f2af-9859-2c6f-6677b5157207@debian.org>
Dr. Tobias Quathamer: > Package: release.debian.org > Severity: normal > User: release.debian.org@packages.debian.org > Usertags: unblock > > Please unblock package golang-github-spf13-viper > > The package FTBFS on 32 bit architectures (#860678), detected by Lucas > Nussbaum. I've just uploaded a fixed version. > > unblock golang-github-spf13-viper/0.0~git20161213.0.5ed0fc3-3 > > Regards, > Tobias Unblocked, thanks. ~Niels
--- End Message ---