<?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>15663</bug_id>
          
          <creation_ts>2024-11-26 16:57:19 +0000</creation_ts>
          <short_desc>quilt not in OE-shell PATH</short_desc>
          <delta_ts>2024-12-02 13:10:24 +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>Scripts and Tools</component>
          <version>5.99</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>5.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mehmet Bulut">mail</reporter>
          <assigned_to name="Christos Gavros">gavrosc</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>yoann.congal</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>100275</commentid>
    <comment_count>0</comment_count>
    <who name="Mehmet Bulut">mail</who>
    <bug_when>2024-11-26 16:57:19 +0000</bug_when>
    <thetext>While trying to generate a patch using quilt in a devtool modify session, I noticed that quilt is not in PATH. I could locate quilt in recipe-sysroot-native and execute it but it would be much more convenient if it was in PATH.

Steps to reproduce:
1. Start an OE-shell
2. run the command &apos;quilt&apos;

Expected behavior:
quilt can be executed successfully

Observed behavior:
quilt cannot be found</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100323</commentid>
    <comment_count>1</comment_count>
    <who name="Christos Gavros">gavrosc</who>
    <bug_when>2024-11-29 20:30:39 +0000</bug_when>
    <thetext>Hi Mehmet,

I tried to reproduce the behaviour you are describing.
I am using ubuntu 22.04 as host machine where quilt (0.66) is already installed.

So I followed the next steps in the host machine to modify helloworld recipe:
-Switch to poky directory
-Source oe-init-build-env
-devtool modify helloworld
-Switch to the ../build/workspace/sources/helloworld/oe-local-files
-quilt new fix1.patch
-quilt add helloworld.c
-Making changes in helloworld.c
-quilt refresh

I didn’t notice any issue.

Can you explain further how can I reproduce the issue?

* Please bear with me , I am a newcomer :)

Br
Christos</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100324</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2024-11-30 00:05:34 +0000</bug_when>
    <thetext>I think there is a bit of confusion here on my part, sorry. I was reading &quot;Start an OE-shell&quot; as being a devhell in recipe context. I think instead this refers to the &quot;oe-init-build-env&quot; command?

&quot;devtool modify&quot; doesn&apos;t create or drop you into a subshell so it is still in the main/parent context, not any specific recipe. Tools such as quilt are installed per recipe in ${WORKDIR}/recipe-sysroot-native via dependency so they can&apos;t be available in the parent context.

As such I&apos;m not sure we can make quilt available in the original build context. 

Whether we could have some simple command to place the user into the recipe context could be something to explore but also a lot more of a complex project.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100325</commentid>
    <comment_count>3</comment_count>
    <who name="Mehmet Bulut">mail</who>
    <bug_when>2024-11-30 00:44:27 +0000</bug_when>
    <thetext>Thx for looking into this Christos and thx for your comment Richard.

As Richard pointed out, this originated from a misunderstanding between the two of us (which I seem to have caused by &quot;inventing&quot; the term OE-shell).

I agree that it&apos;s not worth the hassle pursuing this further and suggest closing the ticket.

Apologies again for the confusion and have a good time everyone!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100326</commentid>
    <comment_count>4</comment_count>
    <who name="Christos Gavros">gavrosc</who>
    <bug_when>2024-11-30 06:57:57 +0000</bug_when>
    <thetext>hi

no worries at all :) !</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100333</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2024-12-02 13:10:24 +0000</bug_when>
    <thetext>Resolving as disucssed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>