[MacPorts] #34137: cairo: clang: error: unable to execute command: Segmentation fault: 11 (was: port upgrade cairo on OS X Lion 10.7.3 with XCode 4.3.2 (1177) and MacPorts 2.0.4 fails)

MacPorts noreply at macports.org
Thu Apr 19 23:26:22 PDT 2012


#34137: cairo: clang: error: unable to execute command: Segmentation fault: 11
------------------------------------------+---------------------------------
 Reporter:  nooneofconsequence@…          |       Owner:  ryandesign@…           
     Type:  defect                        |      Status:  new                    
 Priority:  Normal                        |   Milestone:                         
Component:  ports                         |     Version:  2.0.4                  
 Keywords:  lion clang                    |        Port:  cairo                  
------------------------------------------+---------------------------------
Changes (by ryandesign@…):

  * keywords:  => lion clang
  * owner:  macports-tickets@… => ryandesign@…
  * port:  => cairo


Old description:

> $ sudo port upgrade cairo
> --->  Computing dependencies for cairo
> --->  Fetching archive for cairo
> --->  Attempting to fetch cairo-1.12.0_0+x11.darwin_11.x86_64.tgz from
> http://packages.macports.org/cairo
> --->  Fetching cairo
> --->  Verifying checksum(s) for cairo
> --->  Extracting cairo
> --->  Applying patches to cairo
> --->  Configuring cairo
> --->  Building cairo
> Error: Target org.macports.build returned: shell command failed (see log
> for details)
> Log for cairo is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log
> Error: Unable to upgrade port: 1
> To report a bug, see <http://guide.macports.org/#project.tickets>

New description:

 {{{
  $ sudo port upgrade cairo
 --->  Computing dependencies for cairo
 --->  Fetching archive for cairo
 --->  Attempting to fetch cairo-1.12.0_0+x11.darwin_11.x86_64.tgz from
 http://packages.macports.org/cairo
 --->  Fetching cairo
 --->  Verifying checksum(s) for cairo
 --->  Extracting cairo
 --->  Applying patches to cairo
 --->  Configuring cairo
 --->  Building cairo
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Log for cairo is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log
 Error: Unable to upgrade port: 1
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

--

Comment:

 The log says:
 {{{
 :info:build clang: error: unable to execute command: Segmentation fault:
 11
 :info:build clang: error: linker command failed due to signal 2 (use -v to
 see invocation)
 :info:build clang: note: diagnostic msg: Please submit a bug report to
 http://developer.apple.com/bugreporter/ and include command line arguments
 and all diagnostic information.
 :info:build clang: note: diagnostic msg: Error generating preprocessed
 source(s) - cannot generate preprocessed source with multiple -arch
 options.
 }}}
 Please do that. I don't have Lion or Xcode 4 and I haven't seen this
 problem before so I can't assist further.

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


More information about the macports-tickets mailing list