Problem is related to not having vsnprintf/snprintf on host system (in my case, solaris 2.5.1). The first patch fixes this problem in rpm. You will also need to apply the second patch to the openpkg.spec. Hope this helps someone else out there.
rpm.patch.snprintf
Description: Binary data
openpkg.spec.patch
Description: Binary data
