Bug 189671 - app-shells/bash-3.2_p17-r1 parallel build issue
Bug#: 189671 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: jokey@gentoo.org
Component: Ebuilds
URL:  http://lists.gnu.org/archive/html/bug-bash/2007-08/msg00081.html
Summary: app-shells/bash-3.2_p17-r1 parallel build issue
Keywords:  
Status Whiteboard: 
Opened: 2007-08-21 06:56 0000
Description:   Opened: 2007-08-21 06:56 0000
-j1 or a fix for dependencies in Makefile should fix this:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DSHELL   -I.
-I/var/tmp/portage/app-shells/bash-3.2_p17-r1/work/bash-3.2 -I../.. -I../../lib
 -O2 -mtune=pentium4 -pipe  -DREADLINE_LIBRARY -c ./tilde.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL   -I.
-I/var/tmp/portage/app-shells/bash-3.2_p17-r1/work/bash-3.2 -I../.. -I../../lib
 -O2 -mtune=pentium4 -pipe  xmalloc.c
rm -f xmalloc.o
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL   -I.
-I/var/tmp/portage/app-shells/bash-3.2_p17-r1/work/bash-3.2 -I../.. -I../../lib
 -O2 -mtune=pentium4 -pipe  xmalloc.c
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o
savestring.o mbutil.o xmalloc.o
ar: xmalloc.o: No such file or directory
make[1]: *** [libhistory.a] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-shells/bash-3.2_p17-r1/work/bash-3.2/lib/readline'
make: *** [lib/readline/libhistory.a] Error 1
make: *** Waiting for unfinished jobs....
rm -f compat.o
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL   -I.
-I/var/tmp/portage/app-shells/bash-3.2_p17-r1/work/bash-3.2 -I../.. -I../../lib
 -O2 -mtune=pentium4 -pipe  compat.c
rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o
rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o
macro.o input.o callback.o terminal.o text.o nls.o misc.o history.o
histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o tilde.o
xmalloc.o compat.o
test -n "i686-pc-linux-gnu-ranlib" && i686-pc-linux-gnu-ranlib libreadline.a
make[1]: Leaving directory
`/var/tmp/portage/app-shells/bash-3.2_p17-r1/work/bash-3.2/lib/readline'

!!! ERROR: app-shells/bash-3.2_p17-r1 failed.
Call stack:
  ebuild-daemon.sh, line 191:   Called execute_phases 'compile'
  ebuild.sh, line 623:   Called dyn_compile
  ebuild-default-functions.sh, line 255:   Called src_compile
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

phases failed
!!! Failed to build config wrapped(use): ebuild src:
app-shells/bash-3.2_p17-r1: Failed build operation: compile: Failed building
(False/0 return from handler)

------- Comment #1 From SpanKY 2007-08-22 22:56:45 0000 -------
post the full build log as an attachment as well as `emerge --info`

the dependencies in the file look right: libhistory.a depends on xmalloc.o

------- Comment #2 From Rémi Cardona 2007-08-26 13:25:31 0000 -------
Created an attachment (id=129237) [details]
app-shells/bash-3.2_p17-r1 - build.log

Different guy, same bug :)

atmos ~ # emerge --info
Portage 2.1.3.7 (default-linux/x86/2006.1, gcc-4.2.0, glibc-2.6.1-r0,
2.6.22-gentoo-r4 i686)
=================================================================
System uname: 2.6.22-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System release 2.0.0_rc3
Timestamp of tree: Sun, 26 Aug 2007 09:20:01 +0000
app-shells/bash:     3.2_p25
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0_rc3-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.4.0-r1
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -g -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -g -pipe"
DISTDIR="/home/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en fr"
MAKEOPTS="-j2"
PKGDIR="/home/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay/portage
/usr/portage/local/layman/gnome-experimental"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aiglx alsa avahi berkdb bitmap-fonts branding bzip2 cairo
cdparanoia cdr cli cracklib crypt cups curl daap dbus dga dri dts dv dvd dvdnav
dvdr dvdread eds emerald encode evo exif ffmpeg firefox flac gdbm gif gimp
glitz glut gnome gnutls gphoto2 gstreamer gtk gtkhtml hal howl-compat i8x0
iconv ieee1394 isdnlog java jpeg keyring lcms libnotify libsexy live mad midi
mmx mmxext mng mono mozbranding moznocompose moznoirc moznomail moznoroaming
mp3 mpeg mudflap musicbrainz nautilus ncurses nls nptl nptlonly ogg opengl
openmp pam pango pcre pdf perl png ppds pppd pulseaudio python quicktime
readline real reflection ruby sdl session speex spell spl sse sse2 ssl svg
sysfs tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb
userlocales vorbis webdav wifi win32codecs wma wxwindows x86 xcb xcomposite
xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="intel8x0"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" CAMERAS="canon ptp" ELIBC="glibc" INPUT_DEVICES="keyboard
mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" USERLAND="GNU"
VIDEO_CARDS="i810 i830 i915 vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #3 From Rémi Cardona 2007-08-26 13:25:54 0000 -------
Reopening

------- Comment #4 From Rémi Cardona 2007-08-26 13:57:57 0000 -------
Confirming empty MAKEOPTS allows build to finish properly.

------- Comment #5 From Rémi Cardona 2007-10-07 21:38:40 0000 -------
Summer's over ... ping ;)

------- Comment #6 From Markus Ullmann 2007-10-28 11:06:44 0000 -------
so what do we do here? _p17 has -j1, but both -r1 and _p25 lack it....

------- Comment #7 From SpanKY 2007-10-28 19:20:31 0000 -------
i already fixed this a while ago, but i guess i didnt commit the patch