Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38146 - samba building does not do parallel building (missing -j to make)
Summary: samba building does not do parallel building (missing -j to make)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-14 01:31 UTC by Elan Ruusamäe
Modified: 2004-07-27 00:38 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 Elan Ruusamäe 2004-01-14 01:31:04 UTC
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:
Comment 1 Donny Davies (RETIRED) gentoo-dev 2004-01-14 09:21:33 UTC
Test your change and let me know if it builds properly in parallel.
Comment 2 Sven Wegener gentoo-dev 2004-02-14 10:39:42 UTC
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
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-05-10 20:04:06 UTC
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.