From: Peter Korsgaard <peter@korsgaard.com>
To: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Francois Perrad <francois.perrad.86@gmail.com>
Subject: Re: [Buildroot] [PATCH 2/2] package/pkg-hare: move cache directory outside of $(HOME)
Date: Tue, 20 Oct 2026 18:43:49 +0200 [thread overview]
Message-ID: <87tsmg8gqi.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20261020120646.1306735-2-thomas.petazzoni@bootlin.com> (Thomas Petazzoni via buildroot's message of "Tue, 20 Oct 2026 14:06:45 +0200")
>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes:
> By default, hare will store its cache directory in $(HOME)/.cache,
> which is a problem as we don't want a Buildroot build to write outside
> of its output directory (to the exception of DL_DIR, of course). The
> build of hare-package packages currently fails with:
> Error creating /home/br-user/.cache/hare: Permission denied
> make[2]: *** [Makefile:15: dbus-introspector] Error 255
> Error creating make[2]: *** Waiting for unfinished jobs....
> /home/br-user/.cache/hare: Permission denied
> make[2]: *** [Makefile:19: dbus-scanner] Error 255
> due to this issue.
> We fix this by passing XDG_CACHE_HOME when building hare-package
> packages.
Do we have reasons to think that this environment variable will only
ever be used by hare packages? If not, then we should perhaps rather do
it globally / in pkg-generic.mk, similar to E.G. how we set GIT_DIR=. ?
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-10-20 16:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-20 12:06 [Buildroot] [PATCH 1/2] package/pkg-hare: refactor build command Thomas Petazzoni via buildroot
2026-10-20 12:06 ` [Buildroot] [PATCH 2/2] package/pkg-hare: move cache directory outside of $(HOME) Thomas Petazzoni via buildroot
2026-10-20 12:55 ` Fiona Klute via buildroot
2026-10-20 13:17 ` Thomas Petazzoni via buildroot
2026-10-20 16:43 ` Peter Korsgaard [this message]
2026-10-20 18:03 ` François PERRAD
2026-10-20 18:19 ` Thomas Petazzoni via buildroot
2026-10-20 18:32 ` Peter Korsgaard
2026-10-20 18:26 ` [Buildroot] [PATCH 1/2] package/pkg-hare: refactor build command François PERRAD
2026-10-20 18:34 ` Peter Korsgaard
2026-10-20 18:42 ` Peter Korsgaard
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=87tsmg8gqi.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@buildroot.org \
--cc=francois.perrad.86@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.