When building audio/pulseaudio on recent 9.0-CURRENT, it fails building due to it is now trying to build the port with capabilities support. This was caused by the recent capsicum import (specificly SVN r219140) of the sys/capability.h header file. Fix: Apply the attached patch which will disable capability support by default. Patch attached with submission follows: How-To-Repeat: upgrade/install system to a recent 9.0-CURRENT # cd /usr/ports/audio/pulseaudio # make configure : checking for X11... yes^M checking for library containing cap_init... no^M checking sys/capability.h usability... yes^M checking sys/capability.h presence... yes^M checking for sys/capability.h... yes^M : # make build : CC pulseaudio-caps.o^M daemon/caps.c: In function 'pa_drop_root':^M daemon/caps.c:91: error: 'cap_t' undeclared (first use in this function)^M daemon/caps.c:91: error: (Each undeclared identifier is reported only once^M daemon/caps.c:91: error: for each function it appears in.)^M daemon/caps.c:91: error: expected ';' before 'caps'^M daemon/caps.c:92: error: 'caps' undeclared (first use in this function)^M daemon/caps.c:92: warning: implicit declaration of function 'cap_init'^M daemon/caps.c:93: warning: implicit declaration of function 'cap_clear'^M daemon/caps.c:94: warning: implicit declaration of function 'cap_set_proc'^M daemon/caps.c:95: warning: implicit declaration of function 'cap_free'^M gmake[3]: *** [pulseaudio-caps.o] Error 1^M gmake[3]: Leaving directory `/usr/ports/audio/pulseaudio/work/pulseaudio-0.9.22/ src'^M gmake[2]: *** [all] Error 2^M
Responsible Changed From-To: freebsd-ports-bugs->gnome Over to maintainer (via the GNATS Auto Assign Tool)
Just noticed that the CONFIGURE_ARG should be "--without-caps". Scot
Responsible Changed From-To: gnome->swills I'll take it.
swills 2011-03-12 15:09:51 UTC FreeBSD ports repository Modified files: audio/pulseaudio Makefile Log: Disable Capabilities globally since it is broken PR: ports/155235 Submitted by: Scot Hetzel <swhetzel at gmail.com> Approved by: kwm (multimedia@) Revision Changes Path 1.63 +2 -0 ports/audio/pulseaudio/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed with changes. There's no need for the option until it works.