Hi,

On Thu, 28 Aug 2008, Sven Joachim wrote:
> Package: dpkg-dev
> Version: 1.14.21
> Severity: important
> 
> It seems that dpkg-source is unable to convert existing packages into
> the new 3.0 (quilt) format if these packages do not use quilt already:

Indeed. Here's the patch pushed in lenny branch:
--- a/scripts/Dpkg/Source/Package/V3/quilt.pm
+++ b/scripts/Dpkg/Source/Package/V3/quilt.pm
@@ -106,6 +106,8 @@ sub run_quilt {
         $absdir = File::Spec->rel2abs($dir);
     }
     my $series = $self->get_series_file($dir);
+    # Use default name if no series files exist yet
+    $series = "$absdir/debian/patches/series" unless defined $series;
     unless (File::Spec->file_name_is_absolute($series)) {
         $series = File::Spec->rel2abs($series);
     }

When no series files are existing, get_series_file() returned undef and
the check to make it absolute returned the name of the current directory.
And "/tmp" is not a filename that you can create... hence quilt complained.

Thanks for the bugreport! It would be even nicer if we could those kind of
bugs sooner, it would be nice if we could get a few more persons
running development versions of dpkg. Would you be interested?

We should get some repository with an auto-built dpkg from a "test-build"
branch where we would merge master and lenny until lenny is released and
where we would snapshot master from time to time during the rest of the
time to allow people to test.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/



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

Reply via email to