[MacPorts] #53557: pulseaudio @10.0_2 is not correctly set up on Mac OS X 10.6.8/Snow Leopard
MacPorts
noreply at macports.org
Sun Feb 12 21:24:52 UTC 2017
#53557: pulseaudio @10.0_2 is not correctly set up on Mac OS X 10.6.8/Snow Leopard
------------------------------------------------+------------------------
Reporter: ballapete | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.0
Keywords: configure, speex/speexdsp, systemd | Port: pulseaudio
------------------------------------------------+------------------------
`Configure` complains:
{{{
configure: WARNING: unrecognized options: --disable-xen, --disable-systemd
}}}
The `system` option seems to have been split into three:
{{{
--disable-systemd-daemon
Disable optional systemd daemon (socket
activation)
support
--disable-systemd-login Disable optional systemd login support
--disable-systemd-journal
Disable optional systemd journal support
}}}
The `Xen` option has gone.
What worries me more is that `speex` is not found:
{{{
---{ pulseaudio 10.0-rebootstrapped }---
prefix: /opt/local
sysconfdir: ${prefix}/etc
localstatedir: ${prefix}/var
modlibexecdir: ${exec_prefix}/lib/pulse-10.0/modules
System Runtime Path: /opt/local/var/run/pulse
System State Path: /opt/local/var/lib/pulse
System Config Path: /opt/local/var/lib/pulse
Zsh completions directory: ${datarootdir}/zsh/site-functions
Bash completions directory: ${datarootdir}/bash-
completion/completions
Compiler: /opt/local/bin/clang-mp-3.4
CFLAGS: -pipe -Os -arch x86_64 -Wall -W -Wextra
-Wno-long-long -Wno-overlength-strings -Wundef -Wformat=2 -Wsign-compare
-Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-
definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement
-Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls
-Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-
align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math
-fno-common -fdiagnostics-show-option -fdiagnostics-color=auto -mmacosx-
version-min=10.6 -isysroot /
CPPFLAGS: -I/opt/local/include -DFASTPATH
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
LIBS: -lgdbm -framework CoreServices
Enable memfd shared memory: no
Enable X11: yes
Enable OSS Output: no
Enable OSS Wrapper: no
Enable EsounD: no
Enable Alsa: no
Enable CoreAudio: yes
Enable Solaris: no
Enable WaveOut: no
Enable GLib 2.0: yes
Enable Gtk+ 3.0: yes
Enable GConf: no
Enable Avahi: no
Enable Jack: no
Enable Async DNS: no
Enable LIRC: no
Enable D-Bus: yes
Enable BlueZ 4: no
Enable BlueZ 5: no
Enable ofono headsets: no
Enable native headsets: no
Enable udev: no
Enable HAL->udev compat: no
Enable systemd
Daemon (Socket Activation): no
Login (Session Tracking): no
Journal (Logging): no
Enable TCP Wrappers: no
Enable libsamplerate: no
Enable IPv6: yes
Enable OpenSSL (for Airtunes): no
Enable fftw: yes
Enable orc: yes
Enable Adrian echo canceller: yes
Enable speex (resampler, AEC): no
Enable soxr (resampler): yes
Enable WebRTC echo canceller: no
Enable gcov coverage: no
Enable unit tests: no
Database
tdb: no
gdbm: yes
simple database: no
System User: pulse
System Group: pulse
Access Group: pulse-access
Enable per-user EsounD socket: no
Force preopen: no
Preopened modules: all
Legacy Database Entry Support: yes
===== WARNING WARNING WARNING WARNING WARNING WARNING WARNING =====
You do not have udev support enabled. It is strongly recommended
that you enable udev support if your platform supports it as it is
the primary method used to detect hardware audio devices (on Linux)
and is thus a critical part of PulseAudio on that platform.
===== WARNING WARNING WARNING WARNING WARNING WARNING WARNING =====
===== WARNING WARNING WARNING WARNING WARNING WARNING WARNING =====
You do not have speex support enabled. It is strongly recommended
that you enable speex support if your platform supports it as it is
the primary method used for audio resampling and is thus a critical
part of PulseAudio on that platform.
===== WARNING WARNING WARNING WARNING WARNING WARNING WARNING =====
}}}
although installed:
{{{
speex @1.2.0_0 (active)
vorbis-tools @1.4.0_1+flac+speex (active)
}}}
Could be that `Pulseaudio` uses a different `Speex`, because the
`configure` script looks for:
{{{
configure:27758: checking for LIBSPEEX
configure:27765: $PKG_CONFIG --exists --print-errors " speexdsp >= 1.2 "
Package speexdsp was not found in the pkg-config search path.
Perhaps you should add the directory containing `speexdsp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'speexdsp' found
configure:27768: $? = 1
configure:27782: $PKG_CONFIG --exists --print-errors " speexdsp >= 1.2 "
Package speexdsp was not found in the pkg-config search path.
Perhaps you should add the directory containing `speexdsp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'speexdsp' found
configure:27785: $? = 1
configure:27799: result: no
No package 'speexdsp' found
}}}
The `speex` port only installs `/opt/local/lib/pkgconfig/speex.pc`. When I
manually
{{{
ln /opt/local/lib/pkgconfig/speex.pc /opt/local/lib/pkgconfig/speexdsp.pc
}}}
the library is found:
{{{
configure:27758: checking for LIBSPEEX
configure:27765: $PKG_CONFIG --exists --print-errors " speexdsp >= 1.2 "
configure:27768: $? = 0
configure:27782: $PKG_CONFIG --exists --print-errors " speexdsp >= 1.2 "
configure:27785: $? = 0
configure:27823: result: yes
}}}
and
{{{
Enable fftw: yes
Enable orc: yes
Enable Adrian echo canceller: yes
Enable speex (resampler, AEC): yes
Enable soxr (resampler): yes
Enable WebRTC echo canceller: no
}}}
But build fails (another reason):
{{{
clang: warning: no such sysroot directory: '/' [-Wmissing-sysroot]
libtool: compile: /opt/local/bin/clang-mp-3.4 -DHAVE_CONFIG_H -I. -I..
-I../src -I../src/modules -I../src/modules -DPA_ALSA_PATHS_DIR=\"\"
-DPA_ALSA_PROFILE_SETS_DIR=\"\"
-DPA_SRCDIR=\"/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_audio_pulseaudio/pulseaudio/work/pulseaudio-10.0/src\"
-DPA_BUILDDIR=\"/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_audio_pulseaudio/pulseaudio/work/pulseaudio-10.0/src\"
-DPULSE_LOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include
-DFASTPATH -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -std=gnu11 -D_THREAD_SAFE
-pthread -pipe -Os -arch x86_64 -Wall -W -Wextra -Wno-long-long -Wno-
overlength-strings -Wundef -Wformat=2 -Wsign-compare -Wformat-security
-Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition
-Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal
-Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-
declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align
-Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-
common -fdiagnostics-show-option -fdiagnostics-color=auto -mmacosx-
version-min=10.6 -isysroot / -MT pulsecore/mime-type.lo -MD -MP -MF
pulsecore/.deps/mime-type.Tpo -c pulsecore/mime-type.c -fno-common -DPIC
-o pulsecore/.libs/mime-type.o
clang: warning: no such sysroot directory: '/' [-Wmissing-sysroot]
pulsecore/protocol-simple.c:68:1: warning: unused function
'connection_ref' [-Wunused-function]
PA_DEFINE_PRIVATE_CLASS(connection, pa_msgobject);
^
./pulsecore/object.h:109:5: note: expanded from macro
'PA_DEFINE_PRIVATE_CLASS'
PA_DECLARE_CLASS_COMMON(c); \
^
./pulsecore/object.h:79:22: note: expanded from macro
'PA_DECLARE_CLASS_COMMON'
static inline c* c##_ref(c *o) { \
^
<scratch space>:40:1: note: expanded from here
connection_ref
^
pulsecore/protocol-simple.c:68:1: warning: unused function
'connection_refcnt' [-Wunused-function]
./pulsecore/object.h:109:5: note: expanded from macro
'PA_DEFINE_PRIVATE_CLASS'
PA_DECLARE_CLASS_COMMON(c); \
^
./pulsecore/object.h:85:23: note: expanded from macro
'PA_DECLARE_CLASS_COMMON'
static inline int c##_refcnt(c* o) { \
^
<scratch space>:42:1: note: expanded from here
connection_refcnt
^
2 warnings generated.
make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_audio_pulseaudio/pulseaudio/work/pulseaudio-10.0/src'
}}}
`pulseaudio @10.0_1+x11` built before (without speex and
/opt/local/lib/pkgconfig/speexdsp.pc).
--
Ticket URL: <https://trac.macports.org/ticket/53557>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list