Source: golang-github-gin-gonic-gin Version: 1.3.0+dfsg1-2 Severity: serious Tags: ftbfs patch
golang-github-gin-gonic-gin fails to build from source when tzdata is not present in the chroot. While our autobuilders do install it (due to debootstrap installing Priority: required), it is neither essential nor build-essential. If it goes missing, tests fail: | --- FAIL: TestBindingFormForTime (0.00s) | binding_test.go:729: | Error Trace: binding_test.go:729 | binding_test.go:241 | Error: Received unexpected error: | open /usr/lib/go-1.10/lib/time/zoneinfo.zip: no such file or directory | Test: TestBindingFormForTime | binding_test.go:730: | Error Trace: binding_test.go:730 | binding_test.go:241 | Error: Not equal: | expected: 1510675200 | actual : -62135596800 | Test: TestBindingFormForTime | binding_test.go:731: | Error Trace: binding_test.go:731 | binding_test.go:241 | Error: Not equal: | expected: "Asia/Chongqing" | actual : "UTC" | | Diff: | --- Expected | +++ Actual | @@ -1 +1 @@ | -Asia/Chongqing | +UTC | Test: TestBindingFormForTime Please add "tzdata <!nocheck>" to Build-Depends. Helmut