Kconfig:12: can't open file "arch/powerpc64/Kconfig"

From: kbuild test robot
Date: Sat Feb 10 2018 - 22:49:18 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d48fcbd864a008802a90c58a9ceddd9436d11a49
commit: 9e3e10c725360b9d07018cfcd5b7b6b7d325fae5 kconfig: send error messages to stderr
date: 2 days ago
config: powerpc64-defconfig
compiler: powerpc64-linux-gcc (GCC) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 9e3e10c725360b9d07018cfcd5b7b6b7d325fae5
make.cross ARCH=powerpc64 defconfig
make.cross ARCH=powerpc64

All errors (new ones prefixed by >>):

Makefile:499: arch/powerpc64/Makefile: No such file or directory
make[1]: *** No rule to make target 'arch/powerpc64/Makefile'.
make[1]: Failed to remake makefile 'arch/powerpc64/Makefile'.
>> Kconfig:12: can't open file "arch/powerpc64/Kconfig"
make[2]: *** [defconfig] Error 1
make[1]: *** [defconfig] Error 2
make: *** [sub-make] Error 2
--
Makefile:499: arch/powerpc64/Makefile: No such file or directory
make[1]: *** No rule to make target 'arch/powerpc64/Makefile'.
make[1]: Failed to remake makefile 'arch/powerpc64/Makefile'.
>> Kconfig:12: can't open file "arch/powerpc64/Kconfig"
make[2]: *** [oldconfig] Error 1
make[1]: *** [oldconfig] Error 2
make: *** [sub-make] Error 2
--
Makefile:499: arch/powerpc64/Makefile: No such file or directory
make[1]: *** No rule to make target 'arch/powerpc64/Makefile'.
make[1]: Failed to remake makefile 'arch/powerpc64/Makefile'.
>> Kconfig:12: can't open file "arch/powerpc64/Kconfig"
make[2]: *** [olddefconfig] Error 1
make[2]: Target 'oldnoconfig' not remade because of errors.
make[1]: *** [oldnoconfig] Error 2
make: *** [sub-make] Error 2

vim +12 Kconfig

838a2e55 Arnaud Lacombe 2010-09-04 7
838a2e55 Arnaud Lacombe 2010-09-04 8 config SRCARCH
838a2e55 Arnaud Lacombe 2010-09-04 9 string
838a2e55 Arnaud Lacombe 2010-09-04 10 option env="SRCARCH"
838a2e55 Arnaud Lacombe 2010-09-04 11
838a2e55 Arnaud Lacombe 2010-09-04 @12 source "arch/$SRCARCH/Kconfig"

:::::: The code at line 12 was first introduced by commit
:::::: 838a2e55e6a4e9e8a10451ed2ef0f7a08dabdb04 kbuild: migrate all arch to the kconfig mainmenu upgrade

:::::: TO: Arnaud Lacombe <lacombar@xxxxxxxxx>
:::::: CC: Arnaud Lacombe <lacombar@xxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation