[MacPorts] #64497: grep fails to build for ppc on 10.6.8 (Rosetta)

MacPorts noreply at macports.org
Wed Jan 26 07:33:08 UTC 2022


#64497: grep fails to build for ppc on 10.6.8 (Rosetta)
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  powerpc, snowleopard, rosetta
      Port:  grep          |
---------------------------+-------------------------------------------

Comment (by barracuda156):

 Fixed with:

 {{{
 configure.args-append       CC_FOR_BUILD="gcc-4.2" \
                             CXX_FOR_BUILD="g++-4.2" \
                             CFLAGS_FOR_BUILD="-arch ppc -m32" \
                             CXXFLAGS_FOR_BUILD="-arch ppc -m32" \
                             --build=powerpc-apple-darwin10 \
                             --host=powerpc-apple-darwin10 \
                             --target=powerpc-apple-darwin10 \
                             --with-ld=/usr/bin/ld \
                             --with-as=/usr/bin/as
 }}}


 {{{
 Sergey-Fedorovs-Mac-mini:~ svacchanda$ port -v installed grep
 The following ports are currently installed:
   grep @3.7_2 (active) requested_variants='' platform='darwin 10'
 archs='ppc' date='2022-01-26T15:32:13+0800'
 }}}

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


More information about the macports-tickets mailing list