Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Aug 2015 04:01:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 202170] audio/pulseaudio: build fail with Xen
Message-ID:  <bug-202170-6497-bt2wdIdXsK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202170-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202170-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Roman Bogorodskiy <novel@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to gnome@FreeBSD.o=
rg:
Bug 202170: audio/pulseaudio: build fail with Xen
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202170



--- Description ---
Created attachment 159656
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D159656&action=
=3Dedit
disable xen option

The build fails with:

  CC	   modules/dbus/module_dbus_protocol_la-iface-card-profile.lo
In file included from modules/xen/module-xenpv-sink.c:51:
In file included from /usr/local/include/xenctrl.h:56:
/usr/local/include/xen/foreign/x86_64.h:198:47: warning: 'aligned' attribute
ignored when parsing type [-Wignored-attributes]
    __align8__ uint64_t evtchn_pending[sizeof(__align8__ uint64_t) * 8];
					      ^~~~~~~~~~
/usr/local/include/xen/foreign/x86_64.h:13:36: note: expanded from macro
'__align8__'
# define __align8__ __attribute__((aligned (8)))
				   ^~~~~~~~~~~
/usr/local/include/xen/foreign/x86_64.h:199:44: warning: 'aligned' attribute
ignored when parsing type [-Wignored-attributes]
    __align8__ uint64_t evtchn_mask[sizeof(__align8__ uint64_t) * 8];
					   ^~~~~~~~~~
/usr/local/include/xen/foreign/x86_64.h:13:36: note: expanded from macro
'__align8__'
# define __align8__ __attribute__((aligned (8)))
				   ^~~~~~~~~~~
In file included from modules/xen/module-xenpv-sink.c:52:
/usr/local/include/xs.h:1:2: warning: xs.h is deprecated use xenstore.h ins=
tead
[-W#warnings]
#warning xs.h is deprecated use xenstore.h instead
 ^
modules/xen/module-xenpv-sink.c:602:26: error: use of undeclared identifier
'_IOC_NONE'
    rv =3D ioctl(alloc_fd, IOCTL_GNTALLOC_ALLOC_GREF, gref_);
			 ^
../src/modules/xen/gntalloc.h:24:6: note: expanded from macro
'IOCTL_GNTALLOC_ALLOC_GREF'
_IOC(_IOC_NONE, 'G', 5, sizeof(struct ioctl_gntalloc_alloc_gref))
     ^
/usr/include/sys/ioccom.h:55:4: note: expanded from macro '\
_IOC'
	((inout) | (((len) & IOCPARM_MASK) << 16) | ((group) << 8) | (num)))
	  ^
3 warnings and 1 error generated.
Makefile:9020: recipe for target
'modules/xen/module_xenpv_sink_la-module-xenpv-sink.lo' failed
gmake[5]: *** [modules/xen/module_xenpv_sink_la-module-xenpv-sink.lo] Error=
 1
gmake[5]: *** Waiting for unfinished jobs....

Looks like this is caused by xen-tools installed on the system and pulseaud=
io's
configuring picking it.
Adding the '--disable-xen' flag to configure allows to build it. Patch
attached.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202170-6497-bt2wdIdXsK>