openSUSE / obs-build

OBS build script, can be used with OBS or stand alone
GNU General Public License v2.0
133 stars 185 forks source link

osc build --stage=c= and c+ is broken #1016

Closed brjsp closed 3 months ago

brjsp commented 3 months ago

rpmbuild is incorrectly being called with --noprep instead of --short-circuit, which causes it to trash %_builddir and then go straight to executing %build on an empty source.

--stage=i= and i+ work correctly.

This seems to have been caused by commit e640c304248e6105a360e64d013190130fc3e890 (but i have not checked whether reverting it fixes the problem)

brjsp commented 3 months ago

(Pinging @mlschroe as the author of the offending commit)

mlschroe commented 3 months ago

Fixed. Thanks for the report!