Control: tags -1 patch

Hi,

On Sat, 1 Oct 2016 16:16:05 +0200 Lucas Nussbaum <lu...@debian.org> wrote:
> Source: lhasa
> Version: 0.3.1-1
> Severity: serious
> Tags: stretch sid
> User: debian...@lists.debian.org
> Usertags: qa-ftbfs-20161001 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
[...]
> FAIL: test-file-headers
> =======================
> 
> --- output/larc333/lz4.lzs-hdr.txt    2016-03-30 02:24:28.000000000 +0000
> +++ /tmp/lhasa-test.bbrkwr/hdr.txt    2016-10-01 11:46:04.068000000 +0000
> @@ -5,5 +5,5 @@
>  header_level: 0
>  os_type: 0
>  crc: b6d5
> -timestamp: 1273184274
> +timestamp: 1273187874
>  --
> Output not as expected for larc333/lz4.lzs
> rmdir: failed to remove '/tmp/lhasa-test.bbrkwr': Directory not empty
> FAIL test-file-headers (exit status: 1)

This appears to be due to timezone differences on the build machine.
test/test_common.sh handles this using:

TZ=Europe/London
export TZ

But this doesn't work if tzdata isn't installed!

Applying the attached patch to add tzdata to the build dependencies
fixes this bug for me.

Thanks,
James
diff -ur a/debian/control b/debian/control
--- a/debian/control	2016-03-31 20:08:13.000000000 +0000
+++ b/debian/control	2016-10-11 11:42:20.257704348 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Jonathan Dowland <j...@debian.org>
 Build-Depends: debhelper (>= 9.20120115), automake (>= 1:1.11.3),
-               autoconf (>= 2.68), libtool (>= 2.4.2)
+               autoconf (>= 2.68), libtool (>= 2.4.2), tzdata
 Standards-Version: 3.9.6
 Homepage: http://fragglet.github.com/lhasa/
 Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/lhasa.git

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to