element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MaaXBoard Hardware Design maaxboard-8ulp
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 0 replies
  • Subscribers 323 subscribers
  • Views 196 views
  • Users 0 members are here
Related

maaxboard-8ulp

tgt007
tgt007 over 1 year ago

 hi  all  

What can I do if an error occurs when executing the following command?

devtool create-workspace
devtool modify linux-imx

devtool 构建 linux-imx

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

摘要:有 3 条 ERROR 消息,返回非零退出代码。
错误:无法启动 bitbake 环境 

  • Sign in to reply
  • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube