Building with AUR helper (or makepkg) fails, but in clean chroot it works...
Hi! So I realize, one should always build their PKGBUILD's in a clean chroot... But, I'm a lazy man who usually uses an AUR helper to install AUR packages. Every once in a while I come across a package that fails to build outside of a clean chroot, but I don't always understand why. Right now, when...
See https://archlinux.org/packages/extra/x86_64/libev/ -> click "View the file list for libev" (right under 'Package contents".
The header files in this package should be 'usr/include/ev++.h' and 'usr/include/ev.h'.
Depending on your CPU, you might be running into this: https://wiki.archlinux.org/title/VirtualBox#Freeze_during_virtual_machine_startup_with_11th_generation_Intel_CPU_and_later
If you have an Intel 11th, 12th or 13th gen cpu, try booting with
ibt=offto see if that helps. OpenSuse might default toibt=off.Some recent forum threads about this: [1] [2].
Bug reports in the kernel, arch and virtualbox. All hopelessly inactive (though I see now someone has finally added to the VB ticket).
Yes definitely. The only 'solution' is a workaround to disable ibt protection at boot (add
ibt=offto your kernel parameters).Some links with info/bug reports:
https://www.virtualbox.org/ticket/21435
https://forums.virtualbox.org/viewtopic.php?f=7&t=108194
https://bugs.archlinux.org/task/75481
https://bugzilla.kernel.org/show_bug.cgi?id=216102
https://bbs.archlinux.org/viewtopic.php?pid=2092250#p2092250
https://old.reddit.com/r/archlinux/comments/1238gbn/issues_w_virtualbox_on_linux_now_even_linuxlts/
Thanks, the
pacman -Qkksuggestion could be useful, I'll give that a try.As far as I know, just the PKGBUILD file needs to be in the directory, you shouldn't need to clone the whole repo (at least not for gwenview, but I'm sure this goes for most - if not all - packages).
makepkgwill then download/unpack the other stuff it needs (like gwenview-23.08.4.tar.xz).Just to be certain, I've just did the
git cloneand ranmakepkgagain, but get the exact same build error.Thanks for the suggestion. All package versions are equal, I'll try the rsync suggestion later.