From 157546fbc4f18751c52b3c8788879c05cf253331 Mon Sep 17 00:00:00 2001 From: Naveen Saini Date: Mon, 17 Oct 2022 16:02:46 +0800 Subject: [PATCH 3/4] Makefile: fix KeyError failure Error: Exception: KeyError: 'getpwuid(): uid not found: 11857215' Upstream-Status: Inappropriate Signed-off-by: Naveen Saini --- lib/libxdp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libxdp/Makefile b/lib/libxdp/Makefile index 8f459d8..9a340a3 100644 --- a/lib/libxdp/Makefile +++ b/lib/libxdp/Makefile @@ -55,7 +55,7 @@ install: all $(Q)install -d -m 0755 $(DESTDIR)$(BPF_OBJECT_DIR) $(Q)install -m 0644 $(LIB_HEADERS) $(DESTDIR)$(HDRDIR)/ $(Q)install -m 0644 $(PC_FILE) $(DESTDIR)$(LIBDIR)/pkgconfig/ - $(Q)cp -fpR $(SHARED_LIBS) $(STATIC_LIBS) $(DESTDIR)$(LIBDIR) + $(Q)cp -fpR --no-preserve=ownership $(SHARED_LIBS) $(STATIC_LIBS) $(DESTDIR)$(LIBDIR) $(Q)install -m 0755 $(XDP_OBJS) $(DESTDIR)$(BPF_OBJECT_DIR) $(if $(MAN_FILES),$(Q)install -m 0755 -d $(DESTDIR)$(MANDIR)/man3) $(if $(MAN_FILES),$(Q)install -m 0644 $(MAN_FILES) $(DESTDIR)$(MANDIR)/man3) -- 2.25.1