pulseaudio 5.0 fails to build

René J.V. Bertin rjvbertin at gmail.com
Thu Jan 22 15:47:07 PST 2015


Hello,

After the recent request to let phonon-backend-gstreamer depend on the "good" gstreamer plugins, which by default depend on pulseaudio, I decided to rebuild that port myself without X11 support.

Turns out that I cannot even build its default configuration; the build fails with

libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/modules -I../src/modules -DPA_ALSA_PATHS_DIR=\"\" -DPA_ALSA_PROFILE_SETS_DIR=\"\" -I/opt/local/include -DFASTPATH -D_FORTIFY_SOURCE=2 -D_THREAD_SAFE -pthread -DPA_SRCDIR=\"/opt/local/var/macports/build/_opt_local_site-ports_audio_pulseaudio/pulseaudio/work/pulseaudio-5.0/src\" -DPA_BUILDDIR=\"/opt/local/var/macports/build/_opt_local_site-ports_audio_pulseaudio/pulseaudio/work/pulseaudio-5.0/src\" -I/opt/local/include/json-c -I/Volumes/Debian/MacPorts/include -I/opt/local/include -I/Volumes/Debian/MacPorts/include -I/opt/local/include -I/Volumes/Debian/MacPorts/include -I/opt/local/include -I/Volumes/Debian/MacPorts/include -I/opt/local/include -I/Volumes/Debian/MacPorts/include -I/opt/local/include -I/Volumes/Debian/MacPorts/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0 -I/opt/local/include/at-spi-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gtk-3.0 -I/opt/local/include/gio-unix-2.0/ -I/Volumes/Debian/MacPorts/include -I/opt/local/include -I/Volumes/Debian/MacPorts/include -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/Volumes/Debian/MacPorts/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include/harfbuzz -I/Volumes/Debian/MacPorts/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/harfbuzz -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/Volumes/Debian/MacPorts/include -I/opt/local/include -I/Volumes/Debian/MacPorts/include -I/opt/local/include -I/Volumes/Debian/MacPorts/include -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/Developer/Headers/FlatCarbon/ -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -Os -arch x86_64 -Wall -W -Wextra -pipe -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 -isysroot / -mmacosx-version-min=10.9 -MT pulsecore/libpulsecommon_5.0_la-core-util.lo -MD -MP -MF pulsecore/.deps/libpulsecommon_5.0_la-core-util.Tpo -c pulsecore/core-util.c  -fno-common -DPIC -o pulsecore/.libs/libpulsecommon_5.0_la-core-util.o
In file included from pulsecore/core-rtclock.c:41:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:31:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h:240:3: error: unknown type name 'Point'
  Point               location;               /* File's location in the folder */
  ^
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h:246:3: error: unknown type name 'Rect'
  Rect                windowBounds;           /* The position and dimension of the folder's window */
  ^

Any idea what to look for? Is this related to the Xcode update - the binary build is from June 1st 2014, which would be Xcode 5.1 I guess?

R.


More information about the macports-users mailing list