<?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>14918</bug_id>
          
          <creation_ts>2022-09-27 07:20:23 +0000</creation_ts>
          <short_desc>Devtool fails if SRCREV is set to ${AUTOREV}</short_desc>
          <delta_ts>2024-03-05 15:54:05 +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>4.0.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>normal</bug_severity>
          <target_milestone>5.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Shibi Krishnamoorthy">shibi.cbe</reporter>
          <assigned_to name="Yoann Congal">yoann.congal</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>ross.burton</cc>
    
    <cc>tom.isaacson</cc>
    
    <cc>yoann.congal</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>94074</commentid>
    <comment_count>0</comment_count>
      <attachid>4905</attachid>
    <who name="Shibi Krishnamoorthy">shibi.cbe</who>
    <bug_when>2022-09-27 07:20:23 +0000</bug_when>
    <thetext>Created attachment 4905
Devtool error log

Devtool fails after first recipe package devtool modify. Check scenario below


We perform yocto build and do devtool modify for one of package it works
if we perform devtool modify for another package without resetting the previously modified package we are getting below error in modified package during parsing bb step 

recipefile(.bb):
 
SRC_URI=&quot;git://git.com/pkg/linux;branch=mulberry-5.10;protocol=ssh;name=linux;destsuffix=git
 
SRCREV = &quot;${AUTOREV}&quot;
 
PV = &quot;5.10+git${SRCPV}&quot;
 
Yocto version: Kirkstone
BB_SRCREV_POLICY = &quot;clear&quot;

Steps to reproduce:
1. set SRCREV=${AUTOREV} in two/ three recipe file 
2. devtool modify &lt;recipe-1 name&gt;
3. devtool modify &lt;recipe-2 name&gt;

Expected Result:
1. create workspace, checkout the source code and set to build yocto from from external sources

Actual result:
1. Bitbake Fails at parsing recipe file (attached error log)


Additional Information: 
1. Error is reproduced only in Kirkstone ( unable to reproduce above issue Hardknott and Dunfell) 
2. Patch which is causing this issue
https://lists.openembedded.org/g/bitbake-devel/topic/89051455#13344 
3. If we set BB_SRCREV_POLICY = &quot;cache&quot; or fixed SRCREV it works without any issues
4. Topic in Mailing list https://lists.openembedded.org/g/bitbake-devel/topic/89051455#13344</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94075</commentid>
    <comment_count>1</comment_count>
    <who name="Shibi Krishnamoorthy">shibi.cbe</who>
    <bug_when>2022-09-27 07:35:50 +0000</bug_when>
    <thetext>Mailing list topic

https://lists.openembedded.org/g/bitbake-devel/message/13976?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2CAUTOREV%2C20%2C2%2C0%2C93674384</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96617</commentid>
    <comment_count>2</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2023-10-04 23:13:59 +0000</bug_when>
    <thetext>I&apos;ve got another reproducer :
This recipe cmakehelloworld_git.bb:
----------------
LICENSE = &quot;MIT&quot;
LIC_FILES_CHKSUM = &quot;file://LICENSE;md5=be316b0d6cb4f744b08c9dc589a13eff&quot;
SUMMARY = &quot;XXX&quot;
HOMEPAGE = &quot;http://example.org&quot;
SRC_URI = &quot;git://github.com/jameskbride/cmake-hello-world.git;protocol=https;branch=master&quot;
PV = &quot;1.0+git&quot;
SRCREV = &quot;${AUTOREV}&quot;
S = &quot;${WORKDIR}/git&quot;
inherit cmake
EXTRA_OECMAKE = &quot;&quot;
FILES:${PN}-staticdev:append = &quot; /usr/bin/libHello.a&quot;
----------------

And a symlink cmakehelloworld2_git.bb -&gt; cmakehelloworld_git.bb

With these :
# clear workspace
rm -rf build/workspace/
sed -i &apos;/workspace/d&apos; build/conf/bblayers.conf
# devtool modify 2 AUTOREV recipes
devtool modify cmakehelloworld
devtool modify cmakehelloworld2


