Fallout from UPDATING entry 20140416: gtk3 vs. libxcb

David Wolfskill david at catwhisker.org
Thu Apr 17 19:03:50 UTC 2014


This is running on stable/9:

g1-252(9.2-S)[5] uname -vp
FreeBSD 9.2-STABLE #716  r264579M/264585:902511: Thu Apr 17 04:51:07 PDT 2014     root at g1-252.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386

I am using a poorts tree that was last updated:

g1-252(9.2-S)[11] svn info /usr/ports/
Path: /usr/ports
Working Copy Root Path: /usr/ports
URL: file:///svn/freebsd/ports/head
Relative URL: ^/head
Repository Root: file:///svn/freebsd/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 351459
Node Kind: directory
Schedule: normal
Last Changed Author: vanilla
Last Changed Rev: 351459
Last Changed Date: 2014-04-17 02:24:19 -0700 (Thu, 17 Apr 2014)

g1-252(9.2-S)[12] 

I had already switched to include:

WITH_NEW_XORG=  YES

in /etc/make.conf around 11 March 2014.  I update the installed
ports on this system (my laptop) daily (just after updating FreeBSD
itself), using portmaster; I have been using pkng to keep track of
things for a few weeks before I switched to NEW_XORG.

Per the earlier UPDATING entry "20140416", I started a

	portmaster -d -r freetype2 -r libxml2 -r pixman -r freeglut

run.

Among the various ports to be rebuilt was x11-toolkits/gtk30; that failed:

...
  CCLD     libgtk-3.la
libtool: link: warning: `/common/local/lib/libiconv.la' seems to be moved
libtool: link: warning: `/common/local/lib/libiconv.la' seems to be moved
libtool: link: warning: `/common/local/lib/libiconv.la' seems to be moved
libtool: link: warning: `/common/local/lib/libiconv.la' seems to be moved
libtool: link: warning: `/common/local/lib/libiconv.la' seems to be moved
  CCLD     gtk-launch
  CCLD     gtk-query-immodules-3.0
/usr/bin/ld: warning: libxcb.so.2, needed by /usr/local/lib/libatk-bridge-2.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libxcb.so.2, needed by /usr/local/lib/libatk-bridge-2.0.so, not found (try using -rpath or -rpath-link)
  GISCAN Gtk-3.0.gir
gtkentry.c:1965: Warning: Gtk: multiple comment blocks documenting 'GtkEntry:inner-border:' identifier.
/usr/bin/ld: warning: libxcb.so.2, needed by /usr/local/lib/libatk-bridge-2.0.so, not found (try using -rpath or -rpath-link)
Shared object "libxcb.so.2" not found, required by "libatk-bridge-2.0.so.0"
Command '['/common/ports/x11-toolkits/gtk30/work/gtk+-3.8.8/gtk/tmp-introspectC1uTCT/Gtk-3.0', '--introspect-dump=/common/ports/x11-toolkits/gtk30/work/gtk+-3.8.8/gtk/tmp-introspectC1uTCT/functions.txt,/common/ports/x11-toolkits/gtk30/work/gtk+-3.8.8/gtk/tmp-introspectC1uTCT/dump.xml']' returned non-zero exit status 1
gmake[4]: *** [Gtk-3.0.gir] Error 1
gmake[4]: Leaving directory `/common/ports/x11-toolkits/gtk30/work/gtk+-3.8.8/gtk'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/common/ports/x11-toolkits/gtk30/work/gtk+-3.8.8/gtk'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/common/ports/x11-toolkits/gtk30/work/gtk+-3.8.8/gtk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/common/ports/x11-toolkits/gtk30/work/gtk+-3.8.8'
gmake: *** [all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
....


I tried to determine which port should have provided libsxcb.so.2.
Fortunately, I have another system that I don't update until the
weekend; according to it:

albert(9.2-S)[11] pkg which /usr/local/lib/libxcb.so.2
/usr/local/lib/libxcb.so.2 was installed by package libxcb-1.9.3

I then determined the origin for libxcb-1.9.3:

albert(9.2-S)[12] pkg info libxcb-1.9.3
libxcb-1.9.3
Name           : libxcb
Version        : 1.9.3
Installed on   : Sun Feb  9 14:33:50 PST 2014
Origin         : x11/libxcb
Architecture   : freebsd:9:x86:32
...

But I find that on my partially-updated laptop:

g1-252(9.2-S)[10] pkg info x11/libxcb
libxcb-1.10
Name           : libxcb
Version        : 1.10
Installed on   : Thu Apr 17 11:19:05 PDT 2014
Origin         : x11/libxcb
Architecture   : freebsd:9:x86:32
Prefix         : /usr/local
Categories     : x11 python
Licenses       : MIT
Maintainer     : x11 at FreeBSD.org
WWW            : http://xcb.freedesktop.org/
Comment        : The X protocol C-language Binding (XCB) library
Shared Libs required:
        libpthread-stubs.so.0
        libXdmcp.so.6
        libXau.so.6
Shared Libs provided:
        libxcb.so.1.1.0
...

Hmmm...??!?

x11/libxcb had its version incremented, so the shared library name
was decremented?

I think I'm rather badly confused.  And, of course, my X11 environment
is pretty much completely hosed, so trying to find information is
... well, rather more painful than usual.

I've been able to make wee bits of progress by permuting the ssequence
in which the list of ports to update is presented to portmaster --
but I'm not convinced that this is necessarily a good thing.

How may I get myself out of this mess?

Thanks....

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Taliban: Evil cowards with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 964 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140417/2f453363/attachment.sig>


More information about the freebsd-ports mailing list