Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554152 - media-sound/mpd: add CONFIG_CHECK on kernel CONFIG_SIGNALFD
Summary: media-sound/mpd: add CONFIG_CHECK on kernel CONFIG_SIGNALFD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-07 16:46 UTC by om3i
Modified: 2015-09-16 16:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description om3i 2015-07-07 16:46:09 UTC
Well, because it doesn't work without it.

Reproducible: Always
Comment 1 om3i 2015-07-09 19:39:37 UTC
$ grep -r signalfd mpd-0.19.9/
mpd-0.19.9/src/event/SignalMonitor.cxx: * were blocked for our signalfd().  Without this, our child processes
mpd-0.19.9/src/system/SignalFD.cxx:#include <sys/signalfd.h>
mpd-0.19.9/src/system/SignalFD.cxx:	fd = ::signalfd(fd, &mask, SFD_NONBLOCK|SFD_CLOEXEC);
mpd-0.19.9/src/system/SignalFD.cxx:		FatalSystemError("signalfd() failed");
mpd-0.19.9/src/system/SignalFD.cxx:	signalfd_siginfo info;
mpd-0.19.9/src/system/SignalFD.hxx: * A class that wraps signalfd().
mpd-0.19.9/src/system/SignalFD.hxx:	 * Create the signalfd or update its mask.
mpd-0.19.9/configure:enable_signalfd
mpd-0.19.9/configure:  --enable-signalfd       use the function "signalfd" (default: auto)
mpd-0.19.9/configure:	# Check whether --enable-signalfd was given.
mpd-0.19.9/configure:if test "${enable_signalfd+set}" = set; then :
mpd-0.19.9/configure:  enableval=$enable_signalfd; test xenable_signalfd = xyes &&
mpd-0.19.9/configure:  ac_fn_c_check_func "$LINENO" "signalfd" "ac_cv_func_signalfd"
mpd-0.19.9/configure:if test "x$ac_cv_func_signalfd" = xyes; then :
mpd-0.19.9/configure.ac:	MPD_OPTIONAL_FUNC(signalfd, signalfd, USE_SIGNALFD)
mpd-0.19.9/config.h.in:/* Define to use signalfd */
Comment 2 Christoph Mende (RETIRED) gentoo-dev 2015-09-16 16:44:43 UTC
Fixed with new USE flags eventfd and signalfd in 0.19.10.