macaroni-os / macaroni-os/mark-issues

[dev-kit] sys-boot/grub-2.14 requires a review

Open
#689 1 comment 0 reactions 0 assignees View on GitHub
dev-kit emerge failure MARK mark-unstable
Dominant language
No language data
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

```
>>> Preparing source in /var/tmp/portage/sys-boot/grub-2.14/work/grub-2.14 ...
* Applying grub-gfxpayload.patch ...
[ ok ]
* Applying grub-2.02_beta2-KERNEL_GLOBS.patch ...
patching file docs/grub.texi
Hunk #1 succeeded at 1604 (offset 114 lines).
patching file util/grub.d/10_linux.in
Hunk #1 succeeded at 165 (offset 20 lines).
patching file util/grub-mkconfig.in
Hunk #1 FAILED at 252.
1 out of 1 hunk FAILED -- saving rejects to file util/grub-mkconfig.in.rej
[ !! ]
* ERROR: sys-boot/grub-2.14::dev-kit failed (prepare phase):
* patch -p1 failed with /var/tmp/portage/sys-boot/grub-2.14/files/grub-2.02_beta2-KERNEL_GLOBS.patch
*
* Call stack:
* ebuild.sh, line 93: Called src_prepare
* environment, line 2228: Called default
* phase-functions.sh, line 855: Called default_src_prepare
* phase-functions.sh, line 920: Called __eapi6_src_prepare
* environment, line 219: Called eapply '/var/tmp/portage/sys-boot/grub-2.14/files/grub-gfxpayload.patch' '/var/tmp/portage/sys-boot/grub-2.14/files/grub-2.02_beta2-KERNEL_GLOBS.patch' '/var/tmp/portage/sys-boot/grub-2.14/files/grub-2.06-test-words.patch' '/var/tmp/portage/sys-boot/grub-2.14/files/grub-2.06-binutils-2.36.patch' '/var/tmp/portage/sys-boot/grub-2.14/files/grub-ktype-macaroni.patch'
* environment, line 914: Called _eapply_patch '/var/tmp/portage/sys-boot/grub-2.14/files/grub-2.02_beta2-KERNEL_GLOBS.patch'
* environment, line 852: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/sys-boot/grub-2.14/files/grub-2.02_beta2-KERNEL_GLOBS.patch'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"

```
There are patches no more aligned and/or valid.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the sys-boot/grub-2.14 prepare phase and inspect grub-2.02_beta2-KERNEL_GLOBS.patch, especially the rejected hunk in util/grub-mkconfig.in.rej. Compare it with the GRUB 2.14 source and the other named patches, then verify that the prepare phase completes without a patch failure.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.