2. The sed _expression_ that filters these messages out is not anchored, so it depends on some uncertain greedyness properties of the regex system
3. The blank line left behind by the sed _expression_ is turning into a space at the beginning of the value assigned to pkg_config. Is this new? I don't know.
I'm not sure which of these elements changed, but something did. I guess I'm not even sure about that. The symptom of this bug is messages like this:
pkg_config=`debian/hlibrary.setup register --builddir=dist-ghc --gen-pkg-config | sed -r 's,.*: ,,'` ; \
dh_haskell_extra_depends $pkg_config ; \
rm $pkg_config
Installed package description file Creating can not be found
rm: cannot remove `Creating': No such file or directory
rm: cannot remove `package': No such file or directory
rm: cannot remove `registration': No such file or directory
rm: cannot remove `file:': No such file or directory
make: *** [debian/extra-depends] Error 1
dpkg-buildpackage: error: debian/rules binary gave error exit status 2