Rpmbuild: Difference between revisions

From Leo's Notes
This page was last edited on 12 September 2019, at 05:05.
WP content from http://leo.steamr.com/2012/11/rpmbuild-error-bad-exit-status-from-tmp-install/
m →RPM Build Script: comment out
 
Line 17: Line 17:
}}
}}


<!--
There is no reason for the script. Instead, give a quick tutorial on _how_ to use rpmbuild instead?


== RPM Build Script ==
== RPM Build Script ==
Line 120: Line 124:
chmod 755 repodata
chmod 755 repodata
}}
}}
 
-->


{{Navbox Linux}}[[Category:Linux]]
{{Navbox Linux}}[[Category:Linux]]
[[Category:PackageManagement]]
[[Category:PackageManagement]]
[[Category:Todo]]
[[Category:Todo]]

Latest revision as of 05:05, 12 September 2019

Troubleshooting

rpmbuild: error: Bad exit status from /tmp/ (%install)

If you encounter an error similar to:

extracting debug info from /home/leo/rpmbuild/BUILDROOT/processing-1-5.1.x86_64o
*** ERROR: No build ID note found in /home/leo/rpmbuild/BUILDROOT/processing-1-o
error: Bad exit status from /var/tmp/rpm-tmp.WmvEiC (%install)

Add the following to your .spec file:

%define debug_package %{nil}