Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 197583

Summary: net-firewall/ipsec-tools-0.6.7 fails to compile with MAKEOPTS="-j5"
Product: Gentoo Linux Reporter: Weedy <weedy2887>
Component: Current packagesAssignee: Peter Johanson (RETIRED) <latexer>
Status: RESOLVED DUPLICATE    
Severity: normal CC: wschlich
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge log

Description Weedy 2007-10-31 01:49:38 UTC
It fails with MAKEOPTS="-j5" but passed with MAKEOPTS="-j1", -j2 also works.

Reproducible: Always

Steps to Reproduce:
1. MAKEOPTS="-j5" emerge -av net-firewall/ipsec-tools
2. laugh at cam whores

Actual Results:  
# MAKEOPTS="-j5" emerge -av net-firewall/ipsec-tools

[ebuild   R   ] net-firewall/ipsec-tools-0.6.7  USE="iconv ipv6 pam readline -hybrid -idea -kerberos -ldap -nat -rc5 (-selinux)" 0 kB

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec   -D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc -I./src/include-glibc  -I./../../src/racoon/missing -D_GNU_SOURCE -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc -I../../src/include-glibc -DSYSCONFDIR=\"/etc\" -DADMINPORTDIR=\"/var/lib/racoon\" -march=pentium4 -O2 -pipe -fomit-frame-pointer -fweb -fforce-addr -fgcse-after-reload  -Wall  -Wno-unused -c -o cfparse.o cfparse.c
mv -f .deps/crypto_openssl.Tpo .deps/crypto_openssl.Po
bison -y -pprsa -d ./prsa_par.y && \
        mv y.tab.c prsa_par.c && \
        mv y.tab.h prsa_par.h
mv: cannot stat `y.tab.c': No such file or directory
make[3]: *** [cfparse.h] Error 1

Expected Results:  
Not curl up and die.

You should probably peg this at -j2 in the ebuild if im not the only one hitting it.
Comment 1 Weedy 2007-10-31 02:00:22 UTC
Created attachment 134770 [details]
emerge log
Comment 2 BigBug 2007-11-02 12:53:25 UTC
Same results with -j5 -j4 -j3, and everything ok with -j2 and -j1.
Comment 3 Wolfram Schlich (RETIRED) gentoo-dev 2007-12-05 16:55:06 UTC
Argh, it"s *always* ipsec-tools that breaks my automated installations :(
Comment 4 Weedy 2007-12-06 02:33:44 UTC
(In reply to comment #3)
> Argh, it"s *always* ipsec-tools that breaks my automated installations :(
> 

is scripting MAKEOPTS="-j1" emerge net-firewall/ipsec-tools really that hard?
Comment 5 Wolfram Schlich (RETIRED) gentoo-dev 2007-12-06 08:36:06 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Argh, it"s *always* ipsec-tools that breaks my automated installations :(
> 
> is scripting MAKEOPTS="-j1" emerge net-firewall/ipsec-tools really that hard?

is fixing ipsec-tools by adding MAKEOPTS="-j1" to the ebuild really that hard?

it wasn't always a parallel make issue that broke ipsec-tools anyway.

to me it looks like ipsec-tools is just a mess, it breaks on every second new
version or something like that. could use some more QA...
Comment 6 Weedy 2007-12-07 02:21:19 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > Argh, it"s *always* ipsec-tools that breaks my automated installations :(
> > 
> > is scripting MAKEOPTS="-j1" emerge net-firewall/ipsec-tools really that hard?
> 
> is fixing ipsec-tools by adding MAKEOPTS="-j1" to the ebuild really that hard?

no but my bugs are never resolved in less then a year so better get scripting.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2008-02-23 00:35:18 UTC

*** This bug has been marked as a duplicate of bug 176998 ***