[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Slow 'daily-build' command (Was: Bug#1091366: debian-installer: No graphical mode in sid)



Hi,

Roland Clobus <rclobus@rclobus.nl> (2024-12-24):
> On 24/12/2024 20:19, Cyril Brulebois wrote:
> > Building with daily-build seems super slow for no obvious reasons, so I've
> > just tried a regular `dpkg-buildpackage -b` instead, and I can replicate
> > the issue with files below build/dest/cdrom/gtk after the build.
> 
> I've seen this slow building too.
> It looks like the Makefile (despite the ifndef-guard) is calling
> 'dpkg-architecture' really often.
> 
> This runs within a second:
> LC_ALL=C DEB_HOST_ARCH=amd64 DEB_HOST_ARCH_OS=linux DEB_HOST_GNU_CPU=x86_64
> DEB_HOST_GNU_SYSTEM=linux-gnu DEB_HOST_MULTIARCH=x86_64-linux-gnu time make
> reallyclean
> 
> whereas this takes minutes (even though it was run after the previous
> command):
> LC_ALL=C time make reallyclean

daily-build calls `make all_list`, which is nice to reproduce the issue
(it's mostly Makefile-based introspection).

With the brand new make in unstable, that looked like an easy target,
and it is indeed: after downgrading make to testing's version in my sid
chroot, `make all_list` only takes a few seconds, as expected.

If someone wants to pick that up, `make -d all_list` gives a lot of
details about what's happening inside make.


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature


Reply to: