[MacPorts] #36081: cctools: lipo assertion failure and crash

MacPorts noreply at macports.org
Mon Sep 10 07:24:32 PDT 2012


#36081: cctools: lipo assertion failure and crash
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  mfeiri@…           
     Type:  defect                   |      Status:  new                
 Priority:  Normal                   |   Milestone:                     
Component:  ports                    |     Version:  2.1.2              
 Keywords:                           |        Port:  cctools            
-------------------------------------+--------------------------------------
 lipo provided by the cctools port sometimes has assertion failures and
 crashes:

 {{{
 $ file /opt/local/lib/io/addons/AsyncRequest/CMakeFiles/progress.marks
 /opt/local/lib/io/addons/AsyncRequest/CMakeFiles/progress.marks: ASCII
 text
 $ lipo -info
 /opt/local/lib/io/addons/AsyncRequest/CMakeFiles/progress.marks
 Assertion failed: (length >=4 && "Invalid magic number length"), function
 IdentifyFileType, file Path.cpp, line 44.
 Abort trap: 6
 $ which lipo
 /opt/local/bin/lipo
 $ port provides $(which lipo)
 /opt/local/bin/lipo is provided by: cctools
 $ port installed cctools
 The following ports are currently installed:
   cctools @829_0+llvm31 (active)
 $
 }}}

 The lipo provided by Xcode doesn't crash; it correctly states:

 {{{
 $ /usr/bin/lipo -info
 /opt/local/lib/io/addons/AsyncRequest/CMakeFiles/progress.marks
 /usr/bin/lipo: can't figure out the architecture type of:
 /opt/local/lib/io/addons/AsyncRequest/CMakeFiles/progress.marks
 }}}

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


More information about the macports-tickets mailing list