Hi NXP
Execute the following command to report an error What happened
ubuntu@telinksz:~/nxp8ulp/maaxboard-8ulp/build$ devtool create-workspace
NOTE: Starting bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)... (17:39:33.032146)
NOTE: Reconnecting to bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)... (17:39:33.032146)
NOTE: Retrying server connection (#1)... (17:39:33.032146)
NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry... (17:39:33.038896)
NOTE: Directory listing: ['workspaceold', 'cache', 'sstate-cache', 'bitbake-cookerdaemon.log', 'conf', 'tmp']
NOTE: Retrying server connection (#2)... (17:39:33.223699)
NOTE: Reconnecting to bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry... (17:39:33.038896)
NOTE: Previous bitbake instance shutting down?, waiting to retry... (17:39:33.038896)
NOTE: Directory listing: ['workspaceold', 'cache', 'sstate-cache', 'bitbake-cookerdaemon.log', 'conf', 'tmp']
NOTE: Directory listing: ['workspaceold', 'cache', 'sstate-cache', 'bitbake-cookerdaemon.log', 'conf', 'tmp']
NOTE: Retrying server connection (#2)... (17:39:33.223699)
NOTE: Retrying server connection (#2)... (17:39:33.223699)
NOTE: Starting bitbake server...
ubuntu@telinksz:~/nxp8ulp/maaxboard-8ulp/build$ devtool modify linux-imx
NOTE: Starting bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)... (17:40:19.483317)
NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry... (17:40:19.483984)
NOTE: Directory listing: ['workspaceold', 'cache', 'sstate-cache', 'bitbake-cookerdaemon.log', 'conf', 'tmp', 'workspace']
NOTE: Retrying server connection (#2)... (17:40:19.672798)
Loading cache: 100% |####################################################################################################################| Time: 0:00:02
Loaded 5316 entries from dependency cache.
Parsing recipes: 100% |##################################################################################################################| Time: 0:00:01
Parsing of 3461 .bb files complete (3453 cached, 8 parsed). 5324 targets, 586 skipped, 17 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "maaxboard-8ulp"
DISTRO = "fsl-imx-wayland-lite"
DISTRO_VERSION = "6.1-mickledore"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:ddb298ce894482467d82699d223c5555baad6591"
meta-oe
meta-multimedia
meta-python = "HEAD:54b177f4acb3048d21a68f180fc183d0fdf47a94"
meta-freescale = "HEAD:39d8f0d5ee44aae9932923e9fe95b7f2838563af"
meta-freescale-3rdparty = "HEAD:48cc5dd42007d09295677bc8bc0377fe96b5b270"
meta-freescale-distro = "HEAD:a4efa17a9f6b25d8d9290dfee8275059d40b83df"
meta-maaxboard = "mickledore:95233e47444c3b68fd65b07df3fcbb9c1eb9a0ca"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:64a864ab77de06a557afcb01e6dd4d21606e6948"
meta-nxp-demo-experience = "HEAD:ec9d5592dc6369622dc027ad456cadb844451226"
meta-arm
meta-arm-toolchain = "HEAD:0b5724266a8e559cac1724350c1ff2f9e6580326"
meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6"
meta-clang = "HEAD:1e0af2f5bb797d7bb639c2ac03c1248cc8d00bc9"
meta-gnome
meta-networking
meta-filesystems = "HEAD:54b177f4acb3048d21a68f180fc183d0fdf47a94"
meta-qt6 = "HEAD:1406d0a85525a71fe5d7892d7f915404290a78ad"
meta-parsec
meta-tpm = "HEAD:d7db0a3bd1a8639df7570483f003ce00cbe274a2"
meta-virtualization = "HEAD:2bb4071ad372d4b5a092c872c0d42b261f757681"
workspace = "<unknown>:<unknown>"
WARNING: The BB_DISKMON_DIRS "ABORT" action has been renamed to "HALT", update configuration
Initialising tasks: 100% |###############################################################################################################| Time: 0:00:00
Sstate summary: Wanted 59 Local 58 Mirrors 0 Missed 1 Current 40 (98% match, 98% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 450 tasks of which 436 didn't need to be rerun and all succeeded.
INFO: Copying kernel config to srctree
INFO: Source tree extracted to /home/ubuntu/nxp8ulp/maaxboard-8ulp/build/workspace/sources/linux-imx
INFO: Recipe linux-imx now set up to build from /home/ubuntu/nxp8ulp/maaxboard-8ulp/build/workspace/sources/linux-imx
ubuntu@telinksz:~/nxp8ulp/maaxboard-8ulp/build$ bitbake virtual/kernel -c menuconfig
Loading cache: 100% |####################################################################################################################| Time: 0:00:00
Loaded 5316 entries from dependency cache.
ERROR: /home/ubuntu/nxp8ulp/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_6.1.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: 17, function: <module>
0013:__anon_157__home_ubuntu_nxp8ulp_sources_poky_meta_classes_recipe_kernel_bbclass(d)
0014:__anon_27__home_ubuntu_nxp8ulp_sources_poky_meta_classes_recipe_kernel_uimage_bbclass(d)
0015:__anon_40__home_ubuntu_nxp8ulp_sources_poky_meta_classes_recipe_image_artifact_names_bbclass(d)
0016:__anon_13__home_ubuntu_nxp8ulp_sources_poky_meta_classes_recipe_kernel_devicetree_bbclass(d)
*** 0017:__anon_146__home_ubuntu_nxp8ulp_sources_poky_meta_classes_externalsrc_bbclass(d)
File: '/home/ubuntu/nxp8ulp/sources/poky/meta/classes/externalsrc.bbclass', lineno: 67, function: __anon_146__home_ubuntu_nxp8ulp_sources_poky_meta_classes_externalsrc_bbclass
0063: else:
0064: d.setVar('B', '${WORKDIR}/${BPN}-${PV}')
0065:
0066: local_srcuri = []
*** 0067: fetch = bb.fetch2.Fetch((d.getVar('SRC_URI') or '').split(), d)
0068: for url in fetch.urls:
0069: url_data = fetch.ud[url]
0070: parm = url_data.parm
0071: if url_data.type in ['file', 'npmsw', 'crate'] or parm.get('type') in ['kmeta', 'git-dependency']:
File: '/home/ubuntu/nxp8ulp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 1687, function: __init__
1683:
1684: for url in urls:
1685: if url not in self.ud:
1686: try:
*** 1687: self.ud[url] = FetchData(url, d, localonly)
1688: except NonLocalMethod:
1689: if localonly:
1690: self.ud[url] = None
1691: pass
File: '/home/ubuntu/nxp8ulp/sources/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: for checksum_id in CHECKSUM_LIST:
1322: configure_checksum(checksum_id)
1323:
File: '/home/ubuntu/nxp8ulp/sources/poky/bitbake/lib/bb/fetch2/git.py', lineno: 253, function: urldata_init
0249: write_tarballs = d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0"
0250: ud.write_tarballs = write_tarballs != "0" or ud.rebaseable
0251: ud.write_shallow_tarballs = (d.getVar("BB_GENERATE_SHALLOW_TARBALLS") or write_tarballs) != "0"
0252:
*** 0253: ud.setup_revisions(d)
0254:
0255: for name in ud.names:
0256: # Ensure any revision that doesn't look like a SHA-1 is translated into one
0257: if not sha1_re.match(ud.revisions[name] or ''):
File: '/home/ubuntu/nxp8ulp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 1354, function: setup_revisions
1350:
1351: def setup_revisions(self, d):
1352: self.revisions = {}
1353: for name in self.names:
*** 1354: self.revisions[name] = srcrev_internal_helper(self, d, name)
1355:
1356: # add compatibility code for non name specified case
1357: if len(self.names) == 1:
1358: self.revision = self.revisions[self.names[0]]
File: '/home/ubuntu/nxp8ulp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 1221, function: srcrev_internal_helper
1217: if srcrev == "INVALID" or not srcrev:
1218: 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)
1219: if srcrev == "AUTOINC":
1220: d.setVar("__BBAUTOREV_ACTED_UPON", True)
*** 1221: srcrev = ud.method.latest_revision(ud, d, name)
1222:
1223: return srcrev
1224:
1225:def get_checksum_file_list(d):
File: '/home/ubuntu/nxp8ulp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 1631, function: latest_revision
1627: key = self.generate_revision_key(ud, d, name)
1628: try:
1629: return revs[key]
1630: except KeyError:
*** 1631: revs[key] = rev = self._latest_revision(ud, d, name)
1632: return rev
1633:
1634: def sortable_revision(self, ud, d, name):
1635: latest_rev = self._build_revision(ud, d, name)
File: '/home/ubuntu/nxp8ulp/sources/poky/bitbake/lib/bb/fetch2/git.py', lineno: 741, function: _latest_revision
0737: """
0738: Compute the HEAD revision for the url
0739: """
0740: if not d.getVar("__BBSRCREV_SEEN"):
*** 0741: 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))
0742:
0743: # Ensure we mark as not cached
0744: bb.fetch2.mark_recipe_nocache(d)
0745:
Exception: bb.fetch2.FetchError: Fetcher failure: Recipe uses a floating tag/branch 'maaxboard_lf-6.1.22-2.0.0' for repo 'github.com/Avnet/linux-imx.git' without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE).
ERROR: /home/ubuntu/nxp8ulp/sources/meta-freescale/recipes-kernel/linux/linux-imx_6.1.bb: Error executing a python function in <code>:
The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 17, function: <module>
0013:__anon_157__home_ubuntu_nxp8ulp_sources_poky_meta_classes_recipe_kernel_bbclass(d)
0014:__anon_27__home_ubuntu_nxp8ulp_sources_poky_meta_classes_recipe_kernel_uimage_bbclass(d)
0015:__anon_40__home_ubuntu_nxp8ulp_sources_poky_meta_classes_recipe_image_artifact_names_bbclass(d)
0016:__anon_13__home_ubuntu_nxp8ulp_sources_poky_meta_classes_recipe_kernel_devicetree_bbclass(d)
*** 0017:__anon_146__home_ubuntu_nxp8ulp_sources_poky_meta_classes_externalsrc_bbclass(d)
File: '/home/ubuntu/nxp8ulp/sources/poky/meta/classes/externalsrc.bbclass', lineno: 67, function: __anon_146__home_ubuntu_nxp8ulp_sources_poky_meta_classes_externalsrc_bbclass
0063: else:
0064: d.setVar('B', '${WORKDIR}/${BPN}-${PV}')
0065:
0066: local_srcuri = []
*** 0067: fetch = bb.fetch2.Fetch((d.getVar('SRC_URI') or '').split(), d)
0068: for url in fetch.urls:
0069: url_data = fetch.ud[url]
0070: parm = url_data.parm
0071: if url_data.type in ['file', 'npmsw', 'crate'] or parm.get('type') in ['kmeta', 'git-dependency']:
File: '/home/ubuntu/nxp8ulp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 1687, function: __init__
1683:
1684: for url in urls:
1685: if url not in self.ud:
1686: try:
*** 1687: self.ud[url] = FetchData(url, d, localonly)
1688: except NonLocalMethod:
1689: if localonly:
1690: self.ud[url] = None
1691: pass
File: '/home/ubuntu/nxp8ulp/sources/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: for checksum_id in CHECKSUM_LIST:
1322: configure_checksum(checksum_id)
1323:
File: '/home/ubuntu/nxp8ulp/sources/poky/bitbake/lib/bb/fetch2/git.py', lineno: 253, function: urldata_init
0249: write_tarballs = d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0"
0250: ud.write_tarballs = write_tarballs != "0" or ud.rebaseable
0251: ud.write_shallow_tarballs = (d.getVar("BB_GENERATE_SHALLOW_TARBALLS") or write_tarballs) != "0"
0252:
*** 0253: ud.setup_revisions(d)
0254:
0255: for name in ud.names:
0256: # Ensure any revision that doesn't look like a SHA-1 is translated into one
0257: if not sha1_re.match(ud.revisions[name] or ''):
File: '/home/ubuntu/nxp8ulp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 1354, function: setup_revisions
1350:
1351: def setup_revisions(self, d):
1352: self.revisions = {}
1353: for name in self.names:
*** 1354: self.revisions[name] = srcrev_internal_helper(self, d, name)
1355:
1356: # add compatibility code for non name specified case
1357: if len(self.names) == 1:
1358: self.revision = self.revisions[self.names[0]]
File: '/home/ubuntu/nxp8ulp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 1221, function: srcrev_internal_helper
1217: if srcrev == "INVALID" or not srcrev:
1218: 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)
1219: if srcrev == "AUTOINC":
1220: d.setVar("__BBAUTOREV_ACTED_UPON", True)
*** 1221: srcrev = ud.method.latest_revision(ud, d, name)
1222:
1223: return srcrev
1224:
1225:def get_checksum_file_list(d):
File: '/home/ubuntu/nxp8ulp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 1631, function: latest_revision
1627: key = self.generate_revision_key(ud, d, name)
1628: try:
1629: return revs[key]
1630: except KeyError:
*** 1631: revs[key] = rev = self._latest_revision(ud, d, name)
1632: return rev
1633:
1634: def sortable_revision(self, ud, d, name):
1635: latest_rev = self._build_revision(ud, d, name)
File: '/home/ubuntu/nxp8ulp/sources/poky/bitbake/lib/bb/fetch2/git.py', lineno: 741, function: _latest_revision
0737: """
0738: Compute the HEAD revision for the url
0739: """
0740: if not d.getVar("__BBSRCREV_SEEN"):
*** 0741: 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))
0742:
0743: # Ensure we mark as not cached
0744: bb.fetch2.mark_recipe_nocache(d)
0745:
Exception: bb.fetch2.FetchError: Fetcher failure: Recipe uses a floating tag/branch 'maaxboard_lf-6.1.22-2.0.0' for repo 'github.com/Avnet/linux-imx.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 were 3 ERROR messages, returning a non-zero exit code.
ubuntu@telinksz:~/nxp8ulp/maaxboard-8ulp/build$
Hi @tgt007!
Thank you for contacting NXP Support!
Looks like the enviroment is already set up before in the terminal, I recommend to open a new terminal and set the environment again.
I noticed that you are using the maaxboard-8ulp and we don't provide support for the software of that board.
for further support please consult to avnet support.
Best Regards!
Chavira