Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 18291
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Jared H. Hudson (RETIRED) <jhhudso@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Aurelien Requiem <aurelien@menfin.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2003-03-27 08:26 0000
Hello 

I've tried to install djbdns-1.05-r7 with MAKEOPTS="-j4". 
And the compilation crashes everytime. 
Here is the output 
<------------->
./compile log.c 
./compile cache.c 
./choose c trydrent direntry.h1 direntry.h2 > direntry.h 
In file included from cache.c:7: 
dns.h:63: parse error before "iopause_fd" 
dns.h:64: parse error before '*' token 
make: *** [cache.o] Error 1 
make: *** Waiting for unfinished jobs.... 

!!! ERROR: net-dns/djbdns-1.05-r7 failed. 
!!! Function src_compile, Line 39, Exitcode 2 
!!! emake failed
<------------->

I have disabled the MAKEOPTS in /etc/make.conf and all is ok right now, so the 
ebuild process should avoid the use of jobserv for djbdns. 

Please not a I have a true SMP machine. 
2 P4 XEON 2.4Ghz + 1Mb L2 cache.

Reproducible: Always
Steps to Reproduce:
1. Set MAKEOPTS=-j4
2. Use a TRUE MultiProcessors Plateform
3. Emerge the PAckage

Actual Results:  
The compliation fails

Expected Results:  
Unset MAKEOPTS 

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) XP 1500+
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo 
http://gentoo.oregonstate.edu/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /var/bind /usr/X
11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/co
nfig"
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=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg gnome libg++ libwww 
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv 
zlib gdbm berkdb slang readline arts svga guile X sdl gpm tcpd pam ssl perl 
python esd imlib oggvorbis gtk qt kde motif opengl cdr -java"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

------- Comment #1 From Martin Holzer (RETIRED) 2003-03-28 18:45:32 0000 -------
try -j1 and/or remove ccache

------- Comment #2 From Charles N. Burns 2003-03-29 18:15:52 0000 -------
Same problem here, using -J1 allows installation to complete. If possible, the
ebuild should force -J1

------- Comment #3 From Evan Langlois 2003-04-28 21:01:59 0000 -------
The ebuild needs to force -j1 for MAKEOPTS, removing ccache doesn't help at
all.  Of course retrying multiple times will eventually get it to build as
well, but its definately not thread safe, even on a singel CPU system.  I
wasted tons of time trying to figure out how to get this to build!

------- Comment #4 From Jared H. Hudson (RETIRED) 2003-05-24 05:59:30 0000 -------
Add djbdns ebuilds have been updated with MAKEOPTS="-j1"

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug