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

Adrian Bunk
2020-06-18T00:11:59Z

On Tue, Jun 16, 2020 at 10:11:57AM -1000, Steve Sakoman wrote:
> 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 failed to reproduce the problem in dunfell, but the change looks
harmless enough that adding it to dunfell it is unlikely to cause
problems.

> Steve

cu
Adrian