Source: golang-github-mailru-easyjson Version: 0.7.0-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
golang-github-mailru-easyjson fails to cross build from source. The immediate failure is due to the golang-go dependency, for which there is no agreed solution yet, so we ignore that issue here. Continuing from there, it attempts running tests despite DEB_BUILD_OPTIONS=nocheck and fails. So this bug only asks for fixing DEB_BUILD_OPTIONS=nocheck. Please consider applying the attached patch and close this bug when doing so. Helmut
diff --minimal -Nru golang-github-mailru-easyjson-0.7.0/debian/changelog golang-github-mailru-easyjson-0.7.0/debian/changelog --- golang-github-mailru-easyjson-0.7.0/debian/changelog 2020-01-15 01:13:06.000000000 +0100 +++ golang-github-mailru-easyjson-0.7.0/debian/changelog 2020-05-14 15:18:33.000000000 +0200 @@ -1,3 +1,10 @@ +golang-github-mailru-easyjson (0.7.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 14 May 2020 15:18:33 +0200 + golang-github-mailru-easyjson (0.7.0-1) unstable; urgency=medium * Team upload. diff --minimal -Nru golang-github-mailru-easyjson-0.7.0/debian/rules golang-github-mailru-easyjson-0.7.0/debian/rules --- golang-github-mailru-easyjson-0.7.0/debian/rules 2020-01-15 01:13:06.000000000 +0100 +++ golang-github-mailru-easyjson-0.7.0/debian/rules 2020-05-14 15:08:48.000000000 +0200 @@ -3,7 +3,11 @@ %: dh $@ --buildsystem=golang --with=golang --builddirectory=build +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) override_dh_auto_test: generate +else +override_dh_auto_test: +endif PKG = github.com/mailru/easyjson BIN = $(CURDIR)/build/bin