* [BUG] Build failure and alleged fix for next-20240523
@ 2024-05-24 19:55 Paul E. McKenney
2024-05-24 19:57 ` Abhinav Kumar
0 siblings, 1 reply; 6+ messages in thread
From: Paul E. McKenney @ 2024-05-24 19:55 UTC (permalink / raw)
To: sfr
Cc: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, David Airlie, Daniel Vetter, Jon Hunter,
linux-arm-msm, dri-devel, freedreno, linux-kernel
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
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [BUG] Build failure and alleged fix for next-20240523 2024-05-24 19:55 [BUG] Build failure and alleged fix for next-20240523 Paul E. McKenney @ 2024-05-24 19:57 ` Abhinav Kumar 2024-05-24 21:11 ` Jon Hunter 2024-05-30 16:55 ` Paul E. McKenney 0 siblings, 2 replies; 6+ messages in thread From: Abhinav Kumar @ 2024-05-24 19:57 UTC (permalink / raw) To: paulmck, sfr Cc: Rob Clark, Dmitry Baryshkov, Sean Paul, Marijn Suijten, David Airlie, Daniel Vetter, Jon Hunter, linux-arm-msm, dri-devel, freedreno, linux-kernel Hello On 5/24/2024 12:55 PM, Paul E. McKenney wrote: > 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 > Thanks for the report. I have raised a merge request for https://patchwork.freedesktop.org/patch/593057/ to make it available for the next fixes release for msm. Abhinav ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [BUG] Build failure and alleged fix for next-20240523 2024-05-24 19:57 ` Abhinav Kumar @ 2024-05-24 21:11 ` Jon Hunter 2024-05-30 16:55 ` Paul E. McKenney 1 sibling, 0 replies; 6+ messages in thread From: Jon Hunter @ 2024-05-24 21:11 UTC (permalink / raw) To: Abhinav Kumar, paulmck, sfr Cc: Rob Clark, Dmitry Baryshkov, Sean Paul, Marijn Suijten, David Airlie, Daniel Vetter, linux-arm-msm, dri-devel, freedreno, linux-kernel On 24/05/2024 20:57, Abhinav Kumar wrote: > Hello > > On 5/24/2024 12:55 PM, Paul E. McKenney wrote: >> 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 >> > > Thanks for the report. > > I have raised a merge request for > https://patchwork.freedesktop.org/patch/593057/ to make it available for > the next fixes release for msm. This is also now in the mainline and so would be great to get this into both -next and mainline. Jon -- nvpublic ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [BUG] Build failure and alleged fix for next-20240523 2024-05-24 19:57 ` Abhinav Kumar 2024-05-24 21:11 ` Jon Hunter @ 2024-05-30 16:55 ` Paul E. McKenney 2024-05-30 18:28 ` Thierry Reding 1 sibling, 1 reply; 6+ messages in thread From: Paul E. McKenney @ 2024-05-30 16:55 UTC (permalink / raw) To: Abhinav Kumar Cc: sfr, Rob Clark, Dmitry Baryshkov, Sean Paul, Marijn Suijten, David Airlie, Daniel Vetter, Jon Hunter, linux-arm-msm, dri-devel, freedreno, linux-kernel On Fri, May 24, 2024 at 12:57:58PM -0700, Abhinav Kumar wrote: > Hello > > On 5/24/2024 12:55 PM, Paul E. McKenney wrote: > > 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. > > Thanks for the report. > > I have raised a merge request for > https://patchwork.freedesktop.org/patch/593057/ to make it available for the > next fixes release for msm. Thank you! This still is not in -next, so I am putting it into -rcu just to silence the diagnostic. Or should I push this to mainline via -rcu? Thanx, Paul ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [BUG] Build failure and alleged fix for next-20240523 2024-05-30 16:55 ` Paul E. McKenney @ 2024-05-30 18:28 ` Thierry Reding 2024-05-30 20:40 ` Paul E. McKenney 0 siblings, 1 reply; 6+ messages in thread From: Thierry Reding @ 2024-05-30 18:28 UTC (permalink / raw) To: paulmck, Abhinav Kumar Cc: sfr, Rob Clark, Dmitry Baryshkov, Sean Paul, Marijn Suijten, David Airlie, Daniel Vetter, Jon Hunter, linux-arm-msm, dri-devel, freedreno, linux-kernel [-- Attachment #1: Type: text/plain, Size: 1478 bytes --] On Thu May 30, 2024 at 6:55 PM CEST, Paul E. McKenney wrote: > On Fri, May 24, 2024 at 12:57:58PM -0700, Abhinav Kumar wrote: > > Hello > > > > On 5/24/2024 12:55 PM, Paul E. McKenney wrote: > > > 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. > > > > Thanks for the report. > > > > I have raised a merge request for > > https://patchwork.freedesktop.org/patch/593057/ to make it available for the > > next fixes release for msm. > > Thank you! > > This still is not in -next, so I am putting it into -rcu just to silence > the diagnostic. Or should I push this to mainline via -rcu? I pushed this to drm-misc-fixes earlier today, so should show up in linux-next soon and hopefully in v6.10-rc2. Thierry [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [BUG] Build failure and alleged fix for next-20240523 2024-05-30 18:28 ` Thierry Reding @ 2024-05-30 20:40 ` Paul E. McKenney 0 siblings, 0 replies; 6+ messages in thread From: Paul E. McKenney @ 2024-05-30 20:40 UTC (permalink / raw) To: Thierry Reding Cc: Abhinav Kumar, sfr, Rob Clark, Dmitry Baryshkov, Sean Paul, Marijn Suijten, David Airlie, Daniel Vetter, Jon Hunter, linux-arm-msm, dri-devel, freedreno, linux-kernel On Thu, May 30, 2024 at 08:28:17PM +0200, Thierry Reding wrote: > On Thu May 30, 2024 at 6:55 PM CEST, Paul E. McKenney wrote: > > On Fri, May 24, 2024 at 12:57:58PM -0700, Abhinav Kumar wrote: > > > Hello > > > > > > On 5/24/2024 12:55 PM, Paul E. McKenney wrote: > > > > 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. > > > > > > Thanks for the report. > > > > > > I have raised a merge request for > > > https://patchwork.freedesktop.org/patch/593057/ to make it available for the > > > next fixes release for msm. > > > > Thank you! > > > > This still is not in -next, so I am putting it into -rcu just to silence > > the diagnostic. Or should I push this to mainline via -rcu? > > I pushed this to drm-misc-fixes earlier today, so should show up in > linux-next soon and hopefully in v6.10-rc2. Thank you, Thierry! Thanx, Paul ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-05-30 20:40 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-05-24 19:55 [BUG] Build failure and alleged fix for next-20240523 Paul E. McKenney 2024-05-24 19:57 ` Abhinav Kumar 2024-05-24 21:11 ` Jon Hunter 2024-05-30 16:55 ` Paul E. McKenney 2024-05-30 18:28 ` Thierry Reding 2024-05-30 20:40 ` Paul E. McKenney
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.