Package Details: qubes-vm-xen 4.14.5-5

Git Clone URL: https://aur.archlinux.org/qubes-vm-xen.git (read-only, click to copy)
Package Base: qubes-vm-xen
Description: QubesOS component
Upstream URL: https://github.com/QubesOS/qubes-vmm-xen
Licenses: GPL
Provides: xen-qubes-vm-essentials
Submitter: seberm
Maintainer: seberm
Last Packager: seberm
Votes: 0
Popularity: 0.000000
First Submitted: 2019-12-15 13:58 (UTC)
Last Updated: 2022-07-10 21:14 (UTC)

Dependencies (19)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2023-07-11 18:25 (UTC) (edited on 2023-07-11 18:33 (UTC) by dreieck)

Fails to build for me with
error: conflicting types for ‘xc_psr_cmt_get_data’ due to enum/integer mismatch; have ‘int(xc_interface *, uint32_t, uint32_t, xc_psr_cmt_type, uint64_t *, uint64_t *)’ {aka ‘int(struct xc_interface_core *, unsigned int, unsigned int, xc_psr_cmt_type, long unsigned int *, long unsigned int *)’} [-Werror=enum-int-mismatch]:

gcc  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MP -MF .install.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -ffile-prefix-map=/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/..=.  -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MP -MF .subdirs-install.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -ffile-prefix-map=/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/..=.  -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MP -MF .subdir-install-libxc.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -ffile-prefix-map=/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/..=.  -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MP -MF .build.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -ffile-prefix-map=/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../..=.  -I../../xen/common/libelf -Werror -Wmissing-prototypes -I. -I./include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/include -D__XEN_TOOLS__ -pthread -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/libs/toollog/include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/libs/evtchn/include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/libs/devicemodel/include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/include -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MP -MF .xc_psr.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -ffile-prefix-map=/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../..=.  -I../../xen/common/libelf -Werror -Wmissing-prototypes -I. -I./include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/include -D__XEN_TOOLS__ -pthread -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/libs/toollog/include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/libs/evtchn/include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/libs/devicemodel/include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/include -include /home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/config.h -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/libs/call/include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/libs/foreignmemory/include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/libs/gnttab/include -I/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/include  -c -o xc_psr.o xc_psr.c 
xc_psr.c:161:5: error: conflicting types for ‘xc_psr_cmt_get_data’ due to enum/integer mismatch; have ‘int(xc_interface *, uint32_t,  uint32_t,  xc_psr_cmt_type,  uint64_t *, uint64_t *)’ {aka ‘int(struct xc_interface_core *, unsigned int,  unsigned int,  xc_psr_cmt_type,  long unsigned int *, long unsigned int *)’} [-Werror=enum-int-mismatch]
  161 | int xc_psr_cmt_get_data(xc_interface *xch, uint32_t rmid, uint32_t cpu,
      |     ^~~~~~~~~~~~~~~~~~~
In file included from xc_private.h:35,
                 from xc_psr.c:21:
./include/xenctrl.h:2508:5: note: previous declaration of ‘xc_psr_cmt_get_data’ with type ‘int(xc_interface *, uint32_t,  uint32_t,  uint32_t,  uint64_t *, uint64_t *)’ {aka ‘int(struct xc_interface_core *, unsigned int,  unsigned int,  unsigned int,  long unsigned int *, long unsigned int *)’}
 2508 | int xc_psr_cmt_get_data(xc_interface *xch, uint32_t rmid, uint32_t cpu,
      |     ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc/../../tools/Rules.mk:218: xc_psr.o] Error 1
make[5]: Leaving directory '/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc'
make[4]: *** [Makefile:180: build] Error 2
make[4]: Leaving directory '/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/libxc'
make[3]: *** [/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/../tools/Rules.mk:242: subdir-install-libxc] Error 2
make[3]: Leaving directory '/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools'
make[2]: *** [/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools/../tools/Rules.mk:237: subdirs-install] Error 2
make[2]: Leaving directory '/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools'
make[1]: *** [Makefile:47: install] Error 2
make[1]: Leaving directory '/home/[...]/.cache/yay/qubes-vm-xen/src/qubes-vm-xen/xen-4.14.5/tools'
make: *** [Makefile:134: install-tools] Error 2

A workaround was to add

    CFLAGS+=' -Wno-error=enum-int-mismatch'
    CXXFLAGS+=' -Wno-error=enum-int-mismatch'
    export CFLAGS
    export CXXFLAGS

to build().

Regards!

seberm commented on 2021-02-22 21:45 (UTC)

It works with just --install (the --force param is not needed). It's fixed, thanks!

tywyqu commented on 2021-02-21 12:34 (UTC) (edited on 2021-02-21 12:48 (UTC) by tywyqu)

configure.ac: error: required file 'install-sh' not found
configure.ac:   try running autoreconf --install
==> ERROR: A failure occurred in build().
    Aborting...
error making: qubes-vm-xen

adding --install --force to autoreconf fixed error.

autoreconf -vif

seberm commented on 2020-11-30 15:14 (UTC) (edited on 2020-11-30 15:15 (UTC) by seberm)

Hello cincinmasukmangk,

unfortunately the xen v4.8.5 still needs python2 and a python2-distlib. I have updated the PKGBUILD.

Just FYI:

lepz0r commented on 2020-11-28 19:15 (UTC) (edited on 2020-11-28 19:17 (UTC) by lepz0r)

Got this when i build this File "<string>", line 1 import distutils.sysconfig; print distutils.sysconfig.get_config_var("VERSION")