From: Aaron Lindsay <alindsay@codeaurora.org>
To: qemu-devel@nongnu.org
Cc: "Markus Armbruster" <armbru@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Stefan Weil" <sw@weilnetz.de>,
"Paul Brook" <paul@codesourcery.com>,
"Aaron Lindsay" <alindsay@codeaurora.org>
Subject: [Qemu-devel] [PATCH] build: Don't force preserving permissions on config-devices.mak.old
Date: Thu, 19 Oct 2017 16:04:43 -0400 [thread overview]
Message-ID: <1508443483-5429-1-git-send-email-alindsay@codeaurora.org> (raw)
I get the following error when building on an NFSv3 filesystem:
% make -j8
GEN aarch64-softmmu/config-devices.mak.tmp
GEN config-host.h
[snip]
GEN qmp-marshal.c
GEN aarch64-softmmu/config-devices.mak
cp: preserving permissions for ‘aarch64-softmmu/config-devices.mak.old’: Operation not supported
make: *** Deleting file `aarch64-softmmu/config-devices.mak'
GEN qapi-types.c
[snip]
CC scsi/qemu-pr-helper.o
make: *** No rule to make target `config-all-devices.mak', needed by `subdir-aarch64-softmmu'. Stop.
make: *** Waiting for unfinished jobs....
Ideally you would only build on a filesystem with proper support, but I haven't
been able to find a reason why preserving exact permissions is important in
this case.
Signed-off-by: Aaron Lindsay <alindsay@codeaurora.org>
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 9372742..952b6df 100644
--- a/Makefile
+++ b/Makefile
@@ -287,7 +287,7 @@ endif
$(call quiet-command, if test -f $@; then \
if cmp -s $@.old $@; then \
mv $@.tmp $@; \
- cp -p $@ $@.old; \
+ cp $@ $@.old; \
else \
if test -f $@.old; then \
echo "WARNING: $@ (user modified) out of date.";\
@@ -299,7 +299,7 @@ endif
fi; \
else \
mv $@.tmp $@; \
- cp -p $@ $@.old; \
+ cp $@ $@.old; \
fi,"GEN","$@");
defconfig:
--
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
next reply other threads:[~2017-10-19 20:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-19 20:04 Aaron Lindsay [this message]
2017-10-20 9:27 ` [Qemu-devel] [PATCH] build: Don't force preserving permissions on config-devices.mak.old Peter Maydell
2017-10-20 18:24 ` alindsay
2017-10-20 19:08 ` Stefan Weil
2017-10-21 10:19 ` Peter Maydell
2017-11-10 8:48 ` Markus Armbruster
2017-10-20 10:38 ` Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1508443483-5429-1-git-send-email-alindsay@codeaurora.org \
--to=alindsay@codeaurora.org \
--cc=armbru@redhat.com \
--cc=kraxel@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=paul@codesourcery.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=sw@weilnetz.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).