Error creating debian sources xojo

Hi, I’m trying to create a debian package from source of xojo. I’m using the command “dpkg-buildpackage -us -uc” that in the shell when it comes to dh_install gives me this error:

Runtime Error
Please report what caused this error along with the information below.
Common/ObjectGlue.cpp: 168
Failure Condition: mClassPtr

What am I doing wrong?