Are you sure this isn't marked as "checking return value mandatory" on Ubuntu? They tend to like doing that.