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

MacPorts noreply at macports.org
Sat Jan 22 23:29:42 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
 Keywords:  powerpc       |       Port:  grep
--------------------------+--------------------
 {{{
 sigsegv.c: In function 'sigsegv_handler':
 sigsegv.c:940: error: 'struct __darwin_ppc_thread_state' has no member
 named '__esp'
 make[3]: *** [sigsegv.o] Error 1
 make[3]: *** Waiting for unfinished jobs....
 In file included from /usr/include/libkern/OSByteOrder.h:43,
                  from /usr/include/mach/ndr.h:106,
                  from /usr/include/mach/clock_priv.h:7,
                  from /usr/include/mach/mach_interface.h:42,
                  from /usr/include/mach/mach.h:67,
                  from stackvma.c:1363:
 /usr/include/libkern/ppc/OSByteOrder.h:155: error: redefinition of
 '_OSSwapInt16'
 /usr/include/libkern/i386/_OSByteOrder.h:49: error: previous definition of
 '_OSSwapInt16' was here
 /usr/include/libkern/ppc/OSByteOrder.h:164: error: redefinition of
 '_OSSwapInt32'
 /usr/include/libkern/i386/_OSByteOrder.h:58: error: previous definition of
 '_OSSwapInt32' was here
 /usr/include/libkern/ppc/OSByteOrder.h:173: error: redefinition of
 '_OSSwapInt64'
 /usr/include/libkern/i386/_OSByteOrder.h:69: error: previous definition of
 '_OSSwapInt64' was here
 make[3]: *** [stackvma.o] Error 1
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_grep/grep/work/grep-3.7/lib'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_grep/grep/work/grep-3.7/lib'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_grep/grep/work/grep-3.7'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_grep/grep/work/grep-3.7'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_grep/grep/work/grep-3.7"
 && /usr/bin/make -j8 -w all
 Exit code: 2
 Error: Failed to build grep: command execution failed

 }}}

 I have seen similar errors today earlier with `m4`.

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


More information about the macports-tickets mailing list