mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH] openocd: don't try to autodetect ccache
Date: Wed,  6 Mar 2019 18:13:18 +0100	[thread overview]
Message-ID: <20190306171318.15567-1-rhi@pengutronix.de> (raw)

When ccache is installed, but not setup correctly (which can happen in a
multi-user environment), compilation through ccache fails with errors:

    ccache: error: Failed to create temporary file for
    /home/$myuser/.ccache/6/9/38a65e8588a5ef2f13b83b639a9ec8-3865.manifest.tmp:
    Permission denied

Switch ccache off unconditionally and instead rely on the
PTXCONF_SETUP_CCACHE setting to inject ccache when it is selected in the
ptxdist setup.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 rules/openocd.make | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rules/openocd.make b/rules/openocd.make
index 898f1a98c..192d70a0d 100644
--- a/rules/openocd.make
+++ b/rules/openocd.make
@@ -25,6 +25,8 @@ OPENOCD_LICENSE	:= GPL-2.0-or-later AND BSD
 # ----------------------------------------------------------------------------
 
 OPENOCD_CONF_TOOL	:= autoconf
+OPENOCD_CONF_ENV	:= \
+	CCACHE=none
 OPENOCD_CONF_OPT	:= $(CROSS_AUTOCONF_USR) \
 	--disable-werror \
 	--$(call ptx/endis, PTXCONF_OPENOCD_DUMMY)-dummy \
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2019-03-06 17:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20190306171318.15567-1-rhi@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=ptxdist@pengutronix.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