Bug 65490 - %make does not work
%make does not work
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 2002-05-25 12:14 EDT by Need Real Name
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-05-25 12:14:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2002-05-25 12:14:44 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

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 12:28:13 EDT
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 12:42:09 EDT
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...

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

Note You need to log in before you can comment on or make changes to this bug.