Bug 189598 - mail/thunderbird: Builds with -j1 even when MAKE_JOBS_NUMBER is set
Summary: mail/thunderbird: Builds with -j1 even when MAKE_JOBS_NUMBER is set
Status: Closed DUPLICATE of bug 184630
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-10 14:10 UTC by John Marino
Modified: 2014-06-22 22:06 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino 2014-05-10 14:10:00 UTC
I had patched bsd.gecko.mk locally to set MOZ_OPTIONS to support parallel building, but with all the recent changes the local patch was removed.

Thunderbird takes 5 hours to build in a bulk run.  It should take less than a hour.  The reason is that it is building at -j1 even though MAKE_JOBS_NUMBER is set to 5.

Please fix bsd.gecko.mk or whatever to enable parallel building for this large port.  It seems to be limited to Thunderbird.  I haven't noticed a similar issue with FireFox or Seamonkey but I haven't been looking too hard either.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-10 14:10:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gecko

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 John Marino freebsd_committer freebsd_triage 2014-06-22 09:40:26 UTC
Is anyone looking at this?  It really is highly annoying, especially when having to individually rebuild thunderbird outside of a bulk build.  This is common because it breaks on DF all the time.

Can someone from gecko@ patch this?  It should be easy through MOZ_OPTIONS.  I had it working before but the infrastructure changed with USE=gecko, plus it needs to be fixed on FreeBSD as well.
Comment 3 John Marino freebsd_committer freebsd_triage 2014-06-22 11:50:20 UTC
It looks like one user found a solution that works on an individual port basis (I was thinking of the same approach)

http://ximalas.info/2014/05/06/parallel-build-of-mailthunderbird-in-freebsd/
Comment 4 Toni Ballesta 2014-06-22 15:31:57 UTC
This is like Bug #184630.
Comment 5 Jan Beich freebsd_committer freebsd_triage 2014-06-22 16:09:05 UTC
The solution in bug 184630 comment 6 or linked in comment 3 ignores MAKE_JOBS_NUMBER in make.conf/Makefile.local. And it's redundant after backporting the following fix to comm-esr24 branch.

https://hg.mozilla.org/releases/comm-release/rev/dd53119788d8

*** This bug has been marked as a duplicate of bug 184630 ***
Comment 6 John Marino freebsd_committer freebsd_triage 2014-06-22 22:06:54 UTC
right, I didn't mean to imply to take it verbatim.  The blog says MAKE_JOBS_NUMBER wasn't set yet, but that was incorrect.

I used a variation of the solution in comment 3 using MAKE_JOBS_NUMBER and it worked fine.