On 2025-04-27 Helmut Grohne <hel...@subdivi.de> wrote: > Source: gnupg2 > Version: 2.4.7-3 > Severity: important > Justification: breaks architecture cross bootstrap > Tags: patch
> gnupg2 recently gained a new dependency on libtss-dev. This in turn > pulls e.g. libftdi1-dev, which requires boost and numpy and stuff. There > is no chance we can make this all build. I looked into reducing [...] > I first tried to build gnupg2 without tpm2daemon leaving much else in > place, but I failed at doing this in a reproducible way. Once accepting > that gnupg2 needs a build profile, disabling as much as possible > actually is beneficial. [...] Hello Helmut, just to doublecheck that I have the gist of it: You propose to add a pkg.gnupg2.gpgvonly build-profile because - gnupg2 breaks bootstrapping, deps are huge. - You only need gpgv for bootstrapping. - It is beneficial to have a minimal profile instead of of profile that only throws out the most problematic part (tss) because the less required deps the component (gnupg) has the simpler bootstrapping gets. Regarding the patch: Personally I do not like the debian/rules changes. The file alread is Byzantine and this adds another 4 ifdefs. How about changing this to #ifdef normal build #else gpgv-only #endif Proposed diff (for 2.4.7-16) attached. (I have looked over the buildlogs for your variant and this one and did not see a significant difference.) cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' q`I sew his ears on from time to time, sure'