Hi Helge,

On Sun, Jan 05, 2025 at 11:17:33PM +0100, Helge Deller wrote:
> On 1/4/25 10:27, Niels Thykier wrote:
> > On Sat, 4 Jan 2025 07:49:05 +0100 Helge Deller <del...@gmx.de>
> > wrote:
> > > Package: dpkg Version: 1.22.11
> > > 
> > > dpkg-buildpackage has become incredible slow. This seems to have
> > > started around end of 2024.
> 
> I was able to narrow the issue down.
> make-dfsg (4.4.1-1) is introducing the issue.
> 
> Reverting "make" back down to version 4.3-4.1 solves the issue
> and lets "dpkg-buildpackage" run lightning fast again.
> 
> Looking at the make changelog, this seems related:
>    * New upstream version 4.4. Closes: #1029106.
>      - Exports variables to commands started by $(shell ...).

That is indeed probably the reason; I’ve seen more significant speed
degradation in gcc-mingw-w64 for example (fixed by avoiding recursive
expansions).

Could you qualify “incredible slow”? In my tests, vim fails its tests
so I can’t measure the speed difference, and neomutt went from a 1 min
build in testing (on my 10-year-old system) to 1:30, which is
significant but not incredibly slow in my book. There is a noticeable
pause whenever debian/rules is loaded, so Make is definitely doing too
much work.

I’ll try to come up with a minimal reproducer and forward the issue
upstream.

Regards,

Stephen

Attachment: signature.asc
Description: PGP signature

Reply via email to