[build] check for ENODATA