summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-28 21:37:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-30 10:51:54 +0100
commitc28a9a5799618ae1ddcccdd3a7f448d759e7a9a4 (patch)
treeb62b45b40cd4ffd4392f46ddefa0c3569d45db78 /bitbake
parentac3eb2418aa91e85c39560913c1ddfd2134555ba (diff)
downloadpoky-c28a9a5799618ae1ddcccdd3a7f448d759e7a9a4.tar.gz
bitbake: fetch2/local: Mention the value of localpath in failure message
We have an obtuse rare and intermittent bitbake fetch failure. Understanding the value of ud.localpath at the time of failure would be helpful to debug it further. Tweak the debugging to provide this in the output. (Bitbake rev: 935ab36f64d25c09f83209cd369714c2bc89aa7f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/local.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/local.py b/bitbake/lib/bb/fetch2/local.py
index 0bb987c644..5332faafe2 100644
--- a/bitbake/lib/bb/fetch2/local.py
+++ b/bitbake/lib/bb/fetch2/local.py
@@ -72,7 +72,7 @@ class Local(FetchMethod):
72 filespath = d.getVar('FILESPATH') 72 filespath = d.getVar('FILESPATH')
73 if filespath: 73 if filespath:
74 locations = filespath.split(":") 74 locations = filespath.split(":")
75 msg = "Unable to find file " + urldata.url + " anywhere. The paths that were searched were:\n " + "\n ".join(locations) 75 msg = "Unable to find file " + urldata.url + " anywhere to download to " + urldata.localpath + ". The paths that were searched were:\n " + "\n ".join(locations)
76 raise FetchError(msg) 76 raise FetchError(msg)
77 77
78 return True 78 return True