On 2022-09-17 10:25 +0800, Paul Wise wrote:
On Fri, 2022-09-16 at 19:53 +0200, Fab Stz wrote:
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?
The Debian buildds currently do not have support for build profiles,
for now build profiles are only for bootstrappers/porters/maintainers.
It sounds like you are going to have to fix the upstream build system
to use the first build products during the second build product build.
As Paul says, build profiles will not help here if you have to do this
_every time_ you build the package, as opposed to doing it once, then
using that to build the real package the first time in order to get it
ready for the archive. i.e. build profiles are for bootstrapping, and the results do not end up in the archive.
The normal way to fix this in Debian is for the debian build to run
the build twice, using the components built on the first run for the
second run. Can you do this easily, or do they have to be installed in
system paths to work?
You can also have the debian build run the build twice, one producing
pkg-A and one producing pkg-B, so that both end up in the
archive. Binutils is an example of a package that does this (building
both native and cross versions).
Wookey
--
Principal hats: Debian, Wookware, ARM
http://wookware.org/
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEER4nvI8Pe/wVWh5yq+4YyUahvnkcFAmMljAMACgkQ+4YyUahv nkdfuQ/9Erc0XPjn4y8HgmW2yf4lhhn7hu2/CekSj7vB9oInQjCkd9sEV519EtT/ BD1Y2F2wnoZakUf/VLf/n4kqoufiNyOGpaR85gX8bkFXWvv1LiULohQBxUM+IwTg /2V/NuiRTG8/PXZjVl4fQLhvANST9EKeCHL9Ave04hIlSpYAiOB7PRVa/ACR4fbq 4BCPgdHqJyjNusbe/lGQCKqRQXWFh1ZeopcEsNLBrCjidocqhuBlvUdNaG241vAv 3OsPGDV7Q+NsiMFQgAOzBh3r9iaHxxYdairCr2X1JCbR2/m1NRZAPOAG/SYVuyUi tc4yGRkkx3PjTl+5ieblfyZczBdZs9DuXuIihzmpel+C9HZsKi+0mBs2M1Js1Swq 4l7/+hWOY1X+c6m5UWztZqgcXWgcLYNIH5sSCHr/n8dwJyIEuQ7Jher2KpDp8Rqb yAqCQXAXUoydSdenFCAKEw9GtzGwI7Jlj9DzhKP//VLNemenKriPtZR1fZnzQPLH Rx51ioMm7IYgahK6qCG+Dlsa95b2jpBFBvpEG8P0kgbmYOydVrelyUeloh2d3qXj SNjzTBIUO9Plj4MzkZ0AmAcrDkrHgd3q8PmXr7T7ImcAqVjnzACuiu+RnsVHAvIL Do8dDsfVYMaASIbjNYcFgC7SfhvQDRVyDvocClVSf+yJVClvbj4=
=92ER
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)