[MacPorts] #64486: bison-runtime build for ppc fails at destroot on 10.6.8 (Rosetta)

MacPorts noreply at macports.org
Sun Jan 23 21:29:02 UTC 2022


#64486: bison-runtime build for ppc fails at destroot on 10.6.8 (Rosetta)
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  mascguy
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  powerpc
      Port:  bison         |
---------------------------+----------------------

Comment (by barracuda156):

 Replying to [comment:4 ryandesign]:
 > The log tells us the problem is:

 Done!

 {{{

 Sergey-Fedorovs-Mac-mini:~ svacchanda$ port -v installed | grep "bison"
   bison @3.8.2_2 (active) requested_variants='' platform='darwin 10'
 archs='ppc' date='2022-01-24T05:27:39+0800'
   bison-runtime @3.8.2_0 (active) requested_variants='' platform='darwin
 10' archs='noarch' date='2022-01-24T05:26:52+0800'
 }}}

 This addition to port file solved the problem:


 {{{
 configure.args-append       CC="gcc-4.2 -arch ppc" \
                             CXX="g++-4.2 -arch ppc" \
                             CFLAGS="-arch ppc" \
                             CXXLAGS="-arch ppc" \
                             LDFLAGS="-L/opt/local/lib" \
                             --build=powerpc-apple-darwin10 \
                             --host=powerpc-apple-darwin10 \
                             --with-libiconv-prefix=/opt/local \
                             --with-libintl-prefix=/opt/local
 }}}

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


More information about the macports-tickets mailing list