<?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>14104</bug_id>
          
          <creation_ts>2020-10-22 11:35:48 +0000</creation_ts>
          <short_desc>3.1.2 (not an option above) devtool finish does not copy recipe in layer</short_desc>
          <delta_ts>2021-05-18 22:07:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>eSDK</product>
          <component>eSDK</component>
          <version>3.1.4</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>3.4 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Berger">pokylinux</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
          
          <qa_contact name="Francisco Pedraza">francisco.j.pedraza.gonzalez</qa_contact>
          <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>88474</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2020-10-22 11:35:48 +0000</bug_when>
    <thetext>Please note, that I executed this with the extensible SDK and not in cooker mode.

+ source /opt/buildtools-extended/resy/3.1.2/multi-v7-ml/imx6q-phytec-mira-rdk-nand/environment-setup-x86_64-resysdk-linux
+ source environment-setup-armv7at2hf-vfp-resy-linux-gnueabi
SDK environment now set up; additionally you may now run devtool to perform development tasks.
Run devtool --help for further details.

+ devtool finish -f nettoe /workdir/sources/meta-nettoe
NOTE: Starting bitbake server...
WARNING: Source tree is not clean, continuing as requested by -f/--force
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
Loading cache: 100% |##########################################################################################################################################################| Time: 0:00:00
Loaded 3294 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################################################| Time: 0:00:00
Parsing of 2197 .bb files complete (2194 cached, 3 parsed). 3296 targets, 138 skipped, 0 masked, 0 errors.
INFO: No patches or local source files needed updating
INFO: Cleaning sysroot for recipe nettoe...
INFO: Leaving source tree /opt/ext-sdk/resy/3.1.2/multi-v7-ml/imx6q-phytec-mira-rdk-nand/workspace/sources/nettoe as-is; if you no longer need it then please delete it manually


+ tree /workdir/sources/meta-nettoe
/workdir/sources/meta-nettoe
├── conf
│   └── layer.conf
├── COPYING.MIT
├── README
└── recipes-example
    └── example
        └── example_0.1.bb


nettoe recipe is missing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88475</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2020-10-22 12:44:25 +0000</bug_when>
    <thetext>It&apos;s getting more interesting ;)

The first time (where it fails) I copied the recipe over manually to my custom layer.

From now on it seems to work as expected.

1) modify works

+ devtool modify nettoe
NOTE: Starting bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
Loading cache: 100% |##########################################################################################################################################################| Time: 0:00:00
Loaded 3295 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################################################| Time: 0:00:00
Parsing of 2196 .bb files complete (2194 cached, 2 parsed). 3295 targets, 138 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |#####################################################################################################################################################| Time: 0:00:00
Sstate summary: Wanted 0 Found 0 Missed 0 Current 20 (0% match, 100% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 93 tasks of which 90 didn&apos;t need to be rerun and all succeeded.
INFO: Source tree extracted to /opt/ext-sdk/resy/3.1.2/multi-v7-ml/imx6q-phytec-mira-rdk-nand/workspace/sources/nettoe
INFO: Recipe nettoe now set up to build from /opt/ext-sdk/resy/3.1.2/multi-v7-ml/imx6q-phytec-mira-rdk-nand/workspace/sources/nettoe

2) finish works

