Re: [OE-core][dunfell 08/21] cairo: Do not try to remove nonexistent directories

Steve Sakoman
2020-06-16T20:12:13Z

On Tue, Jun 16, 2020 at 9:49 AM Adrian Bunk <bunk@stusta.de> wrote:
>
> On Mon, Jun 15, 2020 at 09:35:27AM -1000, Steve Sakoman wrote:
> > From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
> >
> > Commit 0e1f8fa0 (bitbake.conf: propagate 'opengl' DISTRO_FEATURE to
> > native/nativesdk from target) changed the default PACKAGECONFIG for
> > native and nativesdk so that it becomes empty unless "x11" is in
> > DISTRO_FEATURES since "trace" was also removed (propbably
> > unintentionally). This highlighted than an empty PACKAGECONFIG would
> > lead to a build failure since /usr/bin is never created under these
> > conditions, but the recipe still tried to remove it.
> >...
>
> Isn't this a fix for a bug that is not in dunfell?

My impression was that while the bitbake.conf change that highlighted
the issue with an empty PACKAGECONFIG isn't in dunfell, the underlying
bug that this change uncovered does exist in dunfell.

I realize it's not too likely that another layer would set an empty
PACKAGECONFIG. But people often cut and paste from oe-core recipes so
it's nice not to have known bugs ;-)

Steve