Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
When I try to emerge xorg-x11-6.8.2 (and also a previous version IIRC), everything seems to compile, but then it tries to migrate some things to new places, and that fails (error below). Reproducible: Always Steps to Reproduce: emerge xorg-x11 Actual Results: Everything compiles, then: ... making executable: /usr/lib64/libxkbui.so.1.0 making executable: /usr/lib64/libxrx.so.6.8 making executable: /usr/lib64/libxrxnest.so.6.8 QA Notice: /usr/bin/Xorg is setXid, dynamically linked and using lazy bindings. This combination is generally discouraged. Try: CFLAGS='-Wl,-z,now' emerge xorg-x11 >>> Completed installing xorg-x11-6.8.2 into /var/tmp/portage/xorg-x11-6.8.2/image/ >>> Merging x11-base/xorg-x11-6.8.2 to / * Migrating from /usr/X11R6/bin to /usr/bin... * Migration method is rsync. * /usr/X11R6/bin is a symlink, not migrating * Migrating from /usr/X11R6/include to /usr/include... * Migration method is rsync. * /usr/X11R6/include is a symlink, not migrating * Migrating from /usr/X11R6/lib to /usr/lib... * Migration method is rsync. * /usr/X11R6/lib isn't a symlink, migrating... !!! ERROR: x11-base/xorg-x11-6.8.2 failed. !!! Function check_migrate_return, Line 1512, Exitcode 1 !!! rsync failed. Exit code: 23. !!! If you need support, post the topmost build error, NOT this status message. !!! FAILED preinst: 1 Expected Results: The new version should be installed. root@eggbert bin # emerge -pv xorg-x11 These are the packages that I would merge, in order: Calculating dependencies ...done! INCOMPLETE MERGE: /var/db/pkg/x11-base/-MERGING-xorg-x11-6.8.2 [ebuild U ] x11-base/xorg-x11-6.8.2 [6.8.1.902] (-3dfx) (-3dnow) +bitmap-fonts -cjk -debug -dlloader -dmx -doc +font-server -hardened -insecure-drivers +ipv6 -minimal (-mmx) +nls +opengl +pam -sdk (-sse) -static +truetype-fonts +type1-fonts (-uclibc) +xprint* +xv 0 kB Total size of downloads: 0 kB root@eggbert bin # emerge info Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-ck5 x86_64) ================================================================= System uname: 2.6.10-ck5 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 31 2004, 20:02:52)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r3, 1.5, 1.7.9-r1, 1.4_p6, 1.9.4, 1.6.3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-pipe -O3 -frename-registers -fprefetch-loop-arrays -ftracer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -O3 -frename-registers -fprefetch-loop-arrays -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://xco.cs.uiuc.edu/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://xco.cs.uiuc.edu/gentoo-portage" USE="amd64 X aalib acpi aim alsa arts berkdb bitmap-fonts bonobo bzlib cdparanoia cdr crypt cups divx4linux dvd dvdr encodeesd f77 fam flac font-server foomatic foomaticdb fortran gcj gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 jabber jack java jikes joystick jp2 jpeg junit kde kerberos ladcca lirc lzw lzw-tiff mad maildir matroska mbox mikmod motif mozilla mpeg multilib mysql mythtv ncurses nls nptl nvidia offensive oggvorbis openal opengl oss pam perl png postgres ppds python qt readline real rtc ruby samba sdl server slang speex spell ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 wxwindows xine xinerama xml xml2 xmms xpm xprint xrandr xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Please attach /var/tmp/portage/xorg-x11-6.8.2/temp/migrate-* and reopen.
Created an attachment (id=51245) [details] migrate--usr-X11R6-bin.log
Created an attachment (id=51246) [details] migrate--usr-X11R6-include.log
Created an attachment (id=51248) [details] migrate--usr-X11R6-lib.log
Since filing the bug I had renamed /usr/lib/X11 to /usr/lib/X11-not, and then tried again to emerge. This emerge got interrupted by, uh, unscheduled downtime. I tried once more, and that time it worked fine. I checked just now, and I don't even have a /var/tmp/portage/xorg-x11-6.8.2/ directory. The files I attached are from /var/tmp/portage/xorg-x11-6.8.1.904/. I had tried to emerge that earlier, but it had failed in the same way 6.8.2 did. I believe one of the releases of 6.8.1.901 was the last version I had successfully emerged.
Here's the problem: X11/locale/lib/ delete_file: rmdir "/usr/lib/X11/locale/lib64" failed: Directory not empty symlink "/usr/lib/X11/locale/lib64" -> "lib" failed: File exists
So, you can run `readlink -f` on these: /usr/lib/X11/locale/lib64 /usr/X11R6/lib/X11/locale/lib64
I had the same problem and I'm going to wait for a fix and try to help you out with this. So currently I have a dead X install. augustus@glacier ~ $ readlink -f /usr/lib/X11/locale/lib64 /usr/lib64/X11/locale/lib64 augustus@glacier ~ $ readlink -f /usr/X11R6/lib/X11/locale/lib64 /usr/lib64/X11/locale/lib64
Alright, so the problem here is clear -- you've got a dir at /usr/lib/X11/locale/lib64 for some unknown reason, so when the parallel location in /usr/X11R6 tries to sync over a symlink, it fails miserably. The questions: what's it doing there, and how'd it get there? Try `readlink -f`: /usr/lib/X11 /usr/lib/X11/locale
$ readlink -f /usr/lib/X11 /usr/lib64/X11 $ readlink -f /usr/lib/X11/locale /usr/lib64/X11/locale
Does xorg-x11 provide those?
I ran 'qpkg -f' on those and no package claimed them. Any idea on a fix?
Could you check in xorg-x11's ${D} whether /usr/X11R6/lib/X11/locale/lib64 and /usr/X11R6/lib/X11/locale/lib64 are symlinks or dirs? I have a feeling things may have switched around somehow between 6.8.0-r4 and now.
What's the easiest way to do that? It seems like no one else is responding but me. :-)
Uh, `ls -ld` will do it.
Under 6.8.2, this is what I found: glacier image # ls -ld usr/X11R6/lib/X11/locale/lib64 ls: usr/X11R6/lib/X11/locale/lib64: No such file or directory glacier image # ls -ld usr/X11R6/lib/X11/locale/lib64 ls: usr/X11R6/lib/X11/locale/lib64: No such file or directory I will remerge xorg-x11-6.8.0-r4 and let you know what I find there.
Under 6.8.0-r4 /usr/X11R6/lib/X11/locale/lib64 still does not exist but /usr/X11R6/lib/X11/locale/lib does exist. The lib64 directory may have come from an install even before that but not cleaned up. If this fix is necessary for 6.8.2 then we should just fix it and move on. Leave it marked ~amd64 and let's see if it breaks anyone. No backage is claiming that directory though.
I think some versions of the emul-xlibs provided stuff somewhere around there -- can you check into it?
I'm having the same problem except I'm using -r1. Actually, what's the problem?
I'm gonna mark this a duplicate because the other one actually has some useful info. I think it's yet another artifact of the emul-xlibs providing an incorrect symlink in older versions. *** This bug has been marked as a duplicate of 84441 ***