You are not logged in.
Hi, I am trying to build Xen from the AUR.
All deps should be installed but the building stops with missing header files.
First it complains about "scsi/sg.h":
/home/[...]/.cache/yay/xen/src/xen-4.11.0/tools/qemu-xen-traditional/hw/scsi-generic.c:44:10: fatal error: scsi/sg.h: No such file or directory
#include <scsi/sg.h>
^~~~~~~~~~~
compilation terminated.
That file exists under "/usr/src/linux-4.20.arch1/include/scsi/sg.h" but not under "/usr/include/scsi/".
I dont know if this is correct (and the build process is using a wrong include path) or if that file should exist there too.
I tried to symlink it and it worked but compiling failed with the next missing header which is "linux/compiler.h". Symlinked that too but only to see the next file not being found.
I guess I am missing something...?
Can anyone assist?
Many thanks.
Last edited by rookie0 (2019-01-12 13:49:34)
Offline
pacman -Qo /usr/include/scsi/sg.h
/usr/include/scsi/sg.h is owned by glibc 2.28-5
Sounds like you have quite a broken system, Are there more missing files?
pacman -Qkk
Offline
/.cache/yay/
Are you building xen with yay ?
If so, try building with makepkg to verify whether the aur helper is part of the problem.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Hi, thanks for the input!
glibc was missing 3 files under /usr/include/scsi.
I have no idea why that is. On my other PC those 3 files were missing too.
Builds fine now using yay (sorry I completly forgot to mention that I am using yay).
Many thanks to both of you for the help!
Offline