Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364931 - startup-notification-0.10 fails with xcb-util-0.38
Summary: startup-notification-0.10 fails with xcb-util-0.38
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 364983 365027 365031 365081 365083 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-26 13:36 UTC by Francisco J. Vazquez
Modified: 2011-04-27 14:37 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco J. Vazquez 2011-04-26 13:36:53 UTC
After compilation of startup-notification-0.10:

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * sn-xutils.c:44:7: warning: implicit declaration of function 'xcb_atom_get'

It installs, but several packages depending on it fail to compile with

/usr/lib64/libstartup-notification-1.so: undefined reference to `xcb_atom_get'

A grep of xcb_atom_get in /usr/include/xcb/ shows that it isn't defined in xcb-util-0.38, but it is in xcb-util-0.36. 

Reproducible: Always

Steps to Reproduce:
1. upgrade xcb-util to 0.38
2. emerge startup-notification
3. emerge libgksu (for example)



$ emerge --info
Portage 2.2.0_alpha30 (default/linux/amd64/10.0/desktop, gcc-4.5.2, libc-0-r0, 2.6.39-rc4 x86_64)
=================================================================
System uname: Linux-2.6.39-rc4-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.0.2
Timestamp of tree: Tue, 26 Apr 2011 11: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
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 x11 local-overlay
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=native -O2 -pipe"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="assume-digests binpkg-logs 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="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/local/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/local/portage/tree"
PORTDIR_OVERLAY="/var/lib/layman/x11 /usr/local/portage/overlay"
SYNC="rsync://quadserv/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fbcon firefox flac fortran gdbm gdu gif gnome-keyring gpm gtk iconv imap ipv6 jingle joystick jpeg jpeg2k lcms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit pppd python qt3support readline sdl session spell sse sse2 ssl startup-notification subversion svg symlink sysfs tcpd threads tiff truetype udev unicode usb v4l2 vaapi vorbis x264 xcb xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 cgi cgid 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" CAMERAS="ptp2" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia 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, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 tman 2011-04-26 13:44:26 UTC
i can confirm this problem too.

alot of important packages like pulseaudio failes and let alot of other application also crash too because missing this libxcb-atom.so.
Comment 2 Tolga Dalman 2011-04-26 14:36:18 UTC
Dito - see bug 364929.
Comment 3 Chris Coleman 2011-04-26 15:06:42 UTC
The xcb_atom_get() function has been removed from xcb-util.

$ grep xcb_atom_get xcb-util-0.3.8/NEWS
- Remove synchronous xcb_atom_get().
- Remove useless xcb_atom_get_fast*() and xcb_atom_get_name().

So I guess xcb_intern_atom() will just have to be called directly. I'll write a patch.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2011-04-26 15:13:24 UTC
Fixed by startup-notification-0.10_p20110426
Comment 5 Tolga Dalman 2011-04-26 15:29:07 UTC
(In reply to comment #4)
> Fixed by startup-notification-0.10_p20110426

To my understanding, as long as there is no ebuild available in portage, this bug 
is not fixed.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2011-04-26 15:37:52 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Fixed by startup-notification-0.10_p20110426
> 
> To my understanding, as long as there is no ebuild available in portage, this
> bug 
> is not fixed.

You would be correct except there IS ebuild in Portage. :)
Comment 7 Tolga Dalman 2011-04-26 16:09:48 UTC
> > To my understanding, as long as there is no ebuild available in portage, this
> > bug 
> > is not fixed.
> 
> You would be correct except there IS ebuild in Portage. :)

Great! Thank you very much!
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2011-04-26 19:56:22 UTC
*** Bug 364983 has been marked as a duplicate of this bug. ***
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2011-04-27 07:20:55 UTC
*** Bug 365027 has been marked as a duplicate of this bug. ***
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2011-04-27 07:23:17 UTC
*** Bug 365031 has been marked as a duplicate of this bug. ***
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2011-04-27 13:28:50 UTC
*** Bug 365083 has been marked as a duplicate of this bug. ***
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2011-04-27 14:37:54 UTC
*** Bug 365081 has been marked as a duplicate of this bug. ***