Checking patch INSTALL... Hunk #1 succeeded at 251 (offset 6 lines). Checking patch Makeconfig... Checking patch Makerules... Checking patch NEWS... Hunk #1 succeeded at 56 (offset 1 line). Checking patch configure... Hunk #1 succeeded at 820 (offset 11 lines). Hunk #2 succeeded at 1506 (offset 13 lines). Hunk #3 succeeded at 4887 (offset 27 lines). error: while searching for: config_vars="$config_vars have-no-dynamic-linker = $libc_cv_no_dynamic_linker" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -static-pie" >&5 printf %s "checking for -static-pie... " >&6; } if test ${libc_cv_static_pie+y} error: patch failed: configure:7103 error: configure: patch does not apply Checking patch configure.ac... Hunk #1 succeeded at 440 (offset 14 lines). error: while searching for: [libc_cv_no_dynamic_linker=no]) LIBC_CONFIG_VAR([have-no-dynamic-linker], [$libc_cv_no_dynamic_linker]) AC_CACHE_CHECK(for -static-pie, libc_cv_static_pie, [dnl LIBC_TRY_CC_OPTION([-static-pie], [libc_cv_static_pie=yes], error: patch failed: configure.ac:1278 error: configure.ac: patch does not apply Checking patch elf/Makefile... Checking patch manual/install.texi... Hunk #1 succeeded at 281 (offset 9 lines).