Fwd: [PATCH bpf] scripts: Exclude Rust CUs with pahole

From: Martin Rodriguez Reboredo
Date: Sat Jan 07 2023 - 21:23:25 EST


On 1/5/23 13:40, Eric Curtin wrote:
> Hiya Martin,
>
> Just in case you hadn't noticed, the test bot complained about this...
>
>>> grep: include/config/auto.conf: No such file or directory
> --
>>> grep: include/config/auto.conf: No such file or directory
>>> grep: include/config/auto.conf: No such file or directory
>>> grep: include/config/auto.conf: No such file or directory
>
> Is mise le meas/Regards,
>
> Eric Curtin
>
> On Sun, 1 Jan 2023 at 08:57, kernel test robot <lkp@xxxxxxxxx> wrote:
>>
>> Hi Martin,
>>
>> Thank you for the patch! Yet something to improve:
>>
>> [auto build test ERROR on bpf/master]
>>
>> url: https://github.com/intel-lab-lkp/linux/commits/Martin-Rodriguez-Reboredo/scripts-Exclude-Rust-CUs-with-pahole/20221221-112806
>> base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git master
>> patch link: https://lore.kernel.org/r/20221220203901.1333304-1-yakoyoku%40gmail.com
>> patch subject: [PATCH bpf] scripts: Exclude Rust CUs with pahole
>> config: sh-se7724_defconfig
>> compiler: sh4-linux-gcc (GCC) 12.1.0
>> reproduce (this is a W=1 build):
>> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>> chmod +x ~/bin/make.cross
>> # https://github.com/intel-lab-lkp/linux/commit/24aac5fd4ea59e02e9c203d3a59be6f13c5e702f
>> git remote add linux-review https://github.com/intel-lab-lkp/linux
>> git fetch --no-tags linux-review Martin-Rodriguez-Reboredo/scripts-Exclude-Rust-CUs-with-pahole/20221221-112806
>> git checkout 24aac5fd4ea59e02e9c203d3a59be6f13c5e702f
>> # save the config file
>> mkdir build_dir && cp config build_dir/.config
>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh olddefconfig
>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh distclean
>>
>> If you fix the issue, kindly add following tag where applicable
>> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
>>
>> All errors (new ones prefixed by >>):
>>
>>>> grep: include/config/auto.conf: No such file or directory
>> --
>>>> grep: include/config/auto.conf: No such file or directory
>>>> grep: include/config/auto.conf: No such file or directory
>>>> grep: include/config/auto.conf: No such file or directory
>>
>> --
>> 0-DAY CI Kernel Test Service
>> https://01.org/lkp
>

I see, I was making a dependency on `auto.conf` in `pahole-flags.sh` but
the former gets generated after the latter is called, so that's the
reason behind the `grep` errors. Sent a new version of the patch.