Kernel compile with custom options (binder, ...) failed: Mismatches found in configuration files for x86_64 x86_64-debug

Hi there,
On F35 I followed Waydroid on Fedora 35 successfully. Now on F36 it doesn’t work: “Mismatches found in configuration files for x86_64 x86_64-debug”

$ fedpkg local
Not downloading already downloaded linux-5.18.5.tar.xz
Not downloading already downloaded kernel-abi-stablelists-5.18.5-200.tar.bz2
Not downloading already downloaded kernel-kabi-dw-5.18.5-200.tar.bz2

setting SOURCE_DATE_EPOCH=1655337600
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.M1llT9
(...)
recursedown('tools')
(...)
recursedown('scripts/clang-tools')
tools/kvm/kvm_stat/kvm_stat: updating
(...)
scripts/clang-tools/run-clang-tools.py: updating
(...)
+ ./generate_all_configs.sh 1
(...)
+ ./process_configs.sh -w -n -c
Processing /home/<USERNAME>/kernel/kernel-5.18.5/linux-5.18.5-200.<USERNAME>.fc36.x86_64/configs/kernel-5.18.5-aarch64-debug.config ... 
(...)
Processing /home/<USERNAME>/kernel/kernel-5.18.5/linux-5.18.5-200.<USERNAME>.fc36.x86_64/configs/kernel-5.18.5-ppc64le-debug.config complete
Error: Mismatches found in configuration files for x86_64 x86_64-debug
Found # CONFIG_ANDROID_BINDERFS is not set, after generation, had CONFIG_ANDROID_BINDERFS n in Source tree
Found # CONFIG_ANDROID_BINDER_IPC_SELFTEST is not set, after generation, had CONFIG_ANDROID_BINDER_IPC_SELFTEST n in Source tree
**Error: Mismatches found in configuration files for x86_64 x86_64**
Found # CONFIG_ANDROID_BINDERFS is not set, after generation, had CONFIG_ANDROID_BINDERFS n in Source tree
Found # CONFIG_ANDROID_BINDER_IPC_SELFTEST is not set, after generation, had CONFIG_ANDROID_BINDER_IPC_SELFTEST n in Source tree
error: Bad exit status from /var/tmp/rpm-tmp.M1llT9 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.M1llT9 (%prep)
Could not execute local: rpmbuild --define '_sourcedir /home/<USERNAME>/kernel' --define '_specdir /home/<USERNAME>/kernel' --define '_builddir /home/<USERNAME>/kernel' --define '_srcrpmdir /home/<USERNAME>/kernel' --define '_rpmdir /home/<USERNAME>/kernel' --define '_rpmfilename %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm' --define 'dist %{?distprefix}.fc36' --define 'fedora 36' --eval '%undefine rhel' --define 'fc36 1' -ba /home/<USERNAME>/kernel/kernel.spec 2>&1 | tee .build-5.18.5-200.<USERNAME>.fc36.log

Any tips? Can’t I just fight my way outta here with m̀ake menuconfig?

Thanks!

just a shot into the dark:

shouldn’t “<USERNAME>” read ${USERNAME} ?

then it would match your user name

That was a manual edit by me so as not to leak my username :slight_smile: