<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>85054</bug_id>
          
          <creation_ts>2005-03-13 02:12 0000</creation_ts>
          <short_desc>gettext-0.14.2 fails to emerge, due to file not found &quot;elc-temp&quot;</short_desc>
          <delta_ts>2006-09-15 04:05:54 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>nathan@nightsys.net</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          <cc>alex.buell@munted.org.uk</cc>
    
    <cc>betelgeuse@gentoo.org</cc>
    
    <cc>codergeek42@gentoo.org</cc>
    
    <cc>iyosifov@gmail.com</cc>
    
    <cc>jlp.bugs@gmail.com</cc>
    
    <cc>lavish@gmail.com</cc>
    
    <cc>news@derived-software.ltd.uk</cc>

      

      
          <long_desc isprivate="0">
            <who>nathan@nightsys.net</who>
            <bug_when>2005-03-13 02:12:21 0000</bug_when>
            <thetext>gettext-0.14.2 fails to emerge, due to a temporary file &quot;elc-temp&quot; 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&apos;
make[3]: Nothing to be done for `all&apos;.
make[3]: Leaving directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/po&apos;
Making all in projects
make[3]: Entering directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/projects&apos;
make[3]: Nothing to be done for `all&apos;.
make[3]: Leaving directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/projects&apos;
Making all in misc
make[3]: Entering directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/misc&apos;
WARNING: Warnings can be ignored. :-)
if test &quot;no&quot; != no; then \
  set x; \
  list=&apos;po-mode.el po-compat.el&apos;; for p in $list; do \
    if test -f &quot;$p&quot;; then d=; else d=&quot;./&quot;; fi; \
    set x &quot;$@&quot; &quot;$d$p&quot;; shift; \
  done; \
  shift; \
  EMACS=&quot;no&quot; /bin/sh ../../config/elisp-comp &quot;$@&quot; || exit 1; \
else : ; fi
make[4]: Entering directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/misc&apos;
make[4]: Entering directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/misc&apos;
WARNING: Warnings can be ignored. :-)
WARNING: Warnings can be ignored. :-)
if test &quot;no&quot; != no; then \
  set x; \
  list=&apos;po-mode.el po-compat.el&apos;; for p in $list; do \
    if test -f &quot;$p&quot;; then d=; else d=&quot;./&quot;; fi; \
    set x &quot;$@&quot; &quot;$d$p&quot;; shift; \
  done; \
  shift; \
  EMACS=&quot;no&quot; /bin/sh ../../config/elisp-comp &quot;$@&quot; || exit 1; \
else : ; fi
make[4]: Leaving directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/misc&apos;
if test &quot;no&quot; != no; then \
  set x; \
  list=&apos;po-mode.el po-compat.el&apos;; for p in $list; do \
    if test -f &quot;$p&quot;; then d=; else d=&quot;./&quot;; fi; \
    set x &quot;$@&quot; &quot;$d$p&quot;; shift; \
  done; \
  shift; \
  EMACS=&quot;no&quot; /bin/sh ../../config/elisp-comp &quot;$@&quot; || exit 1; \
