To content | To menu | To search

bad lexical cast: source type value could not be interpreted as target while executing

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 のツールの日付の扱いがしょぼくてチェックでエラーになる件。自分の所でも起きるとは。

Add a comment

HTML code is displayed as text and web addresses are automatically converted.

They posted on the same topic

Trackback URL : https://www.pseudomoon.jp/dotclear/index.php?trackback/150

This post's comments feed