Hi All, Grub location: git clone https://git.savannah.gnu.org/git/grub.git
I have met some issues when I build grub2. 1. When I run ./bootstrap, stopped here, what should I do? patching file argp-help.c patching file mbswidth.c patching file mbswidth.h patching file regcomp.c can't find file to patch at input line 14 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From d5bbd8f60aacb0f73ea5a0bde999152c467d0e78 Mon Sep 17 00:00:00 2001 |From: Colin Watson <cjwat...@debian.org> |Date: Sun, 1 Mar 2020 11:57:58 +0000 |Subject: [PATCH 1/4] Support POTFILES-shell | |--- | gettext-runtime/po/Makefile.in.in | 24 ++++++++++++++++++++++-- | 1 file changed, 22 insertions(+), 2 deletions(-) | |diff --git a/gettext-runtime/po/Makefile.in.in b/gettext-runtime/po/Makefile.in.in |index fabdc76c9..32e9323d3 100644 |--- a/gettext-runtime/po/Makefile.in.in |+++ b/gettext-runtime/po/Makefile.in.in -------------------------- File to patch: 1. If I ignored file to patch, it stops here. ARNING: grub-core/lib/libgcrypt-grub/src already exists Generating Automake input... Saving timestamps... running: AUTOPOINT=true LIBTOOLIZE=true autoreconf --verbose --install --force -I m4 --no-recursive autoreconf: Entering directory `.' autoreconf: running: true --force autoreconf: running: aclocal -I m4 --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --include=m4 --force autoreconf: running: /usr/bin/autoheader --include=m4 --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: Leaving directory `.' ./bootstrap: cp -fp gnulib/build-aux/install-sh build-aux/install-sh ./bootstrap: cp -fp gnulib/build-aux/mdate-sh build-aux/mdate-sh ./bootstrap: cp -fp gnulib/build-aux/texinfo.tex build-aux/texinfo.tex ./bootstrap: cp -fp gnulib/build-aux/depcomp build-aux/depcomp ./bootstrap: cp -fp gnulib/build-aux/config.guess build-aux/config.guess ./bootstrap: cp -fp gnulib/build-aux/config.sub build-aux/config.sub ./bootstrap: Creating po/Makevars from po/Makevars.template ... sed: can't read po/Makevars.template: No such file or directory ./bootstrap: cannot generate po/Makevars Thanks. Best Regards, Wendy