Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31311 - jam support should be added to portage
Summary: jam support should be added to portage
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
Depends on:
Reported: 2003-10-16 14:42 UTC by Radek Podgorny
Modified: 2007-01-11 12:26 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Radek Podgorny 2003-10-16 14:42:10 UTC

many new apps don't use make for their builds. They use jam instead. It's quite sad that portage doesn't have any convenient way to control the build process (like it has for make). Me personally, I miss something like JAMOPTS="-j9" (should be in make.conf) since jam is capable od parallel build, too. "ejam" macro (as opposed to "emake") for ebuild makers would be cool too...

ccache (enabled only through portage) doesn't seem to work, too. Didn't have oportunity to try distcc.

Comment 1 SpanKY gentoo-dev 2003-10-16 20:19:50 UTC
although i agree we should add an JAMOPTS and an ejam script, i dont agree
with the 'many new apps dont use makefiles' ...

i really havent seen anything to support that claim and jam is by far in
the minorty in terms of building packages
Comment 2 Radek Podgorny 2003-10-16 21:32:57 UTC
Yeah, I agree, too. But that "many" in my former sentence was the same as
in "Many users use linux". I know that the number of linux users is nothing
compared to the rest but I'm sure you can still fell the meaning of this
"many"... :-)

Comment 3 Marius Mauch (RETIRED) gentoo-dev 2003-11-15 19:58:30 UTC
Can you provide a list of packages in the portagetree that use jam? If it's just 10 or 20 packages I'm against it, when we get at 100 or 200 we might consider it.
Comment 4 Radek Podgorny 2003-11-17 15:48:48 UTC
The number would be two-digit :-( but being against it just because of that? No way! The low number of packages which use jam can make this request go to the end of the portage to-do list but rejecting it at all? That's a nonsense...

Comment 5 Marius Mauch (RETIRED) gentoo-dev 2003-11-17 16:07:03 UTC
The reason why I'm against it is that there are many more environment vars that 
can affect the build process (just think of all the fortran or ada packages), if we add all these variables make.conf will get bloated. You can still add it by yourself and it will be used (like any other variable).
For the ejam script, that's IMO something for an eclass, not portage itself.
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2003-11-26 16:07:56 UTC
Spanky, what do you think about adding an ejam script to eutils ?
Comment 7 SpanKY gentoo-dev 2003-11-29 15:16:39 UTC
if we do add ejam it should go to the same place emake is
Comment 8 Nicholas Jones (RETIRED) gentoo-dev 2003-12-23 23:33:13 UTC
I have no idea what jam is. Never heard of it.
Anything you put in make.conf will end up in the
environment for ebuilds. Add it if you want.
Using it is the ebuild maintainers perrogative.

Do we actually have need of this as 'ejam' are
there common options that get passed in?
Comment 9 Marius Mauch (RETIRED) gentoo-dev 2004-01-12 00:49:19 UTC
Radek ?
Comment 10 Radek Podgorny 2004-01-12 13:16:47 UTC

I'm not that deep into jam. I've been forced to use it when I was working on some projects so I've just learnt to set the env. vars. and stuff. The whole build system seemed to be much simpler than the "make hell" so I was wishing (I still do) to have some kind of support in Gentoo.

Anyway, I'm working for someone else and I almost don't use jam now. You can close this bug with LATER or something like that but I hope there will be someone to make Gentoo "jam ready" so developers can migrate away from make comfortably (ccache and distcc support)...

Comment 11 Marius Mauch (RETIRED) gentoo-dev 2004-06-09 19:47:02 UTC
Maybe we'll do this if jam becomes more popular, no need for it now.
Comment 12 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 12:26:59 UTC
Apparently it's not that popular.