Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87525 - xorg-x11-6.8.2-r1 fails on amd64: symlink "/usr/lib32" failed: File exists
Summary: xorg-x11-6.8.2-r1 fails on amd64: symlink "/usr/lib32" failed: File exists
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 97572
  Show dependency tree
 
Reported: 2005-04-01 01:29 UTC by bonyhips
Modified: 2005-09-07 11:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bonyhips 2005-04-01 01:29:03 UTC
updating to the latest xorg-x11 for amd64 with the 2005.0 profile will always fail at the end of the ebuild when migrating links.

Reproducible: Always
Steps to Reproduce:
1. emerge -u xorg-x11
2.
3.

Actual Results:  
 *   /usr/X11R6 isn't a symlink, migrating...

!!! ERROR: x11-base/xorg-x11-6.8.2-r1 failed.
!!! Function check_migrate_return, Line 1502, Exitcode 1
!!! rsync failed. Exit code: 23.
!!! If you need support, post the topmost build error, NOT this status message.

!!! FAILED preinst: 1



emerge info:
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.3.4,
glibc-2.3.4.20041102-r1, 2.6.8-ck7 x86_64)
=================================================================
System uname: 2.6.8-ck7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 13 2005, 20:07:27)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.4_p6, 1.5, 1.9.4, 1.6.3, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa berkdb bitmap-fonts crypt curl fam flac font-server
fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jack jp2 jpeg lzw
lzw-tiff mikmod motif mozilla mp3 ncurses nls oggvorbis opengl oss pam perl png
python qt readline sdl slang ssl tcpd tiff truetype truetype-fonts type1-fonts
usb userlocales xml xml2 xmms xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS



contents of /var/tmp/portage/xorg-x11-6.8.2-r1/temp/migrate--usr-X11R6.log:

building file list ... 
4 files to consider
./
delete_file: rmdir "/usr/lib32" failed: Directory not empty
symlink "/usr/lib32" -> "../../emul/linux/x86/usr/X11R6/lib32" failed: File exists

Number of files: 4
Number of files transferred: 0
Total file size: 36 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 135
Total bytes written: 147
Total bytes read: 20

wrote 147 bytes  read 20 bytes  334.00 bytes/sec
total size is 36  speedup is 0.22
rsync error: some files could not be transferred (code 23) at main.c(632)


also i noticed on the forums a developer asking for line 3 of the xorg-x11
ebuild, so here is that info too:
# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/xorg-x11-6.8.2-r1.ebuild,v
1.12 2005/03/21 08:38:37 gmsoft Exp $
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-04-01 18:48:14 UTC
ls -ld /usr/lib* please
Comment 2 bonyhips 2005-04-01 21:39:20 UTC
ian:~> ls -ld /usr/lib*
drwxr-xr-x  64 root root 53248 Mar 30 12:31 /usr/lib
drwxr-xr-x   4 root root  4096 Mar 29 15:18 /usr/lib32
lrwxr-xr-x   1 root root     3 Mar 29 16:03 /usr/lib64 -> lib
drwxr-xr-x   7 root root  4096 Jan 23 02:23 /usr/libexec
Comment 3 Dave 2005-04-19 15:24:20 UTC
I got the exactly the same error. I had just updated my profile to 2005.0 from 2004.3. After the error I now get and INCOMPLETE MERGE message:

dwallace# 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-r1
[ebuild     U ] x11-base/xorg-x11-6.8.2-r1 [6.8.0-r3] (-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
Comment 4 Octavio Ruiz (Ta^3) 2005-07-09 17:36:37 UTC
(In reply to comment #2)
> ian:~> ls -ld /usr/lib*
> drwxr-xr-x  64 root root 53248 Mar 30 12:31 /usr/lib
> drwxr-xr-x   4 root root  4096 Mar 29 15:18 /usr/lib32
> lrwxr-xr-x   1 root root     3 Mar 29 16:03 /usr/lib64 -> lib
> drwxr-xr-x   7 root root  4096 Jan 23 02:23 /usr/libexec

(/usr)/lib64 should be a dir in > 2005.0 with (/usr)/lib being a symlink
pointing to it.

Seems to be a `normal` (but not good) behaviour with migrated 2004.3->2005.0
systems.

Try to fix it using busybox or sash.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2005-09-07 09:10:40 UTC
Improper migration to 2005.0
Comment 6 bonyhips 2005-09-07 11:10:11 UTC
just to be clear here, i followed the 2005.0 migration instructions to the
letter and ended up with the results in the bug log when it got to migrating
xorg-x11. so i don't think the bug is invalid. but whatever, very few people
seem to have hit it, and also someone suggested a workaround in the forums which
sorts this particular problem out.