Your message dated Thu, 27 Oct 2016 18:29:12 +0000
with message-id <e1bzpqo-0007ae...@franck.debian.org>
and subject line Bug#841342: fixed in zshdb 0.92-2
has caused the Debian Bug report #841342,
regarding zshdb: FTBFS under some locales (eg. fr_CH.UTF-8)
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 ow...@bugs.debian.org
immediately.)


-- 
841342: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841342
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: zshdb
Version: 0.92-1
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs locale
Tags: patch
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org


Dear Maintainer,

zshdb fails to build from source in unstable/amd64 under some
locales (eg. LANG="fr_CH.UTF-8").

The code already tries to work around this:

  54 # set the constants readonly
  55 shunit_constants_=`set |grep '^__SHUNIT_' |cut -d= -f1`
  56 echo "${shunit_constants_}" |grep '^Binary file' >/dev/null && \
  57     shunit_constants_=`set |grep -a '^__SHUNIT_' |cut -d= -f1`

… but this doesn't work if the "Binary file" message is in, say, French :)

Changing this:

  - shunit_constants_=`set |grep '^__SHUNIT_' |cut -d= -f1`
  + shunit_constants_=`set |LC_ALL=C grep '^__SHUNIT_' |cut -d= -f1`

… makes this appear to work, but then you get other errors:

--- /tmp/setshow-filtered.check 2016-10-19 18:22:06.324491603 +0200
+++ zshdb-0.92/test/data/setshow.right  2016-07-06 18:47:42.000000000 +0200
@@ -1,4 +1,3 @@
-** pas un tty is not reputed to be a tty.
 (dbg-test2.sh:6):
 fn1 () { echo "fn1 here" x=5 fn3 }

etc. etc.

One solution (attached) is to simply set LC_ALL=C when running the
tests, but that suggests it would still fail at runtime and we are
just masking that issue? I would speak to upstream.

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-

Attachment: zshdb.0.92-1.unstable.amd64.log.txt.gz
Description: Binary data

diff --git a/debian/rules b/debian/rules
index 5639f0e..a3b5d33 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,5 +11,5 @@ override_dh_auto_test:
        # The tests make use of things like the history file, they need a dummy
        # home directory.
        mkdir test_homedir
-       HOME=$(shell pwd)/test_homedir dh_auto_test
+       LC_ALL=C HOME=$(shell pwd)/test_homedir dh_auto_test
        rm -rf test_homedir

--- End Message ---
--- Begin Message ---
Source: zshdb
Source-Version: 0.92-2

We believe that the bug you reported is fixed in the latest version of
zshdb, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 841...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Iain R. Learmonth <i...@debian.org> (supplier of updated zshdb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 27 Oct 2016 03:36:49 +0100
Source: zshdb
Binary: zshdb
Architecture: source all
Version: 0.92-2
Distribution: unstable
Urgency: medium
Maintainer: Iain R. Learmonth <i...@debian.org>
Changed-By: Iain R. Learmonth <i...@debian.org>
Description:
 zshdb      - debugger for Z-Shell scripts
Closes: 841342
Changes:
 zshdb (0.92-2) unstable; urgency=medium
 .
   * Force locale to C for the test suite. (Closes: #841342)
Checksums-Sha1:
 8e7ce70709f9f9c5113c70f8cefd6cb3b3836ccb 1486 zshdb_0.92-2.dsc
 0d8402752e923778c0568a98f4292accb41548a9 3672 zshdb_0.92-2.debian.tar.xz
 164081258a6b7e40786da16231cf9da6040775a8 103910 zshdb_0.92-2_all.deb
Checksums-Sha256:
 a0df7b95396eb6b4243f1b73eff14898ddb767ff31bbd360c810d6a8a7391e86 1486 
zshdb_0.92-2.dsc
 243ae19e77f60173b64c5e3e01455314445b6b23f15790bfca09612a989bf38d 3672 
zshdb_0.92-2.debian.tar.xz
 1cebc8d14a2a5a0c0370ae8a6fbb8bdac3ec0e9896545d6a985d5ead1d51de85 103910 
zshdb_0.92-2_all.deb
Files:
 76f36135bd58b4966b300714b4468a32 1486 devel extra zshdb_0.92-2.dsc
 89e646b43bda6edf3b42a9bbcb06fe82 3672 devel extra zshdb_0.92-2.debian.tar.xz
 a50d06758c3f49ab2e12b9d087e44ad6 103910 devel extra zshdb_0.92-2_all.deb

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJYEjpyAAoJENIXnVuKHtARmNYH/jl9gB5RYsLYAVOxjQ/gbt8z
geticvvHSvKPyWFJGZ6iYiTQEroUVnME8R/IRZf6nASMRj9SR/rhV5IPC+S2e8NF
PiXaJ+woGYC2Ez2+ciZU8+FQ91WPIATiIN1ElLf+nvnkz+OEicnB24VX5WraDgQo
Vug+AeR6z9FTIrfujHhwTSBio7pQ4WzfYH/8T4vHF4MJDruKN03t9Nsy3DiIH2sr
kdNnGWOmuRHJFOas0Uls5bhJwVkb9zfxvXXti/uTZkb5YmSWz01sDc1kF0DEE07G
LRyvbIZ5lHUNGkzs6J7/PW5s2nLbczL/trUYXHKHGeu6la5LLhW9oJelQ1ZT7a4=
=Je/i
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to