Bug#793944: haskell-devscripts: please support UTF-8 encoded debian/control files in dh_haskell_depends

Chris Lamb lamby at debian.org
Wed Jul 29 08:36:48 UTC 2015


Source: haskell-devscripts
Version: 0.9.10
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: toolchain
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that haskell-devscripts produces different packages depending on the
build locale.

This is due to grep(1) identifying a file as "binary" and thus returns
"binary file matches" instead of the actual lines that match and
therefore
the substvar files are not populated correctly.

This can be seen in the wild in "haskell-yi-language" where the unicode
ellipsis character in the package long description causes the resulting
package to have — or not have — a Recommends field based on whether it
was built in a UTF-8 locale or not.

The attached patch uses the -a switch to bypass grep's automagic.

 [1]: https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: haskell-devscripts.diff.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20150729/15fa6ced/attachment.txt>


More information about the Pkg-haskell-maintainers mailing list