FS#65725 - [mkinitcpio] cp: cannot stat '(builtin)': No such file or directory
Attached to Project:
Arch Linux
Opened by Josip Ponjavic (metak) - Friday, 06 March 2020, 20:37 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Friday, 17 July 2020, 14:09 GMT
Opened by Josip Ponjavic (metak) - Friday, 06 March 2020, 20:37 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Friday, 17 July 2020, 14:09 GMT
|
Details
Continuation of this issue:
https://bugs.archlinux.org/task/65564
But this error message still appears with some other kernels for fallback image, like linux-clear from aur. (I'm the maintainer btw) Kernels: - linux-clear-5.5.8 error message - linux-clear-current-5.6.0.rc4 error message - linux-clear-lts2019-5.4.24 error message - linux-clear-lts2018-4.19.108 - linux-clear-lts2017-4.14.172 - linux-clear-preempt-rt-5.4.22.13 error message - kmod-27-1 - mkinitcpio-27-3 mkinitcpio output: https://pastebin.com/UQ46Cba2 This error also appears with linux-clear-bin package. https://aur.archlinux.org/packages/linux-clear-bin/ Must be something in clear linux kernel that's triggering this? I asked Giancarlo Razzolini first on [mkinitcpio github page](https://github.com/archlinux/mkinitcpio/pull/17) and he suggested I open a new issue here. |
This task depends upon
Closed by Giancarlo Razzolini (grazzolini)
Friday, 17 July 2020, 14:09 GMT
Reason for closing: Fixed
Additional comments about closing: mkinitcpio-28-1 fixes this issue
Friday, 17 July 2020, 14:09 GMT
Reason for closing: Fixed
Additional comments about closing: mkinitcpio-28-1 fixes this issue
cp: cannot stat '(builtin)': No such file or directory
==> Generating module dependencies
==> Creating lz4-compressed initcpio image: /boot/initramfs-linux-clear-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
As mentioned in that first bug report I linked at the top, it's a harmless message and the images are generated.
I understand what the message is -- i was curious if this was a matter of differently invoking mkinitcpio or if your paste just neglected to include stderr (seems the latter).
One way to reproduce this is by taking the false branch here:
https://github.com/archlinux/mkinitcpio/blob/master/mkinitcpio#L502
Do your kernels include /lib/modules/$(uname -r)/modules.builtin ?
`linux-clear /usr/lib/modules/5.5.8-1-clear/modules.builtin`
If you want to check the built binaries here's my repo.
http://download.opensuse.org/repositories/home:/metakcahura:/kernel/Arch_Extra_standard/x86_64/
https://github.com/archlinux/mkinitcpio/pull/20 should prevent this from happening in the future.
https://gist.github.com/ChrisLane/4c370b56615ac297e3d8ffc138699dee
See: https://github.com/archlinux/mkinitcpio/pull/20
https://bbs.archlinux32.org/viewtopic.php?id=2904
I got here because the build failed with the archiso of ArchLinux32.
Is this a problem with ArchLinux (64bit)? Or is it an ArchLinux32 issue?
And has this problem been fixed already?
I'm not good at English, so I can't really grasp the current situation.
I'll wait till this weekend.
-- Friday, 01 May 2020, 19:00 GMT+2
I see this today. Should I expect to see this today?
[1] https://git.archlinux.org/svntogit/packages.git/tree/trunk/0002-mkinitcpio-fix-builtin.patch?h=packages/mkinitcpio
[2] hhttps://github.com/archlinux/mkinitcpio/pull/20#issuecomment-631095678
functions.diff (0.5 KiB)
Edit: I have now tested with linux-xanmod 5.7.9 and linux-clear 5.7.8 and it seems like the patch to mkinitcpio fixes both of them.