/**********************************************************************
* Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at xxxx/usr/bin/automake line 3939.
* 说明:
* 在Ubuntu 18.04上编译Yocto,出现的automake正则表达式问题。原因是Perl
* 不支持以前的写法。
*
* 2018-6-13 深圳 宝安西乡 曾剑锋
*********************************************************************/ 一、解决方法:
修改automake源代码
# substitute_ac_subst_variables ($TEXT)
# -------------------------------------
# Replace any occurrence of ${FOO} in $TEXT by @FOO@ if FOO is an AC_SUBST
# variable.
sub substitute_ac_subst_variables
{
my ($text) = @_;
# $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($)/ge;
$text =~ s/\$[{]([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($)/ge;
return $text;
} 二、跟踪信息:
. 查找source源:
zengjf@zengjf:~/zengjf/fsl-release-bsp/sources$ grep -F '1{s/.* //;s/\.[0-9]+$//};q' * -r
poky/meta/classes/autotools.bbclass: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
. 查找do_configure生成文件:
zengjf@zengjf:~/zengjf/fsl-release-bsp/imx6q-x11/tmp$ grep -F '1{s/.* //;s/\.[0-9]+$//};q' * -r
[...省略]
work/cortexa9hf-neon-poky-linux-gnueabi/bzip2/1.0.-r5/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/cortexa9hf-neon-poky-linux-gnueabi/libtool-cross/2.4.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/gperf-native/3.0.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/flex-native/2.6.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/bison-native/3.0.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/sqlite3-native/3_3.11.0-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/mpfr-native/3.1.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/pkgconfig-native/0.29+gitAUTOINC+5914edfe96-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/attr-native/2.4.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/util-macros-native/1_1.19.0-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/gettext-native/0.19.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/gmp-native/6.1.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/xz-native/5.2.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/libmpc-native/1.0.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/libtool-native/2.4.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
zengjf@zengjf:~/zengjf/fsl-release-bsp/imx6q-x11/tmp$

Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at xxxx/usr/bin/automake line 3939.的更多相关文章

  1. 【java】java.util.regex.Pattern和java.util.regex.Matcher简单示例

    package 正则; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Test_regex ...

  2. Error response:/usr/bin/tf_serving_entrypoint.sh: line 3: 6 Illegal instruction (core dumped) ...

    用docker部署tensorflow-serving:gpu时,参照官方文档:https://tensorflow.google.cn/tfx/serving/docker 本应该是很简单的部署,没 ...

  3. Deepin15.8系统下安装QorIQ Linux SDK v2.0 yocto成功完美运行的随笔

    2019.2.17日:最终安装成功,完美解决! 2019.2.16日:最终安装未成功,但是过程中排除 了几个bug,前进了几步,仅供参考. 写在最前面,yocto安装是有系统要求的,Deepin 15 ...

  4. CESM部署安装环境和使用

    平台信息 Description: CentOS Linux release 7.6.1810 (Core) 安装CESM 安装前提:(小提示:耗时较长,需要耐心)阅读原文 CentOS 7(检查:s ...

  5. openWRT编译报错集锦

    需网络稳定,可正常上梯子. /*ubuntu18编译报错:*/ autoreconf: running: /home/jack/openwrt-sdk/staging_dir/host/bin/aut ...

  6. 使用autogen工具生成Makefile遇到问题解决思路

    使用autogen工具生成Makefile,最新的应用程序很多都使用autogen,本着知行合一的精神 最近有空也研究了一下该工具的使用,详细步骤请参考文档: http://blog.csdn.net ...

  7. automake的使用1

    安装命令: sudo apt install automake autoconfig 简单的例子 automake实例: helloworld.c #include <stdio.h> # ...

  8. 生产环境使用 pt-table-checksum 检查MySQL数据一致性

    公司数据中心从托管机房迁移到阿里云,需要对mysql迁移(Replication)后的数据一致性进行校验,但又不能对生产环境使用造成影响,pt-table-checksum 成为了绝佳也是唯一的检查工 ...

  9. 生产环境使用 pt-table-checksum 检查MySQL数据一致性【转】

    公司数据中心从托管机房迁移到阿里云,需要对mysql迁移(Replication)后的数据一致性进行校验,但又不能对生产环境使用造成影响,pt-table-checksum 成为了绝佳也是唯一的检查工 ...

随机推荐

  1. Git:非Fast forward下的合并(--no-ff方式的git merge)

    创建dev分支,并且修改readme.txt的内容,然后提交 使用git merge --no-ff -m "说明内容" 分支名称合并分支 使用git log --graph -- ...

  2. Oracle12c CDB架构图

  3. PythonWEB框架之Flask

    前言: Django:1个重武器,包含了web开发中常用的功能.组件的框架:(ORM.Session.Form.Admin.分页.中间件.信号.缓存.ContenType....): Tornado: ...

  4. Greys Java在线问题诊断工具

    摘要: 线上系统为何经常出错?数据库为何屡遭黑手?业务调用为何频频失败?连环异常堆栈案,究竟是那次调用所为? 数百台服务器意外雪崩背后又隐藏着什么?是软件的扭曲还是硬件的沦丧? 走进科学带你了解Gre ...

  5. absolute 导致点击事件无效

    方案一: 添加层数 z-index 方案二: 背景的透明度为0 background-color:#000; filter:alpha(opacity=0); opacity:0;

  6. py propterties reuqest.post

    import tracebackclass Properties(object): def __init__(self, fileName): self.fileName = fileName sel ...

  7. Mac下安装和配置Maven

    1.下载Maven 官网:http://maven.apache.org/download.cgi 下载版本:apache-maven-3.5.3-bin.tar.gz 2.配置环境变量 打开term ...

  8. console.log()显示图片以及为文字加样式

    有兴趣的同学可以文章最后的代码复制贴到控制台玩玩. Go for Code 在正常模式下,一般只能向console 控制台输出简单的文字信息.但为了把信息输出得更优雅更便于阅读,除了cosole.lo ...

  9. CSS(二)属性--文本设置

    HTML代码一 <body> <div>这是一个很黑很黑的夜晚,黑云密布,没有任何光亮透过.卖火柴的小姑娘.......</div> </body> C ...

  10. js 动态绑定鼠标事件

    <script> function getElementsByClassName(n) { var classElements = [],allElements = document.ge ...