+ devtool finish -f nettoe /workdir/sources/meta-nettoe
NOTE: Starting bitbake server...
WARNING: Source tree is not clean, continuing as requested by -f/--force
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
Loading cache: 100% |##########################################################################################################################################################| Time: 0:00:00
Loaded 3295 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################################################| Time: 0:00:00
Parsing of 2196 .bb files complete (2193 cached, 3 parsed). 3295 targets, 138 skipped, 0 masked, 0 errors.
INFO: Updating patch 0001-add-copyright.patch
INFO: Cleaning sysroot for recipe nettoe...
INFO: Leaving source tree /opt/ext-sdk/resy/3.1.2/multi-v7-ml/imx6q-phytec-mira-rdk-nand/workspace/sources/nettoe as-is; if you no longer need it then please delete it manually
+ rm -rf workspace/sources/nettoe
+ plus_off
+ set +x
+ pushd workspace
/opt/ext-sdk/resy/3.1.2/multi-v7-ml/imx6q-phytec-mira-rdk-nand/workspace /opt/ext-sdk/resy/3.1.2/multi-v7-ml/imx6q-phytec-mira-rdk-nand
+ find
+ grep nettoe
+ popd
/opt/ext-sdk/resy/3.1.2/multi-v7-ml/imx6q-phytec-mira-rdk-nand
+ tree /workdir/sources/meta-nettoe
/workdir/sources/meta-nettoe
├── conf
│   └── layer.conf
├── COPYING.MIT
├── README
└── recipes-nettoe
    └── nettoe
        ├── nettoe
        │   └── 0001-add-copyright.patch
        └── nettoe_git.bb</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90395</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2021-05-15 15:50:55 +0000</bug_when>
    <thetext>This seems to be fixed in master. I am on this commit:

commit bb490c7ea9170fc1b3c2dd15466daf6a9fad735c
Author: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Date:   Mon May 10 08:00:05 2021 +0100

3.3.x

Whoever wants to can close it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90405</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-05-17 23:43:39 +0000</bug_when>
    <thetext>The commit isn&apos;t valid in:
$ cd .../oe-core/bitbake
$ git show bb490c7ea9170fc1b3c2dd15466daf6a9fad735c
fatal: bad object bb490c7ea9170fc1b3c2dd15466daf6a9fad735c
$ cd ..
$ git show bb490c7ea9170fc1b3c2dd15466daf6a9fad735c
fatal: bad object bb490c7ea9170fc1b3c2dd15466daf6a9fad735c
$ cd ../poky.git/
$ git show bb490c7ea9170fc1b3c2dd15466daf6a9fad735c
fatal: bad object bb490c7ea9170fc1b3c2dd15466daf6a9fad735c

I can (and by the end of the week, I will) close the defect but maybe Richard has a valid commit id.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90408</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2021-05-18 20:47:10 +0000</bug_when>
    <thetext>Can you please try this on master?

 git log | grep -A 5 -B 5 &quot;puzzles: Upstream changed to main branch for development&quot;

commit bb490c7ea9170fc1b3c2dd15466daf6a9fad735c
Author: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Date:   Mon May 10 08:00:05 2021 +0100

    puzzles: Upstream changed to main branch for development
    
    (From OE-Core rev: 943402b25212408a4ddcfa8a146b645509e138dd)
    
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

====

or this?

git log --full-history | grep -A 10 -B 10 bb490c7ea9170fc1b3c2dd15466daf6a9fad735c
    Particularly, numactl, numpy and libseccomp are disabled for now
    due to failures or lack of qemu support. The rest have been verified
    to pass quickly.
    
    [RP: Fix multilib recipe handling]
    (From OE-Core rev: 8bb5da87000ade519529e44181448244bd94d4f5)
    
    Signed-off-by: Alexander Kanavin &lt;alex.kanavin@gmail.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

commit bb490c7ea9170fc1b3c2dd15466daf6a9fad735c
Author: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Date:   Mon May 10 08:00:05 2021 +0100

    puzzles: Upstream changed to main branch for development
    
    (From OE-Core rev: 943402b25212408a4ddcfa8a146b645509e138dd)
    
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

commit 03a3fddb507f2ca001b9c30f1e21c8f434ef6f57</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90409</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-05-18 22:07:56 +0000</bug_when>
    <thetext>Huh, turns out that top commit was valid for poky, I&apos;m not sure what I was doing wrong.

Anyway, I don&apos;t have  specific commit that addresses this bug but 
this is fix before:
https://git.openembedded.org/openembedded-core/commit/?id=943402b25212408a4ddcfa8a146b645509e138dd</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>