Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926359 - sys-boot/grub-2.12-r2 fails to emerge on my laptop
Summary: sys-boot/grub-2.12-r2 fails to emerge on my laptop
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-07 14:21 UTC by Karl Hakimian
Modified: 2024-03-08 22:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,48.62 KB, text/x-log)
2024-03-07 14:21 UTC, Karl Hakimian
Details
emerge --info (emergeinfo.txt,7.13 KB, text/plain)
2024-03-07 14:22 UTC, Karl Hakimian
Details
environment file from emerge (environment,128.58 KB, text/plain)
2024-03-07 14:50 UTC, Karl Hakimian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Hakimian 2024-03-07 14:21:26 UTC
The emerge fails complaining of missing automake-1.15. While the emerge works on other systems configured the same way, they do not have automake-1.15 either. I have not yet figured out why it is looking for it on this machine.

I tried emerge -e grubk to see if anything on the system needed to be fixed and everything up until grub emerged fine and grub still failed complaining of missing automake-1.15

Reproducible: Always

Steps to Reproduce:
1. emerge grub
Actual Results:  
Emerge fails. build.log will be attached.

Expected Results:  
latest version of grub installed

I tried adding a automake-1.15 binary to my path, that did not change the error.
Comment 1 Karl Hakimian 2024-03-07 14:21:54 UTC
Created attachment 886903 [details]
build.log

build.log file from failed emerge
Comment 2 Karl Hakimian 2024-03-07 14:22:29 UTC
Created attachment 886904 [details]
emerge --info

emerge --info on system with the issue
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-07 14:24:26 UTC
Are you setting GRUB_AUTORECONF or GRUB_BOOTSTRAP or GRUB_AUTOGEN?
Comment 4 Karl Hakimian 2024-03-07 14:44:19 UTC
Not purposefully, where would I check?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-07 14:48:21 UTC
Could you upload the environment file? It's in the temp directory next to the build log.
Comment 6 Karl Hakimian 2024-03-07 14:50:29 UTC
Created attachment 886905 [details]
environment file from emerge

Requested environment file from

/var/tmp/portage/sys-boot/grub-2.12-r2/temp/environment
Comment 7 Karl Hakimian 2024-03-07 14:51:08 UTC
Looks like GRUB_AUTOGEN is set to 1. Any idea where that is happening?
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-07 14:55:01 UTC
(In reply to Karl Hakimian from comment #7)
> Looks like GRUB_AUTOGEN is set to 1. Any idea where that is happening?

env | grep -i GRUB_AUTOGEN
grep -rsin GRUB_AUTOGEN /etc/portage

?
Comment 9 Karl Hakimian 2024-03-07 15:00:49 UTC
That seems to be it. There was a file created Septermber 2022. This was around the time I installed the laptop. Must have been something I added to fix some other problem, but I have no memory of the problem or the fix.

I've removed it and now things are emereging.

Thanks, this was driving me crazy.