[MacPorts] #34137: port upgrade cairo on OS X Lion 10.7.3 with XCode 4.3.2 (1177) and MacPorts 2.0.4 fails
#34137: port upgrade cairo on OS X Lion 10.7.3 with XCode 4.3.2 (1177) and MacPorts 2.0.4 fails ------------------------------------------+--------------------------------- Reporter: nooneofconsequence@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ------------------------------------------+--------------------------------- $ 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> -- Ticket URL: <https://trac.macports.org/ticket/34137> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 ------------------------------------------+--------------------------------- Comment(by ram@…): Forcing the use of llvm-gcc-4.2 allows me to build -- Ticket URL: <https://trac.macports.org/ticket/34137#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------------+--------------------------------- Comment(by nooneofconsequence@…): Replying to [comment:3 ram@…]:
Forcing the use of llvm-gcc-4.2 allows me to build Are you going to give any tips on forcing the use of llvm-gcc-4.2 or is this a note for developers to use to fix the build?
-- Ticket URL: <https://trac.macports.org/ticket/34137#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------------+--------------------------------- Comment(by nooneofconsequence@…): Replying to [comment:1 ryandesign@…]:
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.
If you've got an Apple Dev account, its Problem ID: 11286503 -- Ticket URL: <https://trac.macports.org/ticket/34137#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------------+--------------------------------- Comment(by ryandesign@…): Replying to [comment:4 nooneofconsequence@…]:
Replying to [comment:3 ram@…]:
Forcing the use of llvm-gcc-4.2 allows me to build Are you going to give any tips on forcing the use of llvm-gcc-4.2 or is this a note for developers to use to fix the build?
wiki:ProblemHotlist#compiler -- Ticket URL: <https://trac.macports.org/ticket/34137#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): @ryandesign: I see the same problem with Xcode 4.3.2 and Lion. This problem prevents the building of wine on Lion. Can I please commit the temporary fix as suggested by ram, namely switching to llvm-gcc-4.2 in place of clang? -- Ticket URL: <https://trac.macports.org/ticket/34137#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------------+--------------------------------- Comment(by ryandesign@…): Yes, go ahead. -- Ticket URL: <https://trac.macports.org/ticket/34137#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------------+--------------------------------- Comment(by ryandesign@…): Please commit the same change to cairo-devel simultaneously. -- Ticket URL: <https://trac.macports.org/ticket/34137#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): Thanks. I committed the change to cairo in r92339 and cairo-devel in r92341 (with a very minor grammar/code coloring fix in r92340). Leaving the ticket open for now waiting for a real fix, but feel free to close it. -- Ticket URL: <https://trac.macports.org/ticket/34137#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------------+--------------------------------- Comment(by jmr@…): I actually can't reproduce this. Are everyone's command line tools up to date? -- Ticket URL: <https://trac.macports.org/ticket/34137#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): Replying to [comment:12 jmr@…]:
I actually can't reproduce this. Are everyone's command line tools up to date?
Yes, mine are. I'm not sure this proves it but here is the version info: {{{ $ xcodebuild -version Xcode 4.3.2 Build version 4E2002 }}} -- Ticket URL: <https://trac.macports.org/ticket/34137#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------------+--------------------------------- Comment(by jmr@…): No, that doesn't prove anything about the command line tools. Try this: {{{ % /usr/bin/clang -v Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn) Target: x86_64-apple-darwin11.3.0 Thread model: posix }}} -- Ticket URL: <https://trac.macports.org/ticket/34137#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------------+--------------------------------- Comment(by nooneofconsequence@…): I'm the OP and since I didn't post it explicitly, my clang shows the following: $ clang -v Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn) Target: x86_64-apple-darwin11.3.0 Thread model: posix and $ xcodebuild -version Xcode 4.3.2 Build version 4E2002 -- Ticket URL: <https://trac.macports.org/ticket/34137#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): {{{ $ /usr/bin/clang -v Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn) Target: x86_64-apple-darwin11.3.0 Thread model: posix }}} -- Ticket URL: <https://trac.macports.org/ticket/34137#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------------+--------------------------------- Comment(by nooneofconsequence@…): The new source compiles and installs. Thanks!! cairo @1.12.2_0+x11 (active) port info cairo cairo @1.12.2 (graphics) Variants: no_x11, opengl, quartz, universal, [+]x11, x11_xcb Description: Cairo is a vector graphics library with cross-device output support. It is designed to produce identical output on all output media while taking advantage of display hardware acceleration when available (e.g. through the X Render Extension). Homepage: http://cairographics.org/ Extract Dependencies: xz Build Dependencies: pkgconfig Library Dependencies: libpixman, glib2, fontconfig, freetype, libpng, zlib, expat, xrender, xorg-xcb-util Conflicts with: cairo-devel Platforms: darwin, macosx License: LGPL-2.1 MPL-1.1 Maintainers: ryandesign@macports.org -- Ticket URL: <https://trac.macports.org/ticket/34137#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34137: cairo: clang: error: unable to execute command: Segmentation fault: 11 -----------------------------------+-------------------------- Reporter: nooneofconsequence@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: lion clang Port: cairo | -----------------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: I'm not able to reproduce this with Xcode 4.3.3(?) with clang-318.0.61 so in r99503 I changed the port to only blacklist older versions of clang. -- Ticket URL: <https://trac.macports.org/ticket/34137#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34137: cairo: clang: error: unable to execute command: Segmentation fault: 11 -----------------------------------+-------------------------- Reporter: nooneofconsequence@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: lion clang Port: cairo | -----------------------------------+-------------------------- Comment (by jeremyhu@…): port lint failure addressed in r99782 ... we can just check the version of Xcode. -- Ticket URL: <https://trac.macports.org/ticket/34137#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts