Gentoo, Problema al compilar qt3.3.6-r2

haber, que me estoy volviendo un poco majara, estaba intentando actualizar la gentoo de un colega via emerge --update --deep world y cuando llega a qt3.3.6 siempre falla al compilar pero no da error ni nada y via google no doy visto algo parecido por lo que giarme. Decir que he probado a poner en masked la -r2 para que así emergiera la r1 pero falla igual.
Aquí os dejor el último trozo del emerge antes de fallar:
make Makefile
make[4]: Entering directory `/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/tools/designer/uic'
make[4]: `Makefile' is up to date.
make[4]: Leaving directory `/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/tools/designer/uic'
make[3]: Leaving directory `/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/tools/designer/uic'
make[3]: Entering directory `/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/tools/designer/uic'
x86_64-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=k8 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/main.o main.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=k8 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/uic.o uic.cpp
../../../include/private/qwidgetinterface_p.h:74: warning: 'struct QWidgetFactoryInterface' has virtual functions but non-virtual destructor
x86_64-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=k8 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/form.o form.cpp
../../../include/private/qwidgetinterface_p.h:74: warning: 'struct QWidgetFactoryInterface' has virtual functions but non-virtual destructor
x86_64-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=k8 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/object.o object.cpp
../../../include/private/qwidgetinterface_p.h:74: warning: 'struct QWidgetFactoryInterface' has virtual functions but non-virtual destructor
x86_64-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=k8 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/subclassing.o subclassing.cpp
../../../include/private/qwidgetinterface_p.h:74: warning: 'struct QWidgetFactoryInterface' has virtual functions but non-virtual destructor
x86_64-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=k8 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/embed.o embed.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=k8 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/widgetdatabase.o ../shared/widgetdatabase.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=k8 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/domtool.o ../shared/domtool.cpp
../../../include/private/qwidgetinterface_p.h:74: warning: 'struct QWidgetFactoryInterface' has virtual functions but non-virtual destructor
x86_64-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=k8 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/parser.o ../shared/parser.cpp
test -d ../../../bin/ || mkdir -p ../../../bin/
x86_64-pc-linux-gnu-g++ -fno-exceptions -o ../../../bin/uic .obj/release-shared-mt/main.o .obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o .obj/release-shared-mt/widgetdatabase.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o -L/usr/lib64 -L/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/lib -L/usr/X11R6/lib64 -lqt-mt -lmng -ljpeg -lpng -lz -lXi -lXrender -lXrandr -lXcursor -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libexpat.so.0, needed by /usr/lib64/libfontconfig.so, not found (try using -rpath or -rpath-link)
/usr/lib64/libfontconfig.so: undefined reference to `XML_SetElementHandler'
/usr/lib64/libfontconfig.so: undefined reference to `XML_SetDoctypeDeclHandler'
/usr/lib64/libfontconfig.so: undefined reference to `XML_ParserFree'
/usr/lib64/libfontconfig.so: undefined reference to `XML_SetCharacterDataHandler'
/usr/lib64/libfontconfig.so: undefined reference to `XML_ErrorString'
/usr/lib64/libfontconfig.so: undefined reference to `XML_ParseBuffer'
/usr/lib64/libfontconfig.so: undefined reference to `XML_ParserCreate'
/usr/lib64/libfontconfig.so: undefined reference to `XML_SetUserData'
/usr/lib64/libfontconfig.so: undefined reference to `XML_GetErrorCode'
/usr/lib64/libfontconfig.so: undefined reference to `XML_GetBuffer'
/usr/lib64/libfontconfig.so: undefined reference to `XML_GetCurrentLineNumber'
collect2: ld returned 1 exit status
make[3]: *** [../../../bin/uic] Error 1
make[3]: Leaving directory `/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/tools/designer/uic'
make[2]: *** [sub-uic] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/tools'
make: *** [sub-tools] Error 2

!!! ERROR: x11-libs/qt-3.3.6-r2 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
qt-3.3.6-r2.ebuild, line 205: Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.





Aparte os dejor el emerge --info por si os puede venir bien:
Portage 2.1.2_pre2-r7 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo x86_64)
=================================================================
System uname: 2.6.18-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Mon, 09 Oct 2006 11:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo "
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X alsa berkdb bitmap-fonts cdr cli crypt cups dlloader dri dvd eds elibc_glibc emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux linguas_es lzw lzw-tiff mozilla mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb userland_GNU video_cards_radeon xorg xpm xv zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
No tengo mucha idea todavía de errores de compilación, pero te lo diré de todas maneras para ver si acierto :p

Te pone "warning: libexpat.so.0, needed by /usr/lib64/libfontconfig.so, not found (try using -rpath or -rpath-link)" y luego "/usr/lib64/libfontconfig.so: undefined reference to `XML_SetElementHandler`...", por lo que supongo que o te falta algun paquete que proporcione esa libreria o tienes algún error de versiones, mala compilación...

Prueba con "revdep-rebuild" por consola a ver si te recompila lo necesario (y luego intentar instalar qt) o buscando qué paquete proporciona "libexpat.so".

Un saludo
Pos ahora que lo comentas puede ser, acabo de emeger el paquete con la librería y estoy haciendo el revdep-rebuild para la librería(usease revdep-rebuild --package-name libexpat.so.0 o algo así que ahora no puedo ver justo como se llamaba)
Ya comentaré si así funciona y gracias por darte cuenta que a mi se me pasaba
Quita el --deep del comando, no sirve para nada y solo da problemas.

--deep (-D short option)
When used in conjunction with --update, this flag forces emerge
to consider the entire dependency tree of packages, instead of
checking only the immediate dependencies of the packages. As an
example, this catches updates in libraries that are not directly
listed in the dependencies of a package.
Riot escribió:Quita el --deep del comando, no sirve para nada y solo da problemas.


Yo siempro uso el --deep y el unico problema que me ha dado es que a veces me ha roto alguna cosilla, pero nada que no se arregle con un revdep-rebuild ^^


salu2
4 respuestas