Summary: | sys-boot/refind-0.10.4-r2 : x86_64-pc-linux-gnu-ld: cannot open linker script file /.../elf_x86_64_efi.lds: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Stéphane Veyret <sveyret> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | proxy-maint, voaxeyr |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/13479 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 sys-boot:refind-0.10.4-r2:20190804-200951.log temp.tbz2 refind-0.11.4 ebuild using get_libdir() EAPI6+ |
Description
Toralf Förster
2019-08-04 20:11:32 UTC
Created attachment 585716 [details]
emerge-info.txt
Created attachment 585718 [details]
emerge-history.txt
Created attachment 585720 [details]
environment
Created attachment 585722 [details]
etc.portage.tbz2
Created attachment 585724 [details]
sys-boot:refind-0.10.4-r2:20190804-200951.log
Created attachment 585726 [details]
temp.tbz2
Thank you for reporting this. It seems to be a bug hidden before profile 17.1. Actually, elf_x86_64_efi.lds is in /usr/lib64 when compiling for amd64. This will require a correction in the ebuild. Created attachment 593532 [details]
refind-0.11.4 ebuild using get_libdir() EAPI6+
Seeing this bug is still open and the package still does not build, I've attached a very summarily fixed ebuild for refind-0.11.4 with all the references to /usr/lib replaced with the result of get_libdir(). This builds on my machine, but YMMV.
sys-boot/refind-0.11.4::gentoo was built with the following:
USE="ext2 ext4 (gnuefi) iso9660 -btrfs (-custom-cflags) -doc
-hfs -ntfs -reiserfs" ABI_X86="(64)"
The ebuild for refind-10.4 being vastly different, I could not, however, fix this one. Thank you for the correction, XenHat. Would you mind creating a PR under GitHub? This would allow the correction to be under your name, but if you prefer, I can do it for you. I had re-do my Gentoo install from scratch due to a failed upgrade to the 17.1 profile, and the bundled 11.4 ebuild worked fine. I don't mind submitting the PR, as long as it's not a useless change. Closing as wontfix as the problem does not seem to exist in latest versions. |