Package Details: grub-git 2.02.r164.gc79ebcd18-1

Git Clone URL: https://aur.archlinux.org/grub-git.git (read-only)
Package Base: grub-git
Description: GNU GRand Unified Bootloader (2)
Upstream URL: https://www.gnu.org/software/grub/
Licenses: GPL3
Conflicts: grub, grub-bios, grub-common, grub-efi-x86_64, grub-emu, grub-legacy
Provides: grub, grub-bios, grub-common, grub-efi-x86_64, grub-emu
Submitter: ridikulusrat
Maintainer: WoefulDerelict
Last Packager: WoefulDerelict
Votes: 10
Popularity: 0.000407
First Submitted: 2013-10-22 18:55
Last Updated: 2018-07-26 17:15

Dependencies (23)

Required by (44)

Sources (8)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

WoefulDerelict commented on 2018-07-26 17:10

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

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.

jonathon commented on 2018-03-29 19:03

That may well be because there's no immediately obvious way to open a bug report... it's hidden in a drop-down under the Bug navigation bar item... -.-

Reported: https://savannah.gnu.org/bugs/?53517

WoefulDerelict commented on 2018-03-27 17:45

jonathon: No, unfortunately, I don't think anyone has reported the issue upstream.

jonathon commented on 2018-03-27 09:01

Has anyone reported the issue upstream? This page is the only one found via a web search which references the issue.

starfry commented on 2018-03-14 11:39

The build failure resulting in "grub_reboot in reboot is duplicated in kernel" only happens if the EFI version is built. If you don't need the EFI version (e.g. you're using BIOS) then you can disable it by setting _GRUB_IA32_EFI_ARCH_X64="0" in the PKGBUILD.

@WoefulDerelict - I would say this is probably something that the PKGBUILD will need to address at some point because the change looks like it was made on purpose rather than as a bug. I note that the core grub package doesn't address this either, but that's because it builds a version prior to this change being introduced.

I have tried to work out how to make it build, without success. For me, disabling EFI is an acceptible workaround until the correct fix is known.

WoefulDerelict commented on 2018-01-27 01:35

This appears to be an issue introduced by upstream commit 0ba90a7f017889d32a47897d9107ef45cc50a049. One is able to build the previous commit b4d709b6ee789cdaf3fa7a80fd90c721a16f48c2 just fine.

timofonic: -git packages generally pull from the upstream 'master' branch. Upstream developers can introduce breaking changes at any time without warning. This is not an indication the PKGBUILD is out of date.

Please report your issues upstream where they can be addressed properly.

ArchLinuxTux commented on 2018-01-24 10:37

@timofonic It doesn't work for me too! Same error message "grub_reboot in reboot is duplicated in kernel" with up to date packages.

timofonic commented on 2017-11-11 04:57

sd.module linux16.module multiboot2.module multiboot.module linux.module xnu.module random.module macho.module appleldr.module chain.module mmap.module normal.module part_acorn.module part_amiga.module part_apple.module part_gpt.module part_msdos.module part_sun.module part_plan.module part_dvh.module part_bsd.module part_sunpc.module part_dfly.module msdospart.module at_keyboard.module gfxterm.module gfxterm_background.module serial.module terminfo.module usb_keyboard.module video_cirrus.module video_bochs.module functional_test.module exfctest.module strtoull_test.module setjmp_test.module signature_test.module sleep_test.module xnu_uuid_test.module pbkdf2_test.module legacy_password_test.module div.module div_test.module mul_test.module shift_test.module cmp_test.module ctz_test.module bswap_test.module videotest_checksum.module gfxterm_menu.module cmdline_cat_test.module bitmap.module bitmap_scale.module efi_gop.module efi_uga.module jpeg.module png.module tga.module video_fb.module video.module video_colors.module datehook.module net.module tftp.module http.module efinet.module legacycfg.module syslinuxcfg.module test_blockarg.module xzio.module lzopio.module testload.module backtrace.module keylayouts.module priority_queue.module time.module cacheinfo.module boottime.module adler32.module crc64.module mpi.module all_video.module gdb.module testspeed.module tr.module progress.module file.module gcry_arcfour.module gcry_blowfish.module gcry_camellia.module gcry_cast5.module gcry_crc.module gcry_des.module gcry_dsa.module gcry_idea.module gcry_md4.module gcry_md5.module gcry_rfc2268.module gcry_rijndael.module gcry_rmd160.module gcry_rsa.module gcry_seed.module gcry_serpent.module gcry_sha1.module gcry_sha256.module gcry_sha512.module gcry_tiger.module gcry_twofish.module gcry_whirlpool.module ; do \
sh gensyminfo.sh $m >> syminfo.lst.new || exit 1; \
done
mv syminfo.lst.new syminfo.lst
cat syminfo.lst | sort | gawk -f ./genmoddep.awk > moddep.lst || (rm -f moddep.lst; exit 1)
grub_reboot in reboot is duplicated in kernel
make[3]: *** [Makefile:43574: moddep.lst] Error 1
make[3]: Leaving directory '/home/timofonic/.cache/pacaur/grub-git/src/grub-efi-i386/grub-core'
make[2]: *** [Makefile:24062: all] Error 2
make[2]: Leaving directory '/home/timofonic/.cache/pacaur/grub-git/src/grub-efi-i386/grub-core'
make[1]: *** [Makefile:10906: all-recursive] Error 1
make[1]: Leaving directory '/home/timofonic/.cache/pacaur/grub-git/src/grub-efi-i386'
make: *** [Makefile:3132: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build grub-git package(s)

WoefulDerelict commented on 2017-09-04 20:13

tyler274: This appears to be an issue introduced by upstream commit [21e4a6fa039bb7dc6be42e1e4c171ddc398b8431]. One is able to build the previous commit [6662372053bb7f580cf1b6a56b11e1190d81a40c] just fine.

jcstryker: -git packages generally pull from the upstream 'master' branch. Upstream developers can introduce breaking changes at any time without warning. This is not an indication the PKGBUILD is out of date.

Please report your issues upstream where they can be addressed properly.