[MacPorts] #35465: gauche 0.9.3.3 build fails on mountain lion 10.8

MacPorts noreply at macports.org
Wed Aug 1 10:50:13 PDT 2012


#35465: gauche 0.9.3.3 build fails on mountain lion 10.8
------------------------------------+---------------------------------------
 Reporter:  IwataAkinori@…          |       Owner:  akitada@…           
     Type:  defect                  |      Status:  new                 
 Priority:  Normal                  |   Milestone:                      
Component:  ports                   |     Version:  2.1.2               
 Keywords:  mountainlion haspatch   |        Port:  gauche              
------------------------------------+---------------------------------------
Changes (by ryandesign@…):

  * keywords:  mountain lion => mountainlion haspatch
  * owner:  macports-tickets@… => akitada@…
 * cc: ryandesign@… (added)


Comment:

 Thanks, but we can't just set the compiler to "gcc". "gcc" is not a
 specific compiler; it's a symlink to a compiler, and which compiler it's a
 symlink to varies by Xcode version. We want to be more specific than that.

 For example, we might want to use
 {{{
 compiler.blacklist clang
 }}}
 to tell MacPorts that, if it were to normally choose clang (i.e. on Xcode
 4.2 and up), to select the next-best compiler instead (which is llvm-gcc).

 I'm attaching a main.log from the build failure on my system on Mountain
 Lion. It seems that every time it wants to run `gosh`, it crashes like
 this:

 {{{
 ../../src/gosh -ftest ../../src/precomp -e -P -o gauche--collection
 ../../libsrc/gauche/collection.scm
 make[2]: *** [gauche--collection.c] Segmentation fault: 11
 }}}

 I'm also attaching the patch I suggest using, if fixing gauche to compile
 correctly with clang is not possible.

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


More information about the macports-tickets mailing list