SHARE
TWEET

dump patch failure

fukawi2 Jan 18th, 2015 187 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ~/aur-packages/dump $ cat restore-rmdir.patch
  2. --- restore/restore.c   2015-01-19 10:50:21.629933524 +1100
  3. +++ restore/restore.c   2015-01-19 10:51:09.219934850 +1100
  4. @@ -593,7 +593,7 @@
  5.                                         if (np->e_type == LEAF) {
  6.                                                 removeleaf(np);
  7.                                                 freeentry(np);
  8. -                                       } else {
  9. +                                       } else if (np->e_ino != 0) {
  10.                                                 np->e_flags |= TMPNAME;
  11.                                                 deleteino(np->e_ino);
  12.                                                 np->e_next = removelist;
  13. ~/aur-packages/dump $ makepkg
  14. ==> Making package: dump 0.4b44-3 (Mon Jan 19 11:00:06 AEDT 2015)
  15. ==> Checking runtime dependencies...
  16. ==> Checking buildtime dependencies...
  17. ==> Retrieving sources...
  18.   -> Found dump-0.4b44.tar.gz
  19.   -> Found dump-buildfix.patch
  20.   -> Found autoreconf.patch
  21.   -> Found restore-rmdir.patch
  22. ==> Validating source files with md5sums...
  23.     dump-0.4b44.tar.gz ... Passed
  24.     dump-buildfix.patch ... Passed
  25.     autoreconf.patch ... Passed
  26.     restore-rmdir.patch ... Passed
  27. ==> Extracting sources...
  28.   -> Extracting dump-0.4b44.tar.gz with bsdtar
  29. ==> Removing existing $pkgdir/ directory...
  30. ==> Starting build()...
  31. can't find file to patch at input line 3
  32. Perhaps you should have used the -p or --strip option?
  33. The text leading up to this was:
  34. --------------------------
  35. |--- restore/restore.c  2015-01-19 10:50:21.629933524 +1100
  36. |+++ restore/restore.c  2015-01-19 10:51:09.219934850 +1100
  37. --------------------------
  38. File to patch:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top