[MacPorts] #38395: couchdb-devel @1.4.0a-20130227 Erlang R16B breaks couchdb build

MacPorts noreply at macports.org
Sun Mar 17 00:01:05 PDT 2013


#38395: couchdb-devel @1.4.0a-20130227 Erlang R16B breaks couchdb build
------------------------------------+---------------------------------
  Reporter:  jeff@…                 |      Owner:  cal@…
      Type:  defect                 |     Status:  reopened
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.1.3
Resolution:                         |   Keywords:  haspatch maintainer
      Port:  couchdb-devel couchdb  |
------------------------------------+---------------------------------

Comment (by jeff@…):

 I had one of those eureka-right-before-falling-asleep moments.  I'm pretty
 confident we have a race condition here.  I'm going to guess that there
 are probably four cores or better on the buildbots and that port runs make
 with a -j option (or something similar that would parallelize make).  If
 those assumptions are true, then that would cause the error the buildbot
 encountered, as the build of mochifmt_records.erl and mochifmt_std.erl
 depend on the .beam file generated from the compilation of pmod_pt.erl,
 but it hadn't yet finished building it.  I didn't see it since I'm on a
 dual core box and I'm guessing you are too.

 Combined patch is attached that sets up simple dependency in the makefile
 that should make this safe for any amount of concurrency in make.  (tested
 with -j20)

-- 
Ticket URL: <https://trac.macports.org/ticket/38395#comment:9>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list