@badboy
I'm seeing that too after updating Arch.
To resolve,
Need to add this include to relevant Xen source files, where minor(), major(), or makedev() are used.
#include <sys/sysmacros.h>
I found these with grep -R ' \(major\|minor\|makedev\)('. Not sure if they are the correct locations, or implementation:
tools/blktap2/control/tap-ctl-allocate.c
tools/libxl/libxl_internal.h
tools/qemu-xen/include/qemu/osdep.h
My patch here
https://gitlab.com/johnth/aur-xen/raw/master/patch-include_sys_sysmacros.h.patch
Details:
glibc 2.25 https://sourceware.org/glibc/wiki/Release/2.25
"The inclusion of sys/sysmacros.h by sys/types.h is deprecated.
Using the macros major, minor, or makedev without having directly
included sys/sysmacros.h will trigger compiler warnings."
Search Criteria
Package Details: xen-stubdom 4.20.0-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/xen.git (read-only, click to copy) |
---|---|
Package Base: | xen |
Description: | Xen hypervisor stubdom files |
Upstream URL: | https://xenproject.org/ |
Keywords: | hypervisor virtualization xen |
Licenses: | GPL2 |
Submitter: | sergej |
Maintainer: | Refutationalist |
Last Packager: | Refutationalist |
Votes: | 184 |
Popularity: | 0.071098 |
First Submitted: | 2009-11-09 11:22 (UTC) |
Last Updated: | 2025-03-13 08:19 (UTC) |
Dependencies (42)
- xenAUR
- acpica (make)
- bison (byacc-bisonAUR, bison-gitAUR) (make)
- bridge-utils (make)
- fig2dev (fig2dev-gitAUR) (make)
- flex (flex-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (make)
- gnutls (gnutls-gitAUR) (make)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR) (make)
- iproute2 (iproute2-gitAUR, busybox-coreutilsAUR, iproute2-selinuxAUR) (make)
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR) (make)
- libaio (libaio-gitAUR) (make)
- libuuid.so (util-linux-libs-aesAUR, util-linux-libs-selinuxAUR, lib32-util-linux, util-linux-libs) (make)
- libx11 (libx11-gitAUR) (make)
- lzo (make)
- ncurses (ncurses-gitAUR) (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- pandoc (pandoc-sile-gitAUR, pandoc-static-gitAUR, pandoc-binAUR, pandoc-cli) (make)
- pciutils (pciutils-gitAUR) (make)
- pixman (pixman-gitAUR) (make)
- pkgconf (pkgconf-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-setuptools (make)
- sdl2AUR (sdl2-gitAUR, sdl2-compat-gitAUR, sdl2-compat) (make)
- systemd (systemd-chromiumosAUR, systemd-fmlAUR, systemd-gitAUR, systemd-selinuxAUR) (make)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-fmlAUR, systemd-libs-gitAUR, systemd-libs-selinuxAUR) (make)
- valgrind (valgrind-gitAUR) (make)
- vde2 (vdeplug4-gitAUR) (make)
- wget (wget-gitAUR, wurlAUR) (make)
- yajl (yajl-gitAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
- linux-headers (optional) – extract bootable kernel for PV grub using "extract_vmlinux"
- seabios (optional) – SeaBIOS payload support
- xen-docsAUR (optional) – HTML documentation and man pages
- xen-edk2AUR (optional) – UEFI support
- xen-grub-pv32AUR (optional) – 32bit PV booting support
- xen-grub-pv64AUR (optional) – 64bit PV booting support
- xen-grub-pvhAUR (optional) – PVH booting support
- xen-qemuAUR (xen-qemuAUR) (optional) – HVM and PV support, nearly required for Xen
- xen-stubdomAUR (optional) – Xen stubdom support
Required by (3)
- xen (optional)
- xen-docs (optional)
- xen-stubdom (optional)
Sources (13)
- efi-xen.cfg
- git+https://xenbits.xen.org/git-http/xen.git#branch=stable-4.20
- http://xenbits.xen.org/xen-extfiles/grub-0.97.tar.gz
- http://xenbits.xen.org/xen-extfiles/lwip-1.3.0.tar.gz
- http://xenbits.xen.org/xen-extfiles/newlib-1.16.0.tar.gz
- http://xenbits.xen.org/xen-extfiles/pciutils-2.2.9.tar.bz2
- http://xenbits.xen.org/xen-extfiles/polarssl-1.1.4-gpl.tgz
- http://xenbits.xen.org/xen-extfiles/zlib-1.2.3.tar.gz
- tmpfiles.conf
- xen-amd-ucode.hook
- xen-intel-ucode.hook
- xen-ucode-extract.sh
- xen.conf
Latest Comments
« First ‹ Previous 1 .. 21 22 23 24 25 26 27 28 29 30 31 .. 101 Next › Last »
JohnTh commented on 2017-03-13 04:38 (UTC)
badboy commented on 2017-03-12 17:52 (UTC)
I get another error, but that seems like it needs to go upstream:
$ makepkg -As --skippgpcheck
[...]
tap-ctl-allocate.c: In function 'tap_ctl_make_device':
tap-ctl-allocate.c:109:13: error: In the GNU C Library, "makedev" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "makedev", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"makedev", you should undefine it after including <sys/types.h>. [-Werror]
err = mknod(devname, perm, makedev(major, minor));
badboy commented on 2017-03-11 22:40 (UTC)
For some reason I get an error on my 64bit machine:
==> ERROR: xen is not available for the 'x86_64' architecture.
lazycat commented on 2017-03-11 03:50 (UTC)
@das_j, @JohnTh
Thank you for answers :)
<deleted-account> commented on 2017-03-09 11:53 (UTC)
@lazycat @JohnTh I'm currently updating the package.
However, it takes me longer to test, because I only have a really slow machine right now.
I'm also adding xen-docs and turn this package into a split package.
Update should roll out today.
JohnTh commented on 2017-03-09 11:39 (UTC)
@lazycat
The Arch lzo package has changed, and no longer "provides" lzo2.
I think you will need to rebuild and upgrade the Xen package to remove the error/ignore.
You should be able to change lzo2 to lzo (line 74?) in the depends array in the Xen PKGBUILD. Then rebuild.
lzo package change here https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/lzo&id=eb70476e9442d349f3c353e91631c0e713781c07
I would suggest you use multilib-build (from the Arch package devtools) to build in a clean chroot. See how that goes.
lazycat commented on 2017-03-09 09:10 (UTC)
New headache. Can't make system upgrade with pacman -Syu, get error:
error: failed to prepare transaction (could not satisfy dependencies)
:: xen: installing lzo (2.10-1) breaks dependency 'lzo2'
I'm solve it temporally with #IgnorePkg = lzo lzo2, but it's not a good, I guess.
Any ideas?
JohnTh commented on 2017-02-26 22:02 (UTC)
@ArgylePwnage
gpg --keyserver pgp.mit.edu --recv-key 23E3222C145F4475FA8060A783FE14C957E82BD9
This command should solve that problem.
You need to import the Xen Project tree code signing OpenPGP key 23E3222C145F4475FA8060A7(83FE14C957E82BD9) into your gpg keyring.
The key is detailed here: https://www.xenproject.org/developers/teams/hypervisor/openpgp.html
Otherwise, you can use a command line option with makepkg, or modify the PKGBUILD to remove this check. Have a look through the man pages or comments on the AUR Xen page for more details.
<deleted-account> commented on 2017-02-26 14:42 (UTC)
Hello, I have received the following error message:
PGP signatures could not be verified for public key "83FE14C957E82BD9".
Can you advise?
Thank you for your time.
lazycat commented on 2017-01-20 02:34 (UTC)
@JohnTh,
Yeah, your config file was really helpful for me, i successfully start arch live cd.
But i understood that it is really bad idea to try to build completely work machine with 512 MB ram :D
Thank you so much.
Pinned Comments
Refutationalist commented on 2025-03-12 12:06 (UTC) (edited on 2025-03-13 08:23 (UTC) by Refutationalist)
We've moved to the newly-stable 4.20.0 branch. There are also other changes:
If you're still using pygrub note that it is deprecated. The solution is to build PV grub instead, which used to be in AUR but is now missing. I am asking a couple questions on the mailing list, and I intend to put my current build of xen-grub (which supersedes xen-pvhgrub) on AUR as soon as possible. If you need to build it before that occurs, you can find it in my PKGBUILD repo.
EDIT: 4.20.0-2 adds support for the xen-edk2 package, which has a fixed UEFI for xen