Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85054 - gettext-0.14.2 fails to emerge, due to file not found "elc-temp"
Summary: gettext-0.14.2 fails to emerge, due to file not found "elc-temp"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 85056 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-13 02:12 UTC by Nathan Sullivan
Modified: 2006-09-15 04:05 UTC (History)
7 users (show)

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


Attachments
gettext-0.14.2-fix-race.patch (gettext-0.14.2-fix-race.patch,417 bytes, patch)
2005-03-13 14:44 UTC, Martin Schlemmer (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Sullivan 2005-03-13 02:12:21 UTC
gettext-0.14.2 fails to emerge, due to a temporary file "elc-temp" not found.

Reproducible: Always
Steps to Reproduce:
1. emerge gettext
2.
3.

Actual Results:  
failed build, see below.

Expected Results:  
successful build.

make[3]: Entering directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/po'
Making all in projects
make[3]: Entering directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/projects'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/projects'
Making all in misc
make[3]: Entering directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/misc'
WARNING: Warnings can be ignored. :-)
if test "no" != no; then \
  set x; \
  list='po-mode.el po-compat.el'; for p in $list; do \
    if test -f "$p"; then d=; else d="./"; fi; \
    set x "$@" "$d$p"; shift; \
  done; \
  shift; \
  EMACS="no" /bin/sh ../../config/elisp-comp "$@" || exit 1; \
else : ; fi
make[4]: Entering directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/misc'
make[4]: Entering directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/misc'
WARNING: Warnings can be ignored. :-)
WARNING: Warnings can be ignored. :-)
if test "no" != no; then \
  set x; \
  list='po-mode.el po-compat.el'; for p in $list; do \
    if test -f "$p"; then d=; else d="./"; fi; \
    set x "$@" "$d$p"; shift; \
  done; \
  shift; \
  EMACS="no" /bin/sh ../../config/elisp-comp "$@" || exit 1; \
else : ; fi
make[4]: Leaving directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/misc'
if test "no" != no; then \
  set x; \
  list='po-mode.el po-compat.el'; for p in $list; do \
    if test -f "$p"; then d=; else d="./"; fi; \
    set x "$@" "$d$p"; shift; \
  done; \
  shift; \
  EMACS="no" /bin/sh ../../config/elisp-comp "$@" || exit 1; \
else : ; fi
mv: cannot stat `elc-temp': No such file or directory
make[4]: *** [elc-stamp] Error 1
make[4]: Leaving directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/misc'
make[3]: *** [po-compat.elc] Error 2
make[3]: Leaving directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools'
make: *** [all-recursive] Error 1

!!! ERROR: sys-devel/gettext-0.14.2 failed.
!!! Function src_compile, Line 60, Exitcode 2
!!! (no error message)

----------------------------------------------------

Portage 2.0.51.19 (selinux/2004.1/x86, gcc-3.4.3, glibc-2.3.4.20050125-r0,
2.6.10-hardened-r3 i686)
=================================================================
System uname: 2.6.10-hardened-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 20 2005, 13:28:54)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.5, 1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fforce-addr"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/alias /var/qmail/control
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages loadpolicy nostrip
sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://mirror.isp.net.au/pub/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="apache2 bash-completion berkdb cpdflib crypt cups curl dba debug dvd exif
fam ftp gd gdbm hardened hardenedphp imap innodb ipv6 jabber jpeg ldap mad
maildir mcal mhash mmx mysql ncurses nls oggvorbis pam pcntl pcre perl pic pie
png postgres python readline samba selinux session simplexml slang snmp sockets
spell sqlite ssl tcpd tidy tiff tokenizer truetype usb vhosts wddx x86 xml xml2
xmlrpc zaptel zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-03-13 02:40:40 UTC
*** Bug 85056 has been marked as a duplicate of this bug. ***
Comment 2 Patrick Fourniols 2005-03-13 02:52:55 UTC
strange but emerge gettext works on second time :(
Comment 3 Marco Squarcina 2005-03-13 04:10:32 UTC
The same here o_0
Comment 4 Jure Repinc 2005-03-13 05:49:40 UTC
Same problem here on amd64.

Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar  6 2005, 16:22:42)]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers"
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 /usr/share/cursors/xorg-x11/default /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="sl_SI"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portageoverlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa amd64 apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdr encode esd exif fam fbcon flac font-server foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jabber jp2 jpeg kde libwww lzw lzw-tiff mad mikmod motif mozilla mp3 mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png posix ppds python qt quicktime readline samba scanner sdl slang slp speex spell ssl tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales videos xml xml2 xmms xosd xpm xprint xrandr xv xvid zlib linguas_en linguas_sl"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 5 Leo Laursen 2005-03-13 06:21:21 UTC
With MAKEOPTS=-j3 it fails on pentium4; but add "-j 1" to the emake command and it works.
Comment 6 Martin LORANG 2005-03-13 06:49:48 UTC
Same here on amd64 and works with MAKEOPTS="-j1"
Comment 7 Ivan Yosifov 2005-03-13 09:24:31 UTC
Same here.

MAKEOPTS="-j1" emerge gettext
and it works.
Comment 8 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-03-13 11:17:26 UTC
No, this is due to the lack of USE=emacs.  It failed consistently for me without emacs, and worked with emacs.
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2005-03-13 13:43:24 UTC
Did you have emacs installed, but not in USE ?
Comment 10 Peter Gordon (RETIRED) gentoo-dev 2005-03-13 14:00:57 UTC
I got this error too on my ~x86 box. Temporarily setting MAKEOPTS="-j1" (instead o f the "-j2" I normally keep it at) seems to fix it for me. I do not have Emacs installed and I have '-emacs' in my USE flags.
Comment 11 Martin Schlemmer (RETIRED) gentoo-dev 2005-03-13 14:44:09 UTC
Created attachment 53366 [details, diff]
gettext-0.14.2-fix-race.patch

Seems like it is a race condition in the Makefile - can anybody try this patch?
Comment 12 Nathan Sullivan 2005-03-13 15:37:47 UTC
the patch provided fixes the issue, successful ebuild.
Comment 13 Martin Schlemmer (RETIRED) gentoo-dev 2005-03-13 16:25:41 UTC
Fixed in cvs.
Comment 14 Petteri Räty (RETIRED) gentoo-dev 2005-03-31 10:18:15 UTC
I still got this bug today. It was using distcc. Without using distcc gettext compiled just fine. Maybe you want to disable distcc in the ebuild. 
Comment 15 Alex Buell 2006-09-15 04:05:54 UTC
Right, if you use distcc, it fails with the same error as reported. The correct solution when building with distcc, is to supply MAKEOPTS="-j1" when emerging gettext. The patch given does not work in this situation.