[pkg-go] Bug#835336: influxdb: FTBFS in testing (go generate returned exit code 1)

2016-10-03 Thread Guillem Jover
Control: tag -1 patch

On Wed, 2016-08-24 at 16:03:09 +0200, Santiago Vila wrote:
> Package: src:influxdb
> Version: 0.13.0+dfsg1-4
> Severity: serious

> I tried to build this package on stretch with dpkg-buildpackage -A and
> sbuild and it failed with an error like this:
> 
> --
> go generate -v -ldflags=-X main.version=0.13.0 github.com/[...]
>  [ very long list, see attach for details] returned exit code 1
> --
> 
> I attach five different build logs on two different virtual machines.
> The builds were made on a virtual machine having either 6GB or 3GB of RAM,
> and 4GB of swap.
> 
> I was able to build version 0.10.2+dfsg1-2 without problems.

This is a problem with the statik generator which seems to be unable
to cope with the generated file existing already. Attached a patch
fixing this issues.

Thanks,
Guillem
diff --git a/debian/rules b/debian/rules
index 1254fe4..779bdd1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,6 +37,9 @@ override_dh_auto_configure:
 	cp -v $(SOURCE)/influxql/*.tmpl* _build/src/$(DH_GOPKG)/influxql
 	cp -v $(SOURCE)/influxql/tmpldata _build/src/$(DH_GOPKG)/influxql
 
+	# Remove statik files, latest version cannot cope.
+	rm -f _build/src/github.com/influxdata/influxdb/services/admin/statik/statik.go
+
 # influxdb version
 DEB_VERSION := $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog --show-field Version)
 DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-)
___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

[pkg-go] Bug#835336: influxdb: FTBFS in testing (go generate returned exit code 1)

2016-08-24 Thread Santiago Vila
Package: src:influxdb
Version: 0.13.0+dfsg1-4
Severity: serious

Dear maintainer:

I tried to build this package on stretch with dpkg-buildpackage -A and
sbuild and it failed with an error like this:

--
go generate -v -ldflags=-X main.version=0.13.0 github.com/[...]
 [ very long list, see attach for details] returned exit code 1
--

I attach five different build logs on two different virtual machines.
The builds were made on a virtual machine having either 6GB or 3GB of RAM,
and 4GB of swap.

I was able to build version 0.10.2+dfsg1-2 without problems.

Thanks.

influxdb_0.13.0+dfsg1-4_amd64-20160803T1310Z.gz
Description: application/gzip


influxdb_0.13.0+dfsg1-4_amd64-20160814T1213Z.gz
Description: application/gzip


influxdb_0.13.0+dfsg1-4_amd64-20160824T090803Z.gz
Description: application/gzip


influxdb_0.13.0+dfsg1-4_amd64-20160824T104824Z.gz
Description: application/gzip


influxdb_0.13.0+dfsg1-4_amd64-20160824T104832Z.gz
Description: application/gzip
___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers