<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15500</bug_id>
          
          <creation_ts>2024-06-02 22:30:20 +0000</creation_ts>
          <short_desc>&quot;devtool upgrade&quot; cannot handle unicode characters in filenames</short_desc>
          <delta_ts>2026-06-08 09:26:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>5.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>ACCEPTED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Orling">tim.orling</reporter>
          <assigned_to name="Aditya G S">adityags2004</assigned_to>
          <cc>adityags2004</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>99114</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2024-06-02 22:30:20 +0000</bug_when>
    <thetext>The AUH upgrade from python3-meson-python 0.15.0 to 0.16.0 failed with an odd error[1]:

fatal: pathspec &apos;tests/packages/encoding/343203206343202271343203210.py&apos; did not match any files

Manually upgrading the recipe to the 0.16.0 version had no issues.

Hunting down the error leads to the conclusion that &apos;devtool upgrade&apos; cannot handle file names with unicode characters:

ls meson_python-0.16.0/tests/packages/encoding/
meson.build  pyproject.toml  テスト.py

NOTE: the 0.15.0 version did not have tests/packages/encoding at all

[1] https://lore.kernel.org/openembedded-core/CAOyo-84ow3Ugj8=qFD5bNrpq23t8xPKZ-E0L8=KvvkCVHnOVPg@mail.gmail.com/T/#u</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99115</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2024-06-02 22:36:39 +0000</bug_when>
    <thetext>I have a recollection that using unicode characters in layer names also does not work, so this might be a limitation of bitbake or elsewhere and not a problem in devtool itself.

e.g. meta-🎉 can be created by &quot;bitbake-layers create-layer meta-🎉&quot; but cannot added to bblayers.conf by &quot;bitbake-layers add-layer meta-🎉&quot; or something like that.

This was one of the reasons I filed this bug to define what can and cannot be in a layer name:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15375</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99134</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-06-06 14:37:02 +0000</bug_when>
    <thetext>There are likely lots of assumption on ASCII strings only for filenames.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105770</commentid>
    <comment_count>3</comment_count>
    <who name="Aditya G S">adityags2004</who>
    <bug_when>2026-06-08 05:53:18 +0000</bug_when>
    <thetext>I would like to work on this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105771</commentid>
    <comment_count>4</comment_count>
    <who name="Aditya G S">adityags2004</who>
    <bug_when>2026-06-08 09:26:07 +0000</bug_when>
    <thetext>Hi,

I attempted to reproduce this issue on current OE-Core master
(using BitBake 2.19.0).

Steps performed:
- Used upstream meson-python git source (version 0.16.0)
  which contains unicode filenames such as:
  tests/packages/encoding/テスト.py
- Ran devtool upgrade with explicit version and source tree

Result:
devtool upgrade completed successfully without any errors.
The unicode filename was handled correctly, and no pathspec
errors occurred.

Conclusion:
It appears that this issue has already been resolved in the
current devtool/BitBake implementation.

Could you please confirm if this bug can be closed?

Thanks,
Aditya</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>