First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 85054
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Nathan Sullivan <nathan@nightsys.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gettext-0.14.2-fix-race.patch gettext-0.14.2-fix-race.patch patch Martin Schlemmer (RETIRED) 2005-03-13 14:44 0000 417 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 85054 depends on: Show dependency tree
Show dependency graph
Bug 85054 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-03-13 02:12 0000
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 From Elfyn McBratney (beu) (RETIRED) 2005-03-13 02:40:40 0000 -------
*** Bug 85056 has been marked as a duplicate of this bug. ***

------- Comment #2 From Patrick Fourniols 2005-03-13 02:52:55 0000 -------
strange but emerge gettext works on second time :(

------- Comment #3 From Marco Squarcina 2005-03-13 04:10:32 0000 -------
The same here o_0

------- Comment #4 From Jure Repinc 2005-03-13 05:49:40 0000 -------
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 From Leo Laursen 2005-03-13 06:21:21 0000 -------
With MAKEOPTS=-j3 it fails on pentium4; but add "-j 1" to the emake command and
it works.

------- Comment #6 From Martin LORANG 2005-03-13 06:49:48 0000 -------
Same here on amd64 and works with MAKEOPTS="-j1"

------- Comment #7 From Ivan Yosifov 2005-03-13 09:24:31 0000 -------
Same here.

MAKEOPTS="-j1" emerge gettext
and it works.

------- Comment #8 From Daniel Gryniewicz 2005-03-13 11:17:26 0000 -------
No, this is due to the lack of USE=emacs.  It failed consistently for me
without emacs, and worked with emacs.

------- Comment #9 From Martin Schlemmer (RETIRED) 2005-03-13 13:43:24 0000 -------
Did you have emacs installed, but not in USE ?

------- Comment #10 From Peter Gordon (RETIRED) 2005-03-13 14:00:57 0000 -------
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 From Martin Schlemmer (RETIRED) 2005-03-13 14:44:09 0000 -------
Created an attachment (id=53366) [edit]
gettext-0.14.2-fix-race.patch

Seems like it is a race condition in the Makefile - can anybody try this patch?

------- Comment #12 From Nathan Sullivan 2005-03-13 15:37:47 0000 -------
the patch provided fixes the issue, successful ebuild.

------- Comment #13 From Martin Schlemmer (RETIRED) 2005-03-13 16:25:41 0000 -------
Fixed in cvs.

------- Comment #14 From Petteri Räty 2005-03-31 10:18:15 0000 -------
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 From Alex Buell 2006-09-15 04:05:54 0000 -------
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. 

First Last Prev Next    No search results available      Search page      Enter new bug