Wind River Support Network

HomeDefectsLIN9-1587
Not to be fixed

LIN9-1587 : e2fsprogs race with magic.h creation from 'file' package

Created: Sep 16, 2016    Updated: Mar 6, 2019
Resolved Date: Feb 20, 2019
Found In Version: unknown
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Userspace

Description

Setup a project and build e2fsprogs.
We might meet the following error. And it's very likely that it's a race problem.

../../../git/lib/support/plausible.c:33:19: fatal error: magic.h: No such file or directory
 #include <magic.h>
                   ^
compilation terminated.
make[2]: *** [Makefile:376: plausible.o] Error 1 

Workaround

rebuild, it appears to be a rare failure that has only been seen once this year.

Steps to Reproduce

configure --enable-board=intel-x86-32 --enable-kernel=standard --enable-rootfs=glibc-std+installer-support ...
make
Live chat
Online