[MacPorts] #33362: clang-3.1 build fails to find dispatch/dispatch.h on Leopard

MacPorts noreply at macports.org
Sun Apr 8 16:42:00 PDT 2012


#33362: clang-3.1 build fails to find dispatch/dispatch.h on Leopard
---------------------------------+------------------------------------------
  Reporter:  stephen@…           |       Owner:  jeremyhu@…           
      Type:  defect              |      Status:  reopened             
  Priority:  Normal              |   Milestone:                       
 Component:  ports               |     Version:  2.0.99               
Resolution:                      |    Keywords:                       
      Port:  clang-3.1           |  
---------------------------------+------------------------------------------
Changes (by stephen@…):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Replying to [comment:5 jeremyhu@…]:
 > r90219

 Executive summary: nice try, but this was never a fix, since the relevant
 upstream change was reverted almost immediately.

 All revision numbers below refer to the upstream repository.

 The change in r151044 was reverted (apparently without recognizing that it
 was a regression) in r153182 (by the same person who made the change in
 r151044 :-/ ).  Doing
 {{{
 sudo port clean clang-3.1
 sudo port patch clang-3.1
 pushd dports/lang/clang-3.1/work/trunk/compiler-rt/lib/asan
 svn diff -r 153182:153641 asan_mac.cc | sudo patch -p0
 popd
 sudo port -u upgrade clang-3.1
 }}}
 gave me a successful build but I don't have complete confidence that this
 is a correct compiler.  (FWIW, there's only one patch to asan_mac.cc
 between r153182 and r153754, and this procedure applies that patch.)

 I suppose that
 {{{
 sudo port patch clang-3.1
 pushd dports/lang/clang-3.1/work/trunk/compiler-rt/lib/asan
 svn diff -r 153179:153182 | sudo patch -R -p0
 popd
 sudo port -u upgrade clang-3.1
 }}}
 would have had the same effect but I didn't test it.

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


More information about the macports-tickets mailing list