else : ; fi
mv: cannot stat `elc-temp&apos;: 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&apos;
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&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools&apos;
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools&apos;
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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -march=pentium3 -fomit-frame-pointer -fforce-addr&quot;
CHOST=&quot;i386-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=pentium3 -fomit-frame-pointer -fforce-addr&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks fixpackages loadpolicy nostrip
sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://mirror.isp.net.au/pub/gentoo/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>beu@gentoo.org</who>
            <bug_when>2005-03-13 02:40:40 0000</bug_when>
            <thetext>*** Bug 85056 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Patrick.Fourniols@wanadoo.fr</who>
            <bug_when>2005-03-13 02:52:55 0000</bug_when>
            <thetext>strange but emerge gettext works on second time :(</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lavish@gmail.com</who>
            <bug_when>2005-03-13 04:10:32 0000</bug_when>
            <thetext>The same here o_0</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jlp.bugs@gmail.com</who>
            <bug_when>2005-03-13 05:49:40 0000</bug_when>
            <thetext>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=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
LANG=&quot;sl_SI&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/root/portageoverlay&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leo.laursen@gmail.com</who>
            <bug_when>2005-03-13 06:21:21 0000</bug_when>
            <thetext>With MAKEOPTS=-j3 it fails on pentium4; but add &quot;-j 1&quot; to the emake command and it works.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@lorang.net</who>
            <bug_when>2005-03-13 06:49:48 0000</bug_when>
            <thetext>Same here on amd64 and works with MAKEOPTS=&quot;-j1&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>iyosifov@gmail.com</who>
            <bug_when>2005-03-13 09:24:31 0000</bug_when>
            <thetext>Same here.

MAKEOPTS=&quot;-j1&quot; emerge gettext
and it works.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dang@gentoo.org</who>
            <bug_when>2005-03-13 11:17:26 0000</bug_when>
            <thetext>No, this is due to the lack of USE=emacs.  It failed consistently for me without emacs, and worked with emacs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2005-03-13 13:43:24 0000</bug_when>
            <thetext>Did you have emacs installed, but not in USE ?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>codergeek42@gentoo.org</who>
            <bug_when>2005-03-13 14:00:57 0000</bug_when>
            <thetext>I got this error too on my ~x86 box. Temporarily setting MAKEOPTS=&quot;-j1&quot; (instead o f the &quot;-j2&quot; I normally keep it at) seems to fix it for me. I do not have Emacs installed and I have &apos;-emacs&apos; in my USE flags.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2005-03-13 14:44:09 0000</bug_when>
            <thetext>Created an attachment (id=53366)
gettext-0.14.2-fix-race.patch

Seems like it is a race condition in the Makefile - can anybody try this patch?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nathan@nightsys.net</who>
            <bug_when>2005-03-13 15:37:47 0000</bug_when>
            <thetext>the patch provided fixes the issue, successful ebuild.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2005-03-13 16:25:41 0000</bug_when>
            <thetext>Fixed in cvs.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2005-03-31 10:18:15 0000</bug_when>
            <thetext>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. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alex.buell@munted.org.uk</who>
            <bug_when>2006-09-15 04:05:54 0000</bug_when>
            <thetext>Right, if you use distcc, it fails with the same error as reported. The correct solution when building with distcc, is to supply MAKEOPTS=&quot;-j1&quot; when emerging gettext. The patch given does not work in this situation. </thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>53366</attachid>
            <date>2005-03-13 14:44 0000</date>
            <desc>gettext-0.14.2-fix-race.patch</desc>
            <filename>gettext-0.14.2-fix-race.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGdldHRleHQtMC4xNC4yL2dldHRleHQtdG9vbHMvbWlzYy9NYWtlZmlsZS5pbi5hegkyMDA1
LTAzLTE0IDAwOjQwOjU2LjAwMDAwMDAwMCArMDIwMAorKysgZ2V0dGV4dC0wLjE0LjIvZ2V0dGV4
dC10b29scy9taXNjL01ha2VmaWxlLmluCTIwMDUtMDMtMTQgMDA6NDE6MjYuMDAwMDAwMDAwICsw
MjAwCkBAIC00NDEsNyArNDQxLDcgQEAKIAkgIHNoaWZ0OyBcCiAJICBFTUFDUz0iJChFTUFDUyki
ICQoU0hFTEwpICQoZWxpc3BfY29tcCkgIiQkQCIgfHwgZXhpdCAxOyBcCiAJZWxzZSA6IDsgZmkK
LQlAbXYgLWYgZWxjLXRlbXAgJEAKKwlAbXYgLWYgZWxjLXRlbXAgJEAgfHwgdG91Y2ggJEAKICQo
YW1fX0VMQ0ZJTEVTKTogZWxjLXN0YW1wCiAJQGlmIHRlc3QgISAtZiAkQDsgdGhlbiBcCiAJICBy
bSAtZiBlbGMtc3RhbXA7IFwK
</data>        

          </attachment>
    </bug>

</bugzilla>