Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215656 - media-sound/pulseaudio-0.9.10 update fails with "conflicting types for 'pa_drop_caps'"
Summary: media-sound/pulseaudio-0.9.10 update fails with "conflicting types for 'pa_dr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
: 215819 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-31 23:17 UTC by Jose daLuz
Modified: 2008-04-05 14:38 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix signature in conditional statement (pulseaudio-0.9.10-signature.patch,364 bytes, text/plain)
2008-04-01 12:04 UTC, Charles Clément
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jose daLuz 2008-03-31 23:17:06 UTC
Updating pulseaudio from 0.9.9-r3 to 0.9.10 I get the following error:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I../src -I../src/modules -I../src/modules/rtp -I../src/modules/gconf -pthread -D_POSIX_PTHREAD_SEMANTICS    -DPA_DLSEARCHPATH=\"/usr/lib64/pulse-0.9/modules/\" -DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\" -DPA_BINARY=\"/usr/bin/pulseaudio\" -DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\" -DAO_REQUIRE_CAS '-DDEBUG_TRAP=__asm__("int $3")' -I/usr/include/liboil-0.3      -I/usr/include/liboil-0.3   -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include    -march=k8 -O2 -pipe -ggdb -msse3 -UNDEBUG -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -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 -Winline -Wno-unused-parameter -ffast-math -MT pulseaudio-caps.o -MD -MP -MF .deps/pulseaudio-caps.Tpo -c -o pulseaudio-caps.o `test -f 'daemon/caps.c' || echo './'`daemon/caps.c
daemon/caps.c:134: error: conflicting types for 'pa_drop_caps'
daemon/caps.h:28: error: previous declaration of 'pa_drop_caps' was here
make[3]: *** [pulseaudio-caps.o] Error 1
make[3]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/modules -I../src/modules/rtp -I../src/modules/gconf -pthread -D_POSIX_PTHREAD_SEMANTICS -DPA_DLSEARCHPATH=\"/usr/lib64/pulse-0.9/modules/\" -DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\" -DPA_BINARY=\"/usr/bin/pulseaudio\" -DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\" -DAO_REQUIRE_CAS "-DDEBUG_TRAP=__asm__(\"int \$3\")" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -march=k8 -O2 -pipe -ggdb -msse3 -UNDEBUG -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -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 -Winline -Wno-unused-parameter -ffast-math -MT libdbus_util_la-dbus-util.lo -MD -MP -MF .deps/libdbus_util_la-dbus-util.Tpo -c modules/dbus-util.c -o libdbus_util_la-dbus-util.o >/dev/null 2>&1
mv -f .deps/libdbus_util_la-dbus-util.Tpo .deps/libdbus_util_la-dbus-util.Plo
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/modules -I../src/modules/rtp -I../src/modules/gconf -pthread -D_POSIX_PTHREAD_SEMANTICS -DPA_DLSEARCHPATH=\"/usr/lib64/pulse-0.9/modules/\" -DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\" -DPA_BINARY=\"/usr/bin/pulseaudio\" -DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\" -DAO_REQUIRE_CAS "-DDEBUG_TRAP=__asm__(\"int \$3\")" -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -march=k8 -O2 -pipe -ggdb -msse3 -UNDEBUG -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -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 -Winline -Wno-unused-parameter -ffast-math -MT module_hal_detect_la-module-hal-detect.lo -MD -MP -MF .deps/module_hal_detect_la-module-hal-detect.Tpo -c modules/module-hal-detect.c  -fPIC -DPIC -o .libs/module_hal_detect_la-module-hal-detect.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/modules -I../src/modules/rtp -I../src/modules/gconf -pthread -D_POSIX_PTHREAD_SEMANTICS -DPA_DLSEARCHPATH=\"/usr/lib64/pulse-0.9/modules/\" -DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\" -DPA_BINARY=\"/usr/bin/pulseaudio\" -DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\" -DAO_REQUIRE_CAS "-DDEBUG_TRAP=__asm__(\"int \$3\")" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DPA_BT_PROXIMITY_HELPER=\"/usr/libexec/pulse/bt-proximity-helper\" -march=k8 -O2 -pipe -ggdb -msse3 -UNDEBUG -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -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 -Winline -Wno-unused-parameter -ffast-math -MT module_bt_proximity_la-module-bt-proximity.lo -MD -MP -MF .deps/module_bt_proximity_la-module-bt-proximity.Tpo -c modules/module-bt-proximity.c  -fPIC -DPIC -o .libs/module_bt_proximity_la-module-bt-proximity.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/modules -I../src/modules/rtp -I../src/modules/gconf -pthread -D_POSIX_PTHREAD_SEMANTICS -DPA_DLSEARCHPATH=\"/usr/lib64/pulse-0.9/modules/\" -DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\" -DPA_BINARY=\"/usr/bin/pulseaudio\" -DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\" -DAO_REQUIRE_CAS "-DDEBUG_TRAP=__asm__(\"int \$3\")" -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -march=k8 -O2 -pipe -ggdb -msse3 -UNDEBUG -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -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 -Winline -Wno-unused-parameter -ffast-math -MT module_hal_detect_la-module-hal-detect.lo -MD -MP -MF .deps/module_hal_detect_la-module-hal-detect.Tpo -c modules/module-hal-detect.c -o module_hal_detect_la-module-hal-detect.o >/dev/null 2>&1
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/modules -I../src/modules/rtp -I../src/modules/gconf -pthread -D_POSIX_PTHREAD_SEMANTICS -DPA_DLSEARCHPATH=\"/usr/lib64/pulse-0.9/modules/\" -DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\" -DPA_BINARY=\"/usr/bin/pulseaudio\" -DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\" -DAO_REQUIRE_CAS "-DDEBUG_TRAP=__asm__(\"int \$3\")" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DPA_BT_PROXIMITY_HELPER=\"/usr/libexec/pulse/bt-proximity-helper\" -march=k8 -O2 -pipe -ggdb -msse3 -UNDEBUG -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -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 -Winline -Wno-unused-parameter -ffast-math -MT module_bt_proximity_la-module-bt-proximity.lo -MD -MP -MF .deps/module_bt_proximity_la-module-bt-proximity.Tpo -c modules/module-bt-proximity.c -o module_bt_proximity_la-module-bt-proximity.o >/dev/null 2>&1
mv -f .deps/module_hal_detect_la-module-hal-detect.Tpo .deps/module_hal_detect_la-module-hal-detect.Plo
mv -f .deps/module_bt_proximity_la-module-bt-proximity.Tpo .deps/module_bt_proximity_la-module-bt-proximity.Plo
make[3]: Leaving directory `/var/tmp/paludis/media-sound/pulseaudio-0.9.10/work/pulseaudio-0.9.10/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/paludis/media-sound/pulseaudio-0.9.10/work/pulseaudio-0.9.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/paludis/media-sound/pulseaudio-0.9.10/work/pulseaudio-0.9.10'
make: *** [all] Error 2

!!! ERROR in media-sound/pulseaudio-0.9.10:
!!! In src_compile at line 4130
!!! emake failed

!!! Call stack:
!!!    * src_compile (/var/tmp/paludis/media-sound/pulseaudio-0.9.10/temp/loadsaveenv:4130)
!!!    * ebuild_f_compile (/usr/libexec/paludis/1/src_compile.bash:49)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:462)
!!!    * main (/usr/libexec/paludis/ebuild.bash:480)
Comment 1 Jose daLuz 2008-03-31 23:17:43 UTC
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
Timestamp of tree: Mon, 31 Mar 2008 22:30:07 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/paludis-extras /usr/local/overlays/sunrise /usr/local/overlays/gnome /usr/local/overlays/desktop-effects /usr/local/overlays/vmware /usr/local/overlays/berkano /usr/local/overlays/mono /usr/local/overlays/myoverlay"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bluetooth bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility kerberos ldap libnotify mad midi mikmod mmx mono mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite sse sse2 ssl svg tcpd theora tiff truetype unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="cmipci hdaintel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Jose daLuz 2008-03-31 23:24:57 UTC
The same error occurs if I drop MAKEOPTS from -j4 to -j1.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2008-04-01 09:59:09 UTC
Confirming on ~x86 with portage
Comment 4 Charles Clément 2008-04-01 12:04:40 UTC
Created attachment 147967 [details]
Fix signature in conditional statement

This is fixed in upstream repository.
Comment 5 José Otávio Rizzatti Ferreira 2008-04-02 08:16:32 UTC
Applying the attached patch solves the problem. Thanks, Charles.
Comment 6 José Otávio Rizzatti Ferreira 2008-04-02 08:17:26 UTC
*** Bug 215819 has been marked as a duplicate of this bug. ***
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-04-02 20:00:55 UTC
Reassigning to myself so I know to do it tonight.
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-04-05 14:38:01 UTC
Fixed but forgot to close.