2018-11-01 10:19:10

by kernel test robot

[permalink] [raw]
Subject: [tip:locking/core 5/6] /bin/bash: scripts/atomic/check-atomics.sh: No such file or directory

tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core
head: 30bc7baa9de81efc0584b9290ce8040a1130f156
commit: 85f8507192fbfb4ad2ac01de879cb50045f4247f [5/6] locking/atomics: Check generated headers are up-to-date
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
git checkout 85f8507192fbfb4ad2ac01de879cb50045f4247f
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

>> /bin/bash: scripts/atomic/check-atomics.sh: No such file or directory
make[2]: *** [old-atomics] Error 127
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2

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


Attachments:
(No filename) (0.98 kB)
.config.gz (6.35 kB)
Download all attachments

2018-11-01 12:39:53

by Mark Rutland

[permalink] [raw]
Subject: Re: [tip:locking/core 5/6] /bin/bash: scripts/atomic/check-atomics.sh: No such file or directory

On Thu, Nov 01, 2018 at 06:16:22PM +0800, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core
> head: 30bc7baa9de81efc0584b9290ce8040a1130f156
> commit: 85f8507192fbfb4ad2ac01de879cb50045f4247f [5/6] locking/atomics: Check generated headers are up-to-date
> config: i386-tinyconfig (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
> git checkout 85f8507192fbfb4ad2ac01de879cb50045f4247f
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
> >> /bin/bash: scripts/atomic/check-atomics.sh: No such file or directory
> make[2]: *** [old-atomics] Error 127
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [prepare0] Error 2
> make[1]: Target 'prepare' not remade because of errors.
> make: *** [sub-make] Error 2

It looks like we accidentally dropped execute permissions from the
scripts when picking them from the list. Locally I get a slightly
different failure:

ALL scripts/atomic/check-atomics.sh
scripts/atomic/check-atomics.sh: line 16:
scripts/atomic/gen-atomic-instrumented.sh: Permission denied
warning: include/asm-generic/atomic-instrumented.h is out-of-date.
scripts/atomic/check-atomics.sh: line 16:
scripts/atomic/gen-atomic-long.sh: Permission denied
warning: include/asm-generic/atomic-long.h is out-of-date.
scripts/atomic/check-atomics.sh: line 16:
scripts/atomic/gen-atomic-fallback.sh: Permission denied
warning: include/linux/atomic-fallback.h is out-of-date.

I've sent a patch [1] to fix this.

Thanks,
Mark.

[1] https://lkml.kernel.org/r/[email protected]

2018-11-02 14:02:18

by Damian Tometzki

[permalink] [raw]
Subject: Re: [tip:locking/core 5/6] /bin/bash: scripts/atomic/check-atomics.sh: No such file or directory

Hello Mark,

i got now the error:
/bin/bash: scripts/atomic/check-atomics.sh: No such file or directory
make[2]: *** [/home/damian/kernel/linux/./Kbuild:86: old-atomics] Fehler 127
make[1]: *** [/home/damian/kernel/linux/Makefile:1112: prepare0] Fehler 2

Best regards
Damian




On Do, 01. Nov 11:29, Mark Rutland wrote:
> On Thu, Nov 01, 2018 at 06:16:22PM +0800, kbuild test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core
> > head: 30bc7baa9de81efc0584b9290ce8040a1130f156
> > commit: 85f8507192fbfb4ad2ac01de879cb50045f4247f [5/6] locking/atomics: Check generated headers are up-to-date
> > config: i386-tinyconfig (attached as .config)
> > compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> > reproduce:
> > git checkout 85f8507192fbfb4ad2ac01de879cb50045f4247f
> > # save the attached .config to linux build tree
> > make ARCH=i386
> >
> > All errors (new ones prefixed by >>):
> >
> > >> /bin/bash: scripts/atomic/check-atomics.sh: No such file or directory
> > make[2]: *** [old-atomics] Error 127
> > make[2]: Target '__build' not remade because of errors.
> > make[1]: *** [prepare0] Error 2
> > make[1]: Target 'prepare' not remade because of errors.
> > make: *** [sub-make] Error 2
>
> It looks like we accidentally dropped execute permissions from the
> scripts when picking them from the list. Locally I get a slightly
> different failure:
>
> ALL scripts/atomic/check-atomics.sh
> scripts/atomic/check-atomics.sh: line 16:
> scripts/atomic/gen-atomic-instrumented.sh: Permission denied
> warning: include/asm-generic/atomic-instrumented.h is out-of-date.
> scripts/atomic/check-atomics.sh: line 16:
> scripts/atomic/gen-atomic-long.sh: Permission denied
> warning: include/asm-generic/atomic-long.h is out-of-date.
> scripts/atomic/check-atomics.sh: line 16:
> scripts/atomic/gen-atomic-fallback.sh: Permission denied
> warning: include/linux/atomic-fallback.h is out-of-date.
>
> I've sent a patch [1] to fix this.
>
> Thanks,
> Mark.
>
> [1] https://lkml.kernel.org/r/[email protected]