Hello Team,

Can someone help to fix the error I see when using devtool build or devtool
update-recipe.


*Exception: bb.fetch2.FetchError: Fetcher failure: Recipe uses a floating
tag/branch '5.15/linux' for repo 'github.com/intel/linux-intel-lts.git
<http://github.com/intel/linux-intel-lts.git>' without a fixed SRCREV yet
doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE).*



complete log is below:



sbaby@ECP-WAP-APPSERVER:~/workspace/09252023/ecp-wap-appserver/build$
devtool build linux-intel

NOTE: Starting bitbake server...

WARNING: Layer summit-radio should set LAYERSERIES_COMPAT_summit-radio in
its conf/layer.conf file to list the core layer names it is compatible with.

NOTE: Reconnecting to bitbake server...

NOTE: Retrying server connection (#1)...

WARNING: Layer summit-radio should set LAYERSERIES_COMPAT_summit-radio in
its conf/layer.conf file to list the core layer names it is compatible with.

Loading cache: 100%
|############################################################################################################################################################################|
Time: 0:00:00

Loaded 4588 entries from dependency cache.

ERROR:
/home/sbaby/workspace/09252023/ecp-wap-appserver/build/../iotg-yocto-ese-bsp/recipes-kernel/linux/
linux-intel_5.15.bb: Error executing a python function in
<code>:                      | ETA:  --:--:--



The stack trace of python calls that resulted in this exception/failure was:

File: '<code>', lineno: 19, function: <module>


0015:__anon_41__home_sbaby_workspace_09252023_ecp_wap_appserver_build____iotg_yocto_ese_bsp_classes_kernel_oot_mod_scripts_bbclass(d)


0016:__anon_22__home_sbaby_workspace_09252023_ecp_wap_appserver_build____poky_meta_classes_image_artifact_names_bbclass(d)


0017:__anon_7__home_sbaby_workspace_09252023_ecp_wap_appserver_build____poky_meta_classes_kernel_devicetree_bbclass(d)


0018:__anon_721__home_sbaby_workspace_09252023_ecp_wap_appserver_build____poky_meta_classes_kernel_yocto_bbclass(d)

***
0019:__anon_147__home_sbaby_workspace_09252023_ecp_wap_appserver_build____poky_meta_classes_externalsrc_bbclass(d)

File:
'/home/sbaby/workspace/09252023/ecp-wap-appserver/build/../poky/meta/classes/externalsrc.bbclass',
lineno: 66, function:
__anon_147__home_sbaby_workspace_09252023_ecp_wap_appserver_build____poky_meta_classes_externalsrc_bbclass

     0062:        else:

     0063:            d.setVar('B', '${WORKDIR}/${BPN}-${PV}')

     0064:

     0065:        local_srcuri = []

*** 0066:        fetch = bb.fetch2.Fetch((d.getVar('SRC_URI') or
'').split(), d)

     0067:        for url in fetch.urls:

     0068:            url_data = fetch.ud[url]

     0069:            parm = url_data.parm

     0070:            if (url_data.type == 'file' or

File:
'/home/sbaby/workspace/09252023/ecp-wap-appserver/poky/bitbake/lib/bb/fetch2/__init__.py',
lineno: 1682, function: __init__

     1678:

     1679:        for url in urls:

     1680:            if url not in self.ud:

     1681:                try:

*** 1682:                    self.ud[url] = FetchData(url, d, localonly)

     1683:                except NonLocalMethod:

     1684:                    if localonly:

     1685:                        self.ud[url] = None

     1686:                        pass

File:
'/home/sbaby/workspace/09252023/ecp-wap-appserver/poky/bitbake/lib/bb/fetch2/__init__.py',
lineno: 1319, function: __init__

     1315:            logger.warning('Consider updating %s recipe to use
"protocol" not "proto" in SRC_URI.', d.getVar('PN'))

     1316:            self.parm["protocol"] = self.parm.get("proto", None)

     1317:

     1318:        if hasattr(self.method, "urldata_init"):

*** 1319:            self.method.urldata_init(self, d)

     1320:

     1321:        if "localpath" in self.parm:

     1322:            # if user sets localpath for file, use it instead.

     1323:            self.localpath = self.parm["localpath"]

File:
'/home/sbaby/workspace/09252023/ecp-wap-appserver/poky/bitbake/lib/bb/fetch2/git.py',
lineno: 250, function: urldata_init

     0246:        write_tarballs = d.getVar("BB_GENERATE_MIRROR_TARBALLS")
or "0"

     0247:        ud.write_tarballs = write_tarballs != "0" or ud.rebaseable

     0248:        ud.write_shallow_tarballs =
(d.getVar("BB_GENERATE_SHALLOW_TARBALLS") or write_tarballs) != "0"

     0249:

*** 0250:        ud.setup_revisions(d)

     0251:

     0252:        for name in ud.names:

     0253:            # Ensure anything that doesn't look like a sha256
checksum/revision is translated into one

     0254:            if not ud.revisions[name] or len(ud.revisions[name])
!= 40  or (False in [c in "abcdef0123456789" for c in ud.revisions[name]]):

File:
'/home/sbaby/workspace/09252023/ecp-wap-appserver/poky/bitbake/lib/bb/fetch2/__init__.py',
lineno: 1349, function: setup_revisions

     1345:

     1346:    def setup_revisions(self, d):

     1347:        self.revisions = {}

     1348:        for name in self.names:

*** 1349:            self.revisions[name] = srcrev_internal_helper(self, d,
name)

     1350:

     1351:        # add compatibility code for non name specified case

     1352:        if len(self.names) == 1:

     1353:            self.revision = self.revisions[self.names[0]]

File:
'/home/sbaby/workspace/09252023/ecp-wap-appserver/poky/bitbake/lib/bb/fetch2/__init__.py',
lineno: 1214, function: srcrev_internal_helper

     1210:

     1211:    if srcrev == "INVALID" or not srcrev:

     1212:        raise FetchError("Please set a valid SRCREV for url %s
(possible key names are %s, or use a ;rev=X URL parameter)" %
(str(attempts), ud.url), ud.url)

     1213:    if srcrev == "AUTOINC":

*** 1214:        srcrev = ud.method.latest_revision(ud, d, name)

     1215:

     1216:    return srcrev

     1217:

     1218:def get_checksum_file_list(d):

File:
'/home/sbaby/workspace/09252023/ecp-wap-appserver/poky/bitbake/lib/bb/fetch2/__init__.py',
lineno: 1626, function: latest_revision

     1622:        key = self.generate_revision_key(ud, d, name)

     1623:        try:

     1624:            return revs[key]

     1625:        except KeyError:

*** 1626:            revs[key] = rev = self._latest_revision(ud, d, name)

     1627:            return rev

     1628:

     1629:    def sortable_revision(self, ud, d, name):

     1630:        latest_rev = self._build_revision(ud, d, name)

File:
'/home/sbaby/workspace/09252023/ecp-wap-appserver/poky/bitbake/lib/bb/fetch2/git.py',
lineno: 739, function: _latest_revision

     0735:        """

     0736:        Compute the HEAD revision for the url

     0737:        """

     0738:        if not d.getVar("__BBSEENSRCREV"):

*** 0739:            raise bb.fetch2.FetchError("Recipe uses a floating
tag/branch '%s' for repo '%s' without a fixed SRCREV yet doesn't call
bb.fetch2.get_srcrev() (use SRCPV in PV for OE)." %
(ud.unresolvedrev[name], ud.host+ud.path))

     0740:

     0741:        # Ensure we mark as not cached

     0742:        bb.fetch2.get_autorev(d)

     0743:

*Exception: bb.fetch2.FetchError: Fetcher failure: Recipe uses a floating
tag/branch '5.15/linux' for repo 'github.com/intel/linux-intel-lts.git
<http://github.com/intel/linux-intel-lts.git>' without a fixed SRCREV yet
doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE).*



ERROR: Parsing halted due to errors, see error messages above



Summary: There was 1 WARNING message.

Summary: There were 2 ERROR messages, returning a non-zero exit code.

ERROR: Failed to start bitbake environment



Regards

Simon
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61225): https://lists.yoctoproject.org/g/yocto/message/61225
Mute This Topic: https://lists.yoctoproject.org/mt/101744963/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to