Bug#1009873: haskell-devscripts: imports missing for encode_utf8 in dh_haskell_* scripts

Scott Talbert swt at techie.net
Tue Apr 19 17:12:35 BST 2022


Package: haskell-devscripts
Version: 0.16.11
Severity: important

Dear Maintainer,

While attempting to build an updated version of haskell-attoparsec, I
ran into the following error:

Creating package registration directory: attoparsec-0.14.4.conf
Undefined subroutine &main::encode_utf8 called at /usr/bin/dh_haskell_install_ghc_registration line 59.
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:171: install/libghc-attoparsec-dev] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

It appears that dh_haskell_install_ghc_registration and several other of the
dh_haskell_* scripts are missing a:
use Unicode::UTF8 qw(encode_utf8);

Thanks,
Scott



More information about the Pkg-haskell-maintainers mailing list