Bug#31508: parsechangelog broken?
> Package: dpkg-dev
> Version: 1.4.1
> Severity: important
>
> Without the attached patch, I am unable to build packages with
> dpkg-buildpackage.
>
> Christian
> [...]
You've got a bug all right, but the problem was that you were using a
non-English locale and controllib.pl assumes that you will get English
error messages. The following patch will fix the problem.
Wichert or someone else: could you please rebuild dpkg and upload it
with this patch? It is a bit much for me to download for such a small
bug.
Julian
--- controllib.pl.orig Fri Jan 15 01:08:51 1999
+++ controllib.pl Fri Jan 15 01:10:15 1999
@@ -1,3 +1,4 @@
+use POSIX qw(:errno_h);
$parsechangelog= 'dpkg-parsechangelog';
@@ -101,7 +102,7 @@
$substvar{$1}= $';
}
close(SV);
- } elsif ($! !~ m/no such file or directory/i) {
+ } elsif ($! != ENOENT) {
&error("unable to open substvars file $varlistfile: $!");
}
}
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey Email: J.D.Gilbey@qmw.ac.uk
Dept of Mathematical Sciences, Queen Mary & Westfield College,
Mile End Road, London E1 4NS, ENGLAND
-*- Finger jdg@goedel.maths.qmw.ac.uk for my PGP public key. -*-
Reply to: