I'm going to guess that we are missing the causative error. It appears the first message in your listing is already beyond it:
Code:
/usr/sbin/pkg_add: fatal issues in installing gdbm-1.8.3p0
*** Error code 1
Please do not use [php] tags, use [code] tags instead.