Bug 94965 - pulseaudio-8.0 fails to build with --disable-glib2
Summary: pulseaudio-8.0 fails to build with --disable-glib2
Status: RESOLVED FIXED
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:
Depends on:
Blocks: 93823
  Show dependency treegraph
 
Reported: 2016-04-16 13:14 UTC by Pacho Ramos
Modified: 2016-04-19 03:13 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
build.log.gz (21.38 KB, text/plain)
2016-04-16 13:14 UTC, Pacho Ramos
Details

Description Pacho Ramos 2016-04-16 13:14:21 UTC
Created attachment 122993 [details]
build.log.gz

It fails with:
cc1: warning: ../src/modules: No such file or directory
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src -I..  -I/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src -I/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src/modules -I../src/modules -DPA_ALSA_PATHS_DIR=\"\" -DPA_ALSA_PROFILE_SETS_DIR=\"\" -DPA_SRCDIR=\"/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src\" -DPA_BUILDDIR=\"/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0-abi_x86_32.x86/src\" -DPULSE_LOCALEDIR=\"/usr/share/locale\" -DFASTPATH -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread  -I/usr/include/json-c -I/usr/include/dbus-1.0 -I/usr/lib32/dbus-1.0/include -march=native -pipe -O2 -ggdb -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-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 -c -o pulse/libpulse_la-ext-device-manager.lo `test -f 'pulse/ext-device-manager.c' || echo '/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src/'`pulse/ext-device-manager.c
cc1: warning: ../src/modules: No such file or directory
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src -I..  -I/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src -I/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src/modules -I../src/modules -DPA_ALSA_PATHS_DIR=\"\" -DPA_ALSA_PROFILE_SETS_DIR=\"\" -DPA_SRCDIR=\"/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src\" -DPA_BUILDDIR=\"/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0-abi_x86_32.x86/src\" -DPULSE_LOCALEDIR=\"/usr/share/locale\" -DFASTPATH -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread  -I/usr/include/json-c -I/usr/include/dbus-1.0 -I/usr/lib32/dbus-1.0/include -march=native -pipe -O2 -ggdb -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-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 -c -o pulse/libpulse_la-ext-device-restore.lo `test -f 'pulse/ext-device-restore.c' || echo '/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src/'`pulse/ext-device-restore.c
/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src/pulse/glib-mainloop.c:31:18: fatal error: glib.h: No such file or directory
 #include <glib.h>
                  ^
compilation terminated.
Makefile:7361: recipe for target 'pulse/libpulse_mainloop_glib_la-glib-mainloop.lo' failed
make: *** [pulse/libpulse_mainloop_glib_la-glib-mainloop.lo] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src -I.. -I/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src -I/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src/modules -I../src/modules -DPA_ALSA_PATHS_DIR=\"\" -DPA_ALSA_PROFILE_SETS_DIR=\"\" -DPA_SRCDIR=\"/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src\" -DPA_BUILDDIR=\"/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0-abi_x86_32.x86/src\" -DPULSE_LOCALEDIR=\"/usr/share/locale\" -DFASTPATH -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/json-c -I/usr/include/dbus-1.0 -I/usr/lib32/dbus-1.0/include -march=native -pipe -O2 -ggdb -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-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 -c /var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src/pulse/ext-device-restore.c  -fPIC -DPIC -o pulse/.libs/libpulse_la-ext-device-restore.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src -I.. -I/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src -I/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src/modules -I../src/modules -DPA_ALSA_PATHS_DIR=\"\" -DPA_ALSA_PROFILE_SETS_DIR=\"\" -DPA_SRCDIR=\"/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src\" -DPA_BUILDDIR=\"/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0-abi_x86_32.x86/src\" -DPULSE_LOCALEDIR=\"/usr/share/locale\" -DFASTPATH -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/json-c -I/usr/include/dbus-1.0 -I/usr/lib32/dbus-1.0/include -march=native -pipe -O2 -ggdb -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-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 -c /var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src/pulse/error.c  -fPIC -DPIC -o pulse/.libs/libpulse_la-error.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src -I.. -I/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src -I/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src/modules -I../src/modules -DPA_ALSA_PATHS_DIR=\"\" -DPA_ALSA_PROFILE_SETS_DIR=\"\" -DPA_SRCDIR=\"/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src\" -DPA_BUILDDIR=\"/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0-abi_x86_32.x86/src\" -DPULSE_LOCALEDIR=\"/usr/share/locale\" -DFASTPATH -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/json-c -I/usr/include/dbus-1.0 -I/usr/lib32/dbus-1.0/include -march=native -pipe -O2 -ggdb -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-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 -c /var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src/pulse/ext-device-manager.c  -fPIC -DPIC -o pulse/.libs/libpulse_la-ext-device-manager.o
cc1: warning: ../src/modules: No such file or directory
cc1: warning: ../src/modules: No such file or directory
cc1: warning: ../src/modules: No such file or directory
cc1: warning: ../src/modules: No such file or directory
make: Leaving directory '/var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0-abi_x86_32.x86/src'
Comment 1 Arun Raghavan 2016-04-18 05:08:03 UTC
Posted a patch for this at https://lists.freedesktop.org/archives/pulseaudio-discuss/2016-April/026046.html

This seems like somewhat fundamental build system breakage, so I'm marking this a blocker for 9.0.
Comment 2 Arun Raghavan 2016-04-19 03:13:50 UTC
This should actually already be fixed by: https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=36d9ae9b2b79950d7e8c7ff2415071f7ea5f9dbd


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.