xen-4.17 build failure (av_permissions.h: No such file or directory)


Luca Ceresoli
 

Hello Bruce,

we had this failure on the xen recipe during an AB meta-virt build:

| In file included from xsm/flask/ss/services.c:46:
| ./xsm/flask/include/avc.h:18:10: fatal error: av_permissions.h: No
such file or directory | 18 | #include "av_permissions.h"
| | ^~~~~~~~~~~~~~~~~~

See:
https://autobuilder.yoctoproject.org/typhoon/#/builders/128/builds/1168/steps/17/logs/stdio

According to Alex's analysis it appears to be a race condition in the
xen makefile.

Could you check that?

Best regards,
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


Bruce Ashfield
 

On Thu, Jan 19, 2023 at 8:22 AM Luca Ceresoli <luca.ceresoli@...> wrote:

Hello Bruce,

we had this failure on the xen recipe during an AB meta-virt build:

| In file included from xsm/flask/ss/services.c:46:
| ./xsm/flask/include/avc.h:18:10: fatal error: av_permissions.h: No
such file or directory | 18 | #include "av_permissions.h"
| | ^~~~~~~~~~~~~~~~~~

See:
https://autobuilder.yoctoproject.org/typhoon/#/builders/128/builds/1168/steps/17/logs/stdio

According to Alex's analysis it appears to be a race condition in the
xen makefile.

Could you check that?
We'll have a look!

Outside of doing a lot of builds, i don't suppose there's a specific
way to reproduce the issue ?

Bruce


Best regards,
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II