-
Notifications
You must be signed in to change notification settings - Fork 143
Description
It looks the symbol of ":" is a typo of "/" because the "openbmc" following ":" will be parsed as a port number in BITBAKE tool.
Loaded 5157 entries from dependency cache.
ERROR: /hdd/work/openbmc/meta-aspeed/recipes-kernel/linux/linux-aspeed_git.bb: Error executing a python function in :
The stack trace of python calls that resulted in this exception/failure was:
File: '', lineno: 3, function:
0001:__anon_20__hdd_work_openbmc_meta_conf_machine_include_arm_feature_arm_thumb_inc(d)
0002:__anon_34__hdd_work_openbmc_meta_classes_global_patch_bbclass(d)
*** 0003:__anon_706__hdd_work_openbmc_meta_classes_global_base_bbclass(d)
0004:__anon_1210__hdd_work_openbmc_meta_classes_global_insane_bbclass(d)
0005:__anon_1609__hdd_work_openbmc_meta_classes_global_insane_bbclass(d)
0006:__anon_243__hdd_work_openbmc_meta_classes_global_package_bbclass(d)
0007:__anon_287__hdd_work_openbmc_meta_classes_global_package_ipk_bbclass(d)
File: '/hdd/work/openbmc/meta/classes-global/base.bbclass', lineno: 598, function: __anon_706__hdd_work_openbmc_meta_classes_global_base_bbclass
0594: raise bb.parse.SkipRecipe("it has incompatible license(s): %s" % ' '.join(incompatible_lic))
0595:
0596: srcuri = d.getVar('SRC_URI')
0597: for uri_string in srcuri.split():
*** 0598: uri = bb.fetch.URI(uri_string)
0599: # Also check downloadfilename as the URL path might not be useful for sniffing
0600: path = uri.params.get("downloadfilename", uri.path)
0601:
0602: # HTTP/FTP use the wget fetcher
File: '/hdd/work/openbmc/poky/bitbake/lib/bb/fetch2/init.py', lineno: 254, function: init
0250: self.relative = True
0251:
0252: if not self.relative:
0253: self.hostname = urlp.hostname or ''
*** 0254: self.port = urlp.port
0255:
0256: self.userinfo += urlp.username or ''
0257:
0258: if urlp.password:
File: '/usr/lib/python3.10/urllib/parse.py', lineno: 186, function: port
0182: if port is not None:
0183: if port.isdigit() and port.isascii():
0184: port = int(port)
0185: else:
*** 0186: raise ValueError(f"Port could not be cast to integer value as {port!r}")
0187: if not (0 <= port <= 65535):
0188: raise ValueError("Port out of range 0-65535")
0189: return port
0190:
Exception: ValueError: Port could not be cast to integer value as 'openbmc'
ERROR: Parsing halted due to errors, see error messages above