<?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>13933</bug_id>
          
          <creation_ts>2020-06-08 08:48:29 +0000</creation_ts>
          <short_desc>Add multiconfig support to devtool</short_desc>
          <delta_ts>2026-10-28 09:50:16 +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>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>https://lists.openembedded.org/g/openembedded-core/message/248498</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ricardo Ribalda">ricardo.ribalda</reporter>
          <assigned_to name="Anusmita Dutta Mazumder">Anusmita.DuttaMazumder</assigned_to>
          <cc>Anusmita.DuttaMazumder</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>tim.orling</cc>
    
    <cc>tomasz.dziendzielski</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>87447</commentid>
    <comment_count>0</comment_count>
      <attachid>4690</attachid>
    <who name="Ricardo Ribalda">ricardo.ribalda</who>
    <bug_when>2020-06-08 08:48:29 +0000</bug_when>
    <thetext>Created attachment 4690
multiconfig patch

I have created a very simple multiconfig

cat build/conf/multiconfig/arm.conf
MACHINE = &quot;qemuarm&quot;

And then I want to modify bash:

$ devtool modify mc:arm:bash #this fails
NOTE: Starting bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry...
NOTE: Retrying server connection (#2)...
Loading cache: 100% |####################################################################| Time: 0:00:00
Loaded 2643 entries from dependency cache.
Parsing recipes: 100% |##################################################################| Time: 0:00:00
Parsing of 773 .bb files complete (772 cached, 1 parsed). 2644 targets, 163 skipped, 0 masked, 0 errors.
ERROR: Unable to find any recipe file matching &quot;mc:arm:bash&quot;


$devtool modify multiconfig:arm:bash this works as expected

If then I try to run:
devtool build multiconfig:arm:bash
NOTE: Starting bitbake server...
ERROR: No recipe named &apos;multiconfig:arm:bash&apos; in your workspace

So I run:
devtool build bash

But that builds for x86 instead of for arm...


The attached patch helps a bit, but it is just a horrible hack that should not be merged ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89010</commentid>
    <comment_count>1</comment_count>
    <who name="Tomasz Dziendzielski">tomasz.dziendzielski</who>
    <bug_when>2021-01-24 15:07:58 +0000</bug_when>
    <thetext>I&apos;m afraid full support of multiconfig in devtool would require rewriting major part of devtool. Multiconfig allows you to run multiple machines with
$ bitbake mc:qemux86:bash mc:qemuarm:bash
or
$ bitbake mc:*:bash
while devtool allows to run only one target at a time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89015</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-01-25 14:16:02 +0000</bug_when>
    <thetext>Based on the comment by Tomasz, I&apos;ve changed this issue to an enhancement for some time in the future. I&apos;m not convinced that we&apos;d ever work on it but who knows what the future holds!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96811</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:22 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107221</commentid>
    <comment_count>4</comment_count>
    <who name="Anusmita Dutta Mazumder">Anusmita.DuttaMazumder</who>
    <bug_when>2026-10-28 09:50:16 +0000</bug_when>
    <thetext>I have submitted a five-patch series addressing multiconfig support in devtool:
https://lists.openembedded.org/g/openembedded-core/message/248498

The submitted implementation still keys workspace entries by bare PN, so the same recipe cannot be modified independently in multiple configurations simultaneously.

Review has raised the need to agree on a common workspace design covering multiconfig, native, nativesdk and multilib variants. The discussion includes using one bbappend per recipe file, with settings scoped per variant and compatible variants sharing a source tree.

The series is under review; the workspace design discussion remains ongoing.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>4690</attachid>
            <date>2020-06-08 08:48:29 +0000</date>
            <delta_ts>2020-06-08 08:48:29 +0000</delta_ts>
            <desc>multiconfig patch</desc>
            <filename>multiconfig.patch</filename>
            <type>text/plain</type>
            <size>752</size>
            <attacher name="Ricardo Ribalda">ricardo.ribalda</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL3NjcmlwdHMvbGliL2RldnRvb2wvX19pbml0X18ucHkgYi9zY3JpcHRzL2xp
Yi9kZXZ0b29sL19faW5pdF9fLnB5CmluZGV4IDZlYmUzNjhhOWUuLjUxYzUwZTcwNzYgMTAwNjQ0
Ci0tLSBhL3NjcmlwdHMvbGliL2RldnRvb2wvX19pbml0X18ucHkKKysrIGIvc2NyaXB0cy9saWIv
ZGV2dG9vbC9fX2luaXRfXy5weQpAQCAtMTE5LDYgKzExOSw5IEBAIGRlZiBzZXR1cF90aW5mb2ls
KGNvbmZpZ19vbmx5PUZhbHNlLCBiYXNlcGF0aD1Ob25lLCB0cmFja2luZz1GYWxzZSk6CiAKIGRl
ZiBwYXJzZV9yZWNpcGUoY29uZmlnLCB0aW5mb2lsLCBwbiwgYXBwZW5kcywgZmlsdGVyX3dvcmtz
cGFjZT1UcnVlKToKICAgICAiIiJQYXJzZSB0aGUgc3BlY2lmaWVkIHJlY2lwZSIiIgorCisgICAg
cG4gPSBwbi5zcGxpdCgiOiIpWy0xXQorCiAgICAgdHJ5OgogICAgICAgICByZWNpcGVmaWxlID0g
dGluZm9pbC5nZXRfcmVjaXBlX2ZpbGUocG4pCiAgICAgZXhjZXB0IGJiLnByb3ZpZGVycy5Ob1By
b3ZpZGVyIGFzIGU6CkBAIC0xNDUsNiArMTQ4LDggQEAgZGVmIGNoZWNrX3dvcmtzcGFjZV9yZWNp
cGUod29ya3NwYWNlLCBwbiwgY2hlY2tzcmM9VHJ1ZSwgYmJjbGFzc2V4dGVuZD1GYWxzZSk6CiAg
ICAgaXMgcHJlc2VudC4KICAgICAiIiIKIAorICAgIHBuID0gcG4uc3BsaXQoIjoiKVstMV0KKwog
ICAgIHdvcmtzcGFjZXBuID0gcG4KIAogICAgIGZvciByZWNpcGUsIHZhbHVlIGluIHdvcmtzcGFj
ZS5pdGVtcygpOgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>