The problem is that with the bookworm version, the commit https://github.com/istopwg/ippsample/commit/6a7111610948c91185899aaa909b76e5229406fc was included, which depends on libcups3 which is still in pre-release phase, and the library is not included with the package. Please consider reverting to Debian revision 0.0~git20220215.f365352-1 for both unstable and bookworm, which builds with the cups version available in Debian.