841342">

Debian Bug report logs - #841342
zshdb: FTBFS under some locales (eg. fr_CH.UTF-8)

version graph

Package: src:zshdb; Maintainer for src:zshdb is (unknown);

Reported by: Chris Lamb <lamby@debian.org>

Date: Wed, 19 Oct 2016 16:27:04 UTC

Severity: serious

Tags: patch

Found in version zshdb/0.92-1

Fixed in version zshdb/0.92-2

Done: irl@debian.org (Iain R. Learmonth)

Bug is archived. No further changes may be made.

Forwarded to https://github.com/rocky/zshdb/issues/8

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, Iain R. Learmonth <irl@debian.org>:
Bug#841342; Package src:zshdb. (Wed, 19 Oct 2016 16:27:07 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Iain R. Learmonth <irl@debian.org>. (Wed, 19 Oct 2016 16:27:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, > 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 > `. `'` lamby@debian.org / chris-lamb.co.uk > `- &subject=Re: zshdb: FTBFS under some locales (eg. fr_CH.UTF-8)">reply):

From: Chris Lamb <lamby@debian.org>
To: submit@bugs.debian.org
Subject: zshdb: FTBFS under some locales (eg. fr_CH.UTF-8)
Date: Wed, 19 Oct 2016 17:26:13 +0100
[Message part 1 (text/plain, inline)]
Source: zshdb
Version: 0.92-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs locale
Tags: patch
X-Debbugs-Cc: reproducible-builds@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
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[zshdb.0.92-1.unstable.amd64.log.txt.gz (application/octet-stream, attachment)]
[zshdb.diff.txt (text/plain, attachment)]

Set Bug forwarded-to-address to 'https://github.com/rocky/zshdb/issues/8'. Request was from "Iain R. Learmonth" <irl@debian.org> to control@bugs.debian.org. (Wed, 19 Oct 2016 19:30:04 GMT) (full text, mbox, link).


Reply sent to irl@debian.org (Iain R. Learmonth):
You have taken responsibility. (Thu, 27 Oct 2016 18:33:06 GMT) (full text, mbox, link).


Notification sent to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer. (Thu, 27 Oct 2016 18:33:06 GMT) (full text, mbox, link).


Message #12 received at 841342-close@bugs.debian.org (full text, mbox, reply):

From: irl@debian.org (Iain R. Learmonth)
To: 841342-close@bugs.debian.org
Subject: Bug#841342: fixed in zshdb 0.92-2
Date: Thu, 27 Oct 2016 18:29:12 +0000
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 841342@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Iain R. Learmonth <irl@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 ftpmaster@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 <irl@debian.org>
Changed-By: Iain R. Learmonth <irl@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-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 05 Dec 2016 09:16:19 GMT) (full text, mbox, link).


Bug unarchived. Request was from Don Armstrong <don@debian.org> to control@bugs.debian.org. (Wed, 07 Dec 2016 02:02:12 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 27 Jan 2017 09:25:21 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 31 00:19:59 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.