Package Details: xe-guest-utilities 6.2.0-2

Git Clone URL: https://aur.archlinux.org/xe-guest-utilities.git (read-only)
Package Base: xe-guest-utilities
Description: Citrix XenServer Tools
Upstream URL: http://citrix.com/English/ps2/products/product.asp?contentID=683148&ntref=hp_nav_US
Licenses: GPL, LGPL
Submitter: arojas
Maintainer: None
Last Packager: arojas
Votes: 2
Popularity: 0.551800
First Submitted: 2017-07-06 19:08
Last Updated: 2017-07-06 19:08

Latest Comments

Zepman commented on 2017-11-25 16:49

Add '-Wno-maybe-uninitialized' to CFLAGS in PKGBUILD's build(). Otherwise, the compiler will fail with the following errors:

--8<--
xc_domain.c: In function ‘xc_hvm_get_ioreq_server_buf_pfn’:
xc_domain.c:1247:13: error: ‘pfn’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
pfn += id - 1;
^~
xc_domain.c: In function ‘xc_hvm_get_ioreq_server_shared_pfn’:
xc_domain.c:1266:13: error: ‘pfn’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
pfn += id - 1;
^~
xc_domain.c: In function ‘xc_domain_get_acpi_s_state’:
xc_domain.c:1728:12: error: ‘value’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
return value;
^~~~~
cc1: all warnings being treated as errors
make[1]: *** [/home/skiljan/src/xe-guest-utilities/src/uclibc-sources/tools/libxc/../../tools/Rules.mk:80: xc_domain.o] Error 1
make[1]: Leaving directory '/home/skiljan/src/xe-guest-utilities/src/uclibc-sources/tools/libxc'
make: *** [Makefile:124: build] Error 2
make: Leaving directory '/home/skiljan/src/xe-guest-utilities/src/uclibc-sources/tools/libxc'
==> ERROR: A failure occurred in build().
Aborting...
--8<--

alhirzel commented on 2017-11-11 16:44

I added this line to build() to get around the issue:

sed -i.bak s/-Werror//g Config.mk tools/libxc/Makefile tools/misc/lomount/Makefile

It is not clear how to report this upstream without a service contract. Is the maintainer for this code really Citrix?

WorMzy commented on 2017-10-10 08:26

Code does not compile with Arch's gcc as is (see [1]). One possible workaround is to strip out the -Werror declarations from the Makefiles.

Also, there are several unquoted $srcdir and $pkgdir instances in the PKGBUILD.

[1] https://bbs.archlinux.org/viewtopic.php?id=230766