openSUSE / obs-build

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

build-pkg-rpm: chroot: failed to run command '<lua>': No such file or directory #959

Closed wb0716 closed 9 months ago

wb0716 commented 10 months ago

I came to an issue during Preinstalling a package. In the config file, there is such section: Runscripts: setup In setup.spec file, there is such %post -p xxxx So. During preinstalling the setup package, there will be such error: running setup postinstall script chroot: failed to run command '': No such file or directory. when calling command: rpm -qp --nodigest --nosignature --qf "%{POSTINPROG}" setup-0.5-1.1.noarch.rpm it shows: Please check this issue. Thanks.

adrianschroeter commented 9 months ago

this sounds more like a bug in the rpm scripts or dependency order problem.

However, without any reproducer I can only close this.