Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364965 - media-sound/pulseaudio-0.9.22 failed with x11-libs/xcb-util-0.3.8
Summary: media-sound/pulseaudio-0.9.22 failed with x11-libs/xcb-util-0.3.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arun Raghavan (RETIRED)
URL:
Whiteboard:
Keywords:
: 364963 365011 365021 365035 365095 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-26 17:31 UTC by tman
Modified: 2011-05-13 01:18 UTC (History)
13 users (show)

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


Attachments
/var/log/portage/media-sound:pulseaudio-0.9.22:20110426-172944.log (media-sound:pulseaudio-0.9.22:20110426-172944.log,28.97 KB, text/x-log)
2011-04-26 17:32 UTC, tman
Details
patch from Maciej Grela (http://pulseaudio.org/ticket/927) (pulseaudio-0.9.22-fix-build-on-git-xcb-util.patch,2.96 KB, patch)
2011-04-26 23:40 UTC, Chris Coleman
Details | Diff
Working ebuild, with patch added (pulseaudio-0.9.22-r1.ebuild,6.55 KB, text/plain)
2011-04-27 00:37 UTC, Scott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2011-04-26 17:31:55 UTC
media-sound/pulseaudio-0.9.22 failed with x11-libs/xcb-util-0.3.8, and all application which depends on pulse audio failes too because of this.

Reproducible: Always

Steps to Reproduce:
1. emerge --synce
2. emerge -uDN world




Portage 2.2.0_alpha30_p2 (default/linux/amd64/10.0/desktop, gcc-4.5.2, libc-0-r0, 2.6.38-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.2
Timestamp of tree: Tue, 26 Apr 2011 16:30:01 +0000
app-shells/bash:     4.2_p8
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1, 3.2
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
virtual/os-headers:  0
Repositories: gentoo emacs lorelei-overlay lxde mellon java-overlay nikai qting-edge roslin scarabeus_local_overlay Techwolf mgorny bleeding-edge science amielke-overlay hwoarang poly-c gnome wirelay mpd x-local-overlay
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/boot/grub/40_custom /etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/X11/xorg.conf /etc/apache2/httpd.conf /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/fstab /etc/grub.d/05_theme /etc/make.conf /etc/xdg/openbox/autostart.sh /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/start /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /usr/share/xsessions/openbox.desktop /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en vi"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/portage/local/layman/emacs /usr/portage/local/layman/lorelei /usr/portage/local/layman/lxde /usr/portage/local/layman/mellon /usr/portage/local/layman/java-overlay /usr/portage/local/layman/nikai /usr/portage/local/layman/qting-edge /usr/portage/local/layman/roslin /usr/portage/local/layman/scarabeus /usr/portage/local/layman/techwolf /usr/portage/local/layman/mgorny /usr/portage/local/layman/bleeding-edge /usr/portage/local/layman/science /usr/portage/local/layman/amielke-overlay /usr/portage/local/layman/hwoarang /usr/portage/local/layman/poly-c /usr/portage/local/layman/gnome /usr/portage/local/layman/wirelay /usr/portage/local/layman/mpd /usr/portage/local/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="*+ X a52 aac aalib accessibility acl acpi adns afs aim alsa amd64 ao apache2 ass atm audio audiofile bash-completion beagle berkdb bidi bluetooth branding bzip2 cairo caps cdda cdio cdparanoia cdr cgi cjk clamdtop cli clisp consolekit cracklib crypt cscope css csv cups curl curlwrappers cvs cxx dbus dc1394 dga dhcp dhcpcd dia dirac directfb dmx dri dts dv dvd dvdr dvi emacs emboss enca encode enscript exceptions exif expat extras faac faad fam fastcgi fbcon ffmpeg firefox flac flash fortran ftp fuse gcj gd gdbm gdu geoip ggi gif gimp git glib gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk3 gzip hash hddtemp highlight httpd iconv icq icu idn ieee1394 imagemagick imap imlib introspection ipv6 ithreads jabber jack java java6 javascript jingle joystick jpeg jpeg2k kde kerberos lame lapack latex lcms ldap libcaca libnotify libwww live logrotate lua lzo mad maildir matroska mbrola md5sum memlimit mercurial mhash midi mikmod milter mime mjpeg mmap mmx mmxext mng modules mono motif mp3 mp4 mpeg mplayer msn mudflap mule multilib musepack mysql nas nautilus ncurses netboot network networkmanager nfs nls nptl nptlonly nsplugin nvidia ogg ogg123 openal openexr opengl openmp oss pam pango pcap pcmcia pcre pdf perl php pic pidgin png policykit posix postgres ppds pppd ps pulseaudio python qt3support qt4 quicktime radio rar raw rdesktop readline reflection rss rtc rtsp ruby samba sasl savedconfig schroedinger sdl sdl-image session sip slang slp smp soap sockets sox spamassassin speex spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification stream stun subversion svg swat sysfs syslog sysvipc tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype udev unicode urandom usb userlocales v4l2 vcd vhosts video vim-syntax vlm vnc vorbis wav wavpack webkit wifi wma wmf wxwidgets x264 xattr xcb xcomposite xft xinerama xinetd xml xmlrpc xorg xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo zip zlib zsh-completion" ALSA_CARDS="hda_intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation php5 proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en vi" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev vga nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORT
Comment 1 tman 2011-04-26 17:32:09 UTC
Created attachment 271253 [details]
/var/log/portage/media-sound:pulseaudio-0.9.22:20110426-172944.log
Comment 2 Federico Cuello 2011-04-26 17:46:42 UTC
Same here:

See pulseaudio ticket #927: http://pulseaudio.org/ticket/927
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-04-26 17:52:11 UTC
*** Bug 364963 has been marked as a duplicate of this bug. ***
Comment 4 tman 2011-04-26 17:56:06 UTC
great, 4 weeks ago posted and still not in tree
Comment 5 iGentoo 2011-04-26 18:13:24 UTC
*** This bug has been confirmed by popular vote. ***
Comment 6 Chris Coleman 2011-04-26 23:04:24 UTC
I believe this is happening because the xcb_atom_get() function has been removed from xcb-util. This also affected startup-notification (bug #364931). Pulseaudio uses xcb_atom_get() in src/pulsecore/x11prop.c.

Apparently xcb_atom_get() is just a synchronous version of the asynchronous xcb_intern_atom().

But I have no clue how to patch this. I've never used these APIs.
Comment 7 Chris Coleman 2011-04-26 23:40:07 UTC
Created attachment 271277 [details, diff]
patch from Maciej Grela (http://pulseaudio.org/ticket/927)

I failed to notice the patch attached to the upstream ticket. I'm attaching it here. Upstream seems to be in no hurry to fix this, so perhaps, until they fix it, the patch wouldn't be out of place in the ebuild? It works, for me anyway.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2011-04-27 00:30:01 UTC
*** Bug 365011 has been marked as a duplicate of this bug. ***
Comment 9 Scott 2011-04-27 00:37:33 UTC
Created attachment 271283 [details]
Working ebuild, with patch added

This ebuild works for me (patch is named pulseaudio-0.9.22-fix-build-with-xcb.patch)
Comment 10 Craig Andrews gentoo-dev 2011-04-27 02:00:25 UTC
Confirmed that the patch applies and fixes the issue. (I'm on ~amd64)
Comment 11 Paul Tomkiel 2011-04-27 05:32:17 UTC
Also confirming. Pulseaudio builds well with this patch. (x86)
Comment 12 Christoph Mende (RETIRED) gentoo-dev 2011-04-27 07:17:47 UTC
Fixed in CVS, thanks
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2011-04-27 07:19:24 UTC
*** Bug 365021 has been marked as a duplicate of this bug. ***
Comment 14 Christoph Mende (RETIRED) gentoo-dev 2011-04-27 10:54:16 UTC
*** Bug 365035 has been marked as a duplicate of this bug. ***
Comment 15 Rafał Mużyło 2011-04-27 14:23:44 UTC
*** Bug 365055 has been marked as a duplicate of this bug. ***
Comment 16 Samuli Suominen (RETIRED) gentoo-dev 2011-04-27 16:13:21 UTC
*** Bug 365095 has been marked as a duplicate of this bug. ***
Comment 17 Myckel Habets 2011-04-27 17:43:41 UTC
x86 doesn't belong here. Bye.