Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292250 - xfce-base/libxfcegui4-4.6.1-r1 emerge fails after libxcb-1.4 update
Summary: xfce-base/libxfcegui4-4.6.1-r1 emerge fails after libxcb-1.4 update
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-07 12:24 UTC by daid kahl
Modified: 2009-11-07 21:48 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 daid kahl 2009-11-07 12:24:16 UTC
After updating to libxcb-1.4 and following the instructions on Gentoo's libxcb-1.4 Upgrade guide, revdep-rebuild and xcb-rebuilder.sh are unable to properly resolve the dependencies of libxfcegui4, and the attempted emerge of libxfcegui4 fails yielding:

make[3]: Entering directory `/var/tmp/portage/xfce-base/libxfcegui4-4.6.1-r1/work/libxfcegui4-4.6.1/glade'
/bin/sh ../libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS   -I.. -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -O2 -march=core2 -pipe -c -o libxfce4_la-libglade-xfce4.lo `test -f 'libglade-xfce4.c' || echo './'`libglade-xfce4.c
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -I.. -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -O2 -march=core2 -pipe -c libglade-xfce4.c  -fPIC -DPIC -o .libs/libxfce4_la-libglade-xfce4.o
/bin/sh ../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc -I.. -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -O2 -march=core2 -pipe -export-dynamic -avoid-version -module  -Wl,-O1 -Wl,-O1 -o libxfce4.la -rpath /usr/lib/libglade/2.0 libxfce4_la-libglade-xfce4.lo -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   ../libxfcegui4/libxfcegui4.la  
/bin/grep: /usr/lib/libxcb-xlib.la: No such file or directory
/bin/sed: can't read /usr/lib/libxcb-xlib.la: No such file or directory
libtool: link: `/usr/lib/libxcb-xlib.la' is not a valid libtool archive
make[3]: *** [libxfce4.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/xfce-base/libxfcegui4-4.6.1-r1/work/libxfcegui4-4.6.1/glade'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xfce-base/libxfcegui4-4.6.1-r1/work/libxfcegui4-4.6.1/glade'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xfce-base/libxfcegui4-4.6.1-r1/work/libxfcegui4-4.6.1'
make: *** [all] Error 2
 * 
 * ERROR: xfce-base/libxfcegui4-4.6.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3031:  Called xfconf_src_compile
 *             environment, line 3564:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/xfce-base:libxfcegui4-4.6.1-r1:20091107-120418.log'.
 * The ebuild environment file is located at '/var/tmp/portage/xfce-base/libxfcegui4-4.6.1-r1/temp/environment'.
 * 

The failure is clearly related to the libxcb updates.  Noting that it fails after entering the directory /var/tmp/portage/xfce-base/libxfcegui4-4.6.1-r1/work/libxfcegui4-4.6.1/glade I re-emerge gnome-base/libglade and then libxfcegui4 compiles with no errors.

Please note that in xcb-rebuilder.sh and revdep-rebuild, libglade is not identified as needing updating!

Reproducible: Always

Steps to Reproduce:
1. emerge libxfcegui4 with <libxcb-1.4
2. update to libxcb-1.4-r1
3. attempt to update system via revdep-rebuild or xcb-rebuilder.sh, and emerge will fail at libxfcegui4

Actual Results:  
xcb-rebuilder.sh and/or revdep-rebuild fail to update the system after libxcb-1.4 update, with emerge failing at libxfcegui4

Expected Results:  
xcb-rebuilder identifies libglade as requiring a rebuild and revdep-rebuild pulls in this dependency of libxfcegui4 and updates it first.

The problem is resolved on my system, but xcb-rebuilder.sh & revdep-rebuild need modification so that after libxcb-1.4 update they can correctly identify all libraries that require updating (and also in the proper order).
Comment 1 daid kahl 2009-11-07 14:31:28 UTC
Similar problem encountered for xfce-base/xfce4-panel which required xfce-base/exo that is not identified by revdep-rebuild or xcb-rebuilder.sh.

Trouble shooting was more difficult (but can post original error if needed, but similar to above).

One note: I did not install via xfce4-meta as I dislike monolithic builds and instead merged the individual packages of interest.  I doubt this makes a difference for portage dependency resolution, but I am not an expert.

Advise if separate bug should be opened.  
Comment 2 Rafał Mużyło 2009-11-07 15:43:12 UTC
Well, meta shouldn't matter.
Most probably one of xfce packages has its
dependencies wrong and that messes up portage order calculation.

Figuring out which one may be quite painful.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-11-07 21:48:27 UTC
(In reply to comment #2)
> Well, meta shouldn't matter.
> Most probably one of xfce packages has its
> dependencies wrong and that messes up portage order calculation.
> 
> Figuring out which one may be quite painful.
> 

No..

The system still has a reference to libxcb-xlib.la while it shouldn't. There's nothing to fix, except this particular system.

Try lafilefixer...