[MacPorts] #64619: openssl3 fails to build for ppc on 10.6.8 (Rosetta)

MacPorts noreply at macports.org
Mon Feb 7 22:39:03 UTC 2022


#64619: openssl3 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:  openssl3      |
---------------------------+-------------------------------------------

Comment (by barracuda156):

 Replying to [comment:1 kencu]:
 > Short story: add {{{-latomic}}} to the link libraries.

 Thank you! `-append` line did not work, but this did:

 {{{
 configure.args-append       CFLAGS_FOR_BUILD="-arch ppc -m32" \
                             CXXFLAGS_FOR_BUILD="-arch ppc -m32" \
                             LDFLAGS_FOR_BUILD="-latomic" \
                             --build=powerpc-apple-darwin10 \
                             --host=powerpc-apple-darwin10 \
                             --target=powerpc-apple-darwin10
 }}}

 I did not see `-latomic` been actually passed though. Nevertheless,

 {{{
 Sergey-Fedorovs-Mac-mini:~ svacchanda$ port -v installed openssl3
 The following ports are currently installed:
   openssl3 @3.0.1_0+legacy (active) requested_variants='' platform='darwin
 10' archs='ppc' date='2022-02-08T06:31:58+0800'
 }}}

 To propose a fix, I will need to make sure when exactly the build fails
 and what is the minimal addition that solves the problem. At least,
 practical problem for now is solved.

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


More information about the macports-tickets mailing list