The src-generator program must be built natively since it is executed during the build. This requires installing libxml2 and glib with BDEPEND.
The build system isn't smart enough to handle this, though, so it needs to be compiled separately. (If the build system was correct, libxml2 could be removed from DEPEND.) I'll attach a patch that fixes the issue.
Created attachment 679515 [details, diff]