samba does not compile on multi-CPU system with MAKEOPTS="-j -l3" Probably bad upstream makefile Posssibly directory "bin" not created prior to accessing it Possibly adding " mkdir bin" after line 883 in Makefile.in might help Reproducible: Always Steps to Reproduce: 1. Use 64-bit AMD or Intel with 2 or more CPUs 2. Set MAKEOPTS="-j -l3" 3. emerge net-fs/samba Actual Results: compilation fails Expected Results: compilation successful too long, usin attachments
Created attachment 200369 [details] emerge --info
Created attachment 200370 [details] failed emerge log, take 0
Created attachment 200371 [details] failed emerge log, take 1 (slightly different) common error: ld asked to write to nonexistent dir
As said in bug 257861 >This is a known issue, samba is not a friend of parallel make, make starts >linking before all dependencies are met, just watch bugs: > >https://bugzilla.samba.org/show_bug.cgi?id=3322 >https://bugzilla.samba.org/show_bug.cgi?id=6278 > >A workaround is to limit the number of jobs, such as MAKEOPTS="-j13 -l3" or >MAKEOPTS="-j2 -l3" instead of MAKEOPTS="-j -l3" > >This way it builds fine using multiple specified jobs
ah, sorry, i did not look inside samba ebuilds changelog before posting the bug samba-3.2.13-r2 compiled ok on my 16-proc i mark this bug as fixed