build failure on musl. missing <sys/sysmacros.h>
Username: Alessandro Rosetti
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1007
Supply the following if possible:
- Device problem occurs on
lantiq w8970
- Software versions of LEDE release, packages, etc.
17.01 branch
- Steps to reproduce
-
try to build image
-
fails to build e2fsprogs and more.
I have this problem on other packages that require this include <sys/sysmacros.h>. package builds if I manually add the include.
I’m using musl, the source should include sysmacros.h :
https://github.com/davidlazar/musl/blob/master/include/sys/types.h
macro _GNU_SOURCE is not defined an so sys/sysmacros.h is not included and packages don’t build. should it be?
look at the log for build errors.