bugGNU GRUB - Bugs: bug #55892, grub make error


You are not allowed to post comments on this tracker with your current authentication level.

bug #55892: grub make error

Submitted by:  Chen, Fan <fchen1>
Submitted on:  Tue 12 Mar 2019 08:47:27 AM UTC  
Category:  Compilation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Fan Chen
Open/Closed:  Open Release: 
Release:  Git master Reproducibility:  Every Time
Planned Release:  None

Tue 12 Mar 2019 08:47:27 AM UTC, original submission:  


When I make grub using the latest git commit in master branch: 41121742df1af73699965a2aab5fb1f5e6555ad5, I met error when execute "make".
And I noticed that we need to use "./bootstrap" instead of "./autogen.sh" .

So my stpes:

git clone git://git.savannah.gnu.org/grub.git
cd grub
./configure --target=amd64 --with-platform=xen (I also tried ./configure --target=amd64, then same error happened.)

Then the following error occured:
In file included from ../grub-core/lib/gnulib/libc-config.h:150:0,
                 from lib/gnulib/regex.c:21:
lib/gnulib/regexec.c: In function ‘re_search_2_stub’:
../grub-core/lib/gnulib/intprops.h:398:37: error: ‘SCHAR_MIN’ undeclared (first use in this function)
                        signed char, SCHAR_MIN, SCHAR_MAX) \
../grub-core/lib/gnulib/cdefs.h:405:52: note: in definition of macro ‘__glibc_unlikely’
 # define __glibc_unlikely(cond) __builtin_expect ((cond), 0)
../grub-core/lib/gnulib/intprops.h:426:6: note: in expansion of macro ‘_GL_INT_OP_CALC1’
    ? _GL_INT_OP_CALC1 ((t) (a), (t) (b), r, op, overflow, ut, t, tmin, tmax) \
../grub-core/lib/gnulib/intprops.h:397:7: note: in expansion of macro ‘_GL_INT_OP_CALC’
     ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \


Chen, Fan <fchen1>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by fchen1 (I found this error happened from commit: 35b909062e7b334eb4af372be3260d0f62d85375)
  • -email is unavailable- added by fchen1 (Submitted the item)
  • -email is unavailable- added by fchen1

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-14 fchen1 Carbon-Copy- => Added cjwatson@ubuntu.com
    2019-03-12 fchen1 Carbon-Copy- => Added xudong.hao@intel.com

    Back to the top

    Powered by Savane 3.5