On Wed, Nov 08, 2006 at 11:57:42PM +0100, Bill Allombert wrote:
> On Tue, Nov 07, 2006 at 06:04:19AM +0000, Julian Gilbey wrote:
> > > dpkg-genchanges -b
> > > dpkg-genchanges: warning: package pari-doc in control file but not in
> > > files list
> >
> > Are you *sure* you did "debuild -b -B" and not "debuild -B -b"? The
> > latter fails in exactly the way you describe, and is the same as the
> > behaviour of dpkg-buildpackage itself. "debuild -b -B" works
> > perfectly, calling dpkg-genchanges -B as desired.
>
> I really don't know, there are no trace of that in the log.
> I did not expect that would matter.
Sadly it does.
> > You may want to file this as a bug against dpkg-buildpackage.
>
> Any opinion why dpkg-buildpackage behave that way ?
Yes, it doesn't expect people to use both -b and -B, rather either one
or the other. The dpkg-buildpackage code reads:
binarytarget=binary
checkbuilddep_args=''
[...]
[parsing arguments:]
[...]
-b) binaryonly=-b; [ "$sourceonly" ] && \
{ echo >&2 "$progname: cannot combine $1 and -S" ; exit
2 ; } ;;
-B) binaryonly=-B; checkbuilddep_args=-B; binarytarget=binary-arch;
[ "$sourceonly" ] && \
{ echo >&2 "$progname: cannot combine $1 and -S" ; exit
2 ; } ;;
[...]
Note that -b does not undo the changes made by -B.
I've cloned this bug against dpkg-dev and provided a patch for it.
I've also fixed the debuild behaviour.
Julian
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]