首页 > 其他 > 详细

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

时间:2019-03-31 10:50:05      阅读:1183      评论:0      收藏:0      [点我收藏+]
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 

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

原文:https://blog.51cto.com/13922718/2371067

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!