Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364983 - recent xcb changes breaks startup-notification-0.10
Summary: recent xcb changes breaks startup-notification-0.10
Status: RESOLVED DUPLICATE of bug 364931
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:
Depends on:
Blocks:
 
Reported: 2011-04-26 19:52 UTC by Thomas Capricelli
Modified: 2011-04-26 19:56 UTC (History)
0 users

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 Thomas Capricelli 2011-04-26 19:52:34 UTC
this package uses a function 'xcb_atom_get', that does not exist anymore. As a result
1) there's a warning during compilation of startup-notification:sn-xutils.c: In function ‘sn_internal_atom_get’:
sn-xutils.c:44:7: warning: implicit declaration of function ‘xcb_atom_get’

2) the resulting lib has an undefined symbol:
% nm -D /usr/lib64/libstartup-notification-1.so.0.0.0 | grep xcb_atom_get
                 U xcb_atom_get
(no other lib provides it, i've checked using grep /usr/lib64/lib*.so*

3) compilation of stuff using startup-notification breaks. Example with net-libs/xulrunner-2.0-r1:
x86_64-pc-linux-gnu-g++ -o plugin-container -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -march=native -pipe -Wno-return-type -w -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -finline-limit=50  MozillaRuntimeMain.o   -lpthread -Wl,-O1 -Wl,--as-needed  -Wl,-rpath-link,/var/tmp/portage/net-libs/xulrunner-2.0-r1/work/mozilla-2.0/dist/bin -Wl,-rpath-link,/usr/lib  -L../../dist/bin -L../../dist/lib -L/var/tmp/portage/net-libs/xulrunner-2.0-r1/work/mozilla-2.0/dist/bin -lxpcom -lmozalloc -lxul  -Wl,-R/usr/lib64 -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl  -Wl,--whole-archive -ljemalloc -Wl,--no-whole-archive -rdynamic -Wl,--version-script -Wl,../../build/unix/gnu-ld-scripts/jemalloc-standalone-linkage-version-script -ldl
/usr/lib/libstartup-notification-1.so.0: undefined reference to `xcb_atom_get'
collect2: ld returned 1 exit status

This seems pretty important to me, that's why i use the 'major' severity. It braeks most of x11 stuff..


Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-04-26 19:56:22 UTC

*** This bug has been marked as a duplicate of bug 364931 ***