Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41206 - Better way to explain the difference between make and emake.
Summary: Better way to explain the difference between make and emake.
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Documentation (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-11 00:39 UTC by Andrea Cerrito
Modified: 2004-09-14 22:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Cerrito 2004-02-11 00:39:05 UTC
A friend of mine point me to notice that some ebuilds are using make instead of emake: I didn't know why, until, using emake instead of make, some ebuilds started to fail (ie: nagios-plugins).
The only difference I saw between make and emake is that emake handles the MAKEOPTS var of make.conf, make it does not. If it's correct, I suggest to explain  this difference ie in the make.conf, to avoid people to force the -j feature and run into troubles.

Reproducible: Always
Steps to Reproduce:




Expected Results:  
ie:

# MAKEOPTS provides extra options that may be passed to 'emake' (not make:
#     not all programs may use extra options, and some builds will fail if
#     you try to use parallel makes) when a program is compiled. 
#     Presently the only use is for specifying the number of parallel
#     makes (-j) to perform. The suggested number for parallel makes is
#     CPUs+1.
Comment 1 SpanKY gentoo-dev 2004-02-11 17:49:30 UTC
why should the end user care about make/emake ?
Comment 2 Andrea Cerrito 2004-02-12 00:10:22 UTC
Some users asked me (I'm an italian forum moderator) if they had to open a bug report because some ebuilds didn't compile by default using MAKEOPTS var.
Besides "end user", I think the difference care a noob portage developer (other users tried to modify an ebuild that started to fail).
Comment 3 SpanKY gentoo-dev 2004-02-12 07:06:25 UTC
personally i think all ebuilds should use `emake`

if they fail to build with -j, then you change the command to `emake -j1`

then there wouldnt be this problem
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2004-09-14 22:32:06 UTC
As spanky said.