Am Samstag, den 07.06.2008, 16:46 +0200 schrieb Raphael Hertzog:
> On Sat, 07 Jun 2008, Daniel Leidert wrote:
> > I built expat 2.0.1-1. dpkg-source added the .orig.tar.gz to the .dsc
> > file. But dpkg-genchanges did not include the .orig tarball to the
> > .changes file. This resulted in an incomplete upload and dget failed to
> > retreive the source, because it missed the .orig.tar.gz.
> > 
> > I guess, that the issue is related to the fact, that there is an entry
> > for version 2.0.1-0ubuntu1 in the changelog, but I did not yet examine
> > it. I will provide more information if possible.
> 
> Your diagnostic is right and reading the manual page of dpkg-genchanges
> would have confirmed it.

The man-page does not contain such an information. Please take a look at
it yourself. If this information is part of a different man-page, then
you should add a see-also section.

> The current approximation is right in more cases than the previous one
> (which included the source for all -0, -0.1 and -1 uploads). -1 uploads
> after -0.1 NMU would have included upstream sources while it was not
> desired, now it detects that the previous changelog entry is the same
> upstream version and doesn't include the sources by default.
> 
> Please use "-sa" if you want to force the inclusion of .orig. files
> because you included changelog entries that do not concern Debian.

This is the workaround I used.

> Thus closing the bug unless you have a better suggestion on how to
> reliably detect if a package has already been uploaded to Debian
> beforehand.

Maybe a one-line information, that checks for a situation like this one
(no need to be perfect), can be output by dpkg-genchanges to make
maintainers aware of this behaviour. I really did not expect this
behaviour.

Regards, Daniel




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to