<?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>13592</bug_id>
          
          <creation_ts>2019-10-11 12:20:05 +0000</creation_ts>
          <short_desc>python3-config symlink is missing from python3-core</short_desc>
          <delta_ts>2020-01-16 16:08:54 +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>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>BACKPORT 3.0.1</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.1 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ovidiu Panait">ovidiu.panait</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <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>85321</commentid>
    <comment_count>0</comment_count>
    <who name="Ovidiu Panait">ovidiu.panait</who>
    <bug_when>2019-10-11 12:20:05 +0000</bug_when>
    <thetext>python3-core package provides python3.7m-config-lib script, but the python3-config symlink is provided by the python3-dev package:

packages-split$ ls -lah python3-core/usr/bin/
total 44K
drwxr-xr-x 2 user users 4.0K Oct 11 14:38 .
drwxr-xr-x 5 user users 4.0K Oct 11 14:38 ..
lrwxrwxrwx 1 user users    9 Oct 11 14:38 python3 -&gt; python3.7
-rwxr-xr-x 4 user users  14K Oct 11 14:38 python3.7
-rwxr-xr-x 4 user users  14K Oct 11 14:38 python3.7m
-rwxr-xr-x 2 user users 1.9K Oct 11 14:38 python3.7m-config-lib

packages-split$ ls -lah python3-dev/usr/bin/
total 8.0K
drwxr-xr-x 2 user users 4.0K Oct 11 14:38 .
drwxr-xr-x 5 user users 4.0K Oct 11 14:38 ..
lrwxrwxrwx 1 user users   17 Oct 11 14:38 python3.7-config -&gt; python3.7m-config
lrwxrwxrwx 1 user users   16 Oct 11 14:38 python3-config -&gt; python3.7-config


Also, at the moment, python3-config seems to be missing dependencies:

$ git clone git://git.yoctoproject.org/poky
$ . poky/oe-init-build-env

local.conf:
IMAGE_INSTALL_append = &quot; python3-core python3-dev&quot;

$ bitbake core-image-minimal
$ runqemu qemux86-64 nographic kvm slirp

root@qemux86-64:~# python3-config
Traceback (most recent call last):
  File &quot;/usr/bin/python3-config&quot;, line 9, in &lt;module&gt;
    from distutils import sysconfig
ModuleNotFoundError: No module named &apos;distutils&apos;

root@qemux86-64:~# ls -lah /usr/bin/python*-config*
lrwxrwxrwx 1 root root 16 Oct 11 11:38 /usr/bin/python3-config -&gt; python3.7-config
lrwxrwxrwx 1 root root 17 Oct 11 11:38 /usr/bin/python3.7-config -&gt; python3.7m-config
lrwxrwxrwx 1 root root 30 Oct 11 11:45 /usr/bin/python3.7m-config -&gt; /usr/bin/python3.7m-config-lib
-rwxr-xr-x 1 root root 1.9K Oct 11 11:38 /usr/bin/python3.7m-config-lib</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85355</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-10-17 11:29:58 +0000</bug_when>
    <thetext>Patches on the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86049</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2020-01-16 16:08:54 +0000</bug_when>
    <thetext>Fixed in c780f21c33b0684dafff3421600cd1c11ddd0c48.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>