From owner-freebsd-questions@FreeBSD.ORG Fri Feb 6 12:37:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCF3E106566C for ; Fri, 6 Feb 2009 12:37:02 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 57F2B8FC29 for ; Fri, 6 Feb 2009 12:37:02 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LVPx6-0005QN-Cd for freebsd-questions@freebsd.org; Fri, 06 Feb 2009 12:37:00 +0000 Received: from mta-mad.optenet.com ([213.27.232.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Feb 2009 12:37:00 +0000 Received: from matiassurdi by mta-mad.optenet.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Feb 2009 12:37:00 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Matias Surdi Date: Fri, 06 Feb 2009 13:36:49 +0100 Lines: 152 Message-ID: <498C2EE1.4090108@gmail.com> References: <28283d910902060427m5764b1q170d4441adf6b519@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org Cc: freebsd-questions@freebsd.org X-Gmane-NNTP-Posting-Host: mta-mad.optenet.com User-Agent: Thunderbird 2.0.0.19 (X11/20090105) In-Reply-To: <28283d910902060427m5764b1q170d4441adf6b519@mail.gmail.com> Sender: news Subject: Re: Custom build fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 12:37:03 -0000 I'm currently running the following command: # Make the release cd /usr/src/release make release \ CHROOTDIR=/home/oms \ BUILDNAME=OpenMailServer \ CVSROOT=/home/ncvs \ RELEASETAG=RELENG_7 \ NODOC=YES \ NO_FLOPPIES=YES \ NOPORTS=YES \ RELEASENOUPDATE=YES \ MAKE_ISOS=YES \ WORLD_FLAGS=" -DWITHOUT_TOOLCHAIN" \ LOCAL_PATCHES=$DIR/oms.diff \ LOCAL_SCRIPT=$DIR/local_script.sh \ PATCH_FLAGS=-p3 Do you know how can set this up in order to get that variable to be on the build process and not on the install/release process? Thank you very much for your help. Matias. matt donovan wrote: > On Fri, Feb 6, 2009 at 7:08 AM, Matias Surdi wrote: > >> Hi, I'm building a custom freeBSD release and I'm getting the following >> error: >> >> -------------------------------------------------------------- >>>>> Building an up-to-date make(1) >> -------------------------------------------------------------- >> /usr/obj/usr/src/make.i386/usr/src/usr.bin/make created for >> /usr/src/usr.bin/make >> rm -f .depend >> mkdep -f .depend -a -I/usr/src/usr.bin/make >> -DMAKE_VERSION=\"5200408120\" -DDEFSHELLNAME=\"sh\" >> /usr/src/usr.bin/make/arch.c /usr/src/usr.bin/make/buf.c >> /usr/src/usr.bin/make/cond.c /usr/src/usr.bin/make/dir.c >> /usr/src/usr.bin/make/for.c /usr/src/usr.bin/make/hash.c >> /usr/src/usr.bin/make/hash_tables.c /usr/src/usr.bin/make/job.c >> /usr/src/usr.bin/make/lst.c /usr/src/usr.bin/make/main.c >> /usr/src/usr.bin/make/make.c /usr/src/usr.bin/make/parse.c >> /usr/src/usr.bin/make/proc.c /usr/src/usr.bin/make/shell.c >> /usr/src/usr.bin/make/str.c /usr/src/usr.bin/make/suff.c >> /usr/src/usr.bin/make/targ.c /usr/src/usr.bin/make/util.c >> /usr/src/usr.bin/make/var.c >> cc: not found >> mkdep: compile failed >> *** Error code 1 >> >> Stop in /usr/src/usr.bin/make. >> *** Error code 1 >> >> Stop in /usr/src. >> *** Error code 1 >> >> Stop in /usr/src. >> + exit 1 >> + umount /dev >> *** Error code 1 >> >> Stop in /usr/src/release. >> >> >> >> >> >> These are just the last lines, I can post the entire log if needed, but it >> is quite large. >> >> >> The source code is from 7.0-RELEASE, and my src.conf is the following: >> WITHOUT_ATM= >> WITHOUT_AUTHPF= >> WITHOUT_BIND= >> WITHOUT_BLUETOOTH= >> WITHOUT_CALENDAR= >> WITHOUT_CDDL= >> WITHOUT_CPP= >> WITHOUT_CVS= >> WITHOUT_CXX= >> WITHOUT_DICT= >> WITHOUT_EXAMPLES= >> WITHOUT_FORTH= >> WITHOUT_GAMES= >> WITHOUT_GDB= >> WITHOUT_GPIB= >> WITHOUT_GROFF= >> WITHOUT_GSSAPI= >> WITHOUT_GESIOD= >> WITHOUT_GNU= >> WITHOUT_HTML= >> WITHOUT_I4B= >> WITHOUT_IDEA= >> WITHOUT_INFO= >> WITHOUT_IPFILTER= >> WITHOUT_IPX= >> WITHOUT_KERBEROS= >> WITHOUT_LOCALES= >> WITHOUT_LPR= >> WITHOUT_MAN= >> WITHOUT_NCP= >> WITHOUT_NLS= >> WITHOUT_NIS= >> WITHOUT_OBJC= >> WITHOUT_RCMDS= >> WITHOUT_RCS= >> WITHOUT_SENDMAIL= >> WITHOUT_SHAREDOCS= >> WITHOUT_SSP= >> WITHOUT_TCSH= >> WITHOUT_TOOLCHAIN= >> WITHOUT_WPA_SUPPLICANT_EAPOOL= >> WITHOUT_ZFS= >> >> >> The problem seems to arise when any of WITHOUT_TOOLCHAIN, WITHOUT_CXX or >> WITHOUTH_CPP are present. >> >> >> On this build, I don't want to have any development tools, as I'm trying >> to reduce the size at a minimum. >> >> Why is "make" being build? How can I avoid this? >> >> If you need more info in order to help me, tell me what do you need please. >> >> Thanks for any help >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" > > > You need > WITHOUT_TOOLCHAIN= to build you can add that after you do a build > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >