Red Hat Bugzilla – Bug 65490
%make does not work
Last modified: 2008-05-01 11:38:02 EDT
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
Take any .src.rpm produced by Mandrake (they use %make) and try to rebuild it.
/var/tmp/rpm-tmp.28381: fg: no job control
error: Bad exit status from /var/tmp/rpm-tmp.28381 (%build)
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.
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...
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 ...