Debian Bug report logs -
#10811
Problems with + characters in package names.
Reported by: Gordon Russell <g.russell@dcs.napier.ac.uk>
Date: Mon, 23 Jun 1997 14:03:06 UTC
Severity: normal
Found in version 1.4.0.17
Done: Adam Heath <adam@doogie.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>
:
Bug#10811
; Package dpkg-dev
.
(full text, mbox, link).
Acknowledgement sent to Gordon Russell <g.russell@dcs.napier.ac.uk>
:
New bug report received and forwarded. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>
.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: dpkg-dev
Version: 1.4.0.17
When releasing doc++, /usr/bin/dpkg-source falls over at line 771.
The problem is that "+" is a special character in the regexp, and it
gets very confused. I dont know enough about perl to fix this cleverly,
but as "+" is a legal character for use in package names, and I was
in a bit of a hurry, I threw together a bit of a fix.
I dont have the original to diff the file against any more, so you should
check this hand-waving version carefully, but:
Line 771
< @filesinarchive = map { s/^$epfx/$wpfx/; $_ } @filesinarchive;
< %dirincluded = map { s/^$epfx/$wpfx/; $_=>1 } (keys %dirincluded);
< %notfileobject = map { s/^$epfx/$wpfx/; $_=>1 } keys %notfileobject;
> $eepfx = $epfx;
> $eepfx =~ s/\+/\\\+/g ;
>
> @filesinarchive = map { s/^$eepfx/$wpfx/; $_ } @filesinarchive;
> %dirincluded = map { s/^$eepfx/$wpfx/; $_=>1 } (keys %dirincluded);
> %notfileobject = map { s/^$eepfx/$wpfx/; $_=>1 } keys %notfileobject;
I dont know if this is a good general fix, but I hope it helps.
Gordon.
Reply sent to Adam Heath <adam@doogie.org>
:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Gordon Russell <g.russell@dcs.napier.ac.uk>
:
Bug acknowledged by developer.
(full text, mbox, link).
Message #10 received at 10811-done@bugs.debian.org (full text, mbox, reply):
This was fixed in dpkg 1.4.0.19.
----BEGIN GEEK CODE BLOCK----
Version: 3.12
GCS d- s: a-- c+++ UL++++ P+ L++++ !E W+ M o+ K- W--- !O M- !V PS--
PE++ Y+ PGP++ t* 5++ X+ tv b+ D++ G e h*! !r z?
-----END GEEK CODE BLOCK-----
----BEGIN PGP INFO----
Adam Heath <doogie@debian.org> Finger Print | KeyID
67 01 42 93 CA 37 FB 1E 63 C9 80 1D 08 CF 84 0A | DE656B05 PGP
AD46 C888 F587 F8A3 A6DA 3261 8A2C 7DC2 8BD4 A489 | 8BD4A489 GPG
-----END PGP INFO-----
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat May 4 21:27:36 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.