[BUG] Build failure and alleged fix for next-20240523

Paul E. McKenney paulmck at kernel.org
Fri May 24 19:55:25 UTC 2024


Hello!

I get the following allmodconfig build error on x86 in next-20240523:

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'

The following patch allows the build to complete successfully:

https://patchwork.kernel.org/project/dri-devel/patch/20240508091751.336654-1-jonathanh@nvidia.com/#25842751

As to whether this is a proper fix, I must defer to the DRM folks on CC.

							Thanx, Paul


More information about the dri-devel mailing list