Bug 89213 - configure --enable-udev --disable-oss-output --disable-alsa outputs bogus '*** UDEV support not found'
Summary: configure --enable-udev --disable-oss-output --disable-alsa outputs bogus '**...
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: build-system (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords: love
Depends on:
Blocks:
 
Reported: 2015-02-18 21:54 UTC by Michał Górny
Modified: 2018-07-30 09:34 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Michał Górny 2015-02-18 21:54:27 UTC
AS_IF([test "x$enable_udev" != "xno" -a \( "x$HAVE_OSS" = "x1" -o "x$HAVE_ALSA" = "x1" \)],
    [PKG_CHECK_MODULES(UDEV, [ libudev >= 143 ], HAVE_UDEV=1, HAVE_UDEV=0)],
    HAVE_UDEV=0)

AS_IF([test "x$enable_udev" = "xyes" && test "x$HAVE_UDEV" = "x0"],
    [AC_MSG_ERROR([*** UDEV support not found])])


This means that if both OSS & ALSA are disabled, udev check is never run. Then having udev enabled results in bogus '*** UDEV support not found' message.

Instead, it should probably output something along the lines '*** UDEV support requires --enable-alsa or --enable-oss-output'.

Original bug report: https://bugs.funtoo.org/browse/FL-2108
Comment 1 Raymond 2015-02-21 01:38:48 UTC
http://cgit.freedesktop.org/pulseaudio/pulseaudio/log/src/modules/module-udev-detect.c


seem module-udev-detect only used for alsa
Comment 2 GitLab Migration User 2018-07-30 09:34:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/28.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.