Tina填坑

2023-11-14

1.Tina3.5 编译全志X3报错:environment variable SOURCE_DATE_EPOCH must expand to a non-negative integer less than or equal to 253402300799                   

解决:第一步.make distclean 第二步 date +%s > version.date 第三步:make

网上也有人说如下步骤:(没有验证)

2、解决方法:

rootroot@rootroot-Lenovo-IdeaPad-S410:~/wyb/22cello_pro-tinav3.0$

rootroot@rootroot-Lenovo-IdeaPad-S410:~/wyb/22cello_pro-tinav3.0$ find . -name getbuildinfo.c

./out/cello-pro/compile_dir/target/host/Python-2.7.11/Modules/getbuildinfo.c

rootroot@rootroot-Lenovo-IdeaPad-S410:~/wyb/22cello_pro-tinav3.0$

getbuildinfo.c,但是只是编译生成的文件!

(切记!只能修改,不能替换。否则继续出错的!)

L:\wyb\22cello_pro-tinav3.0\scripts\get_source_date_epoch.sh

try_git() {

[ -e .git

SOURCE_DATE_EPOCH="$(git

[ -n "$SOURCE_DATE_EPOCH" ]

}

修改为:

try_git() {

[ -e target/.git

SOURCE_DATE_EPOCH="$(cd target;git

[ -n "$SOURCE_DATE_EPOCH" ]

}

rootroot@rootroot-Lenovo-IdeaPad-S410:~/wyb/22cello_pro-tinav3.0$

rootroot@rootroot-Lenovo-IdeaPad-S410:~/wyb/22cello_pro-tinav3.0$ make

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Tina填坑 的相关文章

随机推荐