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:   [Bug 202170] audio/pulseaudio: build fail with Xen
Message-ID:  <bug-202170-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202170

            Bug ID: 202170
           Summary: audio/pulseaudio: build fail with Xen
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: novel@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

Created attachment 159656
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159656&action=edit
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 instead
[-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 = 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 pulseaudio's
configuring picking it.
Adding the '--disable-xen' flag to configure allows to build it. Patch
attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.



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