Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 82007
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 84441
Assigned To: Gentoo X packagers <x11@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tom Felker <tcfelker@mtco.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
migrate--usr-X11R6-bin.log migrate--usr-X11R6-bin.log text/plain Tom Felker 2005-02-14 17:19 0000 13.87 KB Details
migrate--usr-X11R6-include.log migrate--usr-X11R6-include.log text/plain Tom Felker 2005-02-14 17:20 0000 82.60 KB Details
migrate--usr-X11R6-lib.log migrate--usr-X11R6-lib.log text/plain Tom Felker 2005-02-14 17:21 0000 4.93 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 82007 depends on: Show dependency tree
Bug 82007 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-02-14 09:25 0000
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

------- Comment #1 From Donnie Berkholz 2005-02-14 15:39:37 0000 -------
Please attach /var/tmp/portage/xorg-x11-6.8.2/temp/migrate-* and reopen.

------- Comment #2 From Tom Felker 2005-02-14 17:19:57 0000 -------
Created an attachment (id=51245) [details]
migrate--usr-X11R6-bin.log

------- Comment #3 From Tom Felker 2005-02-14 17:20:36 0000 -------
Created an attachment (id=51246) [details]
migrate--usr-X11R6-include.log

------- Comment #4 From Tom Felker 2005-02-14 17:21:12 0000 -------
Created an attachment (id=51248) [details]
migrate--usr-X11R6-lib.log

------- Comment #5 From Tom Felker 2005-02-14 17:35:21 0000 -------
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.

------- Comment #6 From Donnie Berkholz 2005-02-14 23:49:54 0000 -------
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

------- Comment #7 From Donnie Berkholz 2005-02-16 13:54:15 0000 -------
So, you can run `readlink -f` on these:
/usr/lib/X11/locale/lib64
/usr/X11R6/lib/X11/locale/lib64

------- Comment #8 From Kris Kersey (RETIRED) 2005-02-16 14:16:33 0000 -------
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

------- Comment #9 From Donnie Berkholz 2005-02-16 14:58:38 0000 -------
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

------- Comment #10 From Kris Kersey (RETIRED) 2005-02-16 17:10:22 0000 -------
$ readlink -f /usr/lib/X11
/usr/lib64/X11

$ readlink -f /usr/lib/X11/locale
/usr/lib64/X11/locale

------- Comment #11 From Donnie Berkholz 2005-02-16 19:26:14 0000 -------
Does xorg-x11 provide those?

------- Comment #12 From Kris Kersey (RETIRED) 2005-02-16 20:44:44 0000 -------
I ran 'qpkg -f' on those and no package claimed them.  Any idea on a fix?

------- Comment #13 From Donnie Berkholz 2005-02-17 16:19:27 0000 -------
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.

------- Comment #14 From Kris Kersey (RETIRED) 2005-02-19 21:08:14 0000 -------
What's the easiest way to do that?  It seems like no one else is responding but
me. :-)

------- Comment #15 From Donnie Berkholz 2005-02-19 23:43:53 0000 -------
Uh, `ls -ld` will do it.

------- Comment #16 From Kris Kersey (RETIRED) 2005-02-24 13:59:40 0000 -------
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.

------- Comment #17 From Kris Kersey (RETIRED) 2005-02-26 21:09:05 0000 -------
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.

------- Comment #18 From Donnie Berkholz 2005-02-26 21:14:29 0000 -------
I think some versions of the emul-xlibs provided stuff somewhere around there
-- can you check into it?

------- Comment #19 From Pablo Trabajos 2005-03-08 07:53:03 0000 -------
I'm having the same problem except I'm using -r1.

Actually, what's the problem?

------- Comment #20 From Donnie Berkholz 2005-03-08 11:55:33 0000 -------
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 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug