Not sure if this is the correct forum for this, but dpkg-buildpackage
has an issue when a cdbs compliant rules file specifies a deb
destination directory to be different then '..'. The problem comes about
from this part of the dpkg-buildpackage script.

chg=../"$pva.changes"
withecho dpkg-genchanges "$@" >"$chg"

First problem is that the resultant changes file is always going to be
in the parent directory. 

The second problem is that if dh_builddeb built the .deb(s) in someplace
other then .. (as specified by --destdir) then dpkg-genchanges is unable
to find them since dpkg-buildpackage does not allow you to set and pass
the -u parameter to dpkg-genchanges.

Both of these make it really impossible to support building debian
packages in anything other then parent directory.


Perhaps not ideal, but another alternative would be to add a command
line option that disables the whole dpkg-genchanges file creation. 



-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to