libarchive looks for ext2fs headers during configure, and if it finds them it will expect to find them during compile, or on the rare occasion when they aren't it will fail: libarchive/archive_entry.c:59:55: fatal error: ext2fs/ext2_fs.h: No such file or directory There is no way to hard-disable this dependency. Equally though just adding e2fsprogs to DEPENDS is problematic: 1) It adds time to the build, and since all that libarchive needs is the header (for some constant values) it's a little bit extreme to require e2fsprogs to be fully compiled just to provide the header. 2) nativesdk-e2fsprogs didn't build last time I tried My proposed solution is to use the header files from e2fsprogs-native, since that's most likely to be built anyway as part of a normal build.
Fix merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f0b9a7cf9f80be1917e45266fa201f464a28c1e5