Result, this fail on kirkstone but not on master (Same log as reporter)

I&apos;ve bisected the fix : commit 62afa02d01794376efab75623f42e7e08af08526 [0] does allow the second devtool modify to work correctly.

Sadly, this commit can&apos;t be trivially backported to kirkstone (event after paths fix, bitbake crashes on missing functions)

[0] https://git.yoctoproject.org/poky/commit/?id=62afa02d01794376efab75623f42e7e08af08526
commit 62afa02d01794376efab75623f42e7e08af08526
Author: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Date:   Fri Aug 11 13:52:59 2023 +0100

    base/package: Move source revision information from PV to PKGV
    
    Source control information being present in PV used to be a hard requirement
    for bitbake to operate correctly. Now that hashes are a required part of task
    stamps, this requirement no longer exists.
    
    This means we can defer the hash pieces to PKGV and simplify PV.
    
    Use new bitbake fetcher API to inject the source revisions directly into the hash
    allowing removal of some horrible code from base.bbclass and avoiding any hardcoding
    about how SRCREV may or may not be used.
    
    Use that API to object the string to append to PKGV and append that directly.
    
    The user visible effect of this change is that PV will no longer have revision
    information in it and this will now be appended to PV through PKGV when the
    packages are written. Since PV is used in STAMP and WORKDIR, users will see
    small directory naming and stamp naming changes.
    
    This will mean that sstate reuse through hash equivalence where the source
    revision changes but the output does not will become possible as the sstate
    naming will become less specific and no longer contain the revision.
    
    The SRCPV variable will no longer be needed in PV and is effectively now just
    a null operation. Usage can be removed over time.
    
    (From OE-Core rev: a8e7b0f932b9ea69b3a218fca18041676c65aba0)
    
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97226</commentid>
    <comment_count>3</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2023-11-08 22:53:14 +0000</bug_when>
    <thetext>Chris Wyse proposed a fix here : https://lists.yoctoproject.org/g/yocto/message/61639 :
&gt; I ran into this problem as well.  It doesn&apos;t seem like SRCPV is being set
&gt; properly before use in the externalsrc.bbclass.  I added the following line
&gt; before bpn = d.getVar(&apos;BPN&apos;), and now it works fine.  Unfortunately, I needed
&gt; to create another layer that overrides the poky classes to include it in my
&gt; build.  Here&apos;s the added line:
&gt;
&gt;   srcpv = d.getVar(&apos;SRCPV&apos;)

In patch format (in OE-core kirkstone branch) :

diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index 97d7379d9f..41f87b2ef8 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -36,6 +36,8 @@ python () {
     if externalsrcbuild and not externalsrcbuild.startswith(&quot;/&quot;):
         bb.error(&quot;EXTERNALSRC_BUILD must be an absolute path&quot;)
 
+    srcpv = d.getVar(&apos;SRCPV&apos;)
+
     # If this is the base recipe and EXTERNALSRC is set for it or any of its
     # derivatives, then enable BB_DONT_CACHE to force the recipe to always be
     # re-parsed so that the file-checksums function for do_compile is run every</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97437</commentid>
    <comment_count>4</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2023-12-07 08:15:56 +0000</bug_when>
    <thetext>Chris Wyse&apos;s proposal does indeed fix the problem:
  srcpv = d.getVar(&apos;SRCPV&apos;)

Notes:
* srcpv is unused afterward so creating this variable is useless.
* The fix is in reading &quot;SRCPV&quot; : while expanding it, it does run bb.fetch2.get_srcrev(d) (setting up __BBSEENSRCREV)
* So, the problem is that on the second devtool modify, bb.fetch2.get_srcrev(d) is not called before accessing SRC_URI and trigger this FetchError:
File: &apos;.../poky/bitbake/lib/bb/fetch2/git.py&apos;, lineno: 743, function: _latest_revision
     0739:        &quot;&quot;&quot;
     0740:        Compute the HEAD revision for the url
     0741:        &quot;&quot;&quot;
     0742:        if not d.getVar(&quot;__BBSEENSRCREV&quot;):
 *** 0743:            raise bb.fetch2.FetchError(&quot;Recipe uses a floating tag/branch &apos;%s&apos; for repo &apos;%s&apos; without a fixed SRCREV yet doesn&apos;t call bb.fetch2.get_srcrev() (use SRCPV in PV for OE).&quot; % (ud.unresolvedrev[name], ud.host+ud.path))
     0744:
     0745:        # Ensure we mark as not cached
     0746:        bb.fetch2.get_autorev(d)
     0747:


https://git.yoctoproject.org/poky/commit/?id=62afa02d01794376efab75623f42e7e08af08526 does fix this by calling bb.fetch.get_hashvalue(d) before accessing SRC_URI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97443</commentid>
    <comment_count>5</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2023-12-07 16:48:56 +0000</bug_when>
    <thetext>As discussed in triage meeting:
* As the master fix is too invasive, a workaround for kirkstone is acceptable
* d.getVar(&apos;SRCPV&apos;) might have other side-effect (One side-effect being a work-around this bug)
* I&apos;ll clean up the current workaround and propose it for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97449</commentid>
    <comment_count>6</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2023-12-07 22:35:24 +0000</bug_when>
    <thetext>Patch sent:
[kirkstone][PATCH] externalsrc: Ensure SRCREV is processed before accessing SRC_URI
https://lists.openembedded.org/g/openembedded-core/message/191978</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97568</commentid>
    <comment_count>7</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2023-12-14 21:45:10 +0000</bug_when>
    <thetext>Steve Sakoman wrote :
&gt; This patch resulted in oe-seftest failures on the autobuilder:
&gt; https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6322
&gt; 
&gt; A representative log:
&gt; https://errors.yoctoproject.org/Errors/Details/746003/

I can reproduce this problem locally with:
  oe-selftest -r devtool.DevtoolUpdateTests.test_devtool_update_recipe_local_files_subdir -T machine -T toolchain-user -T toolchain-system -j 15

The interesting part of the log:
Parsing recipes...ERROR: /home/yocon/Documents/projets/yocto/poky/build-kirkstone-st-2699726/meta-selftest/recipes-test/devtool/devtool-test-subdir.bb: Error executing a python function in &lt;code&gt;:

The stack trace of python calls that resulted in this exception/failure was:
File: &apos;&lt;code&gt;&apos;, lineno: 10, function: &lt;module&gt;
     0006:__anon_725__tmp_devtoolqa8gqhqvbu_core_copy_meta_classes_package_rpm_bbclass(d)
     0007:__anon_29__tmp_devtoolqa8gqhqvbu_core_copy_meta_classes_debian_bbclass(d)
     0008:__anon_36__tmp_devtoolqa8gqhqvbu_core_copy_meta_classes_devshell_bbclass(d)
     0009:__anon_162__tmp_devtoolqa8gqhqvbu_core_copy_meta_classes_sstate_bbclass(d)
 *** 0010:__anon_149__tmp_devtoolqa8gqhqvbu_core_copy_meta_classes_externalsrc_bbclass(d)
File: &apos;/tmp/devtoolqa8gqhqvbu/core-copy/meta/classes/externalsrc.bbclass&apos;, lineno: 66, function: __anon_149__tmp_devtoolqa8gqhqvbu_core_copy_meta_classes_externalsrc_bbclass
     0062:        else:
     0063:            d.setVar(&apos;B&apos;, &apos;${WORKDIR}/${BPN}-${PV}&apos;)
     0064:
     0065:        # Ensure SRCREV has been processed before accessing SRC_URI
 *** 0066:        bb.fetch.get_srcrev(d)
     0067:
     0068:        local_srcuri = []
     0069:        fetch = bb.fetch2.Fetch((d.getVar(&apos;SRC_URI&apos;) or &apos;&apos;).split(), d)
     0070:        for url in fetch.urls:
File: &apos;/home/yocon/Documents/projets/yocto/poky/bitbake/lib/bb/fetch2/__init__.py&apos;, lineno: 782, function: get_srcrev
     0778:        if urldata[u].method.supports_srcrev():
     0779:            scms.append(u)
     0780:
     0781:    if not scms:
 *** 0782:        raise FetchError(&quot;SRCREV was used yet no valid SCM was found in SRC_URI&quot;)
     0783:
     0784:    if len(scms) == 1 and len(urldata[scms[0]].names) == 1:
     0785:        autoinc, rev = getattr(urldata[scms[0]].method, method_name)(urldata[scms[0]], d, urldata[scms[0]].names[0])
     0786:        if len(rev) &gt; 10:
Exception: bb.fetch2.FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI

Maybe I need to call get_srcrev() unconditionally, call it only if it supports srcrev()?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97620</commentid>
    <comment_count>8</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2023-12-19 07:00:59 +0000</bug_when>
    <thetext>Bumping target milestone to 5.0 M2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97954</commentid>
    <comment_count>9</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2024-01-23 14:39:29 +0000</bug_when>
    <thetext>Bulk move to Milestone 5.0 M3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98268</commentid>
    <comment_count>10</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2024-02-22 16:23:31 +0000</bug_when>
    <thetext>Bulk move to 5.0 M4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98376</commentid>
    <comment_count>11</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2024-03-05 15:54:05 +0000</bug_when>
    <thetext>Fix v2 merged https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&amp;id=f6563cca6c4bf627e904d81fbe5b0b0f2b16a107</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>4905</attachid>
            <date>2022-09-27 07:20:23 +0000</date>
            <delta_ts>2022-09-27 07:20:23 +0000</delta_ts>
            <desc>Devtool error log</desc>
            <filename>devtool-error-log</filename>
            <type>application/octet-stream</type>
            <size>5711</size>
            <attacher name="Shibi Krishnamoorthy">shibi.cbe</attacher>
            
              <data encoding="base64">RXJyb3I6CiAKRVJST1I6IC9sb2NhbC9ob21lL3Rlc3Qvd29ya3NwYWNlL3Bva3kvLi4vc291cmNl
cy9tZXRhLXRlc3QvcmVjaXBlcy1rZXJuZWwvbGludXgvbGludXhfNS4xMC5iYjogRXJyb3IgZXhl
Y3V0aW5nIGEgcHl0aG9uIGZ1bmN0aW9uIGluIDxjb2RlPjogICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCBFVEE6ICAtLTotLTotLQogCiAK
IApUaGUgc3RhY2sgdHJhY2Ugb2YgcHl0aG9uIGNhbGxzIHRoYXQgcmVzdWx0ZWQgaW4gdGhpcyBl
eGNlcHRpb24vZmFpbHVyZSB3YXM6CkZpbGU6ICc8Y29kZT4nLCBsaW5lbm86IDIxLCBmdW5jdGlv
bjogPG1vZHVsZT4KIAogICAgIDAwMTc6X19hbm9uXzU2X19sb2NhbF9ob21lX3Rlc3Rfd29ya3Nw
YWNlX3Bva3lfbWV0YV9jbGFzc2VzX2tlcm5lbF9maXRpbWFnZV9iYmNsYXNzKGQpCiAKICAgICAw
MDE4Ol9fYW5vbl83OTVfX2xvY2FsX2hvbWVfdGVzdF93b3Jrc3BhY2VfcG9reV9tZXRhX2NsYXNz
ZXNfa2VybmVsX2ZpdGltYWdlX2JiY2xhc3MoZCkKIAogICAgIDAwMTk6X19hbm9uXzdfX2xvY2Fs
X2hvbWVfdGVzdF93b3Jrc3BhY2VfcG9reV9tZXRhX2NsYXNzZXNfa2VybmVsX2RldmljZXRyZWVf
YmJjbGFzcyhkKQogCiAgICAgMDAyMDpfX2Fub25fNzE3X19sb2NhbF9ob21lX3Rlc3Rfd29ya3Nw
YWNlX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