[MacPorts] #64485: libffi fails to build on 10.6.8 for ppc (under Rosetta)

MacPorts noreply at macports.org
Fri Jan 21 14:30:28 UTC 2022


#64485: libffi fails to build on 10.6.8 for ppc (under Rosetta)
--------------------------+--------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.7.1
 Keywords:  powerpc       |       Port:  libffi
--------------------------+--------------------
 {{{
 libtool: link: /usr/bin/gcc-4.2 -dynamiclib  -o .libs/libffi.8.dylib
 src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o
 src/.libs/java_raw_api.o src/.libs/closures.o src/.libs/tramp.o
 src/x86/.libs/ffi.o src/x86/.libs/sysv.o   -L/opt/powerpc/lib  -Os -arch
 ppc -Wl,-headerpad_max_install_names -arch ppc
 -Wl,-headerpad_max_install_names -arch ppc   -install_name
 /opt/powerpc/lib/libffi.8.dylib -compatibility_version 10 -current_version
 10.0 -Wl,-single_module
 Undefined symbols:
   "_ffi_prep_closure_loc", referenced from:
       _ffi_prep_closure in prep_cif.o
   "_ffi_prep_cif_machdep", referenced from:
       _ffi_prep_cif_core in prep_cif.o
   "_ffi_prep_raw_closure_loc", referenced from:
       _ffi_prep_raw_closure in raw_api.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[3]: *** [libffi.la] Error 1
 make[3]: Leaving directory
 `/opt/powerpc/var/macports/build/_opt_powerpc_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libffi/libffi/work/libffi-3.4.2/x86_64
 -apple-darwin10.8.0'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory
 `/opt/powerpc/var/macports/build/_opt_powerpc_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libffi/libffi/work/libffi-3.4.2/x86_64
 -apple-darwin10.8.0'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory
 `/opt/powerpc/var/macports/build/_opt_powerpc_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libffi/libffi/work/libffi-3.4.2/x86_64
 -apple-darwin10.8.0'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/powerpc/var/macports/build/_opt_powerpc_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libffi/libffi/work/libffi-3.4.2'
 Command failed:  cd
 "/opt/powerpc/var/macports/build/_opt_powerpc_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libffi/libffi/work/libffi-3.4.2"
 && /usr/bin/make -j8 -w all
 Exit code: 2
 Error: Failed to build libffi: command execution failed
 Error: See
 /opt/powerpc/var/macports/logs/_opt_powerpc_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libffi/libffi/main.log
 for details.

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64485>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list