Bug#358255: [Pbuilder-maint] Bug#358255: Make pbuilder fail with a meaningful error when .changes file is used instead of .dsc

Junichi Uekawa dancer at netfort.gr.jp
Thu Mar 23 23:19:15 UTC 2006


Hi,

> Please add a check to pbuilder to make it recognize if the .changes file is
> used instead of the .dsc file in the "pbuilder build <file>" command and fail
> with a meaningful warning.
> 
> Thank you,
> 
> Alex.
> 
> P.S.: Yes, I did foolishly try to build using the .changes file and, of
> course, pbuilder was trying to use the package category "web" or "graphics" or
> whatever I was building as a file name and failed with a message like this:

Heh. that might be a good idea.
I can't think up of any reliable way to check it. There are options

1. checking the name ends with .dsc

	is .dsc the only valid exception ever?

2. checking the contents

	check against what? is this method fragile?




regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project




More information about the Pbuilder-maint mailing list