[MacPorts] #28878: boost hangs when building

MacPorts noreply at macports.org
Mon Jan 9 07:12:31 PST 2012


#28878: boost hangs when building
------------------------------------------------+---------------------------
  Reporter:  misty.de.meo@…                     |       Owner:  adfernandes@…           
      Type:  defect                             |      Status:  reopened                
  Priority:  Normal                             |   Milestone:                          
 Component:  ports                              |     Version:  1.9.2                   
Resolution:                                     |    Keywords:                          
      Port:  boost                              |  
------------------------------------------------+---------------------------

Comment(by adfernandes@…):

 Hi, Dave -

 No, not 100% sure that parallel builds are at fault. However, I did note
 that while hacking on the Portfile ''with'' parallel builds enabled, I'd
 get a hang about one build in ten, more-or-less. I've never had a hang
 ''without'' parallel builds. I've had experience debugging
 parallel/circular dependencies in other projects, though, and this one
 strongly smells like a parallel-dependency lock.

 Regarding the slow build time, that too is expected. I'm sorry if I'm
 going to sound churlish in what follows, but boost's build system has been
 a continual source of frustration.

 On every phase of the port build, it appears that bjam scans all
 dependencies for all configurations. Bjam also gets a little confused as
 to what is configured (debug vs release builds for mpi and python,
 specifically) and other libraries, so it insists on re-building part of
 the library on the "install" phase. No idea why. I think that for a
 default build (static and dynamic libs,  standard and multithreaded) it
 does something like eight to twelve full dependency walks plus various
 rebuilds. The long build time is therefore not unexpected.

 Are you offering to take over ownership of this bug (long build time +
 possible hang/workaround)?

-- 
Ticket URL: <https://trac.macports.org/ticket/28878#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list