From owner-freebsd-questions@FreeBSD.ORG Sun Feb 8 03:13:14 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 C0585106564A for ; Sun, 8 Feb 2009 03:13:14 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: from mail-fx0-f14.google.com (mail-fx0-f14.google.com [209.85.220.14]) by mx1.freebsd.org (Postfix) with ESMTP id 1F5CD8FC13 for ; Sun, 8 Feb 2009 03:13:13 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: by fxm7 with SMTP id 7so309475fxm.19 for ; Sat, 07 Feb 2009 19:13:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=RxJu8AIhZsK/+J16vClwpqMtpXAIjtSlN5Xb+gR9kzY=; b=SJB/oOBAD75GsHip+3fr6FB9gVUc9RtP0oilAB5DFpQ6k7pIFD7du4p5Eys1wDHPlf e+lUoe35hAx5y+SdImNJyy/unC3A1MY3r+Ip8p82W9BpLjNAN2AvAWvCe9CdCanWvvr7 qXJIjLAHCBPy4TXwk9DGQeOK/sYQLeZSYwhLY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hBrD3qb0cRWYXSlYlnvnQOQFnoQ3NbGttfKk5QF+WbrqI5JYQD1lb/VdPpbN+lQfMo cmaUc9idy+eIQV+CNS3shedtDVycTsSIPySjqvUII7sAVfargJGl7Q094bypF1TPHSy2 pd3VyOcCfUWJZEmRT7wk/AzngFclqwu2i1PJI= MIME-Version: 1.0 Received: by 10.181.192.10 with SMTP id u10mr1230001bkp.185.1234062792848; Sat, 07 Feb 2009 19:13:12 -0800 (PST) In-Reply-To: <498C2EE1.4090108@gmail.com> References: <28283d910902060427m5764b1q170d4441adf6b519@mail.gmail.com> <498C2EE1.4090108@gmail.com> Date: Sat, 7 Feb 2009 22:13:12 -0500 Message-ID: <28283d910902071913q478af933vf62e728e85540196@mail.gmail.com> From: matt donovan To: Matias Surdi Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org 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: Sun, 08 Feb 2009 03:13:15 -0000 On Fri, Feb 6, 2009 at 7:36 AM, Matias Surdi wrote: > 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" > > Remove WITHOUT_TOOLCHAIN when building but when you do the install you can readd it I m not sure how you would do it using the make release though.