poppler-private header missing?
There is a bugreport https://bugzilla.opensuse.org/show_bug.cgi?id=1199050 that might concern poppler: In version 22.04 building an emacs tool (pdf-tools) fails, because the 22.04 version of poppler did not bring private headers. I downloaded and built v 22.04 from your website and can (sort of) confirm that the openSUSE packaging wasn't the culprit. But then, I'm not a programmer, so please have a look into the issue.