Trying to emerge -u world. kbd won't configure. Tracked down the part of the configure script which causes this error, but can't figure it out. It's nearly 3am here and my eyes hurt. Seems to be related to various other kbd build bugs that have appeared before. All bugs seem to have been fixed by r3 though. Reproducible: Always Steps to Reproduce: # emerge kbd Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/kbd-1.08-r3 to / >>> md5 src_uri ;-) kbd-1.08.tar.gz >>> Unpacking source... >>> Unpacking kbd-1.08.tar.gz to /var/tmp/portage/kbd-1.08-r3/work * Applying kbd-1.08-kbd_repeat.patch... [ ok ] * Applying kbd-1.08-po-install-locations.patch... [ ok ]>>> Source unpacked. PREFIX must have a leading slash !!! ERROR: sys-apps/kbd-1.08-r3 failed. !!! Function src_compile, Line 48, Exitcode 1 !!! (no error message) # emerge info Portage 2.0.49-r10 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) XP 1600+ Gentoo Base System version 1.4.3.8p1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu 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="oss foomaticdb mad mikmod spell gdbm berkdb tetex nas gpm pam perl esd gtk motif ipv6 apache2 3dnow acpi alsa apm arts avi bonobo cdr cjk crypt cups dga doc dvd encode evo gb gd ggi ggz gif gnome gphoto2 gtk2 gtkhtml imlib java jikes jpeg kde kerberos lcms ldap libg++ libgda libwww mbox mmx mozilla mpeg ncurses nls odbc oggvorbis opengl pdflib pic png python qt qtmt quicktime readline scanner sdl slang socks5 sse ssl svga tcpd tiff truetype wmf X xml xml2 xmms xv zlib x86 php mysql"
It does hav the slash over here - please attach your ebuild: -- nosferatu root # USE=nls emerge kbd Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/kbd-1.08-r3 to / >>> md5 src_uri ;-) kbd-1.08.tar.gz >>> Unpacking source... >>> Unpacking kbd-1.08.tar.gz to /space/var/tmp/portage/kbd-1.08-r3/work * Applying kbd-1.08-kbd_repeat.patch... [ ok ] * Applying kbd-1.08-po-install-locations.patch... [ ok ] Configuring for PREFIX=/usr Configuring for DATADIR=/usr/share Configuring for MANDIR=/usr/share/man checking for gcc
Created attachment 19198 [details] The infamous ebuild! This is the ebuild you requested. And yes, the slash IS there. I've re-emerged it quite a few times just to make sure. If you want to see it fail, drop me a line over e-mail and I'll be happy to provide an account in the portage group on my machine for testing.
Oh and here's a quick snippet from emerge --debug kbd: + tty --quiet + return 0 + ./configure --prefix=/usr --mandir=/share/man --datadir=/share PREFIX must have a leading slash + diefunc src_compile 48 1 + local funcname=src_compile lineno=48 exitcode=1 + shift 3 + echo + echo '!!! ERROR: sys-apps/kbd-1.08-r3 failed.'
Consider it "working but not fixed". Has to do with my locale settings. LANG is set to et_EE. Some of my friends here in Estonia have also seen this error. Setting LANG to something less unusual like et_EN fixes some compiles. Some still die though with odd errors. So I set LANG to et_EN and re-emerged m4, autoconf and automake. Things work now. So this is bug is not in Gentoo most likely but in the GNU tools.
see bug 17051
*** This bug has been marked as a duplicate of 17051 ***