Package Details: grub-git 2.12.rc1.r106.g7c8ae7dcb-1

Git Clone URL: https://aur.archlinux.org/grub-git.git (read-only, click to copy)
Package Base: grub-git
Description: GNU GRand Unified Bootloader (2)
Upstream URL: https://www.gnu.org/software/grub/
Licenses: GPL3
Conflicts: grub
Provides: grub
Submitter: ka2107
Maintainer: WoefulDerelict
Last Packager: WoefulDerelict
Votes: 17
Popularity: 0.000044
First Submitted: 2013-10-22 18:55 (UTC)
Last Updated: 2023-12-18 22:58 (UTC)

Dependencies (21)

Required by (315)

Sources (7)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 18 Next › Last »

scurrvy2020 commented on 2019-04-30 14:49 (UTC)

I'm getting this error... looks like it is probably in the source and not your packaging, however.

In file included from ../../../../grub-core/lib/gnulib/argp-fmtstream.c:26: ./wchar.h:708:1: error: unknown type name ‘mbstate_t’ _GL_FUNCDECL_RPL (mbrtowc, size_t, ^~~~~~~~~~~~~~~~ ../../../../grub-core/lib/gnulib/argp-fmtstream.c: In function ‘add_width’: ../../../../grub-core/lib/gnulib/argp-fmtstream.c:125:3: error: unknown type name ‘mbstate_t’ mbstate_t ps; ^~~~~~~~~ ../../../../grub-core/lib/gnulib/argp-fmtstream.c:155:11: warning: implicit declaration of function ‘wcwidth’; did you mean ‘mbswidth’? [-Wimplicit-function-declaration] k = wcwidth (wc); ^~~~~~~ mbswidth

Ranguvar commented on 2019-04-22 17:53 (UTC)

For me, I'm hitting an error just using makepkg by itself.

http://ix.io/1GTv

thx1138 commented on 2019-04-16 16:57 (UTC) (edited on 2019-04-16 18:06 (UTC) by thx1138)

BTW, building grub-git from pikaur or pacaur may fail with:

./bootstrap: done. Now you can run './configure'.

mkdir: cannot create directory ‘/var/build/grub-git/src/grub/build_i386-pc’: File exists

==> ERROR: A failure occurred in build().

Instead, with pacaur, first remove the build directory. With pikaur, first remove both the build dir and ~/.cache/pikaur/build/grub-git/ before running the build for a second time.

WoefulDerelict commented on 2019-04-01 22:59 (UTC)

EndlessEden: According to the updated INSTALL file bootstrap calls autogen.sh so the PKGBUILD would simply need to replace the call to autogen.sh with a call to bootstrap.

Ranguvar: Even after making the relevant changes to the PKGBUILD the build fails with unknown type name errors. This seems like an error caused by the changes upstream.

EndlessEden commented on 2019-03-21 01:13 (UTC)

needs a bootstrap first, before autogen.

Ranguvar commented on 2019-03-16 01:38 (UTC)

Not building for me as of https://git.savannah.gnu.org/cgit/grub.git/commit/?id=35b909062e7b334eb4af372be3260d0f62d85375

I'm using git branch pre-bootstrap f8f35acb after cd grub to get the commit right before it.

bugsmanagement commented on 2019-03-04 01:32 (UTC) (edited on 2019-03-04 01:34 (UTC) by bugsmanagement)

Hello everyone,

FYI, if anyone runs into this:

grub.po: warning: Charset "CHARSET" is not a portable encoding name.                                                                                                                                               
                  Message conversion to user's charset might not work.                                                                                                                                             
sed: couldn't open file grub.d.sed: No such file or directory                                                                                                                                                      
make[3]: Leaving directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'                                                                                                                                  
test ! -f ../../po/grub.pot || \                                                                                                                                                                                   
  test -z "../../po/de_CH.gmo ../../po/de@hebrew.gmo ../../po/en@arabic.gmo ../../po/en@cyrillic.gmo ../../po/en@greek.gmo ../../po/en@hebrew.gmo ../../po/en@piglatin.gmo ../../po/en@quot.gmo" || make ../../po/d
e_CH.gmo ../../po/de@hebrew.gmo ../../po/en@arabic.gmo ../../po/en@cyrillic.gmo ../../po/en@greek.gmo ../../po/en@hebrew.gmo ../../po/en@piglatin.gmo ../../po/en@quot.gmo                                         
make[3]: Entering directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'                                                                                                                                 
make[4]: Entering directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'                                                                                                                                 
make[4]: *** No rule to make target 'de.po', needed by 'de@hebrew.po-create'.  Stop.                                                                                                                               
make[4]: Leaving directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'                                                                                                                                  
make[4]: Entering directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'                                                                                                                                 
make[4]: *** No rule to make target 'de.po', needed by 'de_CH.po-create'.  Stop.                                                                                                                                   
make[4]: Leaving directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'                                                                                                                                  
make[3]: *** [Makefile:1647: ../../po/de@hebrew.po] Error 2                                                                                                                                                        
make[3]: *** Waiting for unfinished jobs....                                                                                                                                                                       
make[4]: Entering directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'                                                                                                                                 
LC_ALL=C msginit -i ../../po/grub.pot --no-translator -l en@hebrew -o - 2>/dev/null | LC_ALL=C msgconv -t UTF-8 | LC_ALL=C msgfilter -o ../../po/en@hebrew.po -i - sed -f ../../po/hebrew.sed                      
make[4]: Entering directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'                                                                                                                                 
LC_ALL=C msginit -i ../../po/grub.pot --no-translator -l en@cyrillic -o - 2>/dev/null | LC_ALL=C msgconv -t UTF-8 | LC_ALL=C msgfilter -o ../../po/en@cyrillic.po -i - sed -f ../../po/cyrillic.sed                
make[3]: *** [Makefile:1647: ../../po/de_CH.po] Error 2
make[4]: Entering directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'
LC_ALL=C msginit -i ../../po/grub.pot --no-translator -l en@greek -o - 2>/dev/null | LC_ALL=C msgconv -t UTF-8 | LC_ALL=C msgfilter -o ../../po/en@greek.po -i - sed -f ../../po/greek.sed                        
make[4]: Entering directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'
LC_ALL=C msginit -i ../../po/grub.pot --no-translator -l en@arabic -o - 2>/dev/null | LC_ALL=C msgconv -t UTF-8 | LC_ALL=C msgfilter -o ../../po/en@arabic.po -i - sed -f ../../po/arabic.sed                     
msgfilter: warning: Locale charset "ANSI_X3.4-1968" is different from
                    input file charset "UTF-8".
                    Output of 'msgfilter' might be incorrect.
                    Possible workarounds are:
                    - Set LC_ALL to a locale with encoding UTF-8.
                    - Convert the translation catalog to ASCII using 'msgconv',
                      then apply 'msgfilter',
                      then convert back to UTF-8 using 'msgconv'.
msgfilter: warning: Locale charset "ANSI_X3.4-1968" is different from
                    input file charset "UTF-8".
                    Output of 'msgfilter' might be incorrect.
                    Possible workarounds are:
                    - Set LC_ALL to a locale with encoding UTF-8.
                    - Convert the translation catalog to ASCII using 'msgconv',
                      then apply 'msgfilter',
                      then convert back to UTF-8 using 'msgconv'.
msgfilter: warning: Locale charset "ANSI_X3.4-1968" is different from
                    input file charset "UTF-8".
                    Output of 'msgfilter' might be incorrect.
                    Possible workarounds are:
                    - Set LC_ALL to a locale with encoding UTF-8.
                    - Convert the translation catalog to ASCII using 'msgconv',
                      then apply 'msgfilter',
                      then convert back to UTF-8 using 'msgconv'.
msgfilter: warning: Locale charset "ANSI_X3.4-1968" is different from
                    input file charset "UTF-8".
                    Output of 'msgfilter' might be incorrect.
                    Possible workarounds are:
                    - Set LC_ALL to a locale with encoding UTF-8.
                    - Convert the translation catalog to ASCII using 'msgconv',
                      then apply 'msgfilter',
                      then convert back to UTF-8 using 'msgconv'.
make[4]: Leaving directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'
make[4]: Leaving directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'
make[4]: Leaving directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'
make[4]: Leaving directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'
make[3]: Leaving directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'
make[2]: *** [Makefile:1556: stamp-po] Error 2
make[2]: Leaving directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc/po'
make[1]: *** [Makefile:11522: all-recursive] Error 1
make[1]: Leaving directory '/home/myuser/.src/grub-git/src/grub/build_i386-pc'
make: *** [Makefile:3555: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

More than likely, rsync failed silently connecting to the upstream rsync server retrieving necessary language files.

In this case, you would need to allow outgoing TCP port 873. Cheers

WoefulDerelict commented on 2019-01-21 06:49 (UTC)

The PKGBUILD has undergone a substantial rewrite and some of the behaviour has changed. grub-emu is now enabled by default. grub-extras is now included in all builds instead of cherry picking the 915resolution module for the i386-pc build.

The lua module in grub-extras currently fails to build as it has not caught up with changes to grub_file_open() [http://git.savannah.gnu.org/cgit/grub.git/commit/include/grub/file.h?id=ca0a4f689a02c2c5a5e385f874aaaa38e151564e] so I have temporarily disabled it until the problem is rectified.

WoefulDerelict commented on 2018-07-26 17:10 (UTC) (edited on 2018-09-26 18:52 (UTC) by WoefulDerelict)

The duplicate symbol issue introduced by commit 0ba90a7f017889d32a47897d9107ef45cc50a049 has been resolved upstream in commit c79ebcd18cf3e208e9dda5e2ae008f76c92fe451. The work around has been removed from the PKGBUILD. The i386-efi build completes without issues on my test machines.

This has been reported back upstream.

WoefulDerelict commented on 2018-06-14 06:01 (UTC) (edited on 2018-07-11 07:18 (UTC) by WoefulDerelict)

The issue introduced by commit 0ba90a7f017889d32a47897d9107ef45cc50a049 is that i386-efi builds now contain a pair of conflicting fuctions named grub_reboot. It appears as tho i386-efi builds may have never been supported properly. i386-efi builds likely should have been pulling the instructions contained in grub-core/lib/efi/reboot.c prior to commit 0ba90a7f017889d32a47897d9107ef45cc50a049; however, they had instead been pointed to instructions for legacy systems contained in grub-core/lib/i386/reboot.c and grub-core/lib/i386/reboot_trampoline.S. Commit 0ba90a7f017889d32a47897d9107ef45cc50a049 moved the instructions contained in grub-core/lib/efi/reboot.c to grub-core/grub-core/kern/efi/efi.c. After commit 0ba90a7f017889d32a47897d9107ef45cc50a049 i386-efi builds include the function grub_reboot from both grub-core/grub-core/kern/efi/efi.c and grub-core/lib/i386/reboot.c resulting in a conflict that halts the build and displays the following message grub_reboot in reboot is duplicated in kernel.

I have introduced a conditional statement in the PKGBUILD’s _build_grub-efi function which should provide a work around for i386-efi builds until the issue is corrected upstream.