<?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>14048</bug_id>
          
          <creation_ts>2020-09-18 08:07:52 +0000</creation_ts>
          <short_desc>devtool: new recipe addition still keeps using the previous recipes variables in the new one</short_desc>
          <delta_ts>2020-10-29 16:25:17 +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>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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Shan Desai">shantanoo_desai</reporter>
          <assigned_to name="Shan Desai">shantanoo_desai</assigned_to>
          <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>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88173</commentid>
    <comment_count>0</comment_count>
    <who name="Shan Desai">shantanoo_desai</who>
    <bug_when>2020-09-18 08:07:52 +0000</bug_when>
    <thetext>## System

Build Host: Debian 9 Stretch
Target Hardware: PHYTEC PhyBOARD Mira - iMX6 Quad Board
Open-Embedded branch: warrior
Bitbake Version: 1.42.0

## Initial Setup

- I ported my python3 app using the following command using `devtool`:
    devtool add python3-gpsfluxlite &lt;github archive tarball&gt;

which create the recipe for me in my $BUILDDIR/workspace/recipes/python3-gpsfluxlite

- I only changed the `RDEPENDS_${PN}` from `python-depname` to `${PYTHON_PN}-depname` in the recipe and added `systemd` installation script for the app.

- The build was successful and I wrapped up the recipe in my layer using `devtool reset python3-gpsfluxlite` &amp;&amp; `devtool finish python3-gpsfluxlite ../to/my/layer` and it worked well

## Problem

- I wish to port another python3 app and I followed the same development workflow as above:
    devtool add python3-bnofluxlite &lt;github archive tarball&gt;

This time the Terminal kept mentioning the packages and dependencies still from gpsfluxlite (see logs):
    INFO: Scanning paths for packages &amp; dependencies: gpsinfluxlite, bin/gpsinfluxlite


- upon editing the recipe `devtool edit-recipe python3-bnofluxlite` I still see remnants from the `gpsfluxlite` recipe (Pastebin link: https://pastebin.com/KmyENMRh of generated recipe)

  e.g. `S = &quot;${WORKDIR}/gpsfluxlite-${PV}&quot;` as well the `RDEPENDS` from the previous recipe.


The only workaround is to clean up the workspace and use `--srcrev` with `devtool add` to generate the correct recipe.


Seems like `devtool` isn&apos;t picking up or changing the downloaded tarball</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88212</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-09-24 07:40:40 +0000</bug_when>
    <thetext>Can you retest with master? Some changes to datastore have been made that may fix the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88515</commentid>
    <comment_count>2</comment_count>
    <who name="Shan Desai">shantanoo_desai</who>
    <bug_when>2020-10-29 16:25:17 +0000</bug_when>
    <thetext>Hi Randy,

I might be unfortunately late to reply to this issue.

I am bound by the Board Provider&apos;s (PHYTEC) environment. I might checkout the `master` branch and see if things don&apos;t break. If there are changes to the datastore on the master branch, I would like to mark this issue as RESOLVED.

thanks,
Shan</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>