agnosticbin2: log an error when a link fails

Change-Id: I34f1033e9497756e50065173948d9e2fedc1ba42