Message ID | CAK7LNARXef6Myb_Gd4jyGfwujoBAjmjzLZBzgkm4T1KmfHP0MQ@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [GIT,PULL] Kbuild updates for v6.9-rc1 | expand |
The pull request you sent on Fri, 22 Mar 2024 00:02:37 +0900:
> git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git tags/kbuild-v6.9
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1d35aae78ffe739bf46c2bf9dea7b51a4eebfbe0
Thank you!
* Masahiro Yamada <masahiroy@kernel.org> wrote: > kbuild: simplify dtbs_install by reading the list of compiled DTBs > kbuild: deb-pkg: show verbose log for direct package builds > kbuild: deb-pkg: make debian/rules quiet for 'make deb-pkg' > kbuild: deb-pkg: build binary-arch in parallel > kbuild: deb-pkg: call more misc debhelper commands > kbuild: rpm-pkg: do not include depmod-generated files > kbuild: rpm-pkg: mark installed files in /boot as %ghost Not sure whether it's related to these commits, but the kernel package build on Ubuntu is broken currently - both the deb-pkg and bindeb-pkg targets result in this build failure: $ make -j32 deb-pkg ... BTF [M] net/qrtr/qrtr-mhi.ko BTF [M] net/qrtr/qrtr-tun.ko BTF [M] net/batman-adv/batman-adv.ko BTF [M] net/sctp/sctp.ko BTF [M] net/mac80211/mac80211.ko file : No such file or directory make[3]: *** [debian/rules:61: binary-image] Error 255 dpkg-buildpackage: error: make -f debian/rules binary subprocess returned exit status 2 make[2]: *** [scripts/Makefile.package:121: deb-pkg] Error 2 make[1]: *** [/home/mingo/tip.localinstall/Makefile:1541: deb-pkg] Error 2 make: *** [Makefile:240: __sub-make] Error 2 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. - The .config is an unremarkable .config derived from Ubuntu's own kernel config - can send it separately to you if it matters. - Software version is Ununtu 23.10 with the latest updates. Can send details if it matters. Is there an easy Make command to run to extract the software versions you'd need, instead of having to manually extract it from a zillion tools and packages? 'make build-environment' or so? - The kernel package build is also incredibly slow, as reported by others back in January AFAICS, which makes bisection impractical. There's no other build failure visible in the build log. I did one strace of the build (which is even more incredibly slow, takes about an hour literally on a 4GHz box with 64 CPUs), which has shown this weird instance shortly before the failure: 3027593 newfstatat(AT_FDCWD, "deb-pkg", 0x7ffeef9f9960, 0) = -1 ENOENT (No such file or directory) ... which might or might not be normal Make behavior. Thanks, Ingo
* Ingo Molnar <mingo@kernel.org> 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: BTF [M] net/qrtr/qrtr.ko - due to: vmlinux BTF [M] net/qrtr/qrtr-smd.ko - due to: vmlinux BTF [M] net/qrtr/qrtr-tun.ko - due to: vmlinux BTF [M] net/qrtr/qrtr-mhi.ko - due to: vmlinux file : No such file or directory make[3]: *** [debian/rules:61: binary-image] Error 255 dpkg-buildpackage: error: make -f debian/rules binary subprocess returned exit status 2 make[2]: *** [scripts/Makefile.package:121: bindeb-pkg] Error 2 make[1]: *** [/home/mingo/tip.localinstall/Makefile:1541: bindeb-pkg] Error 2 make: *** [Makefile:240: __sub-make] Error 2 kepler:~/tip.localinstall> Thanks, Ingo
* Ingo Molnar <mingo@kernel.org> wrote: > > * Ingo Molnar <mingo@kernel.org> 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: ... dpkg-deb: building package 'linux-image-6.9.0-rc6-tip-00478-gb8d18fee7aa2-dbg' in '../linux-image-6.9.0-rc6-tip-00478-gb8d18fee7aa2-dbg_6.9.0-rc6-00478-gb8d18fee7aa2-8_amd64.deb'. dpkg-genbuildinfo --build=binary -O../linux-upstream_6.9.0-rc6-00478-gb8d18fee7aa2-8_amd64.buildinfo dpkg-genchanges --build=binary -O../linux-upstream_6.9.0-rc6-00478-gb8d18fee7aa2-8_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) Thanks, Ingo
* Ingo Molnar <mingo@kernel.org> wrote: > > * Ingo Molnar <mingo@kernel.org> wrote: > > > > > * Ingo Molnar <mingo@kernel.org> 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
On Sun, May 5, 2024 at 4:26 PM Ingo Molnar <mingo@kernel.org> wrote: > > > * Ingo Molnar <mingo@kernel.org> wrote: > > > > > * Ingo Molnar <mingo@kernel.org> wrote: > > > > > > > > * Ingo Molnar <mingo@kernel.org> 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.