Package: dpkg
Version: 1.22.11

dpkg-buildpackage has become incredible slow.
This seems to have started around end of 2024.

When starting any build with "dpkg-buildpackage -B -nc", the problem gets 
visible in the process tree:

13317   13313  /bin/sh -c LC_ALL=C make -Rrnpsf debian/rules debhelper-fail-me
13320   13317  /usr/bin/make -Rrnpsf debian/rules debhelper-fail-me
19106   13320  /bin/sh -c DEB_BUILD_OPTIONS="nocheck parallel=8" 
DEB_BUILD_MAINT_OPTIONS="hardening=+all,-fortify future=+lfs" dpkg-buildflags --get 
OBJCFLAGS_FOR_BUILD
19109   19106  /usr/bin/perl /usr/bin/dpkg-buildflags --get OBJCFLAGS_FOR_BUILD

the "debhelper-fail-me" target (which seems to come automatically) calls over-and-over lots of 
"dpkg-buildflags --get <some_flag>" subprocesses.
This happens very often, and on machines where starting processes is slow (e.g. 
when running qemu-user for a non-native platform) building packages now 
suddenly takes endless time.

There must have been some change in dpkg or debhelper packages (or something 
else) which triggers this changed behavior, as it was not like that a few weeks 
back.

Any idea would be great how to track this down...

Thanks!
Helge

Reply via email to