1. 程式人生 > >rpmbuild打包錯誤: ERROR No build ID note found in

rpmbuild打包錯誤: ERROR No build ID note found in

org 解決 ble var builds gin idc void art

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