LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   failed to emerge enlightenment-1.0.4 (https://www.linuxquestions.org/questions/gentoo-87/failed-to-emerge-enlightenment-1-0-4-a-835891/)

guthan 10-03-2010 04:15 AM

failed to emerge enlightenment-1.0.4
 
Hi. I'm trying to install enlightenment, first I tried emerge --pretend enlightenment and I didn't get any error message, but It couldn't be emerged, the cause apparently is a missing library; everything seems to be OK, until this message:

libtool: link: cannot find the library `/usr/lib/libxcb-xlib.la' or unhandled argument `/usr/lib/libxcb-xlib.la'
make[3]: *** [edox] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed
* ERROR: x11-wm/enlightenment-1.0.4 failed:
* emake failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 5041: Called _eapi2_src_compile
* ebuild.sh, line 660: Called die
* The specific snippet of code:
* emake || die "emake failed"
*
* If you need support, post the output of 'emerge --info =x11-wm/enlightenment-1.0.4',
* the complete build log and the output of 'emerge -pqv =x11-wm/enlightenment-1.0.4'.
* The complete build log is located at '/var/lib/entropy/logs/x11-wm:enlightenment-1.0.4:20101003-081914.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-wm/enlightenment-1.0.4/temp/environment'.
* S: '/var/tmp/portage/x11-wm/enlightenment-1.0.4/work/e16-1.0.4'

>>> Failed to emerge x11-wm/enlightenment-1.0.4, Log file:

>>> '/var/lib/entropy/logs/x11-wm:enlightenment-1.0.4:20101003-081914.log'

* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

-----------------------------------------------------------------------
I have the same problem to install another applications like compiz, emerald. What can I do?

quanta 10-03-2010 05:53 AM

Have a look at libxcb 1.4 upgrade guide.

guthan 10-03-2010 08:49 PM

I follow the "libxcb 1.4 upgrade guide", when I tried to fix broken shared libraries using the following command:

emerge --oneshot \
$(for i in x11-proto/ x11-libs/libxcb x11-libs/libX11 x11-libs/libXext \
x11-libs/libX x11-libs/xcb-util x11-libs/cairo \
x11-libs/pango x11-libs/gtk\\+ \
x11-libs/qt-gui; do \
qlist -IC $i; \
done) -av

--------------------------------------------------------------------------------------------
I get:

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "x11-libs/libXprintAppUtil".

--------------------------------------------------------------------------------------------
What can I do?

i92guboj 10-04-2010 03:55 AM

In this case I'd just use lafilefixer --justfixit, then revdep-rebuild, and see if that solves anything.

guthan 10-07-2010 12:39 AM

I tried:
lafilefixer --justfixit
revdep-rebuild

Everything seems to be OK until this message:
checking for GTK+ - version >= 2.12.5... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file
config.log for the
*** exact error that occured. This usually means GTK+ is
incorrectly installed.
configure: error: Test for GTK+ failed. See the file
'INSTALL' for help.

!!! Please attach the following file when seeking support:
!!!
/var/tmp/portage/media-gfx/gimp-2.6.10/work/gimp-2.6.10/config.log
* ERROR: media-gfx/gimp-2.6.10 failed:
* econf failed
*
* Call stack:
* ebuild.sh, line 56: Called src_configure
* environment, line 10590: Called
* gnome2_src_configure
* environment, line 8389: Called econf
* '--enable-default-binary' '--with-x' '--with-aa'
* '--with-alsa' '--disable-altivec'
* '--without-libcurl' '--with-dbus' '--with-hal'
* '--without-gvfs' '--without-gnomevfs'
* '--without-webkit' '--with-libjpeg'
* '--with-libexif' '--with-lcms' '--enable-mmx'
* '--with-libmng' '--with-poppler' '--with-libpng'
* '--enable-python' '--disable-mp' '--disable-sse'
* '--with-librsvg' '--with-libtiff' '--with-wmf'
* '--disable-gtk-doc'
* ebuild.sh, line 558: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge
* --info =media-gfx/gimp-2.6.10',
* the complete build log and the output of
* 'emerge -pqv =media-gfx/gimp-2.6.10'.
* The complete build log is located at
* '/var/lib/entropy/logs/media-gfx:gimp-2.6.10:20101007-033859.log'.
* The ebuild environment file is located at
* '/var/tmp/portage/media-gfx/gimp-2.6.10/temp/environment'.
* S:
* '/var/tmp/portage/media-gfx/gimp-2.6.10/work/gimp-2.6.10'

>>> Failed to emerge media-gfx/gimp-2.6.10,
>>> Log file:

>>> '/var/lib/entropy/logs/media-gfx:gimp-2.6.10:20101007-033859.log'

* GNU info directory index is up-to-date.

guthan 10-07-2010 01:09 AM

I tried:
emerge gtk+ and get the next error message:
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_unlock_io'
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_lock_io'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-2.0] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed
* ERROR: x11-libs/gtk+-2.20.1-r1 failed:
* emake failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 6715: Called _eapi2_src_compile
* ebuild.sh, line 660: Called die
* The specific snippet of code:
* emake || die "emake failed"
*
* If you need support, post the output of 'emerge --info =x11-libs/gtk+-2.20.1-r1',
* the complete build log and the output of 'emerge -pqv =x11-libs/gtk+-2.20.1-r1'.
* The complete build log is located at '/var/lib/entropy/logs/x11-libs:gtk+-2.20.1-r1:20101007-060149.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/temp/environment'.
* S: '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1'

>>> Failed to emerge x11-libs/gtk+-2.20.1-r1, Log file:

>>> '/var/lib/entropy/logs/x11-libs:gtk+-2.20.1-r1:20101007-060149.log'

i92guboj 10-07-2010 01:42 AM

Try to run now /usr/portage/x11-libs/libxcb/files/xcb-rebuilder.sh

quanta 10-07-2010 02:16 AM

Quote:

Originally Posted by i92guboj (Post 4120185)
Try to run now /usr/portage/x11-libs/libxcb/files/xcb-rebuilder.sh

It is included in the above link.

@guthan: Didn't you read and run?

guthan 10-08-2010 12:25 AM

Yes, I read & run the following commands:
# emerge -1av x11-proto/xcb-proto x11-libs/libxcb
# emerge -1av x11-proto/xproto x11-proto/xextproto x11-libs/libX11 x11-libs/libXext
then I ran:

/usr/portage/x11-libs/libxcb/files/xcb-rebuilder.sh

a list of "broken packages" appears on the screen (enlightenment and other apps I couldn't emerge are in that list)


I tried to "fix" the broken packages by running:

# emerge --oneshot \
$(for i in x11-proto/ x11-libs/libxcb x11-libs/libX11 x11-libs/libXext \
x11-libs/libX x11-libs/xcb-util x11-libs/cairo \
x11-libs/pango x11-libs/gtk\\+ \
x11-libs/qt-gui; do \
qlist -IC $i; \
done) -av

emerge: there are no ebuilds to satisfy "x11-libs/libXprintAppUtil".

then I tried:

# lafilefixer --justfixit
# revdep-rebuild

>>> Emerging (8 of 19) media-gfx/gimp-2.6.10
......
.....
......
This is where everything wrong:
checking for GTK+ - version >= 2.12.5... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file
config.log for the
*** exact error that occured. This usually means GTK+ is
incorrectly installed.
configure: error: Test for GTK+ failed. See the file
'INSTALL' for help.

!!! Please attach the following file when seeking support:
!!!
/var/tmp/portage/media-gfx/gimp-2.6.10/work/gimp-2.6.10/config.log

So, I tried to emerge gtk+ manually

# emerge gtk+
.....
.....
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_unlock_io'
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_lock_io'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-2.0] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed
* ERROR: x11-libs/gtk+-2.20.1-r1 failed:
* emake failed

I'm lost

i92guboj 10-08-2010 03:57 AM

You can always try the brute force method and just rebuild the whole system.

Code:

$ emerge -e system && emerge -e --keep-going world
If something breaks then use:

Code:

$ emerge --resume --skipfirst
Eventually everything should link properly again. This is less than suboptimal, but it should work.

guthan 10-10-2010 12:50 AM

I tried to rebuild the whole system, but the I can't emerge anything related with X11...I've got the same problem with every application: libxcb-xlib


All times are GMT -5. The time now is 08:12 PM.