On Mon, 2020-01-20 at 22:51 +0800, Shengjing Zhu wrote: > On Mon, Jan 20, 2020 at 10:37 PM Ximin Luo wrote: > > This doesn't work for Rust unfortunately, due to features. Based on > > which feature-set is activated, when you depend on a source-package > > you would want to pull in different sets of transitive > > dependencies. > > > > However, a combination of: > > > > 1. implicitly being able to install source packages into /usr/src > > 2. metadata-only binary Packages that can depend on these implicit > > source packages > > This applies to Go too. Currently a source-package's build-depends > usually include those for testing purposes, which are not needed when > building the rdepends. Or we don't test it, or we have a separate > control-filed in source-package..
IIRC the proposals about build-depending on source packages included being able to build-depend on their build-depends. If you could also filter those build-depends by build profiles then that might work. -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part