I don't understand why this bug has come back. The error is here:
checking how to run the C++ preprocessor... g++ -E checking whether g++ supports C++11 features by default... yes checking for OPENCV... no checking for OPENCV... no checking for OPENCV... no configure: error: opencv not found. Not using some image processing. tail -v -n \+0 config.log ==> config.log <== because opencv 4.1.2 dropped the pkg-config file. But opencv 4.1.2+dfsg-4 reintroduced the file (#942562) and now I can compile with pbuilder and opencv 4.1.2 without any issue. checking dependency style of g++... (cached) none checking how to run the C++ preprocessor... g++ -E checking whether g++ supports C++11 features by default... yes checking for OPENCV... no checking for OPENCV... no checking for OPENCV... yes checking for LIBRAW... yes checking for LIBTIFF... yes checking for jpeg_mem_src in -ljpeg... yes checking for LIBPNG... yes