<?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>16512</bug_id>
          
          <creation_ts>2026-11-15 02:46:48 +0000</creation_ts>
          <short_desc>distro_check: Debian/Ubuntu lists only have source package names, so python3-* recipes never match</short_desc>
          <delta_ts>2026-11-15 03:35:03 +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>oe-core other</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>IN PROGRESS REVIEW</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>6.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Orling">tim.orling</reporter>
          <assigned_to name="Tim Orling">tim.orling</assigned_to>
          
          
          
          <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>107479</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-11-15 02:46:48 +0000</bug_when>
    <thetext>get_debian_style_source_package_list() in meta/lib/oe/distro_check.py
records only the &quot;Package:&quot; (source package) names from Debian style
Sources files. Debian names Python modules&apos; source packages after the
upstream project (&quot;brotli&quot;, &quot;requests&quot;, &quot;six&quot;), but their binary
packages python3-&lt;name&gt;, as OE does. So an OE recipe such as
python3-brotli is never found in Debian or Ubuntu, even though the
&quot;brotli&quot; source package builds python3-brotli:

  Package: brotli
  Binary: python3-brotli, brotli, libbrotli-dev, libbrotli1

The Recipe Reporting System on the layer index matches recipes against
these lists: in meta-python, 0 of 712 python3-* recipes matched Debian.

Proposed fix: also record the names in each source package&apos;s &quot;Binary:&quot;
field (which can continue over several lines). Debian 13.7&apos;s list then
has 91775 names (37593 before), 5316 of them python3-*.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107481</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-11-15 03:15:53 +0000</bug_when>
    <thetext>Tested on the layer index test instance (layers.moto-timo.net): RRS&apos;s
rrs_distros.py against OE-Core master (f32bced7b4) with the 16503 and
16509-16511 patches, the patch for 16512 (Debian/Ubuntu binary package
names) and the layer index change for 16513 (python3-&lt;name&gt; also matches
python-&lt;name&gt;):

  NOTE: Distro: Debian, Latest Release: 13.7, # packages: 91775
  NOTE: Distro: Ubuntu, Latest Release: resolute, # packages: 16528
  NOTE: Distro: Fedora, Latest Release: 45, # packages: 23237
  NOTE: Distro: openSUSE, Latest Release: 16.1, # packages: 10638

No warnings. Recipes on master matched to at least one distro:
meta-python 574 of 727 (7 before), openembedded-core 664 of 960,
meta-oe 767 of 1094. Recipe-to-distro matches went from 4177 to 6045.

Examples: python3-requests matches python3-requests in Debian and Ubuntu
and python-requests in Fedora and openSUSE; python3-lz4 matches
python-lz4, not the lz4 C library; python3-icu matches Debian&apos;s
python3-icu binary package; qemu-system-native matches Debian&apos;s
qemu-system.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107484</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-11-15 03:35:03 +0000</bug_when>
    <thetext>Patch sent to openembedded-core, under review (patchwork 104085; applies on top of series 53381):
https://lore.kernel.org/all/20261115033018.75976-2-tim.orling@konsulko.com/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>