[MacPorts] #57858: bison @3.2.4 does not build on PPC Mac OS X 10.5.8, Leopard, because the Java compiler, /opt/local/libexec/gcc/ppc-apple-darwin9/5.5.0/ecj1, does not find an end and compiles and compiles and compiles and compiles, using some swap space

MacPorts noreply at macports.org
Mon Jan 7 17:53:47 UTC 2019


#57858: bison @3.2.4 does not build on PPC Mac OS X 10.5.8, Leopard, because the
Java compiler, /opt/local/libexec/gcc/ppc-apple-darwin9/5.5.0/ecj1, does
not find an end and compiles and compiles and compiles and compiles, using
some swap space
------------------------+------------------------
  Reporter:  ballapete  |      Owner:  ryandesign
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.5.4
Resolution:  fixed      |   Keywords:  leopard
      Port:  bison      |
------------------------+------------------------

Comment (by ballapete):

 Actually I think that `/opt/local/libexec/gcc/ppc-apple-
 darwin9/5.5.0/ecj1` does not work at all. All the other executables in
 directory `/opt/local/libexec/gcc/ppc-apple-darwin9/5.5.0` produce some
 kind of output when invoked with `-v --help`. Even `jc1` outputs a long
 list of options (and it seems to pass the test when the last option and
 its argument are omitted). `ejc1` is completely silent. This is also the
 case when I simulate `configure` on the command line. Obviously `ejc1`
 only can consume memory and CPU time.

 BTW, `configure` seems to produce these three files with the given
 contents for the Java Compiler test:

 {{{
 --> conftest.java:
 class conftest     { void foo () { switch ("A") {} } }

 --> conftestfail.java:
 class conftestfail { void foo () { Runnable r = () -> {}; } }

 --> conftestlib.java:
 public class conftestlib {
   public static void main (String[] args) {
   }
 }
 }}}

 `config.log` contains at its end:

 {{{
 onfigure:39765: checking for Java compiler
 configure:39977: found /opt/local/bin/gcj
 configure:40011: found /usr/bin/javac
 configure:40064: gcj -C -d . conftestlib.java
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/57858#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list