In the Haiku configure script, there is a line
targetArch=`package list -i /system/packages/haiku-*.hpkg ...`
This command fails if you have multiple matching packages, I had a
haiku package for hrev54415 and hrev54715 in my /system/packages/
directory and that tripped the configure script up.
I deleted the old package and that fixed the problem for me, but just
wanted to give a heads up if anyone out there can think of a better
solution.