Add proper reports for roole compilation errors

fix #280