Checking patch sysdeps/mach/configure... error: while searching for: fi ### Sanity checks for Mach header installation ac_fn_c_check_header_preproc "$LINENO" "mach/mach_types.h" "ac_cv_header_mach_mach_types_h" error: patch failed: sysdeps/mach/configure:133 error: while searching for: fi ac_fn_c_check_header_preproc "$LINENO" "mach/mach_types.defs" "ac_cv_header_mach_mach_types_defs" if test "x$ac_cv_header_mach_mach_types_defs" = xyes; then : error: patch failed: sysdeps/mach/configure:143 error: while searching for: if ${libc_cv_mach_task_creation_time+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int error: patch failed: sysdeps/mach/configure:216 error: while searching for: if test $libc_cv_mach_task_creation_time = no; then as_fn_error $? "you need Mach headers supporting task_info.creation_time" "$LINENO" 5 fi mach_interface_list= for ifc in mach mach4 gnumach \ error: patch failed: sysdeps/mach/configure:242 Checking patch sysdeps/mach/configure.ac... error: while searching for: fi ### Sanity checks for Mach header installation AC_CHECK_HEADER(mach/mach_types.h,, [AC_MSG_ERROR([cannot find Mach headers])], -) AC_CHECK_HEADER(mach/mach_types.defs,, [dnl AC_MSG_ERROR([cannot find Mach .defs files])], -) error: patch failed: sysdeps/mach/configure.ac:12 error: while searching for: dnl AC_CACHE_CHECK(for creation_time in task_basic_info, libc_cv_mach_task_creation_time, [dnl AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ extern struct task_basic_info *i; long s = i->creation_time.seconds; error: patch failed: sysdeps/mach/configure.ac:42 error: while searching for: if test $libc_cv_mach_task_creation_time = no; then AC_MSG_ERROR([you need Mach headers supporting task_info.creation_time]) fi dnl dnl The Darwin variant no longer has error: patch failed: sysdeps/mach/configure.ac:49 Applying patch sysdeps/mach/configure with 4 rejects... Rejected hunk #1. Rejected hunk #2. Rejected hunk #3. Rejected hunk #4. Applying patch sysdeps/mach/configure.ac with 3 rejects... Rejected hunk #1. Rejected hunk #2. Rejected hunk #3.