Re: [GIT PULL] Kbuild updates for v6.9-rc1

From: Masahiro Yamada
Date: Sun May 05 2024 - 04:46:51 EST


On Sun, May 5, 2024 at 4:26 PM Ingo Molnar <mingo@xxxxxxxxxx> wrote:
>
>
> * Ingo Molnar <mingo@xxxxxxxxxx> wrote:
>
> >
> > * Ingo Molnar <mingo@xxxxxxxxxx> wrote:
> >
> > >
> > > * Ingo Molnar <mingo@xxxxxxxxxx> wrote:
> > >
> > > > Notes:
> > > >
> > > > - Yes, those weird 'file' and ': No such file or directory' strings are
> > > > pasted as-is. No idea what it's about, and the build log doesn't say.
> > >
> > > Forgot to mention that I also did a KBUILD_VERBOSE=2 build - which isn't
> > > more verbose for this particular failure:
> >
> > Another update - I reverted the 4 most recent commits to
> > scripts/package/debian/rules:
> >
> > b8d18fee7aa2 Revert "kbuild: deb-pkg: show verbose log for direct package builds"
> > 82ac586caf3d Revert "kbuild: deb-pkg: make debian/rules quiet for 'make deb-pkg'"
> > 0b806eac90d6 Revert "kbuild: deb-pkg: build binary-arch in parallel"
> > 4b16391dc462 Revert "kbuild: deb-pkg: call more misc debhelper commands"
> > f96beb84eff6 kbuild: deb-pkg: call more misc debhelper commands
> > 1d7bae8f8c85 kbuild: deb-pkg: build binary-arch in parallel
> > caf400c8b68a kbuild: deb-pkg: make debian/rules quiet for 'make deb-pkg'
> > cc3df32c9f3a kbuild: deb-pkg: show verbose log for direct package builds
> >
> > And this resolved the issue, the debs are built successfully:
>
> Update, the bad commit is:
>
> 1d7bae8f8c85 kbuild: deb-pkg: build binary-arch in parallel
>
> ... and reverting it solves the build bug.
>
> And my Make-fu is weak, I don't see what's wrong with the commit.
>
> Thanks,
>
> Ingo


"make -j$(nproc) deb-pkg" works fine for me
on Ubuntu 23.10


If you provide the .config, I will test it on my machine.



--
Best Regards
Masahiro Yamada