clang FTBFS [-Wreturn-type] buildlogs + patch