[MacPorts] #64264: glib2 fails for PowerPC (ppc, ppc64 and universal)

MacPorts noreply at macports.org
Fri Dec 24 10:39:26 UTC 2021


#64264: glib2 fails for PowerPC (ppc, ppc64 and universal)
---------------------------+-------------------------------------
  Reporter:  barracuda156  |      Owner:  ryandesign
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  PowerPC, Leopard, ppc64
      Port:  glib2         |
---------------------------+-------------------------------------

Comment (by barracuda156):

 Replying to [comment:6 ryandesign]:
 > Replying to [comment:4 barracuda156]:
 > > As for the first issue, trying to build `icu` as universal asks for
 universal `llvm-3.3`
 >
 > I wouldn't have expected that. The icu portfile makes no mention of llvm
 nor specific compiler requirements, other than including the
 clang_dependency portgroup, which just means that icu is a dependency of
 some versions of clang, which means that MacPorts may not choose those
 newer clang compilers to compile icu since that would be a circular
 dependency.
 >
 > What's the dependency chain leading from icu to llvm-3.3? The output of
 `port rdeps icu` should show us. On my Catalina system, icu depends on no
 other ports, but that may be different on other system versions,
 especially earlier systems.

 Apparently the linker is the issue, as it did not build universal due to
 llvm not building universal:

 {{{
 36-225:~ svacchanda$ port rdeps icu
 The following ports are dependencies of icu @67.1_4+universal:
   python27
     xz
       libiconv
         gperf
       gettext
         libtextstyle
           ncurses
         gettext-runtime
         gettext-tools-libs
     pkgconfig
     bzip2
     db48
     expat
     libedit
     libffi
       expect
         automake
           autoconf
             m4
         tcl
       dejagnu
     sqlite3
       zlib
     openssl11
       perl5
         perl5.28
           gdbm
             readline
     python_select
     python2_select
   gcc7
     cctools
       libunwind-headers
     gmp
     isl
     ld64
       ld64-127
         libmacho-headers
         llvm-3.3
           llvm_select
     libmpc
       mpfr
     gcc_select
     libgcc
       libgcc7
 }}}


 > clang doesn't work on PowerPC, so if the port is thinking it should be
 building with some version of clang on PowerPC, that would be wrong...

 `ld64` wants `llvm`, whether 3.3 or 3.4.

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


More information about the macports-tickets mailing list