Hi!
On Wed, 2017-11-08 at 00:35:16 +0000, James Clarke wrote:
> Control: tags -1 patch
>
> On Tue, Nov 07, 2017 at 01:58:23PM +0100, Samuel Thibault wrote:
> > Package: dpkg
> > Version: 1.19.0.4
> > Severity: normal
> > $ locale charmap
> > UTF-8
> > $ mkdir testé
> > $ cd testé
> > $ apt-get source hello
> > $ cd hello-*
> > $ dpkg-buildpackage -b
> >
> > fails with
> >
> > dh clean
> > Can't use string ("0") as a HASH ref while "strict refs" in use at
> > /usr/share/perl5/Dpkg/Vendor/Debian.pm line 397.
> >
> > This is working when using "teste" instead of "testé".
> > This was working with dpkg 1.18.24.
>
> It's not just non-ASCII, it's anything other than a "safe" subset of
> ASCII (i.e. anything that might need escaping). This should fix it:
Right, this was reported on IRC by Mattia Rizzolo, few days before
this was filed, and fixed, although not pushed.
> > --- a/scripts/Dpkg/Vendor/Debian.pm/Debian.pm
> > +++ b/scripts/Dpkg/Vendor/Debian.pm/Debian.pm
> > @@ -204,7 +204,7 @@
> > # so that we do not need to worry about escaping the characters
> > # on output.
> > if ($build_path =~ m/[^-+:.0-9a-zA-Z~\/_]/) {
> > - $use_feature{fixdebugpath} = 0;
> > + $use_feature{reproducible}{fixdebugpath} = 0;
> > }
> > }
Exactly. :) The fix will be included in my next push.
Thanks,
Guillem