rpmbuild打包错误: ERROR No build ID note found in

rpmbuild打包错误:*** ERROR: No build ID note found in ******
http://www.voidcn.com/article/p-pwqdfovv-bky.html

但是在rpmbuild -ba时,遇到如下错误:

* ERROR: No build ID note found in /home/wuyang/rpmbuild/BUILDROOT/****
error: Bad exit status from /var/tmp/rpm-tmp.BPd1OI (%install)

解决方法是在.spec文件中任意位置添加如下参数:
%define __debug_install_post \
%{_rpmconfigdir}/find-debuginfo.sh %{?_find_debuginfo_opts} "%{_builddir}/%{?buildsubdir}"\
%{nil}



重新打包,即可。
 参考文章:(http://www.voidcn.com/article/p-owfaqzvv-qg.html)
[1. rpmbuild打包错误:*** ERROR: No build ID note found in ******
2. rpmbuild打包错误记录
3. 解决 rpmbuild 打包后安装错误
4. No Application ID has been found错误提示。
5. rpmbuild打包qwt
6. Linux no acceptable C compiler found in $PATH错误
7. junit4 junit.framework.AssertionFailedError: No tests found in错误
8. No setter found for property 'sessionFactory' in class错误
9. lucene 错误 no segments* file found in org.apache.lucene.store.FSDirectory@ write.lock
10. 用rpmbuild打包php 

转载于:https://blog.51cto.com/13922718/2371067

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值