Description of problem: I can't build compat-gcc-7.3-2.96.110 by GNU cc - amongst warnings compiler emits error and then rpm hangs. Problem appear when output from rpm is pipelined, for example like `rpm ... | tee LOG`. As I could get from `ps`, system waits two /bin/sh, which are spawned somewhere during build. They have parent PID as 1 and they don't exit. So parent of `rpm` becomes <defunct> waiting infinitely for child cleaning. In this tracker you shouldn't mind about compilation errors during build but you should pay attention to such ill-formed build process, where compilation error causes hanging. Seems something inside has been finished unclearly. As installation script is usually run with root privilege, extra attention should be paid to neatness. Iâll attach the log, done by ` rpmbuild --define "_topdir $(pwd)/.." --define "_tmppath $(pwd)/../tmp" -bb compat-gcc.spec 2>&1 | tee LOG` command with ctrl/C in the end (when it hangs). Feel free to contact me if you canât reproduce this bug (I note that you are to have error inside build, so probably erroneous patch will be needed for you). Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. rpm -i compat-gcc-7.3-2.96.110.src.rpm 2. cd to SPECS directory 3. rpmbuild --define "_topdir $(pwd)/.." --define "_tmppath $(pwd)/../tmp" -bb compat-gcc.spec 2>&1 | tee LOG Actual results: Installation error and hanging Expected results: At least any exit without hanging and without extra running program left in memory. Additional info:
Created attachment 89140 [details] log done by `rpmbuild --define "_topdir $(pwd)/.." --define "_tmppath $(pwd)/../tmp" -bb` archived, to unpack: tar -xzvf LOG.tgz
compat-gcc with 2.96-RH is no longer included in the distribution.