On Fri, Dec 11, 2009 at 02:08:36PM +0100, Raphael Hertzog wrote:
> On Fri, 11 Dec 2009, Mike Hommey wrote:
> > On Fri, Dec 11, 2009 at 01:40:34PM +0100, Raphael Hertzog wrote:
> > > On Fri, 11 Dec 2009, Mike Hommey wrote:
> > > > There are currently 2 problems with the way the .orig.tar.gz file is
> > > > extracted during dpkg-source -b:
> > > > - When a package-ver.orig directory pre-exists, it gets removed.
> > > 
> > > With format 1.0, there are many -s* options precisely to control this
> > > (you may want to try -ss or -sk). Those options do not exist anymore with
> > > newer formats however. Newer formats also don't wipe out the .orig dir,
> > > they create temporary directories near the source tree.
> > 
> > The problem is that the .orig directory may not be corresponding to the
> > tarball, and i see no option in dpkg-source that prevents bad things
> > from happening.
> 
> It's also partly due to this that those options are gone in newer formats.
> I think -sk is fine though, it overwrites the .orig but leaves it in
> place.

Overwriting something that is there is considered fine ?
I learnt the bad way that one should not name a directory
package-ver.orig need a package-ver directory, which means I avoid this
problem now, but that definitely doesn't make overwriting a good behaviour.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to