This is an issue in firefox (#1908791), it declares that it provides the libraries but they somehow are not available when the build of xournalpp tries to use them.
Btw, it is interesting that evince passes.
I'm setting dependency on the firefox bug for now.