Bug 874228

Summary: libGL.so and libxcb-dri3.so lacking xcb_send_fd and other symbols
Product: [openSUSE] openSUSE Tumbleweed Reporter: Grósz Dániel <groszdanireg>
Component: X.OrgAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED INVALID QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Normal    
Priority: P3 - Medium CC: groszdanireg
Version: 13.2 Milestone 0   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 13.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Grósz Dániel 2014-04-18 00:12:26 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.21 (KHTML, like Gecko) konqueror/4.11.5 Safari/537.21

I use openSUSE 13.1 and updated the MESA libraries from the X11:XOrg build service repository. The symbol xcb_send_fd is missing from libxcb-dri3.so and a few other symbols are missing too.

When kde starts, ksmserver prints the following error message:
Could not open library ksmserver: Cannot load library /usr/lib64/libkdeinit4_ksmserver.so: (/usr/lib64/libxcb-dri3.so.0: undefined symbol: xcb_send_fd)
As a result, kcminit_startup and kded crash, which causes problems in KDE. This is fixed by removing the LD_BIND_NOW=true line from /usr/bin/startkde .

Also, linking a Qt5 application fails with the following errors:
/usr/lib64/libGL.so.1: undefined reference to `xcb_poll_for_special_event'
/usr/lib64/libGL.so.1: undefined reference to `xcb_wait_for_special_event'
/usr/lib64/libxcb-dri3.so.0: undefined reference to `xcb_get_reply_fds'
/usr/lib64/libGL.so.1: undefined reference to `xcb_unregister_for_special_event'
/usr/lib64/libGL.so.1: undefined reference to `xcb_register_for_special_xge'
/usr/lib64/libxcb-dri3.so.0: undefined reference to `xcb_send_fd'


Reproducible: Always

Steps to Reproduce:
1.
2.
3.



This Ubuntu bug seems to have been similar: https://bugs.launchpad.net/ubuntu/+source/libxcb/+bug/1265642
Comment 1 Grósz Dániel 2014-04-18 00:15:55 UTC
Version numbers:
Mesa-libGL-devel-10.1.0-353.2.x86_64
libxcb-devel-1.10-37.1.x86_64

Btw, how to properly report "Found in Version" and "OS" for bugs found in OBS repos of openSUSE projects?
Comment 2 Egbert Eich 2015-11-17 19:11:52 UTC
If you only update Mesa from X11:XOrg this may happen very likely. Why didn't you update at least libxcb-dri3 (and possibly other xcb libraries) as well?
The packages in one repo are usually build against each other (definitely in the case of X11:XOrg), not the system they are build for (check the Use for Build Flag). Only packages not contained in the repo are built against the product.

You need should either downgrade to the base system or upgrade all of X11:XOrg.