Bug 65490 - %make does not work
Summary: %make does not work
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm   
(Show other bugs)
Version: 7.3
Hardware: i386 Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-25 16:14 UTC by Need Real Name
Modified: 2008-05-01 15:38 UTC (History)
0 users

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: ---


Attachments (Terms of Use)

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 ...



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