On Wed, 5 Mar 2025 at 00:11, Donald Zickus dzickus@redhat.com wrote:
Hi,
If anyone wants to chew on a kernel build problem on the centos mailing list. There are multiple replies to the thread with no success.
Cheers, Don
---------- Forwarded message --------- From: Sebastian Hetze shetze@redhat.com Date: Sat, Mar 1, 2025 at 6:50 AM Subject: [CentOS-devel] make dist-all-rpms fails with test_progs-no_alu32-extras Error To: devel@lists.centos.org
Hi *
I recently tried to compile a custom centos-stream-9 automotive SIG kernel and failed.
Now I see the very same problem is present in the mainline centos-stream-9 kernel.
When I clone the sources from https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9 on a freshly installed centos-stream-9 host, the make dist-all-rpms target fails with
make[3]: rsync: Argument list too long make[3]: *** [Makefile:768: test_progs-no_alu32-extras] Error 127
This is certainly not a problem with rsync and the ulimits are definitely sufficient to deal with this ~2000 char argument list.
So what is going on here? This rsync call appears to come from the tools/testing/selftests/bpf/Makefile. The problem persists if I BUILDOPTS="-selftests" and I understand bpf to be a SKIP_TARGET by default, anyway.
Does anyone have a hint? What is missing or what am I missing?
I’ve bisected the issue and identified that it was introduced by commit selftests/bpf: Use auto-dependencies for test objects
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/commit/...