]> code.ossystems Code Review - openembedded-core.git/commit
meson.bblcass: Remove empty egg-info directories before running meson
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Mon, 25 Oct 2021 14:07:13 +0000 (16:07 +0200)
committerAnuj Mittal <anuj.mittal@intel.com>
Tue, 2 Nov 2021 16:40:35 +0000 (00:40 +0800)
commit0abc761e84ea25a4acc7633eb9b5c8ae73120116
treed49e8608124767be5db6fbcbe581667a3c270fd2
parent51c6c16e2342a13874124d9364d92b340cb002ed
meson.bblcass: Remove empty egg-info directories before running meson

sstate.bbclass no longer removes empty directories to avoid a race (see
commit 4f94d929 "sstate/staging: Handle directory creation race issue").
Unfortunately Python apparently treats an empty egg-info directory as if
the version it previously contained still exists and fails if a newer
version is required, which Meson does. To avoid this, make sure there
are no empty egg-info directories from previous versions left behind.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 47d9d90b4ec7d04d6f3f1a9b97c0ab7f1264a88e)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/meson.bbclass