Gentoo Archives: gentoo-user

From: Michael Morak <michael.morak@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Bootloaders: SILENT CRISIS!!!
Date: Thu, 26 Jan 2017 17:34:46
Message-Id: CAPrF67A68GK2tTaaW0wfbkLskTyEFY57Dq2Px7ZFA9_RQ55f2A@mail.gmail.com
In Reply to: [gentoo-user] Bootloaders: SILENT CRISIS!!! by Alan Grimes
1 On 26 January 2017 at 18:03, Alan Grimes <ALONZOTG@×××××××.net> wrote:
2
3 > I looked for more information on GRUB form upstream but, on first
4 > impression, it's been an abandoned project since 2012... Apparently some
5 > users have posted patches to things like the invalid sector size problem
6 > but the project has been deaf to these problems and has done nothing
7 > whatsoever. =(
8 >
9
10 The official repository for grub shows regular activity (last commit was 2
11 days ago), see here: http://git.savannah.gnu.org/cgit/grub.git/log/
12
13
14 > *snip
15 >
16 > I don't know where Gentoo is getting it's source for Grub...
17 >
18
19 You can find this info by looking in the relevant ebuilds. Gentoo is
20 getting it's grub source from the official GNU grub repository: http://git.
21 savannah.gnu.org/r/grub.git
22 <http://git.savannah.gnu.org/r/grub.git>
23
24 > Apparently the git version of Grub was abandoned in 2015, as far as I
25 > can tell...
26
27
28 See above.
29
30
31 > I'm trying to build it from source. As is appropriate the
32 > git repository doesn't have the git scripts, I tried running autoreconf
33 > on it but got error messages...
34 >
35 > I cleared a few of them but I'm like:
36 >
37 > ##########################################
38 > atg@localhost ~/source/grub $ autoreconf
39 > autoreconf-2.69: configure.ac: AM_GNU_GETTEXT is used, but not
40 > AM_GNU_GETTEXT_VERSION
41 > automake-1.15: error: cannot open < Makefile.util.am: No such file or
42 > directory
43 > autoreconf-2.69: automake failed with exit status: 1
44 > atg@localhost ~/source/grub $
45 > ##########################################
46 >
47 > Is there a way to ebuild a "grub-git" and produce a grub install with
48 > version = date of most recent commit on active fork?
49 >
50
51 If you'd like to build the most recent version directly from the git
52 repository you could emerge "=grub-9999" (portage will do everything for
53 you, that is, it pulls the sources directly from the master branch and
54 builds from them). Otherwise, clone the sources yourself and, instead of
55 autoreconf, run the provided autogen.sh script, which is what you should
56 generally do for autotools-projects instead of running autoconf yourself.
57
58 Hope this helps,
59 Michael