A dysfunctional Xorg-x11 was replaced with a binary quickpackage but portage-database did not accept it, so it was forced; the system has run well for 8 months. Now I updated gcc, glibc, and built xorg-x11-6.8.2-r4 xorg-x11 was successfully built and installed in the build-subdir. removed directory: `//usr/X11R6/include' * Symlinking //usr/X11R6/include -> ../include * Migrating from /usr/X11R6/lib to /usr/lib... * /usr/X11R6/lib isn't a symlink, migrating... !!! ERROR: x11-base/xorg-x11-6.8.2-r4 failed. There are no comments or "description" of such major builds, no docs telling the user to hide/remove old non-Gentoo-dir and wait for the new xorg-x11 to install. There is a gentoo-wiki with half coherent advice: Keep the old config in order to get x11 running; that is sound advice too, however, earlier I couldn't upgrade from xorg-x11-6.7.0-r1 to 6.8.0 - the server wouldn't run at all on a SiS330-Xabre; An Ebuild-comment preferably man xorg-x11-ebuild would have helped a lot, something like: Where can I put my version of "emerge how2" :-)) ? Regards/Donald Axel Reproducible: Didn't try Steps to Reproduce: 1. install Gentoo 2004.2 2. upgrade Gentoo-2005.1 3. emerge xorg-x11-6.8.2-* Actual Results: emerge failed to install. I then did: cd / tar -xjf /usr/portage/packages/All/xorg-x11-6.7.0-r1.tbz2 Expected Results: Like this: "System error: You use a dir structure which Portage's ebuild cannot handle.\ Please remove or hide /usr/X11R6 and run "ebuild xorg-x11 qmerge" pluto:/ #emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.4.312tun i686) ================================================================= System uname: 2.4.312tun i686 AMD Duron(tm) Gentoo Base System version 1.4.16 dev-lang/python: 2.3.3-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4 sys-devel/binutils: 2.14.90.0.8-r1 sys-devel/libtool: 1.4.3-r4 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo" LC_ALL="" LINGUAS="en" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.skumleren.net/gentoo-portage" USE="x86 3dnow 3dnowex X Xaw3d alsa apm avi berkdb bitmap-fonts bonobo cdr crypt cups curl doc eds emboss encode esd fam flac font-server fontconfig foomaticdb fortran freetype gd gdbm gif gphoto2 gpm gstreamer gtk2 gtkhtml guile imagemagick imlib ipv6 jpeg kde ldap libg++ libgda libwww mad mikmod mmx mmx2 mmxext mng motif mozplaintext mp3 mpeg mplayer ncurses network nls odbc ogg oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline real rtc samba sdl slang snmp spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts v4l v4l2 vorbis xine xinerama xml xml2 xmms xv xvid xvmc zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS pluto:/ #
Check for log files named migrate-* in /var/tmp/portage/xorg-x11-6.8.2-r4/temp/. They will help inform why the merge failed. I've added a more informative message to the ebuilds on how to figure out what went wrong.
Thank you very much for hint and help! migrate--usr-X11R6-lib.log says: rsync failed with code 23. 23 Partial transfer due to error So X11R6-bin and X11R6-include went well, both of them, but lib failed: [...]X11/config/ delete_file: rmdir "/usr/lib/X11/doc" failed: Directory not empty symlink "/usr/lib/X11/doc" -> "//usr/share/doc/xorg-x11-6.7.0-r1" failed: File exists X11/etc/ This was a minor inconvenience but I hope it helps to know that there are some users out here who tweak and twist the possibilities and sometimes fall into a trap :-) ================================================================= Number of files: 1086 Number of files transferred: 441 Total file size: 45030968 bytes Total transferred file size: 8511613 bytes Literal data: 8511613 bytes Matched data: 0 bytes File list size: 25545 Total bytes written: 8557310 Total bytes read: 8840 wrote 8557310 bytes read 8840 bytes 1903588.89 bytes/sec total size is 45030968 speedup is 5.26 rsync error: some files could not be transferred (code 23) at main.c(632) ================================================================= After becoming more familiar with Gentoo I almost always see some way to get up and running **again**. I enjoy the performance of my Gentoo workstation! Thank you once more and regards Donald Axel http://www.d-axel.dk/pub/cmat/index.html