arm64: defconfig: gcc-8: failed: AttributeError: module 'argparse' has no attribute 'BooleanOptionalAction'

From: Naresh Kamboju
Date: Tue May 07 2024 - 07:44:04 EST


The arm and arm64 with gcc-8 builds failed on Linux next-20240507 tag
with gcc-8 due to following warnings / errors.

arm64 and arm:
defconfig - gcc-8 - failed

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

Build log:
---------
arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display.dtsi:113.6-121.3:
Warning (graph_port): /fragment@4/__overlay__: graph port node name
should be 'port'
Traceback (most recent call last):
File "drivers/gpu/drm/msm/registers/gen_header.py", line 970, in <module>
main()
File "drivers/gpu/drm/msm/registers/gen_header.py", line 951, in main
parser.add_argument('--validate', action=argparse.BooleanOptionalAction)
AttributeError: module 'argparse' has no attribute 'BooleanOptionalAction'

metadata:
-----
git_describe: next-20240507
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_sha: 93a39e4766083050ca0ecd6a3548093a3b9eb60c
git_short_log: 93a39e476608 ("Add linux-next specific files for 20240507")


Links:
---
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240507/testrun/23817782/suite/build/tests/
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240507/testrun/23818260/suite/build/test/gcc-8-defconfig/details/

--
Linaro LKFT
https://lkft.linaro.org