Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26726 - When MAKEOPTS="-j2" or greater ncurses may fail to compile
Summary: When MAKEOPTS="-j2" or greater ncurses may fail to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-16 09:13 UTC by Patrick Lauer
Modified: 2003-10-18 11:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2003-08-16 09:13:30 UTC
When parallel make is enabled (MAKEOPTS="-j2" or greater) ncurses may fail to
compile

Reproducible: Sometimes
Steps to Reproduce:
1. install base system
2. edit make.conf, change MAKEOPTS tp -j2 or greater
3. emerge ncurses

Actual Results:  
!!! ERROR: sys-libs/ncurses-5.3-r1 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! parallel make failed

Expected Results:  
ncurses should have compiled without errors

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.6.0-test3 i686 AMD Athlon(tm) XP 1600+
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
ftp://ftp.easynet.nl/mirror/gentoo/"
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/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/home/portage-overlay"
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv
zlib directfb gtkhtml alsa gdbm berkdb slang readline arts tetex aalib bonobo
svga tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib
oggvorbis gnome gtk qt kde motif opengl mozilla cdr"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O2 -pipe"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Nick Hadaway 2003-08-16 14:14:04 UTC
your build is failing for another reason.
All of the ncurses builds are no longer doing parallel makes... 

I have fixed the invalid die message in portage.

So now the question is... what is the REAL problem. :)

Please show more of the error message if you could also the output of "emerge info"
Comment 2 Patrick Lauer gentoo-dev 2003-08-16 14:29:04 UTC
This seems to be a strangebug ... I had the problem on a fresh install from stage1  on one machine, now it works on my machine. If i can reproduce this error I'll post a longer error message. 
The problem was _definitely_ connected to MAKEOPTS because setting it to -j1 made the problem go away on the other machine.

(Both machines not overclocked and sane CFLAGS)
Comment 3 Rob Davies 2003-09-06 11:54:27 UTC
I did a fresh install from stage1 recently (2003/08/25) on an SMP machine, did 
set -j3 at first opportunity and did not hit this one.  Comment part of Bug day 
:) 
 
USE="3dnow acpi alsa apache2 cdr dga doc dvd flash matrox perl postgres samba 
scanner socks5 sse usb wmf" 
 
CFLAGS="-O3 -pipe -finline-limit=200 -fomit-frame-pointer -march=athlon-mp" 
Comment 4 Nick Hadaway 2003-10-18 11:03:52 UTC
This is a non-problem.
Removed the misleading "die" message