Wrong error messages for a failed rebuild