Hi Sascha, On Fri, 15 Mar 2019 19:25:28 +0100 Ivo De Decker <iv...@debian.org> wrote: > The built-using field has to refer to the source package, not the binary > package, so the reference to libbam-dev in the Built-Using header is wrong. > A package with a non-existant reference in built-using will be rejected by the > archive.
this is how I set Built-Using in src:pocl debian/control: Built-Using: ${Built-Using:clang}, debian/rules: override_dh_gencontrol: dh_gencontrol -- \ -V'Built-Using:clang=$(shell dpkg-query -f '$${source:Package} (= $${source:Version})' -W libclang-$(LLVM_VERSION)-dev)' \ This should be easily adjustable for your use case. Andreas