/**********************************************************************
* 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. Hexo+Github 搭建属于自己的博客(Mac下安装 其他操作系统大同小异)

    安装前提 参考博客:http://blog.csdn.net/gdutxiaoxu/article/details/53576018#t5(写的很好,不用看我的了.....) 这篇:http://ww ...

  2. vue 中router.go、router.push和router.replace的区别

    router.go(n) 这个方法的参数是一个整数,意思是在 history 记录中向前或者后退多少步,类似 window.history.go(n) router.push(location) 想要 ...

  3. Python学习之路【第二篇】-pyc简介、Python常用的数据类型及其用法和常用运算符

    1.pyc简介 python程序在运行时也有编译过程,编译后会产生.pyc文件.这是一种由python虚拟机执行的二进制文件(字节码),用于保存内存中PyCodeObject,以便加快程序的加载运行. ...

  4. Android Studio打包生成APK教程

    一.修改版本和指定生成APK文件名[可选] 将项目切换到Project视图,打开app目录下的build.gradle文件 1.1 修定软件版本 如1.2图所示. versionCode是app的大版 ...

  5. SecureCRT sftp上传文件报错:put: failed to upload xxx 拒绝访问

    1.问题 使用sftp上传文件时报错:put: failed to upload xxx 拒绝访问.类似下图所示: 2.原因 造成这个问题的原因可能有两个,一是要上到的那个目录剩余磁盘空间不足,二是打 ...

  6. weblogic补丁安装失败(Patch B25A is mutually exclusive and cannot coexist with patch(es): UIAL)

    由于曝出漏洞(CVE-2017-3248)需要将weblogic补丁更新至B25A,但是出现报错.如下: Conflict(s) detected - resolve conflict conditi ...

  7. java基础语法运算符

    1.1                算数运算符++.--的使用 在一般情况下,算数运算符不会改变参与计算的变量值.而是在原有变量值不变的情况下,计算出新的值.但是有些操作符会改变参与计算的变量的值, ...

  8. vue 添加vux

    1.命令添加vux npm install vux --save 2.在build/webpack.base.conf.js中配置 const vuxLoader = require('vux-loa ...

  9. API服务网关(Zuul)

    技术背景 前面我们通过Ribbon或Feign实现了微服务之间的调用和负载均衡,那我们的各种微服务又要如何提供给外部应用调用呢. 当然,因为是REST API接口,外部客户端直接调用各个微服务是没有问 ...

  10. Dev-cpp怎样去掉括号匹配?

    很多编C/C++的同学在用Dev-cpp的时候,就感觉到括号匹配很烦,又不知道哪里去掉. 所以,让ljn告诉你怎样去掉括号匹配. 1.打开Dev-cpp. 2.在菜单栏上,点击“工具[T]”,选择“编 ...