i have in /etc/make.conf: MAKEOPTS="-j11" issuing ps while compiling samba, i see just one gcc proc running.. /usr/portage/net-fs/samba/samba-3.0.1-r1.ebuild has: # Compile main SAMBA pieces. make everything || die "SAMBA pieces" make rpctorture || ewarn "rpctorture didnt build" make it should be 'emake' here instead? or $MAKEOPTS should be used? Reproducible: Always Steps to Reproduce:
Test your change and let me know if it builds properly in parallel.
Fails to build in parallel for me. Replacing make with emake and using MAKEOPTS="-j3" in /etc/make.conf is too much. Generating smbd/build_options.c Building include/wrepld_proto.h Building include/build_env.h creating /var/tmp/portage/samba-3.0.1-r1/work/samba-3.0.1/source/include/wrepld_proto.h creating /var/tmp/portage/samba-3.0.1-r1/work/samba-3.0.1/source/web/swat_proto.h creating /var/tmp/portage/samba-3.0.1-r1/work/samba-3.0.1/source/nsswitch/winbindd_proto.h Compiling dynconfig.c creating /var/tmp/portage/samba-3.0.1-r1/work/samba-3.0.1/source/utils/net_proto.h creating /var/tmp/portage/samba-3.0.1-r1/work/samba-3.0.1/source/client/client_proto.h Compiling param/loadparm.c Compiling param/params.c In file included from dynconfig.c:21: include/includes.h:892:19: proto.h: No such file or directory make: *** [dynconfig.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from param/loadparm.c:54: include/includes.h:892:19: proto.h: No such file or directory With normal make it builds without a problem. Generating smbd/build_options.c Building include/proto.h creating /var/tmp/portage/samba-3.0.1-r1/work/samba-3.0.1/source/include/proto.h Building include/wrepld_proto.h creating /var/tmp/portage/samba-3.0.1-r1/work/samba-3.0.1/source/include/wrepld_proto.h Building include/build_env.h creating /var/tmp/portage/samba-3.0.1-r1/work/samba-3.0.1/source/nsswitch/winbindd_proto.h creating /var/tmp/portage/samba-3.0.1-r1/work/samba-3.0.1/source/web/swat_proto.h creating /var/tmp/portage/samba-3.0.1-r1/work/samba-3.0.1/source/client/client_proto.h creating /var/tmp/portage/samba-3.0.1-r1/work/samba-3.0.1/source/utils/net_proto.h Compiling dynconfig.c Compiling param/loadparm.c
seems like the makefiles are still broken so we'll leave it serial. I'll mark WONTFIX but if you are able to verify it works in a later version, go ahead and reopen.