You are not logged in.

#1 2017-10-10 05:57:27

Brysi
Member
Registered: 2017-10-10
Posts: 1

Problems installing xenstore from AUR

Hi there, when I try to "makepkg" the xenstore package
https://aur.archlinux.org/packages/xenstore/

it gives me:

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/user/Desktop/xe-guest-utilities/src/uclibc-sources/tools/libxc/../../tools/Rules.mk:80: xc_domain.o] Error 1
make[1]: Leaving directory '/home/user/Desktop/xe-guest-utilities/src/uclibc-sources/tools/libxc'
make: *** [Makefile:124: build] Error 2
make: Leaving directory '/home/user/Desktop/xe-guest-utilities/src/uclibc-sources/tools/libxc'
==> ERROR: A failure occurred in build().
    Aborting...

What can I do, to correctly install this package?

Regards,
Brysi

Last edited by Brysi (2017-10-10 05:58:13)

Offline

#2 2017-10-10 08:16:15

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,142
Website

Re: Problems installing xenstore from AUR

Complain upstream, they insist on using -Werror but ship code which triggers compiler warnings.

In the meantime, you can try stripping out the -Werror declarations from the Makefiles, it then build fine, but perhaps there's a good reason for using -Werror in the first place.

Mod note: Moving to AUR Issues


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB