Example: building the python2 PKGBUILD results in python2 and python2-debug in the local repo, but for some reason only python2-debug remains (e.g. after a partial repo-remove). Then aur-build believes python2 is still available and skip building it.
This is due to the overwrite check, which skips the build if any entry of the aur-build--pkglist output is found:
if (( ${#exists[@]} )); then
printf >&2 '%s: warning: skipping existing package (use -f to overwrite)\n' "$argv0"
create_package=0
printf '%q\n' >&2 "${exists[@]}"
pkglist=("${exists[@]}")
fi