Self dependent package, build profiles & buildd servers
Hello,
I already read a few times the page on the DEB_BUILD_PROFILES [1] but I still
don't really get it on how it actually works when one package has a self
dependency.
I have a package, let's name it "src-pkg", that needs to be built first to
create the binary package, let's name it "bin-pkg-A".
Once this "bin-pkg-A" is ready, I have to build another binary package (still
from src-pkg but with other configure options) that would be named "bin-pkg-
B".
In the end, both binary packages are to be available, because "bin-pkg-B" will
depend on "bin-pkg-A".
For now, I proceed with 2 runs of dpkg-buildpackage, each with its own
DEB_BUILD_PROFILES value. This will produce 2 *.changes files.
Is it possible to have both of them built in one single dpkg-buildpackage run
and produce a single *.changes file containing everything?
How does is this actually managed on the official buildd servers? How does it
actually know which DEB_BUILD_PROFILES to apply on each run?
Thank you
Fab
[1]: https://wiki.debian.org/BuildProfileSpec
Reply to: