error: patch failed: Rules:145 error: Rules: patch does not apply hint: Use 'git am --show-current-patch=diff' to see the failed patch hint: When you have resolved this problem, run "git am --continue". hint: If you prefer to skip this patch, run "git am --skip" instead. hint: To restore the original branch and stop patching, run "git am --abort". hint: Disable this message with "git config advice.mergeConflict false" Applying: Rules: Also build memcheck tests even when not running them Patch failed at 0001 Rules: Also build memcheck tests even when not running them