Bug 65490

Summary: %make does not work
Product: [Retired] Red Hat Linux Reporter: Need Real Name <ted>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-05-25 16:14:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2002-05-25 16:14:44 UTC
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....

Comment 1 Jeff Johnson 2002-05-25 16:28:13 UTC
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.

Comment 2 Need Real Name 2002-05-25 16:42:09 UTC
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

Comment 3 Jeff Johnson 2002-05-25 16:56:53 UTC
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 ...