[OE-core] [PATCH] meson.bbclass: Fix build issues with /tmp mounted with noexec

Nirbheek Chauhan nirbheek.chauhan at gmail.com
Wed Oct 10 20:32:56 UTC 2018


On Thu, Oct 11, 2018 at 1:50 AM Mark Asselstine
<mark.asselstine at windriver.com> wrote:
> Definitely a bug in that it doesn't propogate as an error.

Note that compiler checks currently never raise an exception, and -1
is the all-inclusive "error condition" for when the size of a variable
could not be determined. Perhaps we should add a kwarg to sizeof()
that forces it to error out if the size could not be determined, or if
an unexpected error occurs.

> On the need to
> always use meson-private, I am 50/50 on that. Since meson respects TMPDIR/TMP/
> TEMP does it really need to handle this directly?
>

The main advantage of using tmpfs for temporary files is obvious,
which is why we try to avoid writing that to meson-private inside the
builddir. As I just commented on the issue, `XDG_RUNTIME_DIR` might be
a good candidate for an exec tmpfs location.



More information about the Openembedded-core mailing list