Bug 218208

Summary: devel/libpthread-stubs Upgrading causes problems with libxcb
Product: Ports & Packages Reporter: drhowarddrfine
Component: Individual Port(s)Assignee: Ashish SHUKLA <ashish>
Status: Closed FIXED    
Severity: Affects Only Me CC: david, jrm, lampa, pi, shoesoft
Priority: --- Flags: bugzilla: maintainer-feedback? (ashish)
Version: Latest   
Hardware: amd64   
OS: Any   

Description drhowarddrfine 2017-03-29 11:44:06 UTC
Shared object "libpthread-stubs.so.0" not found, required by "libxcb.so.1" when I tried to run Chromium or vim after upgrading with portmaster. Tried reinstalling libxcb but receive complaints about wanting to install devel/check installing files into same location. 

I would proceed with reinstalling devel/check but don't know how far down the rabbit hole that goes.
Comment 1 lampa 2017-03-29 13:04:47 UTC
The same with vim:

vim
Shared object "libpthread-stubs.so.0" not found, required by "libEGL.so.1"

after reinstall of libEGL, another one:

vim
Shared object "libpthread-stubs.so.0" not found, required by "libgbm.so.1"

pkg info -r libpthread-stubs
        libglapi-13.0.5
        libdrm-2.4.75_2,1
        libxcb-1.12

There is nothing in UPDATING about this.
Comment 2 Joseph Mingrone freebsd_committer freebsd_triage 2017-03-29 13:18:57 UTC
The PORTREVISION should have been bumped for some ports that had dependency changes in r437182.  Can you confirm that r437199 (https://svnweb.freebsd.org/ports?view=revision&revision=437199) fixes these issues?
Comment 3 Joseph Mingrone freebsd_committer freebsd_triage 2017-03-29 13:20:35 UTC
(In reply to drhowarddrfine from comment #0)

Bump.  Last message did not make it out to drhowarddrfine.
Comment 4 lampa 2017-03-29 13:44:45 UTC
gbm/libEGL looks ok now, but libxcb not:
Shared object "libpthread-stubs.so.0" not found, required by "libxcb.so.1"
Comment 5 lampa 2017-03-29 14:10:01 UTC
To be clear, libxcb should also have version bump, but it's not in r437199
Comment 6 david 2017-03-29 14:20:27 UTC
I also encountered this; my circumvention (as I use portmaster on the machine in question) was:

portmaster `pkg shlib -R libpthread-stubs.so.0 | tail +2`

Part-way through that, xdm came up.  (I was doing the above within a tmux invocation.)
Comment 7 drhowarddrfine 2017-03-29 14:26:23 UTC
Same as @lampa
Comment 8 lampa 2017-03-29 14:44:43 UTC
r437202 is ok, libxcb got upgraded, can be closed.
Comment 9 Joseph Mingrone freebsd_committer freebsd_triage 2017-03-29 14:55:02 UTC
(In reply to drhowarddrfine from comment #0)
x11/libxcb was updated and got a PORTREVISION bump in r437202.
Comment 10 Joseph Mingrone freebsd_committer freebsd_triage 2017-03-29 14:55:53 UTC
Mid-air collision.  I'll let drhowarddrfine close when he's satisfied.
Comment 11 drhowarddrfine 2017-03-29 15:03:54 UTC
Thank you!
Comment 12 Stefan Ehmann 2017-03-29 16:12:19 UTC
Now x11/libX11 fails for me in poudriere with up-to-date ports:

checking for X11... no
configure: error: Package requirements (xproto >= 7.0.17 xextproto xtrans xcb >= 1.11.1 kbproto inputproto) were not met:

Package pthread-stubs was not found in the pkg-config search path.
Perhaps you should add the directory containing `pthread-stubs.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pthread-stubs', required by 'xcb', not found

Looks like pthread-stubs dependency was previously pulled in by x11/libxcb.
Comment 13 Stefan Ehmann 2017-03-29 21:04:16 UTC
x11/libX11 builds again with x11/libxcb 1.12_2