tags 977248 +patch thanks The issue is a change in opencv4.pc, 4.2 has
includedir_old=${prefix}/include/opencv4/opencv includedir_new=${prefix}/include/opencv4 But 4.5 has includedir=${prefix}/include/opencv4 I whipped up a patch for this, soon after doing so I noticed that upstream had also patched it. I tried to make my patch retain compatibility with previous versions, upstream did not seem to bother with that. Anyway upstreams patch can be found at https://github.com/infusion/PHP-Facedetect/commit/e2d7613993e69c660f417194843773a33dfd31ae Mine has been uploaded to raspbian and should appear soon at https://debdiffs.raspbian.org/main/p/php-facedetect No intent to NMU in Debian.