[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Why won't patch create new files?

I'm trying to use `dpkg-source -x' but it is refusing to create files
from the diff that do not exist in the original.  For example:

dpkg-source -x /cdrom/debian/hamm/hamm/source/utils/patch_2.5-2.dsc
dpkg-source: extracting patch in patch-2.5
The text leading up to this was:
|--- patch-2.5.orig/debian/control
|+++ patch-2.5/debian/control
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
[... cut ...]
dpkg-source: failure: patch gave error exit status 1

When dpkg-source exits, the debian directory in patch-2.5 has not
been created.

  patch           2.5-2

I can't believe this is a general problem, or no-one would be able to
unpack source; on the other hand, there is no option in patch's manual
page to let it create missing file and directories.  Can anyone tell me
what I need to fix?

Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
               PGP key from public servers; key ID 32B8FAA1
     "Behold, I stand at the door, and knock; if any man 
      hear my voice, and open the door, I will come in to 
      him, and will sup with him, and he with me."       
                                   Revelation 3:20 

Reply to: