retitle 251673 parsechangelog fails if Maintainer: formatted wrong thanks The problem is IMHO real, but it's not necessarily equivs which should be fixed. Perhaps a better solution would be for dpkg-parsechangelog to issue a more candid error message about the nature of the error.
/usr/lib/dpkg/parsechangelog/debian line 146 has the regex /^ \-\- (.*) <(.*)> ((\w+\,\s*)?\...((:datestamp:))/ which seems to imply that /(.*) <(.*)>/ would be a suitable regex for checking Maintainer: -- but again, proper encapsulation would dictate that this information should not be duplicated in the equivs code. Error handling aside, maybe the instructions in template.ctl could be even more explicit about the required format for this field. Possibly a crude syntax checker for the control file could be devised; that should certainly handle all of #219188, #251673, and #247974. vnix$ cat 251673.changelog j2re1.4 (1.4) unstable; urgency=low * Test case for #251673 -- [EMAIL PROTECTED] Sun, 30 May 2004 08:58:58 +0200 vnix$ dpkg-parsechangelog -l251673.changelog parsechangelog/debian: error: badly formatted trailer line, at file 251673.changelog line 11 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]