[MacPorts] #64265: cairo fails to build for ppc+ppc64

MacPorts noreply at macports.org
Wed Dec 22 08:25:59 UTC 2021


#64265: cairo fails to build for ppc+ppc64
---------------------------+-------------------------------------
  Reporter:  barracuda156  |      Owner:  ryandesign
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  PowerPC, Leopard, ppc64
      Port:  cairo         |
---------------------------+-------------------------------------

Comment (by barracuda156):

 Replying to [comment:3 ryandesign]:
 > Replying to [comment:2 barracuda156]:
 > > glib2 does not build universal for me indeed.
 >
 > How do you mean? You suggest in this ticket that you're trying to
 install cairo universal. Cairo declares a dependency on glib2. Therefore,
 MacPorts would not have allowed you to begin attempting to build cairo
 until glib2 had successfully been installed universal.

 Nothing would build universal at all if we just accept default Macports
 behavior, since no Python builds as universal. Since it is not evident for
 me whether a port really requires a dependency as universal or it is an
 artifact of default Macports behavior, if something fails because of a
 dependency that failed to build as universal, I try disabling arch check
 for it. In many cases it worked, in some it failed.

 >
 > What is the output of:
 >
 > {{{
 > port -v installed glib2
 > }}}
 > {{{
 > lipo -info /opt/local/lib/libglib-2.0.dylib
 > }}}
 >

 The only way glib2 built for me is ppc-only, so:

 {{{
 36-225:~ svacchanda$ port -v installed glib2
 The following ports are currently installed:
   glib2 @2.62.6_2+x11 (active) requested_variants='-universal'
 platform='darwin 9' archs='ppc' date='2021-12-22T12:28:22+0800'

 36-225:~ svacchanda$ lipo -info /opt/local/lib/libglib-2.0.dylib
 Non-fat file: /opt/local/lib/libglib-2.0.dylib is architecture: ppc7400
 }}}

 > I'm interested to see the variants and architectures for which the port
 is allegedly installed, and the architectures for which it is actually
 installed.

 Every port I try building universal first, if that fails, I try
 ppc64-only, if that also fails, I try ppc.
 Aside of python-related ports, most do build as universal, but several
 fail.

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


More information about the macports-tickets mailing list