bad lexical cast: source type value could not be interpreted as target while executing
By takagiwa on Thursday, March 24 2022, 18:44 - Xilinx - Permalink
2022/Mar/30 追記:パッチがでていた
https://support.xilinx.com/s/article/76960
github 上のとあるプロジェクトをビルドしているとき
****** Vivado v2019.1 (64-bit) **** SW Build 2552052 on Fri May 24 14:47:09 MDT 2019 **** IP Build 2548770 on Fri May 24 18:01:18 MDT 2019 ** Copyright 1986-2019 Xilinx, Inc. All Rights Reserved. source run_ippack.tcl -notrace bad lexical cast: source type value could not be interpreted as target while executing "rdi::set_property core_revision 2203241808 {component component_1}" invoked from within "set_property core_revision $Revision $core" (file "run_ippack.tcl" line 801) INFO: [Common 17-206] Exiting Vivado at Thu Mar 24 18:09:10 2022... ERROR: [IMPL 213-28] Failed to generate IP. command 'ap_source' returned error code while executing "source make.tcl" ("uplevel" body line 1) invoked from within "uplevel \#0 [list source $arg] "
こんなエラーがでた。
ワークアラウンドは これ 。
$ sudo apt install faketime $ faketime -f "-1y" make compile_hw_emu
(make のあとのコマンドは別)
Xilinx のツールの日付の扱いがしょぼくてチェックでエラーになる件。自分の所でも起きるとは。