• m -j32 iso_img("4.4.12Error: kernelrelease not valid



    https://patchwork.kernel.org/patch/9159023/


    Submitter

      Wolfram Sang
    Date June 6, 2016, 7 p.m.
    Message ID <1465239638-20314-1-git-send-email-wsa@the-dreams.de>
    Download mbox| patch
    Permalink /patch/9159023/
    State New
    Headers show

    Comments

    Wolfram Sang - June 6, 2016, 7 p.m.
    I tried to use 'make O=...' from an unclean source tree. This triggered
    the error path of setlocalversion. But by printing to STDOUT, it created
    a broken localversion which then caused another (unrelated) error:
    
    "4.7.0-rc2Error: kernelrelease not valid - run make prepare to update it" exceeds 64 characters
    
    After printing to STDERR, the true build error gets displayed later:
    
      /home/wsa/Kernel/linux is not clean, please run 'make mrproper'
      in the '/home/wsa/Kernel/linux' directory.
    
    Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
    ---
     scripts/setlocalversion | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    Michal Marek - June 20, 2016, 3:38 p.m.
    On Mon, Jun 06, 2016 at 09:00:38PM +0200, Wolfram Sang wrote:
    > I tried to use 'make O=...' from an unclean source tree. This triggered
    > the error path of setlocalversion. But by printing to STDOUT, it created
    > a broken localversion which then caused another (unrelated) error:
    > 
    > "4.7.0-rc2Error: kernelrelease not valid - run make prepare to update it" exceeds 64 characters
    > 
    > After printing to STDERR, the true build error gets displayed later:
    > 
    >   /home/wsa/Kernel/linux is not clean, please run 'make mrproper'
    >   in the '/home/wsa/Kernel/linux' directory.
    > 
    > Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
    > ---
    >  scripts/setlocalversion | 2 +-
    >  1 file changed, 1 insertion(+), 1 deletion(-)
    
    Thanks, applied to kbuild.git#kbuild. But this points at another
    problem, namely that filechk is ignoring the exit status of the command.
    
    Michal
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    

    Patch


    diff --git a/scripts/setlocalversion b/scripts/setlocalversion
    index 63d91e22ed7ccd..966dd3924ea9cb 100755
    --- a/scripts/setlocalversion
    +++ b/scripts/setlocalversion
    @@ -143,7 +143,7 @@  fi
     if test -e include/config/auto.conf; then
     	. include/config/auto.conf
     else
    -	echo "Error: kernelrelease not valid - run 'make prepare' to update it"
    +	echo "Error: kernelrelease not valid - run 'make prepare' to update it" >&2
     	exit 1
     fi


  • 相关阅读:
    Python爬虫入门教程 24-100 微医挂号网医生数据抓取
    Python爬虫入门教程 23-100 石家庄链家租房数据抓取
    Python爬虫入门教程 22-100 CSDN学院课程数据抓取
    Python爬虫入门教程 21-100 网易云课堂课程数据抓取
    MySQL MGR--MGR部署
    MySQL DDL--MySQL 5.7版本Online DDL操作
    MySQL Percona Toolkit--pt-osc与online DDL选择
    MySQL Percona Toolkit--pt-osc重点参数
    MySQL Percona Toolkit--pt-osc执行SQL命令
    MySQL Percona Toolkit--pt-osc学习
  • 原文地址:https://www.cnblogs.com/ztguang/p/12645887.html
Copyright © 2020-2023  润新知