quilt-dev
[Top][All Lists]
Advanced

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

[Quilt-dev] odd push/refresh problem


From: Randy Dunlap
Subject: [Quilt-dev] odd push/refresh problem
Date: Mon, 10 Sep 2018 13:40:28 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0

Hi,

[quilt version 0.65]

Summary: one file in a patch (lib/Makefile) is not part of the updated patch


I'm trying to apply patch 4 (only; the rest aren't needed just to build
lib/generic-radix-tree.c):
https://lore.kernel.org/lkml/address@hidden/

 include/linux/generic-radix-tree.h | 222 +++++++++++++++++++++++++++++
 lib/Makefile                       |   3 +-
 lib/generic-radix-tree.c           | 180 +++++++++++++++++++++++
 3 files changed, 404 insertions(+), 1 deletion(-)


I'm applying the patch to linux-next-20180910.
lib/Makefile does not apply cleanly:

address@hidden:linux-next-20180910> quilt push
Applying patch generic-radix-trees.patch
patching file include/linux/generic-radix-tree.h
patching file lib/Makefile
Hunk #1 FAILED at 38.
1 out of 1 hunk FAILED -- rejects in file lib/Makefile
patching file lib/generic-radix-tree.c
Patch generic-radix-trees.patch does not apply (enforce with -f)
address@hidden:linux-next-20180910> quilt push -f
Applying patch generic-radix-trees.patch
patching file include/linux/generic-radix-tree.h
patching file lib/Makefile
Hunk #1 FAILED at 38.
1 out of 1 hunk FAILED -- saving rejects to file lib/Makefile.rej
patching file lib/generic-radix-tree.c
Applied patch generic-radix-trees.patch (forced; needs refresh)

address@hidden:linux-next-20180910> quilt files | more
include/linux/generic-radix-tree.h
lib/generic-radix-tree.c

<fix lib/Makefile hunk failure>

address@hidden:linux-next-20180910> quilt ref
Refreshed patch generic-radix-trees.patch
address@hidden:linux-next-20180910> quilt files | more
include/linux/generic-radix-tree.h
lib/generic-radix-tree.c


lib/Makefile is not part of the patch, although diff does see that
generic-radix-tree.o has been added to it:

address@hidden:lib> diff -u Makefile.orig  Makefile
--- Makefile.orig       2018-08-12 13:41:04.000000000 -0700
+++ Makefile    2018-09-10 13:34:23.844918294 -0700
@@ -37,8 +37,9 @@
         bust_spinlocks.o kasprintf.o bitmap.o scatterlist.o \
         gcd.o lcm.o list_sort.o uuid.o flex_array.o iov_iter.o clz_ctz.o \
         bsearch.o find_bit.o llist.o memweight.o kfifo.o \
-        percpu-refcount.o percpu_ida.o rhashtable.o reciprocal_div.o \
-        once.o refcount.o usercopy.o errseq.o bucket_locks.o
+        percpu-refcount.o rhashtable.o reciprocal_div.o \
+        once.o refcount.o usercopy.o errseq.o bucket_locks.o \
+        generic-radix-tree.o


What happened?  Help?

thanks,
-- 
~Randy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]