Description of Problem: The call %make in a .spec file is not treated correctly Version-Release number of selected component (if applicable): Red Hat 7.3 [root@lorient SPECS]$ rpm -qa | grep rpm gnorpm-0.96-14 rpm-python-4.0.4-7x.18 rpm-4.0.4-7x.18 maximum-rpm-1.0-0.20010810 rpm-build-4.0.4-7x.18 rpm-devel-4.0.4-7x.18 How Reproducible: Take any .src.rpm produced by Mandrake (they use %make) and try to rebuild it. Actual Results: + %make /var/tmp/rpm-tmp.28381: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.28381 (%build) Expected Results: To get the source compiled....
There is no %make in rpm, so the macro expansion does nothing, and the shell is fed the string "%make" wich it interprets as a job control directive in a non-interactive shell. Use "make" instead.
OK. Thanks. However, if you look at : http://www.mandrakelinux.com/howtos/mdk-rpm/building.html section 4.4.3 you will see that they refer to a %make I don't know where it comes from but if rpm starts to split... where will it lead... Daniel
I can't do anything about how Mandrake chooses to package. <shrug> FWIW %make is a very simple rpm configuration issue, not anything serious or important ...