installation of xen-tools failed because of > checking for as86... no > configure: error: Unable to find as86, please install as86 > configure: error: ./configure failed for tools System is a Pi400, arm64 Reproducible: Always
Created attachment 759205 [details] config.loh
Created attachment 759206 [details] emerge --info '=app-emulation/xen-tools-4.15.1-r2::gentoo'
Created attachment 759207 [details] emerge -pqv '=app-emulation/xen-tools-4.15.1-r2::gentoo'
Created attachment 759208 [details] build.log
Created attachment 759209 [details] build environment
emerge -va sys-devel/bin86-0.16.21 #solved it #configuring xen-tools worked for as86 emerge xen # xen-tools was pulled in as a dependency ... checking for as86... /usr/bin/as86 but checking for bcc... no configure: error: Unable to find bcc, please install bcc configure: error: ./configure failed for tools
Created attachment 759210 [details] build.log as86 installed, bcc missing
bcc is in https://packages.gentoo.org/packages/sys-devel/dev86 (Bruce's C compiler - Simple C compiler to generate 8086 code)
emerge xen dependency xen-tools: checking for iasl... no configure: error: Unable to find iasl, please install iasl configure: error: ./configure failed for tools emerge sys-power/iasl solved it
>>> Installing (2 of 2) app-emulation/xen-4.14.3-r2::gentoo * checking 7 files for package collisions >>> Merging app-emulation/xen-4.14.3-r2 to / * Your boot partition was detected as being mounted at /boot. * Files will be installed there for xen to function correctly. --- /boot/ >>> /boot/xen-4.14.4-pre.config >>> /boot/xen-4.14.4-pre --- /usr/ --- /usr/lib64/ --- /usr/lib/ >>> /usr/lib/debug/ >>> /usr/lib/debug/xen-syms-4.14.4-pre >>> /usr/lib/debug/xen-syms-4.14.4-pre.map !!! failed to properly create symlink: !!! /boot/xen-4 -> xen-4.14.4-pre !!! [Errno 1] Operation not permitted: b'xen-4.14.4-pre' -> b'/boot/xen-4' !!! Failed to move file. !!! /boot/xen-4 -> xen-4.14.4-pre >>> Failed to install app-emulation/xen-4.14.3-r2, Log file: >>> '/var/log/portage/build/app-emulation/xen-4.14.3-r2:20211215-210303.log.gz' * GNU info directory index is up-to-date. Raspberry Pi need vfat on /boot, therefore ln -s fails. But mv fails? ls /boot -rwxr-xr-x 1 root root 950384 Dec 15 22:06 xen-4.14.4-pre is the order of "!!! /boot/xen-4 -> xen-4.14.4-pre" right? ln -s <source> <target>.
Created attachment 759252 [details] xen build.log, compiled succesfully, installing failed because of problems when linking/moving files in /boot
#thanks to bujeddhazeus for the hint to unmount /boot umount /boot mount /dev/sda1 /mnt cp -a /mnt/* /boot # emerge xen leads to # Your boot partition is not mounted at /boot. # Please mount it and retry. # commenting /boot in /etc/fstab out helps emerge xen cd /root tar -cf boot-after-emerge-xen.tar /boot/* rm -Rf /boot/* #uncomment /boot in /etc/fstab mount /boot differences after emerge xen in /boot (on ext4): lrwxrwxrwx 1 root root 14 Dec 16 16:16 xen -> xen-4.15.2-pre lrwxrwxrwx 1 root root 14 Dec 16 16:16 xen-4 -> xen-4.15.2-pre lrwxrwxrwx 1 root root 14 Dec 16 16:16 xen-4.15 -> xen-4.15.2-pre -rw-r--r-- 1 root root 950384 Dec 16 16:16 xen-4.15.2-pre -rw-r--r-- 1 root root 2365 Dec 16 16:12 xen-4.15.2-pre.config
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239ccabffc7e22687f037d7f5af652c86eb4173b commit 239ccabffc7e22687f037d7f5af652c86eb4173b Author: Tomáš Mózes <hydrapolic@gmail.com> AuthorDate: 2021-12-20 20:13:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-21 01:26:54 +0000 app-emulation/xen-tools: bump to 4.16.0 Closes: https://bugs.gentoo.org/829288 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> app-emulation/xen-tools/Manifest | 4 + app-emulation/xen-tools/files/gentoo-patches.conf | 11 + app-emulation/xen-tools/xen-tools-4.16.0.ebuild | 558 ++++++++++++++++++++++ 3 files changed, 573 insertions(+)