tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/audio/pulseaudio



    Date:        Mon, 22 Dec 2008 02:50:09 +0000 (UTC)
    From:        "Jared D. McNeill" <jmcneill%NetBSD.org@localhost>
    Message-ID:  <20081222025009.D4A58175D0%cvs.netbsd.org@localhost>

  | Pull in libatomic_ops if NetBSD native atomic ops are not available, should
  | fix build on NetBSD < 5.0 and other platforms.

It changes the symptoms, the thing actually starts to compile now,
but doesn't succeed ...

 cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. 
-I/pkg_comp/obj/pkgsrc/audio/pulseaudio/4x/.buildlink/include 
-I/pkg_comp/obj/pkgsrc/audio/pulseaudio/4x/.buildlink/include/freetype2 
-I../src -I../src/modules -I../src/modules/rtp -I../src/modules/gconf 
-I../src/modules/bluetooth -pthread -D_POSIX_PTHREAD_SEMANTICS 
-DPA_DLSEARCHPATH=\"/usr/pkg/lib/pulse-0.9/modules/\" 
-DPA_DEFAULT_CONFIG_DIR=\"/usr/pkg/etc/pulse\" 
-DPA_BINARY=\"/usr/pkg/bin/pulseaudio\" 
-DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\" 
-DPA_SYSTEM_CONFIG_PATH=\"/var/lib/pulse\" 
-DPA_SYSTEM_STATE_PATH=\"/var/lib/pulse\" -DAO_REQUIRE_CAS 
-DPULSE_LOCALEDIR=\"/usr/pkg/share/locale\" 
-DPA_MACHINE_ID=\"/var/lib/dbus/machine-id\" "-DDEBUG_TRAP=__asm__(\"int 
\$3\")" -O2 -Wall -W -Wextra -pedantic -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 -Wstric!
 t-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels 
-Wpointer-arith -Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math 
-MT libpulse_la-context.lo -MD -MP -MF .deps/libpulse_la-context.Tpo -c 
pulse/context.c  -fPIC -DPIC -o .libs/libpulse_la-context.o
In file included from ./pulsecore/refcnt.h:25,
                 from ./pulsecore/packet.h:28,
                 from ./pulsecore/pdispatch.h:32,
                 from pulse/context.c:62:
./pulsecore/atomic.h:114:24: error: sys/atomic.h: No such file or directory
In file included from ./pulsecore/refcnt.h:25,
                 from ./pulsecore/packet.h:28,
                 from ./pulsecore/pdispatch.h:32,
                 from pulse/context.c:62:
./pulsecore/atomic.h: In function 'pa_atomic_load':
./pulsecore/atomic.h:123: warning: implicit declaration of function 
'membar_sync'
./pulsecore/atomic.h: In function 'pa_atomic_add':
./pulsecore/atomic.h:134: warning: implicit declaration of function 
'atomic_add_int_nv'
./pulsecore/atomic.h: In function 'pa_atomic_inc':
./pulsecore/atomic.h:146: warning: implicit declaration of function 
'atomic_inc_uint_nv'
./pulsecore/atomic.h: In function 'pa_atomic_dec':
./pulsecore/atomic.h:152: warning: implicit declaration of function 
'atomic_dec_uint_nv'
./pulsecore/atomic.h: In function 'pa_atomic_cmpxchg':
./pulsecore/atomic.h:158: warning: implicit declaration of function 
'atomic_cas_uint'
./pulsecore/atomic.h: In function 'pa_atomic_ptr_cmpxchg':
./pulsecore/atomic.h:182: warning: implicit declaration of function 
'atomic_cas_ptr'
./pulsecore/atomic.h:182: warning: initialization makes pointer from integer 
without a cast
pulse/context.c: In function 'pa_context_new_with_proplist':
pulse/context.c:177: warning: passing argument 1 of 'pa_mempool_new' with 
different width due to prototype
pulse/context.c:180: warning: passing argument 1 of 'pa_mempool_new' with 
different width due to prototype
pulse/context.c: In function 'setup_complete_callback':
pulse/context.c:409: warning: passing argument 4 of 'pa_context_handle_error' 
with different width due to prototype
pulse/context.c:458: warning: passing argument 1 of 'pa_yes_no' with different 
width due to prototype
pulse/context.c:459: warning: passing argument 2 of 'pa_pstream_enable_shm' 
with different width due to prototype
pulse/context.c: In function 'setup_context':
pulse/context.c:524: warning: passing argument 1 of 'pa_yes_no' with different 
width due to prototype
pulse/context.c: In function 'try_next_connection':
pulse/context.c:759: warning: passing argument 3 of 
'pa_socket_client_new_string' with different width due to prototype
pulse/context.c: In function 'pa_context_connect':
pulse/context.c:819: warning: negative integer implicitly converted to unsigned 
type
pulse/context.c: In function 'pa_context_simple_ack_callback':
pulse/context.c:1000: warning: passing argument 4 of 'pa_context_handle_error' 
with different width due to prototype
gmake[3]: *** [libpulse_la-context.lo] Error 1
gmake[3]: Leaving directory 
`/pkg_comp/obj/pkgsrc/audio/pulseaudio/4x/pulseaudio-0.9.13/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/pkg_comp/obj/pkgsrc/audio/pulseaudio/4x/pulseaudio-0.9.13/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/pkg_comp/obj/pkgsrc/audio/pulseaudio/4x/pulseaudio-0.9.13'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/audio/pulseaudio
*** Error code 1

Stop.


That's from NetBSD 4.0, pkgsrc modular xorg - it does build and install
(apparently correctly) devel/libatomic_ops (libatomic_ops-20081024nb1)

kre



Home | Main Index | Thread Index | Old Index