Re: [6.2-rc4] warning: cannot check the header due to sha1sum missing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 16, 2023 at 11:02 AM Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote:
>
> Hi Masahiro,
>
> I saw these warnings in my build-log:
>
>   if ! command -v sha1sum >/dev/null; then echo "warning: cannot check
> the header due to sha1sum missing"; exit 0; fi; if [ "$(sed -n '$s://
> ::p' include/linux/atomic/
> atomic-arch-fallback.h)" != "$(sed '$d'
> include/linux/atomic/atomic-arch-fallback.h | sha1sum | sed 's/
> .*//')" ]; then echo "error: include/linux/atomic/atomic-arch-f
> allback.h has been modified." >&2; exit 1; fi; touch
> .checked-atomic-arch-fallback.h
>  if ! command -v sha1sum >/dev/null; then echo "warning: cannot check
> the header due to sha1sum missing"; exit 0; fi; if [ "$(sed -n '$s://
> ::p' include/linux/atomic/
> atomic-instrumented.h)" != "$(sed '$d'
> include/linux/atomic/atomic-instrumented.h | sha1sum | sed 's/ .*//')"
> ]; then echo "error: include/linux/atomic/atomic-instrume
> nted.h has been modified." >&2; exit 1; fi; touch .checked-atomic-instrumented.h
>  if ! command -v sha1sum >/dev/null; then echo "warning: cannot check
> the header due to sha1sum missing"; exit 0; fi; if [ "$(sed -n '$s://
> ::p' include/linux/atomic/
> atomic-long.h)" != "$(sed '$d' include/linux/atomic/atomic-long.h |
> sha1sum | sed 's/ .*//')" ]; then echo "error:
> include/linux/atomic/atomic-long.h has been modified
> ." >&2; exit 1; fi; touch .checked-atomic-long.h
>
> NOTE: I did a `make distclean` before I started my build.
>
> Can you please comment on this?




Please clarify your problem.

My best guess is, you just added V=1 option to
print the full log, didn't you?



I can see the same build log by running the following command.



$ make V=1 mrproper defconfig  prepare | grep sha1sum
+ [ clean = clean ]
+ cleanup
+ rm -f .btf.*
+ rm -f System.map
+ rm -f vmlinux
+ rm -f vmlinux.map
+ exit 0
  if ! command -v sha1sum >/dev/null; then echo "warning: cannot check
the header due to sha1sum missing"; exit 0; fi; if [ "$(sed -n '$s://
::p' include/linux/atomic/atomic-arch-fallback.h)" != "$(sed '$d'
include/linux/atomic/atomic-arch-fallback.h | sha1sum | sed 's/
.*//')" ]; then echo "error:
include/linux/atomic/atomic-arch-fallback.h has been modified." >&2;
exit 1; fi; touch .checked-atomic-arch-fallback.h
  if ! command -v sha1sum >/dev/null; then echo "warning: cannot check
the header due to sha1sum missing"; exit 0; fi; if [ "$(sed -n '$s://
::p' include/linux/atomic/atomic-instrumented.h)" != "$(sed '$d'
include/linux/atomic/atomic-instrumented.h | sha1sum | sed 's/ .*//')"
]; then echo "error: include/linux/atomic/atomic-instrumented.h has
been modified." >&2; exit 1; fi; touch .checked-atomic-instrumented.h
  if ! command -v sha1sum >/dev/null; then echo "warning: cannot check
the header due to sha1sum missing"; exit 0; fi; if [ "$(sed -n '$s://
::p' include/linux/atomic/atomic-long.h)" != "$(sed '$d'
include/linux/atomic/atomic-long.h | sha1sum | sed 's/ .*//')" ]; then
echo "error: include/linux/atomic/atomic-long.h has been modified."
>&2; exit 1; fi; touch .checked-atomic-long.h






>
> Thanks.
>
> Best regards,
> -Sedat-




--
Best Regards
Masahiro Yamada



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux