pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/40424: audio/pulseaudio doesn't build on Darwin
>Number: 40424
>Category: pkg
>Synopsis: audio/pulseaudio doesn't build on Darwin
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 17 16:45:00 +0000 2009
>Originator: Torsten Harenberg
>Release: Mac OS X 10.5
>Organization:
Bergische Universität Wuppertal
>Environment:
Darwin torsten-harenbergs-macbook.local 9.6.0 Darwin Kernel Version 9.6.0: Mon
Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
>Description:
audio/pulseaudio breaks when building on a Darwin/i386 machine with:
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -no-cpp-precomp -isystem /usr/include
-I/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include
-I/Volumes/dump/pkgsrc/audio/pulseaudio/work/.x11-buildlink/include
-I/Volumes/dump/pkgsrc/audio/pulseaudio/work/.x11-buildlink/include/freetype2
-I../src -I../src/modules -I../src/modules/rtp -I../src/modules/gconf
-I../src/modules/bluetooth -D_THREAD_SAFE -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS
-DPA_DLSEARCHPATH=\"/Volumes/dump/pkg/lib/pulse-0.9/modules/\"
-DPA_DEFAULT_CONFIG_DIR=\"/Volumes/dump/pkg/etc/pulse\"
-DPA_BINARY=\"/Volumes/dump/pkg/bin/pulseaudio\"
-DPA_SYSTEM_RUNTIME_PATH=\"/Volumes/dump/pkg/var/run/pulse\"
-DPA_SYSTEM_CONFIG_PATH=\"/Volumes/dump/pkg/var/lib/pulse\"
-DPA_SYSTEM_STATE_PATH=\"/Volumes/dump/pkg/var/lib/pulse\" -DAO_REQUIRE_CAS
-DPULSE_LOCALEDIR=\"/Volumes/dump/pkg/share/locale\"
-DPA_MACHINE_ID=\"/Volumes/dump/pkg/var/lib/dbus/machine-id\"
"-DDEBUG_TRAP=__asm__(\"int \$3\")" -pipe -O2 -Wall -W -Wextra -pedan
tic -pipe -Wno-long-long -Wconversion -Wundef -Wformat -Wpacked
-Wformat-security -Wmissing-include-dirs -Wformat-nonliteral
-Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal
-Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
-Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith
-Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math -MT
libpulse_la-core-util.lo -MD -MP -MF .deps/libpulse_la-core-util.Tpo -c
pulsecore/core-util.c -fno-common -DPIC -o .libs/libpulse_la-core-util.o
In file included from
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/sysdeps/gcc/../ordered_except_wr.h:30,
from
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/sysdeps/gcc/x86.h:33,
from
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops.h:194,
from ./pulsecore/atomic.h:498,
from ./pulsecore/once.h:26,
from ./pulsecore/thread.h:27,
from pulsecore/core-util.c:99:
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/sysdeps/gcc/../read_ordered.h:32:
warning: function declaration isn't a prototype
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/sysdeps/gcc/../read_ordered.h:
In function 'AO_nop_read':
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/sysdeps/gcc/../read_ordered.h:32:
warning: old-style function definition
In file included from
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/sysdeps/gcc/x86.h:33,
from
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops.h:194,
from ./pulsecore/atomic.h:498,
from ./pulsecore/once.h:26,
from ./pulsecore/thread.h:27,
from pulsecore/core-util.c:99:
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/sysdeps/gcc/../ordered_except_wr.h:
At top level:
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/sysdeps/gcc/../ordered_except_wr.h:34:
warning: function declaration isn't a prototype
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/sysdeps/gcc/../ordered_except_wr.h:
In function 'AO_nop_write':
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/sysdeps/gcc/../ordered_except_wr.h:34:
warning: old-style function definition
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/sysdeps/gcc/../ordered_except_wr.h:
In function 'AO_char_store_write':
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/sysdeps/gcc/../ordered_except_wr.h:63:
warning: passing argument 2 of 'AO_char_store' with different width due to
prototype
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/sysdeps/gcc/../ordered_except_wr.h:
In function 'AO_short_store_write':
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/sysdeps/gcc/../ordered_except_wr.h:78:
warning: passing argument 2 of 'AO_short_store' with different width due to
prototype
In file included from ./pulsecore/atomic.h:498,
from ./pulsecore/once.h:26,
from ./pulsecore/thread.h:27,
from pulsecore/core-util.c:99:
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops.h:280:5:
warning: "AO_AO_TS_T" is not defined
In file included from
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops.h:293,
from ./pulsecore/atomic.h:498,
from ./pulsecore/once.h:26,
from ./pulsecore/thread.h:27,
from pulsecore/core-util.c:99:
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/generalize.h:61:5:
warning: "AO_AO_TS_T" is not defined
In file included from
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops.h:293,
from ./pulsecore/atomic.h:498,
from ./pulsecore/once.h:26,
from ./pulsecore/thread.h:27,
from pulsecore/core-util.c:99:
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/generalize.h:
At top level:
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/generalize.h:153:
warning: function declaration isn't a prototype
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/generalize.h:
In function 'AO_nop_full':
/Volumes/dump/pkgsrc/audio/pulseaudio/work/.buildlink/include/atomic_ops/generalize.h:153:
warning: old-style function definition
pulsecore/core-util.c: In function 'pa_make_secure_dir':
pulsecore/core-util.c:185: warning: passing argument 1 of 'umask' with
different width due to prototype
pulsecore/core-util.c:186: warning: passing argument 2 of 'mkdir' with
different width due to prototype
pulsecore/core-util.c:187: warning: passing argument 1 of 'umask' with
different width due to prototype
pulsecore/core-util.c:203: warning: passing argument 2 of 'chmod' with
different width due to prototype
pulsecore/core-util.c: In function 'pa_make_secure_parent_dir':
pulsecore/core-util.c:257: warning: passing argument 2 of 'pa_make_secure_dir'
with different width due to prototype
pulsecore/core-util.c: In function 'pa_lock_fd':
pulsecore/core-util.c:1170: warning: declaration of 'flock' shadows a global
declaration
/usr/include/sys/fcntl.h:423: warning: shadowed declaration is here
pulsecore/core-util.c: In function 'pa_get_state_dir':
pulsecore/core-util.c:1339: warning: passing argument 2 of 'pa_make_secure_dir'
with different width due to prototype
pulsecore/core-util.c: In function 'make_random_dir':
pulsecore/core-util.c:1378: warning: passing argument 1 of 'umask' with
different width due to prototype
pulsecore/core-util.c:1379: warning: passing argument 2 of 'mkdir' with
different width due to prototype
pulsecore/core-util.c:1382: warning: passing argument 1 of 'umask' with
different width due to prototype
pulsecore/core-util.c: In function 'make_random_dir_and_link':
pulsecore/core-util.c:1399: warning: passing argument 1 of 'make_random_dir'
with different width due to prototype
pulsecore/core-util.c: In function 'pa_get_runtime_dir':
pulsecore/core-util.c:1434: warning: passing argument 2 of 'pa_make_secure_dir'
with different width due to prototype
pulsecore/core-util.c:1445: warning: passing argument 2 of 'pa_make_secure_dir'
with different width due to prototype
pulsecore/core-util.c:1473: warning: passing argument 1 of
'make_random_dir_and_link' with different width due to prototype
pulsecore/core-util.c:1526: warning: passing argument 1 of
'make_random_dir_and_link' with different width due to prototype
pulsecore/core-util.c: In function 'pa_parsehex':
pulsecore/core-util.c:1783: warning: passing argument 1 of 'hexc' with
different width due to prototype
pulsecore/core-util.c:1791: warning: passing argument 1 of 'hexc' with
different width due to prototype
pulsecore/core-util.c: In function 'pa_runtime_path':
pulsecore/core-util.c:1890: warning: passing argument 2 of 'get_path' with
different width due to prototype
pulsecore/core-util.c:1890: warning: passing argument 3 of 'get_path' with
different width due to prototype
pulsecore/core-util.c: In function 'pa_state_path':
pulsecore/core-util.c:1894: warning: passing argument 2 of 'get_path' with
different width due to prototype
pulsecore/core-util.c:1894: warning: passing argument 3 of 'get_path' with
different width due to prototype
pulsecore/core-util.c: At top level:
pulsecore/core-util.c:1952: error: syntax error before 'c_locale'
pulsecore/core-util.c:1952: warning: type defaults to 'int' in declaration of
'c_locale'
pulsecore/core-util.c:1952: warning: initialization makes integer from pointer
without a cast
pulsecore/core-util.c:1952: warning: data definition has no type or storage
class
pulsecore/core-util.c: In function 'c_locale_destroy':
pulsecore/core-util.c:1955: warning: implicit declaration of function
'freelocale'
pulsecore/core-util.c: In function 'pa_atod':
pulsecore/core-util.c:1972: warning: implicit declaration of function
'newlocale'
pulsecore/core-util.c:1972: error: 'LC_ALL_MASK' undeclared (first use in this
function)
pulsecore/core-util.c:1972: error: (Each undeclared identifier is reported only
once
pulsecore/core-util.c:1972: error: for each function it appears in.)
pulsecore/core-util.c:1979: warning: implicit declaration of function 'strtod_l'
pulsecore/core-util.c: In function 'pa_close_allv':
pulsecore/core-util.c:2213: warning: unused variable 'saved_errno'
gnumake[3]: *** [libpulse_la-core-util.lo] Error 1
gnumake[2]: *** [all] Error 2
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /Volumes/dump/pkgsrc/audio/pulseaudio
>How-To-Repeat:
cd PKGSRCDIR/audio/pulseaudio
bmake install
on a Mac OS 10.5 machine
>Fix:
Home |
Main Index |
Thread Index |
Old Index