focal-mainline-builder icon indicating copy to clipboard operation
focal-mainline-builder copied to clipboard

The `fakeroot debian/rules clean defaultconfigs` is actually failing

Open 64kramsystem opened this issue 3 years ago • 1 comments

During the kernel build, the command fakeroot debian/rules clean defaultconfigs actually fails.

The failure is non-significant, and it's ignored because the build.sh doesn't have the errexit shell option enabled, however, it's very confusing when one tries to reproduce the code in order to understand it.

This (based on my understanding) is due to the mainline kernel configured, by default, to build several architectures, which fails, due to cross-compiling toolings missing.

I'm not sure if there is a scripted way to change this option (or an env variable), but regardless, it can be easily changed:

# removes all entries except `amd64` from `archs="amd64 armhf arm64 ppc64el riscv64 s390x`
#
perl -i -pe 's/archs="amd64\K.+/"/' debian.master/etc/kernelconfig

64kramsystem avatar Oct 22 '22 21:10 64kramsystem

I'll add echo 'archs="amd64"' > debian.master/etc/kernelconfig prior to running the clean.

Thanks for pointing this out.

TuxInvader avatar Dec 13 '22 11:12 TuxInvader