When a emerge -uD world will compile glib-2.4.7 then this message appears: !!! Cannot write to '/usr/share/locale/lv'. !!! Please check permissions and directories for broken symlinks. !!! You may start the merge process again by using ebuild: !!! ebuild /usr/portage/dev-libs/glib/glib-2.4.7.ebuild merge !!! And finish by running this: env-update Reproducible: Always Steps to Reproduce: 1.emerge -uD world 2. 3. Portage 2.0.51_rc7 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.8.1 i686) ================================================================= System uname: 2.6.8.1 i686 Pentium III (Katmai) Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx X apm avi berkdb bitmap-fonts cups dga freetype gdbm gif guile imlib java jpeg libg++ libwww motif mpeg ncurses nls oggvorbis opengl openssh pdflib perl png python readline samba slang spell ssl svga tcltk tcpd truetype voodoo3 x86 xml2 xmms xprint xv zlib"
The link /usr/share/locale/lv points to the directory /usr/share/locale/LV_lv and this directory doesn't exist. I have create it and then glib emerges without any errors.
I hope it's a fix and no hack but as a precaution i reopen it!
my /usr/share/locale/lv is a directory, not a symlink to any other directory lv_LV.
Hmm strange I'm sure don't have manually change anything in this directory?!
not sure what was going on here, but we can't reproduce and if you can't either there is not much to go on.