Re: [yocto] Typo in python3/get_module_deps3.py?

2023-07-04 Thread Ross Burton
On 3 Jul 2023, at 22:38, Wes Tarro via lists.yoctoproject.org 
 wrote:
> 
> I found a line in get_module_deps3.py that looked weird and could easily be a 
> typo:
> https://git.yoctoproject.org/poky/tree/meta/recipes-devtools/python/python3/get_module_deps3.py#n35
> 
> Specifically on line 35 (for present git version):
> dep_path = dep_path.replace('/usr/bin''${bindir}’)

Yes, that’s a typo.  Can you post a patch?

Ross



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60510): https://lists.yoctoproject.org/g/yocto/message/60510
Mute This Topic: https://lists.yoctoproject.org/mt/99935959/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Typo in python3/get_module_deps3.py?

2023-07-03 Thread Wes Tarro
I found a line in get_module_deps3.py that looked weird and could easily be a 
typo:
https://git.yoctoproject.org/poky/tree/meta/recipes-devtools/python/python3/get_module_deps3.py#n35

Specifically on line 35 (for present git version):
dep_path = dep_path.replace('/usr/bin''${bindir}')

All of the following lines handling 'usr/lib' variants pass two arguments 
instead of one joined argument, e.g.:
dep_path = dep_path.replace('/usr/lib32','${libdir}')

Is the former a typo that needs to be fixed or is it intentional?

Thank you for your time.

Wes Tarro


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60508): https://lists.yoctoproject.org/g/yocto/message/60508
Mute This Topic: https://lists.yoctoproject.org/mt/99935959/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-