Anuj Mittal
d8cd104e66
crate-fetch: fix setscene failures
...
In sstate.bbclass, when fetching an sstate object we have:
pstaging_fetch(sstatefetch, d):
[...]
localdata.setVar('SRCPV', d.getVar('SRCPV'))
i.e. some code which expands SRCPV before it changes SRC_URI for the sstate
tarball fetching. In crate-fetch.bbclass we have:
def import_crate(d):
import crate
if not getattr(crate, 'imported', False):
bb.fetch2.methods.append(crate.Crate())
crate.imported = True
def crate_get_srcrev(d):
import_crate(d)
return bb.fetch2.get_srcrev(d)
SRCPV = "${@crate_get_srcrev(d)}"
and so an "import crate" occurs when pstating_fetch() is called. That succeeds
and all is well but the bb.fetch2.get_srcrev(d) call fails since there is no url
in SRC_URI which supports srcrev() resulting in:
| WARNING: rust-cross-core2-32-musl-1.54.0-r0 do_deploy_source_date_epoch_setscene: ExpansionError('SRCPV', '${@crate_get_srcrev(d)}', FetchError('SRCREV was used yet no valid SCM was found in SRC_URI', None))
| WARNING: Logfile for failed setscene task is /home/pokybuild/yocto-worker/musl-qemux86/build/build/tmp/work/x86_64-linux/rust-cross-core2-32-musl/1.54.0-r0/temp/log.do_deploy_source_date_epoch_setscene.3133099
| WARNING: Setscene task (/home/pokybuild/yocto-worker/musl-qemux86/build/meta/recipes-devtools/rust/rust-cross_1.54.0.bb:do_deploy_source_date_epoch_setscene) failed with exit code '1' - real task will be run instead
[YOCTO #14680 ]
(From OE-Core rev: 73b6c53ceea30a3f81c6de88c5bea452fe1c0018)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2022-03-24 11:05:16 +00:00
..
2018-09-13 07:42:28 +01:00
2021-07-28 23:47:00 +01:00
2014-02-28 14:01:16 +00:00
2021-09-26 14:36:48 +01:00
2021-10-08 16:44:00 +01:00
2021-09-01 14:06:17 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2018-01-26 13:09:09 +00:00
2021-12-13 23:02:49 +00:00
2016-12-16 10:23:23 +00:00
2021-07-10 22:42:22 +01:00
2021-08-26 22:09:44 +01:00
2021-08-26 22:09:43 +01:00
2021-01-20 00:45:05 +00:00
2019-04-12 09:29:06 +01:00
2019-12-29 09:27:16 +00:00
2021-08-02 15:44:10 +01:00
2021-05-18 23:52:54 +01:00
2021-08-02 15:44:10 +01:00
2016-12-16 10:23:23 +00:00
2017-06-28 20:55:08 +01:00
2021-07-13 14:27:53 +01:00
2019-01-11 10:39:09 +00:00
2021-09-19 11:33:14 +01:00
2021-08-02 15:44:10 +01:00
2022-03-24 11:05:16 +00:00
2021-11-24 21:12:50 +00:00
2021-10-29 11:17:26 +01:00
2021-09-21 23:44:08 +01:00
2020-02-14 13:07:23 +00:00
2022-03-10 16:39:50 +00:00
2021-08-02 15:44:10 +01:00
2020-06-30 23:03:02 +01:00
2021-08-02 15:44:10 +01:00
2021-03-20 18:54:56 +00:00
2020-10-08 08:08:32 +01:00
2021-11-15 11:56:17 +00:00
2019-11-21 23:08:19 +00:00
2021-08-05 08:53:41 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2018-08-20 17:38:22 +01:00
2021-10-04 15:03:53 +01:00
2021-08-02 15:44:10 +01:00
2021-09-01 14:06:18 +01:00
2021-08-02 15:44:10 +01:00
2017-01-09 13:39:11 +00:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-11-08 23:41:00 +00:00
2021-08-20 08:53:03 +01:00
2016-09-14 22:22:08 +01:00
2021-08-02 15:44:10 +01:00
2020-12-15 22:51:56 +00:00
2019-09-19 10:54:32 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-10-04 15:03:53 +01:00
2021-09-01 14:06:17 +01:00
2021-10-04 15:03:54 +01:00
2018-12-08 17:17:01 +00:00
2021-08-02 15:44:10 +01:00
2021-08-04 20:45:41 +01:00
2021-08-04 20:45:41 +01:00
2018-08-16 09:49:39 +01:00
2021-08-02 15:44:10 +01:00
2021-10-02 23:09:22 +01:00
2022-02-09 23:15:15 +00:00
2018-10-08 14:13:54 +01:00
2020-09-17 09:47:45 +01:00
2021-08-02 15:44:10 +01:00
2021-09-01 14:06:17 +01:00
2021-08-02 15:44:10 +01:00
2021-08-27 11:54:33 +01:00
2021-07-28 23:47:00 +01:00
2018-11-23 23:35:19 +00:00
2021-10-07 15:06:34 +01:00
2021-09-28 17:55:04 +01:00
2020-03-10 23:20:33 +00:00
2013-01-07 11:09:42 +00:00
2021-09-26 16:35:00 +01:00
2021-08-17 09:53:04 +01:00
2021-12-17 10:02:40 +00:00
2021-08-02 15:44:10 +01:00
2018-11-23 23:35:19 +00:00
2021-06-17 13:42:31 +01:00
2019-09-19 10:54:32 +01:00
2018-02-24 10:31:48 +00:00
2021-08-04 20:45:41 +01:00
2019-03-03 15:38:13 +00:00
2021-05-14 07:57:27 +01:00
2021-12-13 23:02:49 +00:00
2021-03-14 16:33:59 +00:00
2016-12-16 10:23:23 +00:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-11-21 11:41:39 +00:00
2018-02-24 10:31:44 +00:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-09-16 09:50:34 +01:00
2021-08-02 15:44:10 +01:00
2021-10-29 11:17:26 +01:00
2020-08-26 21:56:41 +01:00
2021-08-02 15:44:10 +01:00
2016-12-16 10:23:23 +00:00
2021-08-12 06:26:15 +01:00
2021-08-02 15:44:10 +01:00
2021-09-23 13:49:11 +01:00
2021-09-28 17:55:04 +01:00
2021-06-26 11:27:39 +01:00
2021-09-23 13:49:11 +01:00
2020-08-26 21:56:41 +01:00
2021-10-02 23:09:22 +01:00
2021-08-06 09:25:25 +01:00
2021-08-02 15:44:10 +01:00
2021-10-29 11:17:26 +01:00
2019-01-11 10:39:09 +00:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-11-08 23:41:00 +00:00
2021-08-02 15:44:11 +01:00
2016-12-16 10:23:23 +00:00
2013-06-14 12:55:47 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-09-02 12:12:08 +01:00
2021-08-13 14:44:05 +01:00
2020-10-30 13:22:49 +00:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2022-02-24 11:12:39 +00:00
2017-04-05 23:22:11 +01:00
2017-02-09 10:52:03 +00:00
2020-06-15 14:53:46 +01:00
2016-02-02 14:44:16 +00:00
2021-07-10 22:43:41 +01:00
2020-02-21 17:48:09 +00:00
2021-10-04 15:03:54 +01:00
2021-08-02 15:44:10 +01:00
2021-09-28 17:55:04 +01:00
2021-02-18 23:40:01 +00:00
2021-01-13 23:13:45 +00:00
2021-08-02 15:44:10 +01:00
2022-03-10 16:39:50 +00:00
2020-07-27 10:37:57 +01:00
2021-08-26 22:09:43 +01:00
2021-09-19 11:33:14 +01:00
2021-08-26 22:09:43 +01:00
2022-02-24 11:12:39 +00:00
2020-11-16 14:27:46 +00:00
2018-07-26 13:16:40 +01:00
2016-12-16 10:23:23 +00:00
2021-08-02 15:44:10 +01:00
2020-06-17 11:10:28 +01:00
2018-11-23 23:35:19 +00:00
2021-09-23 13:49:11 +01:00
2022-03-15 16:38:28 +00:00
2021-11-08 23:41:00 +00:00
2019-07-26 08:41:38 +01:00
2019-05-16 16:35:12 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-13 22:43:56 +01:00
2020-09-21 23:54:39 +01:00
2021-10-29 11:17:26 +01:00
2018-11-21 11:54:14 +00:00
2021-08-02 15:44:10 +01:00
2021-08-17 09:53:04 +01:00
2016-09-23 14:56:39 +01:00
2021-09-23 13:49:11 +01:00
2016-12-16 10:23:23 +00:00
2021-09-02 12:12:08 +01:00
2021-08-04 20:45:41 +01:00
2021-12-17 10:02:39 +00:00
2021-11-21 11:41:39 +00:00
2021-08-22 22:21:46 +01:00
2021-08-02 15:44:10 +01:00
2016-12-17 09:57:04 +00:00
2020-11-11 10:08:12 +00:00
2021-08-02 15:44:10 +01:00
2021-09-16 09:50:34 +01:00
2021-08-02 15:44:10 +01:00
2021-09-07 21:54:11 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00